diff --git a/pure-ftpd/.md5sum b/pure-ftpd/.md5sum index f42a69481..6d1564dee 100644 --- a/pure-ftpd/.md5sum +++ b/pure-ftpd/.md5sum @@ -1,3 +1,3 @@ 0b7a656fc4d50cc638a87668f9079430 pure-ftpd -ca8a8dbec0cd9c8ea92fc4c37ea9c410 pure-ftpd-1.0.21.tar.bz2 -306d1de5a60a29ad8b9b664bd272941f pure-ftpd.conf +7f9ceefafaf9eb8fca757d7358f474fa pure-ftpd-1.0.22.tar.bz2 +91e56b81f8f77c8b9d81d455817b1892 pure-ftpd.conf diff --git a/pure-ftpd/Pkgfile b/pure-ftpd/Pkgfile index 13b1ebf1b..d389de7ae 100644 --- a/pure-ftpd/Pkgfile +++ b/pure-ftpd/Pkgfile @@ -4,26 +4,28 @@ # Depends on: openssl name=pure-ftpd -version=1.0.21 +version=1.0.22 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 \ + --mandir=/usr/man \ + --with-certfile=/etc/ssl/certs/pure-ftpd.pem \ --with-everything \ - --with-tls \ - --without-pam + --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 } diff --git a/pure-ftpd/pure-ftpd.conf b/pure-ftpd/pure-ftpd.conf index b6af4230e..392f49815 100644 --- a/pure-ftpd/pure-ftpd.conf +++ b/pure-ftpd/pure-ftpd.conf @@ -12,8 +12,7 @@ --chrooteveryone --anonymousonly --anonymouscantupload ---syslogfacility none --altlog clf:/var/log/pure-ftpd.log --tls=1 -# End of file \ No newline at end of file +# End of file