diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-11-04 17:47:40 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-11-04 17:47:40 +0000 |
commit | 940b924104a811ec8c1d598614c69cde3f754a86 (patch) | |
tree | d3bc7153887d7ccfe1cf5b2b2977ec8adac0b0cc /net-ftp | |
parent | syntax fixes (diff) | |
download | gentoo-2-940b924104a811ec8c1d598614c69cde3f754a86.tar.gz gentoo-2-940b924104a811ec8c1d598614c69cde3f754a86.tar.bz2 gentoo-2-940b924104a811ec8c1d598614c69cde3f754a86.zip |
syntax fixes
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/pure-ftpd/pure-ftpd-1.0.11-r1.ebuild | 29 | ||||
-rw-r--r-- | net-ftp/pure-ftpd/pure-ftpd-1.0.8-r1.ebuild | 31 |
2 files changed, 32 insertions, 28 deletions
diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.11-r1.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.11-r1.ebuild index 46f9c57d1863..3c1bfda5d5e9 100644 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.11-r1.ebuild +++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.11-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.11-r1.ebuild,v 1.6 2002/10/05 05:39:18 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.11-r1.ebuild,v 1.7 2002/11/04 17:46:27 seemant Exp $ IUSE="ldap pam postgres mysql" @@ -42,21 +42,24 @@ src_compile() { src_install() { make \ - prefix=${D}/usr \ - mandir=${D}/usr/share/man \ - install || die + prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + install || die dodoc AUTHORS CONTACT COPYING ChangeLog dodoc FAQ HISTORY INSTALL README* NEWS - mkdir -p ${D}/etc - cp ${FILESDIR}/ftpusers ${D}/etc/ftpusers - mkdir -p ${D}/etc/conf.d - cp ${FILESDIR}/pure-ftpd.conf_d ${D}/etc/conf.d/pure-ftpd + + insinto /etc + doins ${FILESDIR}/ftpusers + + insinto /etc/conf.d + newins ${FILESDIR}/pure-ftpd.conf_d pure-ftpd + if [ "`use pam`" ] ; then - insinto /etc/pam.d ; doins pam/{ftplockout,pure-ftpd} + insinto /etc/pam.d + doins pam/{ftplockout,pure-ftpd} fi - mkdir -p ${D}/etc/init.d - cp ${FILESDIR}/pure-ftpd.rc6 ${D}/etc/init.d/pure-ftpd - chmod 755 ${D}/etc/init.d/pure-ftpd -} + exeinto /etc/init.d + newexe ${FILESDIR}/pure-ftpd.rc6 pure-ftpd +} diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.8-r1.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.8-r1.ebuild index 8b1e89103713..81cbb8da9ca8 100644 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.8-r1.ebuild +++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.8-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.8-r1.ebuild,v 1.7 2002/10/05 05:39:18 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.8-r1.ebuild,v 1.8 2002/11/04 17:46:27 seemant Exp $ IUSE="ldap pam postgres mysql" @@ -27,11 +27,12 @@ src_compile() { use mysql && myconf="${myconf} --with-mysql" use postgres && myconf="${myconf} --with-pgsql" use ldap && myconf="${myconf} --with-ldap" - ./configure --prefix=/usr --with-altlog --with-puredb \ - --with-extauth --with-throttling --with-ratios \ - --with-quotas --with-cookie \ - --with-uploadscript --with-virtualhosts \ - --with-virtualchroot --with-diraliases --with-ftpwho \ + + ./configure --prefix=/usr --with-altlog --with-puredb \ + --with-extauth --with-throttling --with-ratios \ + --with-quotas --with-cookie \ + --with-uploadscript --with-virtualhosts \ + --with-virtualchroot --with-diraliases --with-ftpwho \ --host=${CHOST} ${myconf} || die emake || die @@ -40,13 +41,13 @@ src_compile() { src_install() { make DESTDIR=${D} install || die - mkdir -p ${D}/etc - cp ${FILESDIR}/ftpusers ${D}/etc/ftpusers - mkdir -p ${D}/etc/conf.d - cp ${FILESDIR}/pure-ftpd.conf_d ${D}/etc/conf.d/pure-ftpd - mkdir -p ${D}/etc/init.d - cp ${FILESDIR}/pure-ftpd.rc6 ${D}/etc/init.d/pure-ftpd - chmod 755 ${D}/etc/init.d/pure-ftpd - -} + insinto /etc + doins ${FILESDIR}/ftpusers + + insinto /etc/conf.d + newins ${FILESDIR}/pure-ftpd.conf_d pure-ftpd + + exeinto /etc/init.d + newexe ${FILESDIR}/pure-ftpd.rc6 pure-ftpd +} |