* [gentoo-dev] a quick and durty pureftpd 1.0.6 ebuild ...
@ 2001-12-26 17:30 djamil essaissi
0 siblings, 0 replies; only message in thread
From: djamil essaissi @ 2001-12-26 17:30 UTC (permalink / raw
To: gentoo-dev@gentoo.org
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 <pm@gentoo.org>
> # /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."
> }
>
>
>
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-12-26 17:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-26 17:30 [gentoo-dev] a quick and durty pureftpd 1.0.6 ebuild djamil essaissi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox