opt/pure-ftpd/Pkgfile

34 lines
1005 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
2019-04-03 19:12:57 +02:00
version=1.0.49
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 \
pure-ftpd.rc pure-ftpd.pam)
2006-02-23 16:26:10 +01:00
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 \
--with-pam
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
2009-04-27 13:06:08 +02:00
install -d $PKG/etc/ssl/certs
2006-02-23 16:26:10 +01:00
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
install -D -m 755 $SRC/pure-ftpd.rc $PKG/etc/rc.d/pure-ftpd
install -D -m 644 $SRC/pure-ftpd.pam $PKG/etc/pam.d/pure-ftpd
install -m 644 pam/ftpusers $PKG/etc/
install -m 644 pure-ftpd.conf $PKG/etc/
2019-03-26 17:43:03 +01:00
rm -r $PKG/usr/share/doc
2006-02-23 16:26:10 +01:00
}