diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-06-23 21:34:37 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-06-23 21:34:37 +0000 |
commit | 256783a33bfad6fa29af4c33834cfdd6edbb9c47 (patch) | |
tree | 552cdd4114c52330ee82339672d888e7172bec28 /net-ftp | |
parent | Forgott to specify infodir in src_install (diff) | |
download | historical-256783a33bfad6fa29af4c33834cfdd6edbb9c47.tar.gz historical-256783a33bfad6fa29af4c33834cfdd6edbb9c47.tar.bz2 historical-256783a33bfad6fa29af4c33834cfdd6edbb9c47.zip |
various fixes
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/proftpd/files/digest-proftpd-1.2.2_rc3 | 2 | ||||
-rw-r--r-- | net-ftp/proftpd/proftpd-1.2.2_rc3.ebuild | 79 |
2 files changed, 81 insertions, 0 deletions
diff --git a/net-ftp/proftpd/files/digest-proftpd-1.2.2_rc3 b/net-ftp/proftpd/files/digest-proftpd-1.2.2_rc3 new file mode 100644 index 000000000000..1443bdaff037 --- /dev/null +++ b/net-ftp/proftpd/files/digest-proftpd-1.2.2_rc3 @@ -0,0 +1,2 @@ +MD5 6cf5790721722da80e0e17d2cd6fb7c0 mod_sql-3.2.2.tar.gz +MD5 4c40f7fb9efa2886c0b5b82c972eed37 proftpd-1.2.2rc3.tar.bz2 diff --git a/net-ftp/proftpd/proftpd-1.2.2_rc3.ebuild b/net-ftp/proftpd/proftpd-1.2.2_rc3.ebuild new file mode 100644 index 000000000000..c34ff81f098d --- /dev/null +++ b/net-ftp/proftpd/proftpd-1.2.2_rc3.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.2.2_rc3.ebuild,v 1.1 2001/06/23 21:34:37 achim Exp $ + +P=${PN}-1.2.2rc3 +S=${WORKDIR}/${P} +DESCRIPTION="proftpd." +SRC_URI="ftp://ftp.proftpd.org/distrib/${P}.tar.bz2 + http://www.lastditcheffort.org/aah/src/mod_sql-3.2.2.tar.gz" +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_unpack() { + + unpack ${P}.tar.bz2 + cd ${S}/contrib + unpack mod_sql-3.2.2.tar.gz +} + +src_compile() { + local modules + local myinc + modules="mod_ratio:mod_readme:mod_linuxprivs" + if [ "`use pam`" ] ; then + modules="$modules:mod_pam" + fi + if [ "`use mysql`" ] ; then + modules="$modules:mod_sql:mod_sql_mysql" + else + if [ "`use postgres`" ] ; then + modules="$modules:mod_sql:mod_sql_postgres" + myinc="/usr/include/postgresql" + fi + fi + if [ "`use ldap`" ] ; then + modules="$modules:mod_ldap" + fi + + if [ "$myinc" ] ; then + myinc="--with-includes=$myinc" + fi + + ./configure --host=${CHOST} --prefix=/usr --sbindir=/usr/sbin \ + --sysconfdir=/etc/proftp --localstatedir=/var/run --mandir=/usr/share/man \ + --with-modules=$modules --disable-sendfile --enable-shadow --enable-autoshadow $myinc + try make + +} + +src_install() { + try make install prefix=${D}/usr sysconfdir=${D}/etc/proftp \ + mandir=${D}/usr/share/man \ + localstatedir=${D}/var/run sbindir=${D}/usr/sbin + + into /usr + dodir /home/ftp + dobin contrib/genuser.pl + dodoc COPYING CREDITS ChangeLog NEWS + dodoc README* contrib/README.mod_sql + cd doc + dodoc API Changes-1.2.0pre3 license.txt GetConf ShowUndocumented + dodoc Undocumented.txt development.notes + docinto html + dodoc *.html + docinto rfc + dodoc rfc/*.txt + cp ${FILESDIR}/proftpd.conf ${D}/etc/proftp +} + + + + |