rpms/proftpd/EL-5 proftpd-1.3.0a-open.patch, NONE, 1.1 proftpd.logrotate, 1.4, 1.5 proftpd.spec, 1.27, 1.28
Matthias Saou (thias)
fedora-extras-commits at redhat.com
Sun Aug 12 14:04:18 UTC 2007
- Previous message (by thread): rpms/proftpd/EL-4 proftpd-1.3.0-cmdbufsize.patch, NONE, 1.1 proftpd-1.3.0-ctrls-restart.patch, NONE, 1.1 proftpd-1.3.0-mod_tls.patch, NONE, 1.1 proftpd-1.3.0-rpath.patch, NONE, 1.1 proftpd-1.3.0a-ctrls-bug2867.patch, NONE, 1.1 proftpd-1.3.0a-open.patch, NONE, 1.1 .cvsignore, 1.5, 1.6 proftpd.conf, 1.5, 1.6 proftpd.init, 1.4, 1.5 proftpd.logrotate, 1.4, 1.5 proftpd.spec, 1.7, 1.8 sources, 1.5, 1.6
- Next message (by thread): rpms/proftpd/F-7 proftpd-1.3.0a-open.patch, NONE, 1.1 proftpd.logrotate, 1.4, 1.5 proftpd.spec, 1.29, 1.30
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: thias
Update of /cvs/extras/rpms/proftpd/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13563/EL-5
Modified Files:
proftpd.logrotate proftpd.spec
Added Files:
proftpd-1.3.0a-open.patch
Log Message:
Fix logrotate file (#246392) and sync F-7, EL-4 and EL-5 to devel.
proftpd-1.3.0a-open.patch:
--- NEW FILE proftpd-1.3.0a-open.patch ---
diff -Naupr proftpd-1.3.0a.orig/src/fsio.c proftpd-1.3.0a/src/fsio.c
--- proftpd-1.3.0a.orig/src/fsio.c 2006-03-22 23:10:34.000000000 +0100
+++ proftpd-1.3.0a/src/fsio.c 2007-08-08 19:23:39.000000000 +0200
@@ -2450,7 +2450,7 @@ pr_fh_t *pr_fsio_open_canon(const char *
fs = fs->fs_next;
pr_log_debug(DEBUG9, "FS: using %s open()", fs->fs_name);
- fh->fh_fd = fs->open(fh, deref, flags);
+ fh->fh_fd = (fs->open)(fh, deref, flags);
if (fh->fh_fd == -1) {
destroy_pool(fh->fh_pool);
@@ -2490,7 +2490,7 @@ pr_fh_t *pr_fsio_open(const char *name,
fs = fs->fs_next;
pr_log_debug(DEBUG9, "FS: using %s open()", fs->fs_name);
- fh->fh_fd = fs->open(fh, name, flags);
+ fh->fh_fd = (fs->open)(fh, name, flags);
if (fh->fh_fd == -1) {
destroy_pool(fh->fh_pool);
diff -Naupr proftpd-1.3.0a.orig/src/netio.c proftpd-1.3.0a/src/netio.c
--- proftpd-1.3.0a.orig/src/netio.c 2004-10-09 22:46:22.000000000 +0200
+++ proftpd-1.3.0a/src/netio.c 2007-08-08 19:20:36.000000000 +0200
@@ -367,22 +367,22 @@ pr_netio_stream_t *pr_netio_open(pool *p
if (strm_type == PR_NETIO_STRM_CTRL) {
nstrm->strm_type = PR_NETIO_STRM_CTRL;
nstrm->strm_mode = mode;
- return ctrl_netio ? ctrl_netio->open(nstrm, fd, mode) :
- core_ctrl_netio->open(nstrm, fd, mode);
+ return ctrl_netio ? (ctrl_netio->open)(nstrm, fd, mode) :
+ (core_ctrl_netio->open)(nstrm, fd, mode);
}
if (strm_type == PR_NETIO_STRM_DATA) {
nstrm->strm_type = PR_NETIO_STRM_DATA;
nstrm->strm_mode = mode;
- return data_netio ? data_netio->open(nstrm, fd, mode) :
- core_data_netio->open(nstrm, fd, mode);
+ return data_netio ? (data_netio->open)(nstrm, fd, mode) :
+ (core_data_netio->open)(nstrm, fd, mode);
}
if (strm_type == PR_NETIO_STRM_OTHR) {
nstrm->strm_type = PR_NETIO_STRM_OTHR;
nstrm->strm_mode = mode;
- return othr_netio ? othr_netio->open(nstrm, fd, mode) :
- core_othr_netio->open(nstrm, fd, mode);
+ return othr_netio ? (othr_netio->open)(nstrm, fd, mode) :
+ (core_othr_netio->open)(nstrm, fd, mode);
}
destroy_pool(nstrm->strm_pool);
Index: proftpd.logrotate
===================================================================
RCS file: /cvs/extras/rpms/proftpd/EL-5/proftpd.logrotate,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- proftpd.logrotate 16 Nov 2004 18:34:32 -0000 1.4
+++ proftpd.logrotate 12 Aug 2007 14:03:43 -0000 1.5
@@ -1,16 +1,10 @@
-/var/log/xferlog {
+/var/log/proftpd/*.log /var/log/xferlog {
compress
missingok
+ notifempty
+ sharedscripts
postrotate
- test -f /var/lock/subsys/proftpd && /usr/bin/killall -HUP proftpd
- endscript
-}
-
-/var/log/proftpd/*.log {
- compress
- missingok
- postrotate
- test -f /var/lock/subsys/proftpd && /usr/bin/killall -HUP proftpd
+ test -f /var/lock/subsys/proftpd && /usr/bin/killall -HUP proftpd || :
endscript
}
Index: proftpd.spec
===================================================================
RCS file: /cvs/extras/rpms/proftpd/EL-5/proftpd.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- proftpd.spec 6 Feb 2007 11:02:12 -0000 1.27
+++ proftpd.spec 12 Aug 2007 14:03:43 -0000 1.28
@@ -1,8 +1,8 @@
Summary: Flexible, stable and highly-configurable FTP server
Name: proftpd
Version: 1.3.0a
-Release: 3%{?dist}
-License: GPL
+Release: 8%{?dist}
+License: GPLv2+
Group: System Environment/Daemons
URL: http://www.proftpd.org/
Source0: ftp://ftp.proftpd.org/distrib/source/proftpd-%{version}.tar.bz2
@@ -17,6 +17,7 @@
Patch2: proftpd-1.3.0-cmdbufsize.patch
Patch3: proftpd-1.3.0-mod_tls.patch
Patch4: proftpd-1.3.0a-ctrls-bug2867.patch
+Patch5: proftpd-1.3.0a-open.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: pam >= 0.59
Requires(post): /sbin/chkconfig
@@ -66,12 +67,13 @@
%prep
-%setup
+%setup -q
%patch0 -p1 -b .rpath
%patch1 -p0 -b .ctrls-restart
%patch2 -p1 -b .cmdbufsize
%patch3 -p0 -b .mod_tls
%patch4 -p0 -b .ctrls-bug2867
+%patch5 -p1 -b .open
%build
@@ -90,7 +92,9 @@
--with-modules=mod_readme:mod_auth_pam:mod_tls \
--with-shared=mod_ldap:mod_sql:mod_sql_mysql:mod_sql_postgres:mod_quotatab:mod_quotatab_file:mod_quotatab_ldap:mod_quotatab_sql
-%{__make} %{?_smp_mflags}
+# It seems that with _smp_mflags -lsupp tries to get linked before being built
+# (as of 1.3.0a-4 F7/devel with koji, happened on F8 x86_64 and F7 ppc64)
+%{__make}
%install
@@ -147,7 +151,7 @@
%files
-%defattr(-, root, root, 0755)
+%defattr(-,root,root,-)
%doc COPYING CREDITS ChangeLog NEWS README*
%doc doc/* sample-configurations/
%dir %{_localstatedir}/run/proftpd/
@@ -157,7 +161,7 @@
%config(noreplace) %{_sysconfdir}/pam.d/proftpd
%config(noreplace) %{_sysconfdir}/logrotate.d/proftpd
%{_sysconfdir}/rc.d/init.d/proftpd
-%{_mandir}/*/*
+%{_mandir}/man?/*
%{_bindir}/*
%dir %{_libexecdir}/proftpd/
%{_libexecdir}/proftpd/mod_quotatab.so
@@ -173,25 +177,43 @@
%attr(750, root, root) %dir /var/log/proftpd/
%files ldap
-%defattr(-, root, root, 0755)
+%defattr(-,root,root,-)
%dir %{_libexecdir}/proftpd/
%{_libexecdir}/proftpd/mod_ldap.so
%{_libexecdir}/proftpd/mod_quotatab_ldap.so
%files mysql
-%defattr(-, root, root, 0755)
+%defattr(-,root,root,-)
%dir %{_libexecdir}/proftpd/
%{_libexecdir}/proftpd/mod_sql_mysql.so
%{_libexecdir}/proftpd/mod_quotatab_sql.so
%files postgresql
-%defattr(-, root, root, 0755)
+%defattr(-,root,root,-)
%dir %{_libexecdir}/proftpd/
%{_libexecdir}/proftpd/mod_sql_postgres.so
%{_libexecdir}/proftpd/mod_quotatab_sql.so
%changelog
+* Sun Aug 12 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-8
+- Fix logrotate entry to silence error when proftpd isn't running (#246392).
+
+* Mon Aug 6 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-7
+- Include patch to fix "open" calls with recent glibc.
+
+* Mon Aug 6 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-6
+- Update License field.
+
+* Fri Jun 15 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-5
+- Remove _smp_mflags to (hopefully) fix build failure.
+
+* Fri Jun 15 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-4
+- Fix PAM entry for F7+ (#244168). Still doesn't work with selinux, though.
+
+* Fri May 4 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-4
+- Fix auth bypass vulnerability (#237533, upstream #2922)... not! :-(
+
* Tue Feb 6 2007 Matthias Saou <http://freshrpms.net/> 1.3.0a-3
- Patch to fix local user buffer overflow in controls request handling, rhbz
bug #219938, proftpd bug #2867.
- Previous message (by thread): rpms/proftpd/EL-4 proftpd-1.3.0-cmdbufsize.patch, NONE, 1.1 proftpd-1.3.0-ctrls-restart.patch, NONE, 1.1 proftpd-1.3.0-mod_tls.patch, NONE, 1.1 proftpd-1.3.0-rpath.patch, NONE, 1.1 proftpd-1.3.0a-ctrls-bug2867.patch, NONE, 1.1 proftpd-1.3.0a-open.patch, NONE, 1.1 .cvsignore, 1.5, 1.6 proftpd.conf, 1.5, 1.6 proftpd.init, 1.4, 1.5 proftpd.logrotate, 1.4, 1.5 proftpd.spec, 1.7, 1.8 sources, 1.5, 1.6
- Next message (by thread): rpms/proftpd/F-7 proftpd-1.3.0a-open.patch, NONE, 1.1 proftpd.logrotate, 1.4, 1.5 proftpd.spec, 1.29, 1.30
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list