diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-07-20 17:07:25 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-07-20 17:07:25 +0000 |
commit | 387837d5bd5b6f4130c473fa95ede0a4ba0e926e (patch) | |
tree | 8d408057a5c6b1613c898a3a0597c8fd67596b50 /net-ftp | |
parent | Drop HPPA keywording (bug #324511). (diff) | |
download | historical-387837d5bd5b6f4130c473fa95ede0a4ba0e926e.tar.gz historical-387837d5bd5b6f4130c473fa95ede0a4ba0e926e.tar.bz2 historical-387837d5bd5b6f4130c473fa95ede0a4ba0e926e.zip |
clean out old cruft
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/vsftpd/ChangeLog | 12 | ||||
-rw-r--r-- | net-ftp/vsftpd/Manifest | 19 | ||||
-rw-r--r-- | net-ftp/vsftpd/files/vsftpd-2.0.3-gentoo.patch | 193 | ||||
-rw-r--r-- | net-ftp/vsftpd/files/vsftpd-2.0.6-caps.patch | 16 | ||||
-rw-r--r-- | net-ftp/vsftpd/files/vsftpd-2.0.6-libcap1.patch | 22 | ||||
-rw-r--r-- | net-ftp/vsftpd/files/vsftpd-2.0.7-uclibc.patch | 20 | ||||
-rw-r--r-- | net-ftp/vsftpd/files/vsftpd-2.1.0-dont-link-caps.patch | 18 | ||||
-rw-r--r-- | net-ftp/vsftpd/files/vsftpd-2.1.0-gentoo.patch | 182 | ||||
-rw-r--r-- | net-ftp/vsftpd/files/vsftpd-2.1.2-dont-link-caps.patch | 20 | ||||
-rw-r--r-- | net-ftp/vsftpd/vsftpd-2.0.7-r1.ebuild | 107 | ||||
-rw-r--r-- | net-ftp/vsftpd/vsftpd-2.1.0-r1.ebuild | 104 | ||||
-rw-r--r-- | net-ftp/vsftpd/vsftpd-2.1.2.ebuild | 104 | ||||
-rw-r--r-- | net-ftp/vsftpd/vsftpd-2.2.0.ebuild | 104 | ||||
-rw-r--r-- | net-ftp/vsftpd/vsftpd-2.2.1.ebuild | 104 |
14 files changed, 12 insertions, 1013 deletions
diff --git a/net-ftp/vsftpd/ChangeLog b/net-ftp/vsftpd/ChangeLog index 0611d29cfbd5..8784d7ed09fe 100644 --- a/net-ftp/vsftpd/ChangeLog +++ b/net-ftp/vsftpd/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for net-ftp/vsftpd # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/ChangeLog,v 1.124 2010/03/18 19:52:22 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/ChangeLog,v 1.125 2010/07/20 17:07:25 mr_bones_ Exp $ + + 20 Jul 2010; Michael Sterrett <mr_bones_@gentoo.org> + -files/vsftpd-2.0.3-gentoo.patch, -files/vsftpd-2.0.6-caps.patch, + -files/vsftpd-2.0.6-libcap1.patch, -vsftpd-2.0.7-r1.ebuild, + -files/vsftpd-2.0.7-uclibc.patch, -vsftpd-2.1.0-r1.ebuild, + -files/vsftpd-2.1.0-dont-link-caps.patch, + -files/vsftpd-2.1.0-gentoo.patch, -vsftpd-2.1.2.ebuild, + -files/vsftpd-2.1.2-dont-link-caps.patch, -vsftpd-2.2.0.ebuild, + -vsftpd-2.2.1.ebuild: + clean out old cruft 18 Mar 2010; Raúl Porcel <armin76@gentoo.org> vsftpd-2.2.2.ebuild: alpha/arm/ia64/s390/sh/sparc/x86 stable wrt #307817 diff --git a/net-ftp/vsftpd/Manifest b/net-ftp/vsftpd/Manifest index 0b0b93c64f84..83041c54525f 100644 --- a/net-ftp/vsftpd/Manifest +++ b/net-ftp/vsftpd/Manifest @@ -1,28 +1,11 @@ -AUX vsftpd-2.0.3-gentoo.patch 7128 RMD160 99ef0aee94847405e6185cc95acbc72cba0df0e0 SHA1 4608e2656d83cc17fcef229a8f4b66c803b899d8 SHA256 8f3215d43948364d431312dd4109af09e9a83ebbafb7a1c388f2aefea4df9154 -AUX vsftpd-2.0.6-caps.patch 649 RMD160 161b4610fdedcc3b1173055e534682fc5450b1d7 SHA1 cf63310bcee83e68079377c1da55e2b0d0111ebf SHA256 1435d0bc4e0d0e5f4a86ba2c42e77663be10d494cc9bc3af782c104a062e2778 -AUX vsftpd-2.0.6-libcap1.patch 582 RMD160 239fa2c23770e81a0b45f8df154a52b42af1f542 SHA1 d3fb0ae32f445092e9ab5af2209ac16af2ac0a5d SHA256 8c72a4f34ca8f4f3fb2da49d4cfde288c346d29bac3036f25b64c51f1543a51c -AUX vsftpd-2.0.7-uclibc.patch 582 RMD160 7e1a930162d0936076a6e4601585d73b649073d8 SHA1 d47b6b0ac66c7ebfc08b472c04c4fc8b076be4ef SHA256 adef1463cb329454706cf094b453f41d70dee8a46b72ef144f94b938de319002 AUX vsftpd-2.1.0-caps.patch 575 RMD160 a7b27df472ccbb5068d5f9961fe6bb010063e98c SHA1 f98d3cfbc1eb68f6e852cf9cbf5ad80407be5557 SHA256 4888021a25625041746b91025af0c2a2cb1fde758eda1d6c94098d4de0c1e370 -AUX vsftpd-2.1.0-dont-link-caps.patch 682 RMD160 fff89775de0d95562603b890e181703acb5dd6ce SHA1 c18bc7639643fe2b1ea91717d97eae191e73660c SHA256 6662a7961043e2888ff377a7689b31934f75d0ebf4bfad916a5432ff05cfcb52 -AUX vsftpd-2.1.0-gentoo.patch 7253 RMD160 1b44cca4bed7d141a32e08e5a8542e61591531a6 SHA1 8a1fb53936d97e03e950068ac9dbab40cdb18b65 SHA256 23c1e87348176a5ac813debd68a853b065027df765480c3d6298de7a0cb58eaa -AUX vsftpd-2.1.2-dont-link-caps.patch 754 RMD160 6e7858526a84e948a96c1989cf41af148b1c251e SHA1 b638f95d1bea48122ad1c36ee62376bdbb2163f9 SHA256 e4b19b35bf42cf618127b6aa107d7d765507ab6c4d2309e8abe4399c65f0b509 AUX vsftpd-2.2.0-dont-link-caps.patch 806 RMD160 670bfa8433ea5c9769d238aaebb9fce1d43e9e40 SHA1 d28260190d4613dae798d0f09d267be1ffcbc0a7 SHA256 fd164d4702ae866cb06ad245653b4f25c73d1d701a211b1f972b45b98ab55dd2 AUX vsftpd-2.2.0-gentoo.patch 11049 RMD160 ef4fafea61a4ecf37d771f2da75bb10570dec898 SHA1 8846603f85f9515a154cfd8c1823c3e2e4e7e0e9 SHA256 e1737c941837aaf8e060a649903934174528704feffd100f86180a7ec68f3760 AUX vsftpd.conf 3842 RMD160 2b0971c60f2ae2f9d3136849dff4dcf8ce117d41 SHA1 ebd5847bb328d8df188d85ffc5ccd7fcd5983525 SHA256 08b680a8531ecc8ccd9bf7cd91dc2de0a49105803a6d8fdcbe0f0dd47de8f6e0 AUX vsftpd.init 1922 RMD160 50925ca15a4f94662790244546454c523b6e4f95 SHA1 ef453f4925e941e21075be678387076e57246b3d SHA256 78941ea7744d65d4674b4df8ecee6df91e6ed601c47d64ce1f489af56ea250e2 AUX vsftpd.logrotate 53 RMD160 0fba0639da0d827fc0decfcf9ccd34fc7ad23c68 SHA1 cf18de9f84ad9a44974a7ae0f29562e9a516d5f9 SHA256 b31f4db8e2f8640f83bc38d83444ab784f8fc9a6492f654bb4149e1f566da2f3 AUX vsftpd.xinetd 432 RMD160 6e2b2d0517d0bf8a2a9d7ce42ca2ea4ce73fbca2 SHA1 5325ecbf0755ebd5778d69039393af075c1a9b40 SHA256 4e68c12108509823c74cd66f833299def48f497a4d660624362d3b4990af828f -DIST vsftpd-2.0.7.tar.gz 162801 RMD160 8947c7ae00214fb30c9d7d2cfba5116643e1d8c7 SHA1 760afe849d1ebe10592ef29032b6e00e7f1bbf79 SHA256 5d86a6d627f2d8e35dbdefdbd445f6016d349955107b247076bbcc36cde1046b -DIST vsftpd-2.1.0.tar.gz 178636 RMD160 0066ac526bb184e3ada9d4e53e520d82dfc71633 SHA1 3edd0868e03164eac11ab1fa9eac3ca4a30cd33a SHA256 82fdb75d44f1bbf1ee7930265a772dd13ebd314d389692c6788e9e2b4b116c87 -DIST vsftpd-2.1.2.tar.gz 180958 RMD160 7ec448d445218829401162d31f2910c933563d91 SHA1 dc67e28dd23808c0824105d24a8e426515496dfa SHA256 7964df745247897ed5f57901d4a24ac1ed2f2eafb08f9b5d181028d699b7fbe4 -DIST vsftpd-2.2.0.tar.gz 184700 RMD160 9acb3a0e3102dde0d587ee9ad5d4ccb8b731e1ef SHA1 7833b498e7f2c1c278fe7a365519a34d25974c60 SHA256 38d061d787433165392dbcced58cb397ddff8a7be86c2338a47fda6f2d93a3ba -DIST vsftpd-2.2.1.tar.gz 185226 RMD160 b78be1239ad90b161d147ca113508af47313a6ad SHA1 ef406c23bfe4ee71aea257b80ebb42cf0021704d SHA256 ad0e4b9f7e18be2ae304db5c8e7d4dbf8cc3be7ebb86fc469b93f2c67472f0a5 DIST vsftpd-2.2.2.tar.gz 185562 RMD160 2703291a9ce76f68cc8ef82f04cb28c471946f53 SHA1 43976c6dbffe8e4bdc5f4add73a0c1431662a6c6 SHA256 05665dfa43a268e6fe422b89f6c3cb1a63e4e989b456922508f3f89d4b276eab -EBUILD vsftpd-2.0.7-r1.ebuild 3044 RMD160 6a0d8b83e13fea5bf8b2a7f8003c0b0f18588ca3 SHA1 92bdbbc14060324db6893b27e5bb3fca534ecc14 SHA256 baee7c94d0f811b09045cf6552a93f0bfbe4eb3a77ca381c4e5aad8b21303488 -EBUILD vsftpd-2.1.0-r1.ebuild 2903 RMD160 c24a353606a41e58580c0b7b2aeff9cf18ccfcf2 SHA1 97e8745c659384a88f5e8a46ee674819b5102b14 SHA256 639b42f9827a12034fbd8941ca91bc3b4c3dad4b4d4fe954c7d562ebe1406c7e -EBUILD vsftpd-2.1.2.ebuild 2910 RMD160 f0e796918dd4b90312d346d00c8733b852ae0f8e SHA1 1123705c7ab58024d2811cdd69c97592fe13b783 SHA256 5fdf9617ac727881e7a42e81455637a19a51961f7d0185724271f2271c7d2bc7 -EBUILD vsftpd-2.2.0.ebuild 2894 RMD160 10e0682607be1377e077f539bcb734028aa54933 SHA1 adee87e81acbbba946c006a51729b6652b6ba1c2 SHA256 1efd258b38a62de2c257bf90347efa91e271726bc79e952e984937f0e9a03547 -EBUILD vsftpd-2.2.1.ebuild 2911 RMD160 30b995bebe8f980064fd9fc04bce0c2269834755 SHA1 b4720b4308d427f217666aeadef4afcfcea2120a SHA256 cdd7cd696a3a4ae725ab06aa16fa7ea47617aef9659a1a38853bacb875121439 EBUILD vsftpd-2.2.2.ebuild 2900 RMD160 2eacd78fe47174ef7689485b097375ddf304953f SHA1 ebd0cc1cfd7c54564752005c623e6832b91953d2 SHA256 d1fe9acd8219e8284f4de9153f526e3c12cb91d73bdfe156c67d52fcf9ea9fc1 -MISC ChangeLog 17466 RMD160 fc1a5c6e001ed577964a5cfa8b4c6ae5dd4734c7 SHA1 a6a1712aeaaca2f6730f114a273ad35dcf3b0994 SHA256 d651dbe1151037f9f78a2fa618370d746580bcef2286caa76c003d41b87e50d2 +MISC ChangeLog 17929 RMD160 6e4b9d3e635b47d1c83e24a9b85df03f406e6b0a SHA1 c6aea3dc03a5f5d99935e60223cd099baadbabe6 SHA256 56f957d6d831390dcd6abd2b76c09439e56a0148178fbada16aec71c6b478a7b MISC metadata.xml 358 RMD160 914e6e8e5397682f8bad3250e3d040970616d931 SHA1 ef0a808f3cc611dfacb98eeb14139b71103ff5ec SHA256 5513af86c83ae97074e940da999a68ad2510fcf990f7be2e57e4c30265a88447 diff --git a/net-ftp/vsftpd/files/vsftpd-2.0.3-gentoo.patch b/net-ftp/vsftpd/files/vsftpd-2.0.3-gentoo.patch deleted file mode 100644 index eaf913c1651f..000000000000 --- a/net-ftp/vsftpd/files/vsftpd-2.0.3-gentoo.patch +++ /dev/null @@ -1,193 +0,0 @@ -diff --unified defs.h defs.h ---- defs.h 2004-06-04 16:37:29.000000000 +0200 -+++ defs.h 2004-09-24 11:36:16.443227600 +0200 -@@ -1,7 +1,7 @@ - #ifndef VSF_DEFS_H - #define VSF_DEFS_H - --#define VSFTP_DEFAULT_CONFIG "/etc/vsftpd.conf" -+#define VSFTP_DEFAULT_CONFIG "/etc/vsftpd/vsftpd.conf" - - #define VSFTP_COMMAND_FD 0 - ---- tunables.c.orig 2005-06-08 11:29:01.261176985 +0100 -+++ tunables.c 2005-06-08 11:30:33.521084952 +0100 -@@ -89,7 +89,7 @@ - unsigned int tunable_max_per_ip = 0; - unsigned int tunable_trans_chunk_size = 0; - --const char* tunable_secure_chroot_dir = "/usr/share/empty"; -+const char* tunable_secure_chroot_dir = "/usr/share/vsftpd/empty"; - const char* tunable_ftp_username = "ftp"; - const char* tunable_chown_username = "root"; - const char* tunable_xferlog_file = "/var/log/xferlog"; -@@ -97,11 +97,11 @@ - const char* tunable_message_file = ".message"; - const char* tunable_nopriv_user = "nobody"; - const char* tunable_ftpd_banner = 0; --const char* tunable_banned_email_file = "/etc/vsftpd.banned_emails"; --const char* tunable_chroot_list_file = "/etc/vsftpd.chroot_list"; -+const char* tunable_banned_email_file = "/etc/vsftpd/banned_emails"; -+const char* tunable_chroot_list_file = "/etc/vsftpd/chroot_list"; - const char* tunable_pam_service_name = "ftp"; - const char* tunable_guest_username = "ftp"; --const char* tunable_userlist_file = "/etc/vsftpd.user_list"; -+const char* tunable_userlist_file = "/etc/vsftpd/user_list"; - const char* tunable_anon_root = 0; - const char* tunable_local_root = 0; - const char* tunable_banner_file = 0; -@@ -113,7 +113,7 @@ - const char* tunable_hide_file = 0; - const char* tunable_deny_file = 0; - const char* tunable_user_sub_token = 0; --const char* tunable_email_password_file = "/etc/vsftpd.email_passwords"; -+const char* tunable_email_password_file = "/etc/vsftpd/email_passwords"; - const char* tunable_rsa_cert_file = "/usr/share/ssl/certs/vsftpd.pem"; - const char* tunable_dsa_cert_file = 0; - const char* tunable_ssl_ciphers = "DES-CBC3-SHA"; ---- vsftpd.8.orig 2005-06-08 12:12:51.753585388 +0100 -+++ vsftpd.8 2005-06-08 12:13:21.411085181 +0100 -@@ -21,7 +21,7 @@ - recommended. It is activated by setting - .Pa listen=YES - in --.Pa /etc/vsftpd.conf . -+.Pa /etc/vsftpd/vsftpd.conf . - Direct execution of the - .Nm vsftpd - binary will then launch the FTP service ready for immediate client connections. -@@ -29,6 +29,6 @@ - An optional - .Op configuration file - may be given on the command line. The default configuration file is --.Pa /etc/vsftpd.conf . -+.Pa /etc/vsftpd/vsftpd.conf . - .Sh SEE ALSO - .Xr vsftpd.conf 5 ---- vsftpd.conf.5.orig 2005-06-08 12:13:29.831523597 +0100 -+++ vsftpd.conf.5 2005-06-08 12:15:04.012059074 +0100 -@@ -4,7 +4,7 @@ - .SH DESCRIPTION - vsftpd.conf may be used to control various aspects of vsftpd's behaviour. By - default, vsftpd looks for this file at the location --.BR /etc/vsftpd.conf . -+.BR /etc/vsftpd/vsftpd.conf . - However, you may override this by specifying a command line argument to - vsftpd. The command line argument is the pathname of the configuration file - for vsftpd. This behaviour is useful because you may wish to use an advanced -@@ -136,7 +136,7 @@ - different if chroot_local_user is set to YES. In this case, the list becomes - a list of users which are NOT to be placed in a chroot() jail. - By default, the file containing this list is --/etc/vsftpd.chroot_list, but you may override this with the -+/etc/vsftpd/chroot_list, but you may override this with the - .BR chroot_list_file - setting. - -@@ -164,7 +164,7 @@ - .B deny_email_enable - If activated, you may provide a list of anonymous password e-mail responses - which cause login to be denied. By default, the file containing this list is --/etc/vsftpd.banned_emails, but you may override this with the -+/etc/vsftpd/banned_emails, but you may override this with the - .BR banned_email_file - setting. - -@@ -371,7 +371,7 @@ - file specified by the - .BR email_password_file - setting. The file format is one password per line, no extra whitespace. The --default filename is /etc/vsftpd.email_passwords. -+default filename is /etc/vsftpd/email_passwords. - - Default: NO - .TP -@@ -651,7 +651,7 @@ - .BR deny_email_enable - is enabled. - --Default: /etc/vsftpd.banned_emails -+Default: /etc/vsftpd/banned_emails - .TP - .B banner_file - This option is the name of a file containing text to display when someone -@@ -680,7 +680,7 @@ - is enabled, then the list file becomes a list of users to NOT place in a - chroot() jail. - --Default: /etc/vsftpd.chroot_list -+Default: /etc/vsftpd/chroot_list - .TP - .B cmds_allowed - This options specifies a comma separated list of allowed FTP commands (post -@@ -732,7 +732,7 @@ - .BR secure_email_list_enable - setting. - --Default: /etc/vsftpd.email_passwords -+Default: /etc/vsftpd/email_passwords - .TP - .B ftp_username - This is the name of the user we use for handling anonymous FTP. The home -@@ -852,10 +852,10 @@ - with an example. If you set - .BR user_config_dir - to be --.BR /etc/vsftpd_user_conf -+.BR /etc/vsftpd/user_conf - and then log on as the user "chris", then vsftpd will apply the settings in - the file --.BR /etc/vsftpd_user_conf/chris -+.BR /etc/vsftpd/user_conf/chris - for the duration of the session. The format of this file is as detailed in - this manual page! PLEASE NOTE that not all settings are effective on a - per-user basis. For example, many settings only prior to the user's session -@@ -891,7 +891,7 @@ - .BR userlist_enable - option is active. - --Default: /etc/vsftpd.user_list -+Default: /etc/vsftpd/user_list - .TP - .B vsftpd_log_file - This option is the name of the file to which we write the vsftpd style ---- vsftpd.conf.orig 2005-10-20 07:53:27.857892494 +0100 -+++ vsftpd.conf 2005-10-20 09:44:04.631292771 +0100 -@@ -1,4 +1,4 @@ --# Example config file /etc/vsftpd.conf -+# Example config file /etc/vsftpd/vsftpd.conf - # - # The default compiled in settings are fairly paranoid. This sample file - # loosens things up a bit, to make the ftp daemon more usable. -@@ -8,6 +8,10 @@ - # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's - # capabilities. - # -+# Listen on IPv4. xinet users must set NO or comment out -+# otherwise it must be set YES -+listen=YES -+# - # Allow anonymous FTP? (Beware - allowed by default if you comment this out). - anonymous_enable=YES - # -@@ -88,18 +92,17 @@ - # useful for combatting certain DoS attacks. - #deny_email_enable=YES - # (default follows) --#banned_email_file=/etc/vsftpd.banned_emails -+#banned_email_file=/etc/vsftpd/banned_emails - # - # You may specify an explicit list of local users to chroot() to their home - # directory. If chroot_local_user is YES, then this list becomes a list of - # users to NOT chroot(). - #chroot_list_enable=YES - # (default follows) --#chroot_list_file=/etc/vsftpd.chroot_list -+#chroot_list_file=/etc/vsftpd/chroot_list - # - # You may activate the "-R" option to the builtin ls. This is disabled by - # default to avoid remote users being able to cause excessive I/O on large - # sites. However, some broken FTP clients such as "ncftp" and "mirror" assume - # the presence of the "-R" option, so there is a strong case for enabling it. - #ls_recurse_enable=YES -- diff --git a/net-ftp/vsftpd/files/vsftpd-2.0.6-caps.patch b/net-ftp/vsftpd/files/vsftpd-2.0.6-caps.patch deleted file mode 100644 index fed9f8a3809b..000000000000 --- a/net-ftp/vsftpd/files/vsftpd-2.0.6-caps.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -ur vsftpd-2.0.5.orig/sysdeputil.c vsftpd-2.0.5/sysdeputil.c ---- vsftpd-2.0.5.orig/sysdeputil.c 2007-01-05 17:58:28.000000000 +0000 -+++ vsftpd-2.0.5/sysdeputil.c 2007-01-05 17:55:30.000000000 +0000 -@@ -154,11 +154,8 @@ - #include <sys/capability.h> - - #if defined(VSF_SYSDEP_HAVE_CAPABILITIES) && !defined(VSF_SYSDEP_HAVE_LIBCAP) --#include <linux/unistd.h> - #include <linux/capability.h> --#include <errno.h> --#include <syscall.h> --_syscall2(int, capset, cap_user_header_t, header, const cap_user_data_t, data) -+#include <sys/syscall.h> - /* Gross HACK to avoid warnings - linux headers overlap glibc headers */ - #undef __NFDBITS - #undef __FDMASK diff --git a/net-ftp/vsftpd/files/vsftpd-2.0.6-libcap1.patch b/net-ftp/vsftpd/files/vsftpd-2.0.6-libcap1.patch deleted file mode 100644 index 467a7fb01220..000000000000 --- a/net-ftp/vsftpd/files/vsftpd-2.0.6-libcap1.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -ur vsftpd-2.0.5.orig/sysdeputil.c vsftpd-2.0.5/sysdeputil.c ---- vsftpd-2.0.5.orig/sysdeputil.c 2007-01-05 17:58:28.000000000 +0000 -+++ vsftpd-2.0.5/sysdeputil.c 2007-01-05 17:55:30.000000000 +0000 -@@ -508,6 +505,18 @@ - } - - #ifndef VSF_SYSDEP_HAVE_LIBCAP -+ -+static int -+capset(struct __user_cap_header_struct *header, -+ const struct __user_cap_data_struct *data); -+ -+static int -+capset(struct __user_cap_header_struct *header, -+ const struct __user_cap_data_struct *data) -+{ -+ return syscall(__NR_capset, header, data); -+} -+ - static int - do_checkcap(void) - { diff --git a/net-ftp/vsftpd/files/vsftpd-2.0.7-uclibc.patch b/net-ftp/vsftpd/files/vsftpd-2.0.7-uclibc.patch deleted file mode 100644 index f59b39573711..000000000000 --- a/net-ftp/vsftpd/files/vsftpd-2.0.7-uclibc.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- sysutil.c.orig 2008-10-13 10:07:34.000000000 +0200 -+++ sysutil.c 2008-10-13 10:08:00.000000000 +0200 -@@ -601,7 +601,7 @@ - vsf_sysutil_wait_exited_normally( - const struct vsf_sysutil_wait_retval* p_waitret) - { -- return WIFEXITED(p_waitret->exit_status); -+ return WIFEXITED((struct vsf_sysutil_wait_retval *)p_waitret->exit_status); - } - - int -@@ -611,7 +611,7 @@ - { - bug("not a normal exit in vsf_sysutil_wait_get_exitcode"); - } -- return WEXITSTATUS(p_waitret->exit_status); -+ return WEXITSTATUS((struct vsf_sysutil_wait_retval *)p_waitret->exit_status); - } - - void diff --git a/net-ftp/vsftpd/files/vsftpd-2.1.0-dont-link-caps.patch b/net-ftp/vsftpd/files/vsftpd-2.1.0-dont-link-caps.patch deleted file mode 100644 index 41ebba6ee3ff..000000000000 --- a/net-ftp/vsftpd/files/vsftpd-2.1.0-dont-link-caps.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -ur vsftpd-2.1.0.orig/vsf_findlibs.sh vsftpd-2.1.0/vsf_findlibs.sh ---- vsftpd-2.1.0.orig/vsf_findlibs.sh 2009-02-23 18:32:17.000000000 +0100 -+++ vsftpd-2.1.0/vsf_findlibs.sh 2009-02-23 18:32:23.000000000 +0100 -@@ -42,14 +42,6 @@ - # For older HP-UX... - locate_library /usr/lib/libsec.sl && echo "-lsec"; - --# Look for libcap (capabilities) --if locate_library /lib/libcap.so.1; then -- echo "/lib/libcap.so.1"; --else -- locate_library /usr/lib/libcap.so && echo "-lcap"; -- locate_library /lib/libcap.so && echo "-lcap"; --fi -- - # Solaris needs this for nanosleep().. - locate_library /lib/libposix4.so && echo "-lposix4"; - locate_library /usr/lib/libposix4.so && echo "-lposix4"; diff --git a/net-ftp/vsftpd/files/vsftpd-2.1.0-gentoo.patch b/net-ftp/vsftpd/files/vsftpd-2.1.0-gentoo.patch deleted file mode 100644 index b3589920721d..000000000000 --- a/net-ftp/vsftpd/files/vsftpd-2.1.0-gentoo.patch +++ /dev/null @@ -1,182 +0,0 @@ -diff -ur vsftpd-2.1.0.orig/defs.h vsftpd-2.1.0/defs.h ---- vsftpd-2.1.0.orig/defs.h 2009-02-23 17:57:17.000000000 +0100 -+++ vsftpd-2.1.0/defs.h 2009-02-23 17:57:29.000000000 +0100 -@@ -1,7 +1,7 @@ - #ifndef VSF_DEFS_H - #define VSF_DEFS_H - --#define VSFTP_DEFAULT_CONFIG "/etc/vsftpd.conf" -+#define VSFTP_DEFAULT_CONFIG "/etc/vsftpd/vsftpd.conf" - - #define VSFTP_COMMAND_FD 0 - -diff -ur vsftpd-2.1.0.orig/tunables.c vsftpd-2.1.0/tunables.c ---- vsftpd-2.1.0.orig/tunables.c 2009-02-23 17:57:17.000000000 +0100 -+++ vsftpd-2.1.0/tunables.c 2009-02-23 17:59:12.000000000 +0100 -@@ -242,7 +242,7 @@ - /* -rw------- */ - tunable_chown_upload_mode = 0600; - -- install_str_setting("/usr/share/empty", &tunable_secure_chroot_dir); -+ install_str_setting("/usr/share/vsftpd/empty", &tunable_secure_chroot_dir); - install_str_setting("ftp", &tunable_ftp_username); - install_str_setting("root", &tunable_chown_username); - install_str_setting("/var/log/xferlog", &tunable_xferlog_file); -@@ -250,11 +250,11 @@ - install_str_setting(".message", &tunable_message_file); - install_str_setting("nobody", &tunable_nopriv_user); - install_str_setting(0, &tunable_ftpd_banner); -- install_str_setting("/etc/vsftpd.banned_emails", &tunable_banned_email_file); -- install_str_setting("/etc/vsftpd.chroot_list", &tunable_chroot_list_file); -+ install_str_setting("/etc/vsftpd/banned_emails", &tunable_banned_email_file); -+ install_str_setting("/etc/vsftpd/chroot_list", &tunable_chroot_list_file); - install_str_setting("ftp", &tunable_pam_service_name); - install_str_setting("ftp", &tunable_guest_username); -- install_str_setting("/etc/vsftpd.user_list", &tunable_userlist_file); -+ install_str_setting("/etc/vsftpd/user_list", &tunable_userlist_file); - install_str_setting(0, &tunable_anon_root); - install_str_setting(0, &tunable_local_root); - install_str_setting(0, &tunable_banner_file); -@@ -267,7 +267,7 @@ - install_str_setting(0, &tunable_hide_file); - install_str_setting(0, &tunable_deny_file); - install_str_setting(0, &tunable_user_sub_token); -- install_str_setting("/etc/vsftpd.email_passwords", -+ install_str_setting("/etc/vsftpd/email_passwords", - &tunable_email_password_file); - install_str_setting("/usr/share/ssl/certs/vsftpd.pem", - &tunable_rsa_cert_file); -diff -ur vsftpd-2.1.0.orig/vsftpd.8 vsftpd-2.1.0/vsftpd.8 ---- vsftpd-2.1.0.orig/vsftpd.8 2009-02-23 17:57:17.000000000 +0100 -+++ vsftpd-2.1.0/vsftpd.8 2009-02-23 18:00:03.000000000 +0100 -@@ -21,7 +21,7 @@ - recommended. It is activated by setting - .Pa listen=YES - in --.Pa /etc/vsftpd.conf . -+.Pa /etc/vsftpd/vsftpd.conf . - Direct execution of the - .Nm vsftpd - binary will then launch the FTP service ready for immediate client connections. -@@ -30,6 +30,6 @@ - .Op configuration file - may be given on the command line. This file must be owned as root if running as - root. The default configuration file is --.Pa /etc/vsftpd.conf . -+.Pa /etc/vsftpd/vsftpd.conf . - .Sh SEE ALSO - .Xr vsftpd.conf 5 -diff -ur vsftpd-2.1.0.orig/vsftpd.conf vsftpd-2.1.0/vsftpd.conf ---- vsftpd-2.1.0.orig/vsftpd.conf 2009-02-23 17:57:17.000000000 +0100 -+++ vsftpd-2.1.0/vsftpd.conf 2009-02-23 18:00:56.000000000 +0100 -@@ -1,4 +1,4 @@ --# Example config file /etc/vsftpd.conf -+# Example config file /etc/vsftpd/vsftpd.conf - # - # The default compiled in settings are fairly paranoid. This sample file - # loosens things up a bit, to make the ftp daemon more usable. -@@ -87,14 +91,14 @@ - # useful for combatting certain DoS attacks. - #deny_email_enable=YES - # (default follows) --#banned_email_file=/etc/vsftpd.banned_emails -+#banned_email_file=/etc/vsftpd/banned_emails - # - # You may specify an explicit list of local users to chroot() to their home - # directory. If chroot_local_user is YES, then this list becomes a list of - # users to NOT chroot(). - #chroot_list_enable=YES - # (default follows) --#chroot_list_file=/etc/vsftpd.chroot_list -+#chroot_list_file=/etc/vsftpd/chroot_list - # - # You may activate the "-R" option to the builtin ls. This is disabled by - # default to avoid remote users being able to cause excessive I/O on large -diff -ur vsftpd-2.1.0.orig/vsftpd.conf.5 vsftpd-2.1.0/vsftpd.conf.5 ---- vsftpd-2.1.0.orig/vsftpd.conf.5 2009-02-23 17:57:17.000000000 +0100 -+++ vsftpd-2.1.0/vsftpd.conf.5 2009-02-23 17:57:29.000000000 +0100 -@@ -4,7 +4,7 @@ - .SH DESCRIPTION - vsftpd.conf may be used to control various aspects of vsftpd's behaviour. By - default, vsftpd looks for this file at the location --.BR /etc/vsftpd.conf . -+.BR /etc/vsftpd/vsftpd.conf . - However, you may override this by specifying a command line argument to - vsftpd. The command line argument is the pathname of the configuration file - for vsftpd. This behaviour is useful because you may wish to use an advanced -@@ -138,7 +138,7 @@ - different if chroot_local_user is set to YES. In this case, the list becomes - a list of users which are NOT to be placed in a chroot() jail. - By default, the file containing this list is --/etc/vsftpd.chroot_list, but you may override this with the -+/etc/vsftpd/chroot_list, but you may override this with the - .BR chroot_list_file - setting. - -@@ -177,7 +177,7 @@ - .B deny_email_enable - If activated, you may provide a list of anonymous password e-mail responses - which cause login to be denied. By default, the file containing this list is --/etc/vsftpd.banned_emails, but you may override this with the -+/etc/vsftpd/banned_emails, but you may override this with the - .BR banned_email_file - setting. - -@@ -430,7 +430,7 @@ - file specified by the - .BR email_password_file - setting. The file format is one password per line, no extra whitespace. The --default filename is /etc/vsftpd.email_passwords. -+default filename is /etc/vsftpd/email_passwords. - - Default: NO - .TP -@@ -761,7 +761,7 @@ - .BR deny_email_enable - is enabled. - --Default: /etc/vsftpd.banned_emails -+Default: /etc/vsftpd/banned_emails - .TP - .B banner_file - This option is the name of a file containing text to display when someone -@@ -798,7 +798,7 @@ - is enabled, then the list file becomes a list of users to NOT place in a - chroot() jail. - --Default: /etc/vsftpd.chroot_list -+Default: /etc/vsftpd/chroot_list - .TP - .B cmds_allowed - This options specifies a comma separated list of allowed FTP commands (post -@@ -859,7 +859,7 @@ - .BR secure_email_list_enable - setting. - --Default: /etc/vsftpd.email_passwords -+Default: /etc/vsftpd/email_passwords - .TP - .B ftp_username - This is the name of the user we use for handling anonymous FTP. The home -@@ -982,10 +982,10 @@ - with an example. If you set - .BR user_config_dir - to be --.BR /etc/vsftpd_user_conf -+.BR /etc/vsftpd/user_conf - and then log on as the user "chris", then vsftpd will apply the settings in - the file --.BR /etc/vsftpd_user_conf/chris -+.BR /etc/vsftpd/user_conf/chris - for the duration of the session. The format of this file is as detailed in - this manual page! PLEASE NOTE that not all settings are effective on a - per-user basis. For example, many settings only prior to the user's session -@@ -1021,7 +1021,7 @@ - .BR userlist_enable - option is active. - --Default: /etc/vsftpd.user_list -+Default: /etc/vsftpd/user_list - .TP - .B vsftpd_log_file - This option is the name of the file to which we write the vsftpd style diff --git a/net-ftp/vsftpd/files/vsftpd-2.1.2-dont-link-caps.patch b/net-ftp/vsftpd/files/vsftpd-2.1.2-dont-link-caps.patch deleted file mode 100644 index d36fa37ffe40..000000000000 --- a/net-ftp/vsftpd/files/vsftpd-2.1.2-dont-link-caps.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -ur vsftpd-2.1.2.orig/vsf_findlibs.sh vsftpd-2.1.2/vsf_findlibs.sh ---- vsftpd-2.1.2.orig/vsf_findlibs.sh 2009-05-30 12:43:33.000000000 +0200 -+++ vsftpd-2.1.2/vsf_findlibs.sh 2009-05-30 12:44:41.000000000 +0200 -@@ -42,16 +42,6 @@ - # For older HP-UX... - locate_library /usr/lib/libsec.sl && echo "-lsec"; - --# Look for libcap (capabilities) --if locate_library /lib/libcap.so.1; then -- echo "/lib/libcap.so.1"; --elif locate_library /lib/libcap.so.2; then -- echo "/lib/libcap.so.2"; --else -- locate_library /usr/lib/libcap.so && echo "-lcap"; -- locate_library /lib/libcap.so && echo "-lcap"; --fi -- - # Solaris needs this for nanosleep().. - locate_library /lib/libposix4.so && echo "-lposix4"; - locate_library /usr/lib/libposix4.so && echo "-lposix4"; diff --git a/net-ftp/vsftpd/vsftpd-2.0.7-r1.ebuild b/net-ftp/vsftpd/vsftpd-2.0.7-r1.ebuild deleted file mode 100644 index 3735242f8366..000000000000 --- a/net-ftp/vsftpd/vsftpd-2.0.7-r1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/vsftpd-2.0.7-r1.ebuild,v 1.9 2009/02/24 15:24:27 armin76 Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="Very Secure FTP Daemon written with speed, size and security in mind" -HOMEPAGE="http://vsftpd.beasts.org/" -SRC_URI="ftp://vsftpd.beasts.org/users/cevans/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd" -IUSE="caps pam tcpd ssl selinux xinetd" - -DEPEND="caps? ( sys-libs/libcap ) - pam? ( virtual/pam ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) - ssl? ( >=dev-libs/openssl-0.9.7d )" -RDEPEND="${DEPEND} - net-ftp/ftpbase - selinux? ( sec-policy/selinux-ftpd ) - xinetd? ( sys-apps/xinetd )" - -src_unpack() { - unpack ${A} - cd "${S}" - - # Patch the source, config and the manpage to use /etc/vsftpd/ - epatch "${FILESDIR}/${PN}-2.0.3-gentoo.patch" - # uclibc fix, from Debian - epatch "${FILESDIR}"/${PN}-2.0.7-uclibc.patch - - # Fix building without the libcap - epatch "${FILESDIR}/${PN}-2.0.6-caps.patch" - has_version "<sys-libs/libcap-2" && epatch "${FILESDIR}"/${PN}-2.0.6-libcap1.patch - - # Configure vsftpd build defaults - use tcpd && echo "#define VSF_BUILD_TCPWRAPPERS" >> builddefs.h - use ssl && echo "#define VSF_BUILD_SSL" >> builddefs.h - use pam || echo "#undef VSF_BUILD_PAM" >> builddefs.h - - # Ensure that we don't link against libcap unless asked - if ! use caps ; then - sed -i '/^#define VSF_SYSDEP_HAVE_LIBCAP$/ d' sysdeputil.c - sed -i '/libcap/ d' vsf_findlibs.sh - fi - - # Let portage control stripping - sed -i '/^LINK[[:space:]]*=[[:space:]]*/ s/-Wl,-s//' Makefile -} - -src_compile() { - emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die -} - -src_install() { - into /usr - doman vsftpd.conf.5 vsftpd.8 - dosbin vsftpd || die - - dodoc AUDIT BENCHMARKS BUGS Changelog FAQ \ - README README.security REWARD SIZE \ - SPEED TODO TUNING - newdoc vsftpd.conf vsftpd.conf.example - - docinto security - dodoc SECURITY/* - - insinto "/usr/share/doc/${PF}/examples" - doins -r EXAMPLE/* - - insinto /etc/vsftpd - newins vsftpd.conf vsftpd.conf.example - - insinto /etc/logrotate.d - newins "${FILESDIR}/vsftpd.logrotate" vsftpd - - if use xinetd ; then - insinto /etc/xinetd.d - newins "${FILESDIR}/vsftpd.xinetd" vsftpd - fi - - newinitd "${FILESDIR}/vsftpd.init" vsftpd - - keepdir /usr/share/vsftpd/empty -} - -pkg_preinst() { - # If we use xinetd, then we comment out listen=YES - # so that our default config works under xinetd - fixes #78347 - if use xinetd ; then - sed -i '/\listen=YES/s/^/#/g' "${D}"/etc/vsftpd/vsftpd.conf.example - fi -} - -pkg_postinst() { - einfo "vsftpd init script can now be multiplexed." - einfo "The default init script forces /etc/vsftpd/vsftpd.conf to exist." - einfo "If you symlink the init script to another one, say vsftpd.foo" - einfo "then that uses /etc/vsftpd/foo.conf instead." - einfo - einfo "Example:" - einfo " cd /etc/init.d" - einfo " ln -s vsftpd vsftpd.foo" - einfo "You can now treat vsftpd.foo like any other service" -} diff --git a/net-ftp/vsftpd/vsftpd-2.1.0-r1.ebuild b/net-ftp/vsftpd/vsftpd-2.1.0-r1.ebuild deleted file mode 100644 index 0967ad4d4367..000000000000 --- a/net-ftp/vsftpd/vsftpd-2.1.0-r1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/vsftpd-2.1.0-r1.ebuild,v 1.1 2009/05/30 11:28:41 armin76 Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="Very Secure FTP Daemon written with speed, size and security in mind" -HOMEPAGE="http://vsftpd.beasts.org/" -SRC_URI="ftp://vsftpd.beasts.org/users/cevans/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd" -IUSE="caps pam tcpd ssl selinux xinetd" - -DEPEND="caps? ( >=sys-libs/libcap-2 ) - pam? ( virtual/pam ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) - ssl? ( >=dev-libs/openssl-0.9.7d )" -RDEPEND="${DEPEND} - net-ftp/ftpbase - selinux? ( sec-policy/selinux-ftpd ) - xinetd? ( sys-apps/xinetd )" - -src_unpack() { - unpack ${A} - cd "${S}" - - # Patch the source, config and the manpage to use /etc/vsftpd/ - epatch "${FILESDIR}/${PN}-2.1.0-gentoo.patch" - - # Fix building without the libcap - epatch "${FILESDIR}/${PN}-2.1.0-caps.patch" - - # Configure vsftpd build defaults - use tcpd && echo "#define VSF_BUILD_TCPWRAPPERS" >> builddefs.h - use ssl && echo "#define VSF_BUILD_SSL" >> builddefs.h - use pam || echo "#undef VSF_BUILD_PAM" >> builddefs.h - - # Ensure that we don't link against libcap unless asked - if ! use caps ; then - sed -i '/^#define VSF_SYSDEP_HAVE_LIBCAP$/ d' sysdeputil.c - epatch "${FILESDIR}"/${PN}-2.1.0-dont-link-caps.patch - fi - - # Let portage control stripping - sed -i '/^LINK[[:space:]]*=[[:space:]]*/ s/-Wl,-s//' Makefile -} - -src_compile() { - emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die -} - -src_install() { - into /usr - doman vsftpd.conf.5 vsftpd.8 - dosbin vsftpd || die - - dodoc AUDIT BENCHMARKS BUGS Changelog FAQ \ - README README.security REWARD SIZE \ - SPEED TODO TUNING - newdoc vsftpd.conf vsftpd.conf.example - - docinto security - dodoc SECURITY/* - - insinto "/usr/share/doc/${PF}/examples" - doins -r EXAMPLE/* - - insinto /etc/vsftpd - newins vsftpd.conf vsftpd.conf.example - - insinto /etc/logrotate.d - newins "${FILESDIR}/vsftpd.logrotate" vsftpd - - if use xinetd ; then - insinto /etc/xinetd.d - newins "${FILESDIR}/vsftpd.xinetd" vsftpd - fi - - newinitd "${FILESDIR}/vsftpd.init" vsftpd - - keepdir /usr/share/vsftpd/empty -} - -pkg_preinst() { - # If we use xinetd, then we set listen=NO - # so that our default config works under xinetd - fixes #78347 - if use xinetd ; then - sed -i 's/listen=YES/listen=NO/g' "${D}"/etc/vsftpd/vsftpd.conf.example - fi -} - -pkg_postinst() { - einfo "vsftpd init script can now be multiplexed." - einfo "The default init script forces /etc/vsftpd/vsftpd.conf to exist." - einfo "If you symlink the init script to another one, say vsftpd.foo" - einfo "then that uses /etc/vsftpd/foo.conf instead." - einfo - einfo "Example:" - einfo " cd /etc/init.d" - einfo " ln -s vsftpd vsftpd.foo" - einfo "You can now treat vsftpd.foo like any other service" -} diff --git a/net-ftp/vsftpd/vsftpd-2.1.2.ebuild b/net-ftp/vsftpd/vsftpd-2.1.2.ebuild deleted file mode 100644 index 4f933f49e1f5..000000000000 --- a/net-ftp/vsftpd/vsftpd-2.1.2.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/vsftpd-2.1.2.ebuild,v 1.1 2009/05/30 11:28:41 armin76 Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="Very Secure FTP Daemon written with speed, size and security in mind" -HOMEPAGE="http://vsftpd.beasts.org/" -SRC_URI="ftp://vsftpd.beasts.org/users/cevans/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="caps pam tcpd ssl selinux xinetd" - -DEPEND="caps? ( >=sys-libs/libcap-2 ) - pam? ( virtual/pam ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) - ssl? ( >=dev-libs/openssl-0.9.7d )" -RDEPEND="${DEPEND} - net-ftp/ftpbase - selinux? ( sec-policy/selinux-ftpd ) - xinetd? ( sys-apps/xinetd )" - -src_unpack() { - unpack ${A} - cd "${S}" - - # Patch the source, config and the manpage to use /etc/vsftpd/ - epatch "${FILESDIR}/${PN}-2.1.0-gentoo.patch" - - # Fix building without the libcap - epatch "${FILESDIR}/${PN}-2.1.0-caps.patch" - - # Configure vsftpd build defaults - use tcpd && echo "#define VSF_BUILD_TCPWRAPPERS" >> builddefs.h - use ssl && echo "#define VSF_BUILD_SSL" >> builddefs.h - use pam || echo "#undef VSF_BUILD_PAM" >> builddefs.h - - # Ensure that we don't link against libcap unless asked - if ! use caps ; then - sed -i '/^#define VSF_SYSDEP_HAVE_LIBCAP$/ d' sysdeputil.c - epatch "${FILESDIR}"/${PN}-2.1.2-dont-link-caps.patch - fi - - # Let portage control stripping - sed -i '/^LINK[[:space:]]*=[[:space:]]*/ s/-Wl,-s//' Makefile -} - -src_compile() { - emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die -} - -src_install() { - into /usr - doman vsftpd.conf.5 vsftpd.8 - dosbin vsftpd || die - - dodoc AUDIT BENCHMARKS BUGS Changelog FAQ \ - README README.security REWARD SIZE \ - SPEED TODO TUNING - newdoc vsftpd.conf vsftpd.conf.example - - docinto security - dodoc SECURITY/* - - insinto "/usr/share/doc/${PF}/examples" - doins -r EXAMPLE/* - - insinto /etc/vsftpd - newins vsftpd.conf vsftpd.conf.example - - insinto /etc/logrotate.d - newins "${FILESDIR}/vsftpd.logrotate" vsftpd - - if use xinetd ; then - insinto /etc/xinetd.d - newins "${FILESDIR}/vsftpd.xinetd" vsftpd - fi - - newinitd "${FILESDIR}/vsftpd.init" vsftpd - - keepdir /usr/share/vsftpd/empty -} - -pkg_preinst() { - # If we use xinetd, then we set listen=NO - # so that our default config works under xinetd - fixes #78347 - if use xinetd ; then - sed -i 's/listen=YES/listen=NO/g' "${D}"/etc/vsftpd/vsftpd.conf.example - fi -} - -pkg_postinst() { - einfo "vsftpd init script can now be multiplexed." - einfo "The default init script forces /etc/vsftpd/vsftpd.conf to exist." - einfo "If you symlink the init script to another one, say vsftpd.foo" - einfo "then that uses /etc/vsftpd/foo.conf instead." - einfo - einfo "Example:" - einfo " cd /etc/init.d" - einfo " ln -s vsftpd vsftpd.foo" - einfo "You can now treat vsftpd.foo like any other service" -} diff --git a/net-ftp/vsftpd/vsftpd-2.2.0.ebuild b/net-ftp/vsftpd/vsftpd-2.2.0.ebuild deleted file mode 100644 index 12ab4b9b98e9..000000000000 --- a/net-ftp/vsftpd/vsftpd-2.2.0.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/vsftpd-2.2.0.ebuild,v 1.2 2009/08/24 05:37:00 wormo Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="Very Secure FTP Daemon written with speed, size and security in mind" -HOMEPAGE="http://vsftpd.beasts.org/" -SRC_URI="ftp://vsftpd.beasts.org/users/cevans/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="caps pam tcpd ssl selinux xinetd" - -DEPEND="caps? ( >=sys-libs/libcap-2 ) - pam? ( virtual/pam ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) - ssl? ( >=dev-libs/openssl-0.9.7d )" -RDEPEND="${DEPEND} - net-ftp/ftpbase - selinux? ( sec-policy/selinux-ftpd ) - xinetd? ( sys-apps/xinetd )" - -src_unpack() { - unpack ${A} - cd "${S}" - - # Patch the source, config and the manpage to use /etc/vsftpd/ - epatch "${FILESDIR}/${P}-gentoo.patch" - - # Fix building without the libcap - epatch "${FILESDIR}/${PN}-2.1.0-caps.patch" - - # Configure vsftpd build defaults - use tcpd && echo "#define VSF_BUILD_TCPWRAPPERS" >> builddefs.h - use ssl && echo "#define VSF_BUILD_SSL" >> builddefs.h - use pam || echo "#undef VSF_BUILD_PAM" >> builddefs.h - - # Ensure that we don't link against libcap unless asked - if ! use caps ; then - sed -i '/^#define VSF_SYSDEP_HAVE_LIBCAP$/ d' sysdeputil.c - epatch "${FILESDIR}"/${P}-dont-link-caps.patch - fi - - # Let portage control stripping - sed -i '/^LINK[[:space:]]*=[[:space:]]*/ s/-Wl,-s//' Makefile -} - -src_compile() { - emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die -} - -src_install() { - into /usr - doman vsftpd.conf.5 vsftpd.8 - dosbin vsftpd || die - - dodoc AUDIT BENCHMARKS BUGS Changelog FAQ \ - README README.security REWARD SIZE \ - SPEED TODO TUNING - newdoc vsftpd.conf vsftpd.conf.example - - docinto security - dodoc SECURITY/* - - insinto "/usr/share/doc/${PF}/examples" - doins -r EXAMPLE/* - - insinto /etc/vsftpd - newins vsftpd.conf vsftpd.conf.example - - insinto /etc/logrotate.d - newins "${FILESDIR}/vsftpd.logrotate" vsftpd - - if use xinetd ; then - insinto /etc/xinetd.d - newins "${FILESDIR}/vsftpd.xinetd" vsftpd - fi - - newinitd "${FILESDIR}/vsftpd.init" vsftpd - - keepdir /usr/share/vsftpd/empty -} - -pkg_preinst() { - # If we use xinetd, then we set listen=NO - # so that our default config works under xinetd - fixes #78347 - if use xinetd ; then - sed -i 's/listen=YES/listen=NO/g' "${D}"/etc/vsftpd/vsftpd.conf.example - fi -} - -pkg_postinst() { - einfo "vsftpd init script can now be multiplexed." - einfo "The default init script forces /etc/vsftpd/vsftpd.conf to exist." - einfo "If you symlink the init script to another one, say vsftpd.foo" - einfo "then that uses /etc/vsftpd/foo.conf instead." - einfo - einfo "Example:" - einfo " cd /etc/init.d" - einfo " ln -s vsftpd vsftpd.foo" - einfo "You can now treat vsftpd.foo like any other service" -} diff --git a/net-ftp/vsftpd/vsftpd-2.2.1.ebuild b/net-ftp/vsftpd/vsftpd-2.2.1.ebuild deleted file mode 100644 index b884ca69ef95..000000000000 --- a/net-ftp/vsftpd/vsftpd-2.2.1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/vsftpd-2.2.1.ebuild,v 1.1 2009/10/29 09:38:04 voyageur Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="Very Secure FTP Daemon written with speed, size and security in mind" -HOMEPAGE="http://vsftpd.beasts.org/" -SRC_URI="ftp://vsftpd.beasts.org/users/cevans/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="caps pam tcpd ssl selinux xinetd" - -DEPEND="caps? ( >=sys-libs/libcap-2 ) - pam? ( virtual/pam ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) - ssl? ( >=dev-libs/openssl-0.9.7d )" -RDEPEND="${DEPEND} - net-ftp/ftpbase - selinux? ( sec-policy/selinux-ftpd ) - xinetd? ( sys-apps/xinetd )" - -src_unpack() { - unpack ${A} - cd "${S}" - - # Patch the source, config and the manpage to use /etc/vsftpd/ - epatch "${FILESDIR}/${PN}-2.2.0-gentoo.patch" - - # Fix building without the libcap - epatch "${FILESDIR}/${PN}-2.1.0-caps.patch" - - # Configure vsftpd build defaults - use tcpd && echo "#define VSF_BUILD_TCPWRAPPERS" >> builddefs.h - use ssl && echo "#define VSF_BUILD_SSL" >> builddefs.h - use pam || echo "#undef VSF_BUILD_PAM" >> builddefs.h - - # Ensure that we don't link against libcap unless asked - if ! use caps ; then - sed -i '/^#define VSF_SYSDEP_HAVE_LIBCAP$/ d' sysdeputil.c - epatch "${FILESDIR}"/${PN}-2.2.0-dont-link-caps.patch - fi - - # Let portage control stripping - sed -i '/^LINK[[:space:]]*=[[:space:]]*/ s/-Wl,-s//' Makefile -} - -src_compile() { - emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die -} - -src_install() { - into /usr - doman vsftpd.conf.5 vsftpd.8 - dosbin vsftpd || die - - dodoc AUDIT BENCHMARKS BUGS Changelog FAQ \ - README README.security REWARD SIZE \ - SPEED TODO TUNING - newdoc vsftpd.conf vsftpd.conf.example - - docinto security - dodoc SECURITY/* - - insinto "/usr/share/doc/${PF}/examples" - doins -r EXAMPLE/* - - insinto /etc/vsftpd - newins vsftpd.conf vsftpd.conf.example - - insinto /etc/logrotate.d - newins "${FILESDIR}/vsftpd.logrotate" vsftpd - - if use xinetd ; then - insinto /etc/xinetd.d - newins "${FILESDIR}/vsftpd.xinetd" vsftpd - fi - - newinitd "${FILESDIR}/vsftpd.init" vsftpd - - keepdir /usr/share/vsftpd/empty -} - -pkg_preinst() { - # If we use xinetd, then we set listen=NO - # so that our default config works under xinetd - fixes #78347 - if use xinetd ; then - sed -i 's/listen=YES/listen=NO/g' "${D}"/etc/vsftpd/vsftpd.conf.example - fi -} - -pkg_postinst() { - einfo "vsftpd init script can now be multiplexed." - einfo "The default init script forces /etc/vsftpd/vsftpd.conf to exist." - einfo "If you symlink the init script to another one, say vsftpd.foo" - einfo "then that uses /etc/vsftpd/foo.conf instead." - einfo - einfo "Example:" - einfo " cd /etc/init.d" - einfo " ln -s vsftpd vsftpd.foo" - einfo "You can now treat vsftpd.foo like any other service" -} |