Hello community, here is the log from the commit of package pure-ftpd checked in at Thu Apr 13 15:40:49 CEST 2006. -------- --- pure-ftpd/pure-ftpd.changes 2006-01-25 21:40:41.000000000 +0100 +++ STABLE/pure-ftpd/pure-ftpd.changes 2006-04-10 17:09:53.000000000 +0200 @@ -1,0 +2,14 @@ +Mon Apr 10 17:04:23 CEST 2006 - mrueckert@suse.de + +- added pure-ftpd-1.0.20_config_minuid.patch: + * configuration-file/pure-ftpd.conf.in: our ftp user has uid 40. + if you want to map virtual users to this uid they would be + blocked from login. + +- added pure-ftpd-1.0.20_ftpwho_path.patch: + * src/ftpwho-update.h: PAGE_SIZE is a function on + glibc-2.4/kernel-2.6.16 on ppc64. use PATH_MAX for the filename + member of the FTPWhoEntry_ struct + + +------------------------------------------------------------------- @@ -18 +32 @@ -Mon Oct 24 22:06:55 CEST 2005 - darix@suse.de +Mon Oct 24 22:06:55 CEST 2005 - mrueckert@suse.de New: ---- pure-ftpd-1.0.20_config_minuid.patch pure-ftpd-1.0.20_ftpwho_path.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pure-ftpd.spec ++++++ --- /var/tmp/diff_new_pack.l5KNRD/_old 2006-04-13 15:39:56.000000000 +0200 +++ /var/tmp/diff_new_pack.l5KNRD/_new 2006-04-13 15:39:56.000000000 +0200 @@ -5,7 +5,7 @@ # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://bugs.opensuse.org +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -13,7 +13,7 @@ Name: pure-ftpd BuildRequires: mysql-devel openldap2-devel pam-devel postgresql-devel Version: 1.0.20 -Release: 11 +Release: 20 URL: http://www.pureftpd.org Source: ftp://ftp.pureftpd.org/pub/%{name}/releases/%{name}-%version.tar.bz2 Source1: %{name}.init @@ -23,6 +23,8 @@ Patch1: %{name}-1.0.20_doc.patch Patch2: %{name}-1.0.20_virtualhosts.patch Patch3: %{name}-1.0.20-abort-transfer.patch +Patch4: pure-ftpd-1.0.20_config_minuid.patch +Patch5: pure-ftpd-1.0.20_ftpwho_path.patch Group: Productivity/Networking/Ftp/Servers License: BSD Provides: ftp-server pureftpd @@ -48,6 +50,8 @@ %patch1 %patch2 %patch3 +%patch4 +%patch5 %build CFLAGS="%{optflags} -DLDAP_DEPRECATED -fstack-protector" @@ -129,6 +133,15 @@ %config(noreplace) %{_sysconfdir}/xinetd.d/pure-ftpd %changelog -n pure-ftpd +* Mon Apr 10 2006 - mrueckert@suse.de +- added pure-ftpd-1.0.20_config_minuid.patch: + * configuration-file/pure-ftpd.conf.in: our ftp user has uid 40. + if you want to map virtual users to this uid they would be + blocked from login. +- added pure-ftpd-1.0.20_ftpwho_path.patch: + * src/ftpwho-update.h: PAGE_SIZE is a function on + glibc-2.4/kernel-2.6.16 on ppc64. use PATH_MAX for the filename + member of the FTPWhoEntry_ struct * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Mon Jan 16 2006 - hvogel@suse.de @@ -136,7 +149,7 @@ upload correctly. [#133452] * Fri Jan 13 2006 - hvogel@suse.de - Make use of Stack Protector -* Mon Oct 24 2005 - darix@suse.de +* Mon Oct 24 2005 - mrueckert@suse.de - cleaned up spec file - add /etc/pure-ftpd/vhosts as base dir for virtual servers. (documentation and code changed accordingly.) ++++++ pure-ftpd-1.0.20_config_minuid.patch ++++++ Index: configuration-file/pure-ftpd.conf.in =================================================================== --- configuration-file/pure-ftpd.conf.in.orig +++ configuration-file/pure-ftpd.conf.in @@ -240,7 +240,7 @@ Umask 177:077 # Minimum UID for an authenticated user to log in. -MinUID 100 +MinUID 40 ++++++ pure-ftpd-1.0.20_ftpwho_path.patch ++++++ Index: src/ftpwho-update.h =================================================================== --- src/ftpwho-update.h.orig +++ src/ftpwho-update.h @@ -26,6 +26,9 @@ typedef struct FTPWhoEntry_ { volatile off_t download_total_size; volatile off_t download_current_size; char account[MAX_USER_LENGTH + 1U]; +#ifdef PATH_MAX + char filename[PATH_MAX]; +#else #if defined(__OpenBSD__) || defined(__MicroBSD__) || defined(__ekkoBSD__) char filename[1024]; #else @@ -39,6 +42,7 @@ typedef struct FTPWhoEntry_ { char filename[1024]; # endif #endif +#endif } FTPWhoEntry; int ftpwho_initwho(void); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...