diff options
author | Donny Davies <woodchip@gentoo.org> | 2001-10-20 14:38:12 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2001-10-20 14:38:12 +0000 |
commit | 449f76e5adfb36533c2f436acf62501fc6173399 (patch) | |
tree | 6de9fb6b3d53975a8d89045dbf0d7fdbd0360bfd /net-ftp | |
parent | revert accidential commit - news from the future :-) (diff) | |
download | gentoo-2-449f76e5adfb36533c2f436acf62501fc6173399.tar.gz gentoo-2-449f76e5adfb36533c2f436acf62501fc6173399.tar.bz2 gentoo-2-449f76e5adfb36533c2f436acf62501fc6173399.zip |
update proftpd-1.2.2 to proftpd-1.2.4
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/proftpd/files/digest-proftpd-1.2.2 | 1 | ||||
-rw-r--r-- | net-ftp/proftpd/files/digest-proftpd-1.2.2-r6 | 1 | ||||
-rw-r--r-- | net-ftp/proftpd/files/digest-proftpd-1.2.4 | 1 | ||||
-rw-r--r-- | net-ftp/proftpd/files/digest-proftpd-1.2.4-r6 | 1 | ||||
-rw-r--r-- | net-ftp/proftpd/files/proftpd.rc6 | 28 | ||||
-rw-r--r-- | net-ftp/proftpd/proftpd-1.2.2-r6.ebuild | 63 | ||||
-rw-r--r-- | net-ftp/proftpd/proftpd-1.2.2.ebuild | 63 | ||||
-rw-r--r-- | net-ftp/proftpd/proftpd-1.2.4-r6.ebuild | 76 | ||||
-rw-r--r-- | net-ftp/proftpd/proftpd-1.2.4.ebuild | 76 |
9 files changed, 170 insertions, 140 deletions
diff --git a/net-ftp/proftpd/files/digest-proftpd-1.2.2 b/net-ftp/proftpd/files/digest-proftpd-1.2.2 deleted file mode 100644 index 16959563588e..000000000000 --- a/net-ftp/proftpd/files/digest-proftpd-1.2.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 598735da589cffce5009473639abbef8 proftpd-1.2.2.tar.bz2 diff --git a/net-ftp/proftpd/files/digest-proftpd-1.2.2-r6 b/net-ftp/proftpd/files/digest-proftpd-1.2.2-r6 deleted file mode 100644 index 16959563588e..000000000000 --- a/net-ftp/proftpd/files/digest-proftpd-1.2.2-r6 +++ /dev/null @@ -1 +0,0 @@ -MD5 598735da589cffce5009473639abbef8 proftpd-1.2.2.tar.bz2 diff --git a/net-ftp/proftpd/files/digest-proftpd-1.2.4 b/net-ftp/proftpd/files/digest-proftpd-1.2.4 new file mode 100644 index 000000000000..13b1df80cb6d --- /dev/null +++ b/net-ftp/proftpd/files/digest-proftpd-1.2.4 @@ -0,0 +1 @@ +MD5 98570c48e3187ddaac385e33e0765c74 proftpd-1.2.4.tar.bz2 diff --git a/net-ftp/proftpd/files/digest-proftpd-1.2.4-r6 b/net-ftp/proftpd/files/digest-proftpd-1.2.4-r6 new file mode 100644 index 000000000000..13b1df80cb6d --- /dev/null +++ b/net-ftp/proftpd/files/digest-proftpd-1.2.4-r6 @@ -0,0 +1 @@ +MD5 98570c48e3187ddaac385e33e0765c74 proftpd-1.2.4.tar.bz2 diff --git a/net-ftp/proftpd/files/proftpd.rc6 b/net-ftp/proftpd/files/proftpd.rc6 index d6c1e5cf3855..d772b1e5bf3f 100644 --- a/net-ftp/proftpd/files/proftpd.rc6 +++ b/net-ftp/proftpd/files/proftpd.rc6 @@ -1,22 +1,26 @@ #!/sbin/runscript +depend() { + need net +} + checkconfig() { - if [ ! -e /etc/proftpd/proftpd.conf ] ; then - eerror "You need an /etc/proftpd/proftpd.conf file first" - eerror "There is a sample file in /usr/share/doc/proftpd" - return 1 - fi + if [ ! -e /etc/proftpd/proftpd.conf ] ; then + eerror "You need an /etc/proftpd/proftpd.conf file first" + eerror "There is a sample file in /usr/share/doc/proftpd" + return 1 + fi } start() { - checkconfig || return 1 - ebegin "Starting proftpd" - start-stop-daemon --start --quiet --exec /usr/sbin/proftpd -- -d -p /var/run/proftpd.pid - eend $? + checkconfig || return 1 + ebegin "Starting proftpd" + start-stop-daemon --start --quiet --exec /usr/sbin/proftpd -- -d -p /var/run/proftpd.pid + eend $? } stop() { - ebegin "Stopping proftpd" - start-stop-daemon --stop --quiet --pidfile /var/run/proftpd.pid - eend $? + ebegin "Stopping proftpd" + start-stop-daemon --stop --quiet --pidfile /var/run/proftpd.pid + eend $? } diff --git a/net-ftp/proftpd/proftpd-1.2.2-r6.ebuild b/net-ftp/proftpd/proftpd-1.2.2-r6.ebuild deleted file mode 100644 index a3322575898d..000000000000 --- a/net-ftp/proftpd/proftpd-1.2.2-r6.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Donny Davies <woodchip@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.2.2-r6.ebuild,v 1.2 2001/09/09 06:08:14 woodchip Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="An advanced and very configurable FTP server" -SRC_URI="ftp://www.linuxceptional.com/proftpd/distrib/source/${P}.tar.bz2" -HOMEPAGE="http://www.proftpd.net/" - -DEPEND="virtual/glibc - pam? ( >=sys-libs/pam-0.75 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - ldap? ( >=net-nds/openldap-1.2.11 ) - postgres? ( >=dev-db/postgresql-7.1 )" - -src_compile() { - local modules myconf - modules="mod_ratio:mod_readme:mod_linuxprivs" - - use pam && modules="$modules:mod_pam" - use ldap && modules="$modules:mod_ldap" - - if [ "`use mysql`" ]; then - modules="$modules:mod_sql:mod_sql_mysql" - elif [ "`use postgres`" ]; then - modules="$modules:mod_sql:mod_sql_postgres" - myconf="${myconf} --with-includes=/usr/include/postgresql" - fi - - ./configure --host=${CHOST} --prefix=/usr --sbindir=/usr/sbin \ - --sysconfdir=/etc/proftpd --localstatedir=/var/run \ - --mandir=/usr/share/man --with-modules=$modules \ - --disable-sendfile --enable-shadow --enable-autoshadow $myconf - assert - make || die -} - -src_install() { - make install prefix=${D}/usr sysconfdir=${D}/etc/proftpd \ - mandir=${D}/usr/share/man localstatedir=${D}/var/run \ - sbindir=${D}/usr/sbin || die - - dodoc contrib/README.mod_sql ${FILESDIR}/proftpd.conf - dodoc COPYING CREDITS ChangeLog NEWS README* - cd doc ; dodoc API Changes* license.txt GetConf - dodoc ShowUndocumented Undocumented.txt development.notes - docinto html ; dodoc *.html - docinto rfc ; dodoc rfc/*.txt - - cd ${S} - dodir /home/ftp - dobin contrib/genuser.pl - - cd ${D}/etc/proftpd - mv proftpd.conf proftpd.conf.distrib - - insinto /etc/proftpd - newins ${FILESDIR}/proftpd.conf proftpd.conf.sample - - exeinto /etc/init.d - newexe ${FILESDIR}/proftpd.rc6 proftpd -} diff --git a/net-ftp/proftpd/proftpd-1.2.2.ebuild b/net-ftp/proftpd/proftpd-1.2.2.ebuild deleted file mode 100644 index 3d6309875701..000000000000 --- a/net-ftp/proftpd/proftpd-1.2.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Donny Davies <woodchip@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.2.2.ebuild,v 1.2 2001/09/09 06:08:14 woodchip Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="An advanced and very configurable FTP server" -SRC_URI="ftp://www.linuxceptional.com/proftpd/distrib/source/${P}.tar.bz2" -HOMEPAGE="http://www.proftpd.net/" - -DEPEND="virtual/glibc - pam? ( >=sys-libs/pam-0.75 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - ldap? ( >=net-nds/openldap-1.2.11 ) - postgres? ( >=dev-db/postgresql-7.1 )" - -src_compile() { - local modules myconf - modules="mod_ratio:mod_readme:mod_linuxprivs" - - use pam && modules="$modules:mod_pam" - use ldap && modules="$modules:mod_ldap" - - if [ "`use mysql`" ]; then - modules="$modules:mod_sql:mod_sql_mysql" - elif [ "`use postgres`" ]; then - modules="$modules:mod_sql:mod_sql_postgres" - myconf="${myconf} --with-includes=/usr/include/postgresql" - fi - - ./configure --host=${CHOST} --prefix=/usr --sbindir=/usr/sbin \ - --sysconfdir=/etc/proftpd --localstatedir=/var/run \ - --mandir=/usr/share/man --with-modules=$modules \ - --disable-sendfile --enable-shadow --enable-autoshadow $myconf - assert - make || die -} - -src_install() { - make install prefix=${D}/usr sysconfdir=${D}/etc/proftpd \ - mandir=${D}/usr/share/man localstatedir=${D}/var/run \ - sbindir=${D}/usr/sbin || die - - dodoc contrib/README.mod_sql ${FILESDIR}/proftpd.conf - dodoc COPYING CREDITS ChangeLog NEWS README* - cd doc ; dodoc API Changes* license.txt GetConf - dodoc ShowUndocumented Undocumented.txt development.notes - docinto html ; dodoc *.html - docinto rfc ; dodoc rfc/*.txt - - cd ${S} - dodir /home/ftp - dobin contrib/genuser.pl - - cd ${D}/etc/proftpd - mv proftpd.conf proftpd.conf.distrib - - insinto /etc/proftpd - newins ${FILESDIR}/proftpd.conf proftpd.conf.sample - - exeinto /etc/rc.d/init.d - newexe ${FILESDIR}/proftpd.rc5 proftpd -} diff --git a/net-ftp/proftpd/proftpd-1.2.4-r6.ebuild b/net-ftp/proftpd/proftpd-1.2.4-r6.ebuild new file mode 100644 index 000000000000..e078f9d9fa54 --- /dev/null +++ b/net-ftp/proftpd/proftpd-1.2.4-r6.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Donny Davies <woodchip@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.2.4-r6.ebuild,v 1.1 2001/10/20 14:38:12 woodchip Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="An advanced and very configurable FTP server" +SRC_URI="ftp://www.linuxceptional.com/proftpd/distrib/source/${P}.tar.bz2" +HOMEPAGE="http://www.proftpd.net/" + +DEPEND="virtual/glibc + pam? ( >=sys-libs/pam-0.75 ) + mysql? ( >=dev-db/mysql-3.23.26 ) + ldap? ( >=net-nds/openldap-1.2.11 ) + postgres? ( >=dev-db/postgresql-7.1 )" + +src_compile() { + + local modules myconf + modules="mod_ratio:mod_readme:mod_linuxprivs" + + use pam && modules="$modules:mod_pam" + use ldap && modules="$modules:mod_ldap" + + if [ "`use mysql`" ]; then + modules="$modules:mod_sql:mod_sql_mysql" + elif [ "`use postgres`" ]; then + modules="$modules:mod_sql:mod_sql_postgres" + myconf="${myconf} --with-includes=/usr/include/postgresql" + fi + + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc/proftpd \ + --localstatedir=/var/run \ + --mandir=/usr/share/man \ + --with-modules=${modules} \ + --disable-sendfile \ + --enable-shadow \ + --enable-autoshadow \ + ${myconf} + assert "bad configure" + + make || die "compile problem" +} + +src_install() { + + make \ + sysconfdir=${D}/etc/proftpd \ + localstatedir=${D}/var/run \ + mandir=${D}/usr/share/man \ + sbindir=${D}/usr/sbin \ + prefix=${D}/usr \ + install || die "install problem" + + dobin contrib/genuser.pl + dodir /home/ftp + + dodoc contrib/README.mod_sql ${FILESDIR}/proftpd.conf + dodoc COPYING CREDITS ChangeLog NEWS README* + cd doc ; dodoc API Changes* license.txt GetConf + dodoc ShowUndocumented Undocumented.txt development.notes + docinto html ; dodoc *.html + docinto rfc ; dodoc rfc/*.txt + + cd ${D}/etc/proftpd + mv proftpd.conf proftpd.conf.distrib + + insinto /etc/proftpd + newins ${FILESDIR}/proftpd.conf proftpd.conf.sample + + exeinto /etc/init.d ; newexe ${FILESDIR}/proftpd.rc6 proftpd +} diff --git a/net-ftp/proftpd/proftpd-1.2.4.ebuild b/net-ftp/proftpd/proftpd-1.2.4.ebuild new file mode 100644 index 000000000000..ed0a916353cb --- /dev/null +++ b/net-ftp/proftpd/proftpd-1.2.4.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Donny Davies <woodchip@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.2.4.ebuild,v 1.1 2001/10/20 14:38:12 woodchip Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="An advanced and very configurable FTP server" +SRC_URI="ftp://www.linuxceptional.com/proftpd/distrib/source/${P}.tar.bz2" +HOMEPAGE="http://www.proftpd.net/" + +DEPEND="virtual/glibc + pam? ( >=sys-libs/pam-0.75 ) + mysql? ( >=dev-db/mysql-3.23.26 ) + ldap? ( >=net-nds/openldap-1.2.11 ) + postgres? ( >=dev-db/postgresql-7.1 )" + +src_compile() { + + local modules myconf + modules="mod_ratio:mod_readme:mod_linuxprivs" + + use pam && modules="$modules:mod_pam" + use ldap && modules="$modules:mod_ldap" + + if [ "`use mysql`" ]; then + modules="$modules:mod_sql:mod_sql_mysql" + elif [ "`use postgres`" ]; then + modules="$modules:mod_sql:mod_sql_postgres" + myconf="${myconf} --with-includes=/usr/include/postgresql" + fi + + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc/proftpd \ + --localstatedir=/var/run \ + --mandir=/usr/share/man \ + --with-modules=${modules} \ + --disable-sendfile \ + --enable-shadow \ + --enable-autoshadow \ + ${myconf} + assert "bad configure" + + make || die "compile problem" +} + +src_install() { + + make \ + sysconfdir=${D}/etc/proftpd \ + localstatedir=${D}/var/run \ + mandir=${D}/usr/share/man \ + sbindir=${D}/usr/sbin \ + prefix=${D}/usr \ + install || die "install problem" + + dobin contrib/genuser.pl + dodir /home/ftp + + dodoc contrib/README.mod_sql ${FILESDIR}/proftpd.conf + dodoc COPYING CREDITS ChangeLog NEWS README* + cd doc ; dodoc API Changes* license.txt GetConf + dodoc ShowUndocumented Undocumented.txt development.notes + docinto html ; dodoc *.html + docinto rfc ; dodoc rfc/*.txt + + cd ${D}/etc/proftpd + mv proftpd.conf proftpd.conf.distrib + + insinto /etc/proftpd + newins ${FILESDIR}/proftpd.conf proftpd.conf.sample + + exeinto /etc/rc.d/init.d ; newexe ${FILESDIR}/proftpd.rc5 proftpd +} |