1
0
forked from ports/opt

pure-ftpd: update to 1.0.50

This commit is contained in:
Juergen Daubert 2021-11-25 11:07:55 +01:00
parent cd3c02fd76
commit 6cc6f557b4
2 changed files with 27 additions and 26 deletions

View File

@ -1,7 +1,7 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/dAoVUJT+ILZfj7jEQUXepzzZmbkFkmEN516oI6oUM6yB9+QDWgS96uI9PnuewIsW+1DMSaYvjtppanTA5z2kAw=
SHA256 (Pkgfile) = 0102668a5a0e6e93850ece190dff42821d83c35988f530bd89c2be8c5e8e9b6b
RWSE3ohX2g5d/cmfrZ5PS6v/LCPOg+5vU3OqgPWkTN6ygmbNZFmyJ4tgZq1cyv/vdPy36uiwpjKesNBCS7VaISAJho0rmggHEQk=
SHA256 (Pkgfile) = 75f35f7075be7a3846153bc86c2118a42210263909887fe503b489dae62008aa
SHA256 (.footprint) = 34f63cda354c7a0f1ac55d24516b692430aaafe6ed57ecbb9b35ace29699fac1
SHA256 (pure-ftpd-1.0.49.tar.bz2) = 8a727dfef810f275fba3eb6099760d4f8a0bdeae2c1197d0d5bfeb8c1b2f61b6
SHA256 (pure-ftpd-1.0.50.tar.bz2) = 6722c7fd09fe3c9ebbd572f3d097087ec7b32aacb3df8fa3400d4c07e4f377d7
SHA256 (pure-ftpd.rc) = 3d6bb818cc8a314c64373072807b1f33afa2e6bd53e7ce82884d85c2ce22627e
SHA256 (pure-ftpd.pam) = 02a3df52f4def696786cc89a6fe492fd8f1bb2e0c34833abf5659b91c929255b

View File

@ -1,33 +1,34 @@
# Description: Fast, secure, production-quality and standard-conformant FTP server
# URL: http://www.pureftpd.org/project/pure-ftpd
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: openssl
# URL: https://www.pureftpd.org/project/pure-ftpd
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: openssl
name=pure-ftpd
version=1.0.49
version=1.0.50
release=1
source=(http://download.pureftpd.org/$name/releases/$name-$version.tar.bz2 \
pure-ftpd.rc pure-ftpd.pam)
source=(https://download.pureftpd.org/$name/releases/$name-$version.tar.bz2 \
pure-ftpd.rc pure-ftpd.pam)
build () {
cd $name-$version
build() {
cd $name-$version
./configure --prefix=/usr \
--with-certfile=/etc/ssl/certs/pure-ftpd.pem \
--with-everything \
--with-tls \
--with-pam
make
make DESTDIR=$PKG install
./configure \
--prefix=/usr \
--with-certfile=/etc/ssl/certs/pure-ftpd.pem \
--with-everything \
--with-tls \
--with-pam
make
make DESTDIR=$PKG install
install -d $PKG/etc/ssl/certs
touch $PKG/etc/ssl/certs/pure-ftpd.pem
chmod 0600 $PKG/etc/ssl/certs/pure-ftpd.pem
install -d $PKG/etc/ssl/certs
touch $PKG/etc/ssl/certs/pure-ftpd.pem
chmod 0600 $PKG/etc/ssl/certs/pure-ftpd.pem
install -D -m 755 $SRC/pure-ftpd.rc $PKG/etc/rc.d/pure-ftpd
install -D -m 644 $SRC/pure-ftpd.pam $PKG/etc/pam.d/pure-ftpd
install -m 644 pam/ftpusers $PKG/etc/
install -m 644 pure-ftpd.conf $PKG/etc/
install -D -m 755 $SRC/pure-ftpd.rc $PKG/etc/rc.d/pure-ftpd
install -D -m 644 $SRC/pure-ftpd.pam $PKG/etc/pam.d/pure-ftpd
install -m 644 pam/ftpusers $PKG/etc/
install -m 644 pure-ftpd.conf $PKG/etc/
rm -r $PKG/usr/share/doc
rm -r $PKG/usr/share/doc
}