opt/pure-ftpd/Pkgfile

31 lines
910 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Fast, secure, production-quality and standard-conformant FTP server
2011-04-21 13:51:34 +02:00
# URL: http://www.pureftpd.org/project/pure-ftpd
2011-02-02 13:44:37 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
2006-02-23 16:26:10 +01:00
# Depends on: openssl
name=pure-ftpd
2016-08-03 12:58:31 +02:00
version=1.0.43
2015-07-27 10:01:10 +02:00
release=1
2011-04-21 13:51:34 +02:00
source=(http://download.pureftpd.org/$name/releases/$name-$version.tar.bz2 \
2006-02-23 16:26:10 +01:00
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
--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
}