opt/pure-ftpd/Pkgfile

32 lines
953 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Fast, secure, production-quality and standard-conformant FTP server
# URL: http://pureftpd.sourceforge.net
2008-07-11 09:29:19 +02:00
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
2006-02-23 16:26:10 +01:00
# Depends on: openssl
name=pure-ftpd
2010-03-16 18:45:15 +01:00
version=1.0.29
2006-02-23 16:26:10 +01:00
release=1
source=(ftp://ftp.pureftpd.org/pub/$name/releases/$name-$version.tar.bz2 \
pure-ftpd pure-ftpd.conf)
build () {
cd $name-$version
2009-04-27 13:06:08 +02:00
2006-02-23 16:26:10 +01:00
./configure --prefix=/usr \
2009-04-27 13:06:08 +02:00
--mandir=/usr/man \
--with-certfile=/etc/ssl/certs/pure-ftpd.pem \
2006-02-23 16:26:10 +01:00
--with-everything \
2009-04-27 13:06:08 +02:00
--with-tls \
--without-pam
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
2009-04-27 13:06:08 +02:00
2006-02-23 16:26:10 +01:00
install -d $PKG/{var/log,etc/{rc.d,ssl/certs}}
touch $PKG/var/log/pure-ftpd.log
touch $PKG/etc/ssl/certs/pure-ftpd.pem
chmod 0600 $PKG/etc/ssl/certs/pure-ftpd.pem
2009-04-27 13:06:08 +02:00
2006-02-23 16:26:10 +01:00
install -m 755 $SRC/pure-ftpd $PKG/etc/rc.d
install -m 644 $SRC/pure-ftpd.conf $PKG/etc
}