From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI, RDNS_DYNAMIC autolearn=no autolearn_force=no version=4.0.0 Received: from djamil.tgv.net (AFontenayssB-101-2-1-197.abo.wanadoo.fr [193.251.76.197]) by chiba.3jane.net (Postfix) with SMTP id BD86424A13 for ; Wed, 26 Dec 2001 11:25:14 -0600 (CST) Received: (qmail 943 invoked by uid 0); 26 Dec 2001 17:30:42 -0000 Received: from unknown (HELO djamil.tgv.net) (192.168.0.5) by 192.168.0.5 with SMTP; 26 Dec 2001 17:30:42 -0000 From: djamil essaissi To: "gentoo-dev@gentoo.org" Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0 (Preview Release) Date: 26 Dec 2001 18:30:32 +0100 Message-Id: <1009387842.550.6.camel@djamil> Mime-Version: 1.0 Subject: [gentoo-dev] a quick and durty pureftpd 1.0.6 ebuild ... Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Developer discussion list List-Unsubscribe: , List-Archive: X-Archives-Salt: 5e226686-95d3-495a-9f5f-634ec9f8dd49 X-Archives-Hash: 8b73728f1c193c4516a93c762f8c4b64 it worked for me ... a quick search / replace with vi ... -----Forwarded Message----- > From: root@cfx5.tgv.net > Subject: No Subject > Date: 26 Dec 2001 17:20:29 +0000 > > # Copyright 1999-2000 Gentoo Technologies, Inc. > # Distributed under the terms of the GNU General Public License, v2 or later > # Author Parag Mehta > # /space/gentoo/cvsroot/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.6.ebuild,v 1.1 2001/08/21 09:20:57 pm Exp > > A=pure-ftpd-1.0.6.tar.gz > S=${WORKDIR}/${P} > DESCRIPTION="A Fast Production Quality FTP Server - Bug fixes backported from 0.99 . No new feature. Use this version on production servers." > SRC_URI="http://prdownloads.sourceforge.net/pureftpd/${A}" > HOMEPAGE="http://pureftpd.sourceforge.net" > #http://prdownloads.sourceforge.net/pureftpd/pure-ftpd-1.0.6.tar.gz > DEPEND=">=sys-libs/glibc-2.1.3 > >=sys-libs/pam-0.75" > > src_compile() { > > cd ${S} > try ./configure --prefix=/usr --with-throttling --with-virtualhosts \ > --with-ratios --with-largefile --with-cookie --with-welcomemsg \ > --with-altlog --with-ftpwho --with-uploadscript --infodir=/usr/share/info \ > --mandir=/usr/share/man --with-pam > try make > > } > > src_install () { > > cd ${S} > try make DESTDIR=${D} install > dodoc COPYING ChangeLog README README.Configuration-File > dodoc README.Contrib README.LDAP README.Netfilter > dodir /etc/pure-ftpd > dodir /etc/pam.d > dodir /home/ftp > dodir /home/ftp/pub > dodir /home/ftp/incoming > cp $S/pam/pure-ftpd ${D}/etc/pam.d/ > cp $S/configuration-file/*.pl ${D}/usr/sbin/ > cp $S/configuration-file/*.py ${D}/usr/sbin/ > cp $S/configuration-file/pure-ftpd.conf ${D}/etc/pure-ftpd/pure-ftpd.conf > cp ${FILESDIR}/ftpusers ${D}/etc > cp ${FILESDIR}/pure-ftpwho_html.py ${D}/usr/sbin/ > cp ${FILESDIR}/pure-ftp_xml_python.py ${D}/usr/sbin/ > cp ${FILESDIR}/welcome.msg ${D}/home/ftp/ > echo -e "\033[1;42m\033[1;33m Please do no forget to run, the following syntax : \033[0m" > echo -e "\033[1;42m\033[1;33m ebuild pure-ftpd-1.0.6.ebuild config \033[0m" > echo -e "\033[1;42m\033[1;33m This will add the necessary post install config to your system. \033[0m" > dosym /dev/null /etc/pure-ftpd/127.0.0.1 > fowners ftp.bin /home/ftp > fowners ftp.bin /home/ftp/incoming > fowners root.root /home/ftp/pub > fperms 757 /home/ftp/incoming > fperms 700 /etc/pure-ftpd > fperms 600 /etc/ftpusers > fperms 644 /home/ftp/welcome.msg > } > > pkg_config() { > echo "This config script will add pftpd lines to your /etc/xinetd.conf." > echo "Press control-C to abort now OR hit Enter to continue." > echo > read > cat ${FILESDIR}/pftpd.inetd >> ${ROOT}/etc/inetd.conf > /etc/rc.d/init.d/svc-xinetd restart > echo "Modifications applied." > } > > > >