summaryrefslogtreecommitdiff
path: root/pure-ftpd/Pkgfile
blob: bf93d59ff5cf00075a58451e25e3ec0a12f1ee1c (plain)
    1 # Description: Fast, secure, production-quality and standard-conformant FTP server
    2 # URL:         http://pureftpd.sourceforge.net
    3 # Maintainer:  Juergen Daubert, jue at crux dot nu
    4 # Depends on:  openssl
    5 
    6 name=pure-ftpd
    7 version=1.0.30
    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 
   15     ./configure --prefix=/usr \
   16                 --mandir=/usr/man \
   17                 --with-certfile=/etc/ssl/certs/pure-ftpd.pem \
   18                 --with-everything \
   19                 --with-tls \
   20                 --without-pam
   21     make
   22     make DESTDIR=$PKG install
   23 
   24     install -d $PKG/{var/log,etc/{rc.d,ssl/certs}}
   25     touch $PKG/var/log/pure-ftpd.log
   26     touch $PKG/etc/ssl/certs/pure-ftpd.pem
   27     chmod 0600 $PKG/etc/ssl/certs/pure-ftpd.pem
   28 
   29     install -m 755 $SRC/pure-ftpd $PKG/etc/rc.d
   30     install -m 644 $SRC/pure-ftpd.conf $PKG/etc
   31 }

Generated by cgit