pure-ftpd: update to 1.022

This commit is contained in:
Juergen Daubert 2009-04-27 13:06:08 +02:00
parent 0d636fc9f3
commit de0b1d223a
3 changed files with 11 additions and 10 deletions

View File

@ -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

View File

@ -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
}

View File

@ -12,8 +12,7 @@
--chrooteveryone
--anonymousonly
--anonymouscantupload
--syslogfacility none
--altlog clf:/var/log/pure-ftpd.log
--tls=1
# End of file
# End of file