2006-02-23 15:26:10 +00:00
|
|
|
|
# Description: Small, easy-to-configure FTP server
|
|
|
|
|
# URL: http://bftpd.sourceforge.net/
|
2006-04-20 20:37:09 +00:00
|
|
|
|
# Maintainer: Per Lid<69>n, core-ports at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
name=bftpd
|
2006-04-26 10:55:44 +00:00
|
|
|
|
version=1.4
|
2006-03-30 20:30:28 +00:00
|
|
|
|
release=1
|
|
|
|
|
source=(http://bftpd.sourceforge.net/downloads/src/bftpd-$version.tar.gz \
|
|
|
|
|
bftpd-$version-config.patch bftpd-$version-destdir.patch ftpd)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
build () {
|
|
|
|
|
cd $name-$version
|
2006-03-30 20:30:28 +00:00
|
|
|
|
patch -p1 -i ../bftpd-$version-config.patch
|
|
|
|
|
patch -p1 -i ../bftpd-$version-destdir.patch
|
2006-02-23 15:26:10 +00:00
|
|
|
|
./configure --prefix=/usr --enable-libz
|
|
|
|
|
make
|
|
|
|
|
mkdir -p $PKG/usr/sbin $PKG/usr/man/man8 $PKG/etc $PKG/etc/rc.d
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
install -D -m 755 ../ftpd $PKG/etc/rc.d/ftpd
|
|
|
|
|
chmod 600 $PKG/etc/bftpd.conf
|
|
|
|
|
ln -sf bftpd $PKG/usr/sbin/in.ftpd
|
|
|
|
|
}
|