forked from ports/contrib
bftpd: 3.6 -> 3.7
This commit is contained in:
parent
e45b1a365f
commit
cb68b74d7f
@ -1,2 +1,2 @@
|
|||||||
7c45b158646e3b266530bf46778fc2d0 bftpd-3.6.tar.gz
|
6614e25ef1864ad80d92724d03832407 bftpd-3.7.tar.gz
|
||||||
594cb67d469eedb55b268c9922a0dfcd ftpd
|
594cb67d469eedb55b268c9922a0dfcd ftpd
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# Packager: Simone Rota, sip at crux dot nu
|
# Packager: Simone Rota, sip at crux dot nu
|
||||||
|
|
||||||
name=bftpd
|
name=bftpd
|
||||||
version=3.6
|
version=3.7
|
||||||
release=1
|
release=1
|
||||||
source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version/$name-$version.tar.gz
|
source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version/$name-$version.tar.gz
|
||||||
ftpd)
|
ftpd)
|
||||||
@ -14,11 +14,20 @@ build () {
|
|||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
--enable-libz
|
--enable-libz
|
||||||
|
|
||||||
make
|
make
|
||||||
install -d $PKG/usr/sbin $PKG/usr/man/man8 $PKG/etc $PKG/etc/rc.d
|
install -d $PKG/usr/sbin $PKG/usr/man/man8 $PKG/etc $PKG/etc/rc.d
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
|
||||||
|
# bftpd version 3.7 moved these directories and --sysconfdir
|
||||||
|
# --localstatedir does not work currently
|
||||||
|
mv $PKG/usr/etc/bftpd.conf $PKG/etc/
|
||||||
|
mv $PKG/usr/var $PKG/var/
|
||||||
|
rmdir $PKG/usr/etc
|
||||||
|
|
||||||
install -D -m 0755 $SRC/ftpd $PKG/etc/rc.d/ftpd
|
install -D -m 0755 $SRC/ftpd $PKG/etc/rc.d/ftpd
|
||||||
chmod 0600 $PKG/etc/bftpd.conf
|
chmod 0600 $PKG/etc/bftpd.conf
|
||||||
ln -sf bftpd $PKG/usr/sbin/in.ftpd
|
ln -sf bftpd $PKG/usr/sbin/in.ftpd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user