blob: 5d4c3f9d05b623e8b0605cfdd7bff54fbecfe690 (
plain)
1 # Description: Fast, secure, production-quality and standard-conformant FTP server
2 # URL: http://www.pureftpd.org/project/pure-ftpd
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: openssl
5
6 name=pure-ftpd
7 version=1.0.48
8 release=1
9 source=(http://download.pureftpd.org/$name/releases/$name-$version.tar.bz2 \
10 pure-ftpd pure-ftpd.conf)
11
12 build () {
13 cd $name-$version
14
15 ./configure --prefix=/usr \
16 --with-certfile=/etc/ssl/certs/pure-ftpd.pem \
17 --with-everything \
18 --with-tls \
19 --without-pam
20 make
21 make DESTDIR=$PKG install
22
23 install -d $PKG/{var/log,etc/{rc.d,ssl/certs}}
24 touch $PKG/var/log/pure-ftpd.log
25 touch $PKG/etc/ssl/certs/pure-ftpd.pem
26 chmod 0600 $PKG/etc/ssl/certs/pure-ftpd.pem
27
28 install -m 755 $SRC/pure-ftpd $PKG/etc/rc.d
29 install -m 644 $SRC/pure-ftpd.conf $PKG/etc
30
31 rm -r $PKG/usr/share/doc
32 }
|