syntax fixes
authorSeemant Kulleen <seemant@gentoo.org>
Mon, 4 Nov 2002 17:46:27 +0000 (17:46 +0000)
committerSeemant Kulleen <seemant@gentoo.org>
Mon, 4 Nov 2002 17:46:27 +0000 (17:46 +0000)
net-ftp/pure-ftpd/pure-ftpd-1.0.11-r1.ebuild
net-ftp/pure-ftpd/pure-ftpd-1.0.8-r1.ebuild

index 46f9c57d1863d4abbdb8f460fedea03e4de45dcf..3c1bfda5d5e937543eafca606b692f536e328638 100644 (file)
@@ -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
 
+}
index 8b1e89103713a1e0a7d46cfbb29c31f2f53873c5..81cbb8da9ca863cfc058ec5e8d90dd949d2d41d9 100644 (file)
@@ -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              
+}