diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2005-07-08 16:02:20 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2005-07-08 16:02:20 +0000 |
commit | a35e0a29f17ee8d8e33e11cd27b72041b8b9791f (patch) | |
tree | 811d2c2d4dc4350ea0cc30447a59aee276734633 /net-ftp/proftpd | |
parent | Added to ~ppc (diff) | |
download | historical-a35e0a29f17ee8d8e33e11cd27b72041b8b9791f.tar.gz historical-a35e0a29f17ee8d8e33e11cd27b72041b8b9791f.tar.bz2 historical-a35e0a29f17ee8d8e33e11cd27b72041b8b9791f.zip |
new revision that uses ftpbase
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'net-ftp/proftpd')
-rw-r--r-- | net-ftp/proftpd/ChangeLog | 8 | ||||
-rw-r--r-- | net-ftp/proftpd/Manifest | 10 | ||||
-rw-r--r-- | net-ftp/proftpd/files/digest-proftpd-1.2.10-r6 | 2 | ||||
-rw-r--r-- | net-ftp/proftpd/proftpd-1.2.10-r6.ebuild | 169 |
4 files changed, 184 insertions, 5 deletions
diff --git a/net-ftp/proftpd/ChangeLog b/net-ftp/proftpd/ChangeLog index 807493692eb5..365a37e01275 100644 --- a/net-ftp/proftpd/ChangeLog +++ b/net-ftp/proftpd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-ftp/proftpd # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/ChangeLog,v 1.94 2005/07/07 23:58:53 humpback Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/ChangeLog,v 1.95 2005/07/08 16:02:20 humpback Exp $ + +*proftpd-1.2.10-r6 (08 Jul 2005) + + 08 Jul 2005; Gustavo Felisberto <humpback@gentoo.org>; + +proftpd-1.2.10-r6.ebuild: + New revision that uses the new net-ftp/ftpbase. Nice work there UberLord. 07 Jul 2005; Gustavo Felisberto <humpback@gentoo.org>; proftpd-1.2.9-r2.ebuild, proftpd-1.2.10.ebuild, proftpd-1.2.10-r1.ebuild, diff --git a/net-ftp/proftpd/Manifest b/net-ftp/proftpd/Manifest index e37501c47fcf..378f8f96ef1a 100644 --- a/net-ftp/proftpd/Manifest +++ b/net-ftp/proftpd/Manifest @@ -1,12 +1,13 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +MD5 a3f3d269963b8887b8f6e1c9d0dccae6 proftpd-1.2.10-r6.ebuild 4462 MD5 47c7909cf9d623eaa77933d997bdb7c1 proftpd-1.2.10-r1.ebuild 4422 MD5 ccd3b0639bb673d4f542f42b1a9824b2 proftpd-1.2.10-r3.ebuild 4356 MD5 9cd5b3f274033c4ed06ac8c36b143353 proftpd-1.2.10-r5.ebuild 4393 MD5 0215c43fd279ba334fe05f9761ec8293 proftpd-1.2.10.ebuild 4166 MD5 49ff4274614a4ecc736e8674b47b9d2b proftpd-1.2.10-r2.ebuild 4505 -MD5 65b1e2b998511656651f402371092bb6 ChangeLog 15319 +MD5 fe86805aef41c396e18da3c162f2f1aa ChangeLog 15516 MD5 b47207aedd0149443faa2152950714ed metadata.xml 401 MD5 032f9750ce490f668ca047a660bd099b proftpd-1.2.9-r2.ebuild 3466 MD5 b00999f820f1e46a501ce4fcaeb5fe23 files/proftpd-1.2.9-makefile.patch 434 @@ -21,13 +22,14 @@ MD5 52697b758d9c85e63c881592c5a8bb02 files/digest-proftpd-1.2.10-r1 213 MD5 52697b758d9c85e63c881592c5a8bb02 files/digest-proftpd-1.2.10-r2 213 MD5 81e05e840c023b1f6bfb46dc24cb165f files/digest-proftpd-1.2.10-r3 142 MD5 81e05e840c023b1f6bfb46dc24cb165f files/digest-proftpd-1.2.10-r5 142 +MD5 81e05e840c023b1f6bfb46dc24cb165f files/digest-proftpd-1.2.10-r6 142 MD5 6c1a92fc601780a49fdfc01aaf483b69 files/digest-proftpd-1.2.9-r2 66 MD5 e558f099037d359da5f855285542246e files/1.2.9_rc3-reversedns.diff 1974 MD5 cfe47c0d5f8fece1d36ca8d56d0f2b99 files/ftp.pamd 701 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFCzcHS8zY1VwezZiERAjLbAKCTaM2NPVWAkzRkwOEEW5rxpb3onACePGgz -6XNG6CqcHsRQQRpZDgwuq1k= -=eeqD +iD8DBQFCzqOs8zY1VwezZiERAr+rAKCgBfqi5mvAuzECcdCyLDKED0GP3QCffaoJ +C3zcuiby/GP9qslANQ3L7f0= +=fg44 -----END PGP SIGNATURE----- diff --git a/net-ftp/proftpd/files/digest-proftpd-1.2.10-r6 b/net-ftp/proftpd/files/digest-proftpd-1.2.10-r6 new file mode 100644 index 000000000000..211d52a3fca3 --- /dev/null +++ b/net-ftp/proftpd/files/digest-proftpd-1.2.10-r6 @@ -0,0 +1,2 @@ +MD5 5feb4a7348e12faefc25e34fd92efdd6 proftpd-1.2.10.tar.bz2 920337 +MD5 ca3d63ffbc6ad5b6a9063f79b36d1b55 proftpd-mod-shaper-0.5.5.tar.gz 18090 diff --git a/net-ftp/proftpd/proftpd-1.2.10-r6.ebuild b/net-ftp/proftpd/proftpd-1.2.10-r6.ebuild new file mode 100644 index 000000000000..070617ebfd17 --- /dev/null +++ b/net-ftp/proftpd/proftpd-1.2.10-r6.ebuild @@ -0,0 +1,169 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.2.10-r6.ebuild,v 1.1 2005/07/08 16:02:20 humpback Exp $ + +inherit flag-o-matic eutils + +IUSE="hardened ipv6 ldap mysql pam postgres shaper softquota ssl tcpd + selinux sendfile noauthunix authfile ncurses xinetd" + +MY_P=${P/_/} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="An advanced and very configurable FTP server" +SRC_URI="ftp://ftp.proftpd.org/distrib/source/${MY_P}.tar.bz2 + shaper? ( http://www.castaglia.org/${PN}/modules/${PN}-mod-shaper-0.5.5.tar.gz )" +HOMEPAGE="http://www.proftpd.org/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~sparc ~hppa ~alpha ~ppc ~mips ~amd64 ~ppc64" + +DEPEND="pam? ( || ( virtual/pam sys-libs/pam) ) + mysql? ( >=dev-db/mysql-3.23.26 ) + ldap? ( >=net-nds/openldap-1.2.11 ) + postgres? ( >=dev-db/postgresql-7.3 ) + ssl? ( >=dev-libs/openssl-0.9.6f ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6-r3 ) + ncurses? ( sys-libs/ncurses ) + xinetd? ( sys-apps/xinetd )" + +RDEPEND="${DEPEND} + net-ftp/ftpbase + selinux? ( sec-policy/selinux-ftpd )" + +src_unpack() { + unpack ${MY_P}.tar.bz2 + cd ${S} + if use shaper; then + unpack ${PN}-mod-shaper-0.5.5.tar.gz + mv mod_shaper/mod_shaper.c contrib/ + fi +} + +src_compile() { + addpredict /etc/krb5.conf + local modules myconf + + modules="mod_ratio:mod_readme" + use pam && modules="${modules}:mod_auth_pam" + use tcpd && modules="${modules}:mod_wrap" + use shaper && modules="${modules}:mod_shaper" + + if use ldap; then + einfo ldap + modules="${modules}:mod_ldap" + append-ldflags "-lresolv" + fi + + if use ssl; then + einfo ssl + # enable mod_tls + modules="${modules}:mod_tls" + fi + + if use mysql && use postgres + then + ewarn "ProFTPD only supports either the MySQL or PostgreSQL modules." + ewarn "Presently this ebuild defaults to mysql. If you would like to" + ewarn "change the default behaviour, merge ProFTPD with;" + ewarn "USE=\"-mysql postgres\" emerge proftpd" + epause 5 + fi + + if use mysql; then + modules="${modules}:mod_sql:mod_sql_mysql" + myconf="${myconf} --with-includes=/usr/include/mysql" + elif use postgres; then + modules="${modules}:mod_sql:mod_sql_postgres" + myconf="${myconf} --with-includes=/usr/include/postgresql" + fi + + if use softquota; then + modules="${modules}:mod_quotatab" + if use mysql || use postgres; then + modules="${modules}:mod_quotatab_sql" + fi + if use ldap; then + modules="${modules}:mod_quotatab_file:mod_quotatab_ldap" + else + modules="${modules}:mod_quotatab_file" + fi + fi + + # New modules for 1.2.9 + # Not sure how these should be enabled yet as no use variables + # apply currently. Uncomment if you want to use them though. + # -raker 06/16/2003 + # + # modules="${modules}:mod_ifsession" + # modules="${modules}:mod_radius" + # modules="${modules}:mod_rewrite" + + # bug #30359 + use hardened && echo > lib/libcap/cap_sys.c + has_pic && echo > lib/libcap/cap_sys.c + + if use noauthunix ; then + myconf="${myconf} --disable-auth-unix" + else + myconf="${myconf} --enable-auth-unix" + fi + + econf \ + --sbindir=/usr/sbin \ + --localstatedir=/var/run \ + --sysconfdir=/etc/proftpd \ + --enable-shadow \ + --enable-autoshadow \ + --enable-ctrls \ + --with-modules=${modules} \ + $(use_enable authfile auth-file) \ + $(use_enable ncurses) \ + $(use_enable ipv6) \ + $(use_with sendfile) \ + ${myconf} || die "bad ./configure" + + emake || die "compile problem" +} + +src_install() { + # Note rundir needs to be specified to avoid sandbox violation + # on initial install. See Make.rules + make DESTDIR=${D} install || die + + keepdir /home/ftp + keepdir /var/run/proftpd + + dodoc contrib/UPGRADE.mod_sql ${FILESDIR}/proftpd.conf \ + COPYING CREDITS ChangeLog NEWS README* \ + doc/{license.txt,GetConf} + dohtml doc/*.html + + use shaper && dohtml mod_shaper/mod_shaper.html + docinto rfc + dodoc doc/rfc/*.txt + + mv ${D}/etc/proftpd/proftpd.conf ${D}/etc/proftpd/proftpd.conf.distrib + + insinto /etc/proftpd + newins ${FILESDIR}/proftpd.conf proftpd.conf.sample + + + if use xinetd; then + insinto /etc/xinetd.d + newins ${FILESDIR}/proftpd.xinetd proftpd + fi + + newinitd ${FILESDIR}/proftpd.rc6 proftpd +} + +pkg_postinst() { + einfo + einfo 'You can find the config files in /etc/proftpd' + einfo + einfo 'mod_delay has been causing more bad than good and has been removed' + einfo 'see Changelog for more info' + ewarn 'With introduction of net-ftp/ftpbase the ftp user is now ftp.' + ewarn 'Remember to change that in the configuration file.' +} |