blob: 8fd9dbbb59d9b965bcb252688c2f78eacfbf637f (
plain)
1 # Description: Fast, secure, production-quality and standard-conformant FTP server
2 # URL: http://pureftpd.sourceforge.net
3 # Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
4 # Depends on: openssl
5
6 name=pure-ftpd
7 version=1.0.21
8 release=1
9 source=(ftp://ftp.pureftpd.org/pub/$name/releases/$name-$version.tar.bz2 \
10 pure-ftpd pure-ftpd.conf)
11
12 build () {
13 cd $name-$version
14 sed -i 's|/etc/ssl/private|/etc/ssl/certs|' src/ftpd.h
15 ./configure --prefix=/usr \
16 --with-everything \
17 --with-tls \
18 --without-pam
19 make
20 make DESTDIR=$PKG install
21
22 install -d $PKG/{var/log,etc/{rc.d,ssl/certs}}
23 touch $PKG/var/log/pure-ftpd.log
24 touch $PKG/etc/ssl/certs/pure-ftpd.pem
25 chmod 0600 $PKG/etc/ssl/certs/pure-ftpd.pem
26
27 install -m 755 $SRC/pure-ftpd $PKG/etc/rc.d
28 install -m 644 $SRC/pure-ftpd.conf $PKG/etc
29 }
|