diff options
author | Johannes Winkelmann <jw@smts.ch> | 2006-02-23 15:26:10 +0000 |
---|---|---|
committer | Johannes Winkelmann <jw@smts.ch> | 2006-02-23 15:26:10 +0000 |
commit | bdea7e6c6a535e57a07d376a3139d0788efaaa41 (patch) | |
tree | 1a7334c99fa39b1ad1a7a35c113b18cb0d92413c /pure-ftpd/Pkgfile | |
download | opt-bdea7e6c6a535e57a07d376a3139d0788efaaa41.tar.gz opt-bdea7e6c6a535e57a07d376a3139d0788efaaa41.tar.xz |
create branch for 2.2
Diffstat (limited to 'pure-ftpd/Pkgfile')
-rw-r--r-- | pure-ftpd/Pkgfile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pure-ftpd/Pkgfile b/pure-ftpd/Pkgfile new file mode 100644 index 000000000..8fd9dbbb5 --- /dev/null +++ b/pure-ftpd/Pkgfile @@ -0,0 +1,29 @@ +# Description: Fast, secure, production-quality and standard-conformant FTP server +# URL: http://pureftpd.sourceforge.net +# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de +# Depends on: openssl + +name=pure-ftpd +version=1.0.21 +release=1 +source=(ftp://ftp.pureftpd.org/pub/$name/releases/$name-$version.tar.bz2 \ + pure-ftpd pure-ftpd.conf) + +build () { + cd $name-$version + sed -i 's|/etc/ssl/private|/etc/ssl/certs|' src/ftpd.h + ./configure --prefix=/usr \ + --with-everything \ + --with-tls \ + --without-pam + make + make DESTDIR=$PKG install + + 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 + + install -m 755 $SRC/pure-ftpd $PKG/etc/rc.d + install -m 644 $SRC/pure-ftpd.conf $PKG/etc +} |