New package: bftpd-4.4

This commit is contained in:
norvegh 2015-05-14 21:27:31 +02:00
parent 7d8f993af4
commit 5e5e88dff2
3 changed files with 36 additions and 0 deletions

2
srcpkgs/bftpd/files/bftpd/run Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec bftpd -D

1
srcpkgs/bftpd/files/sum Normal file
View File

@ -0,0 +1 @@
b805ebbdd3de993ca14d733ad9ad007ac342a1646b257d91a53ec87a36c7f741 download

33
srcpkgs/bftpd/template Normal file
View File

@ -0,0 +1,33 @@
# Template file for 'bftpd'
pkgname=bftpd
version=4.4
revision=1
short_desc="A simple FTP server"
maintainer="Norbert Vegh <vegh@norvegh.com>"
license="GPL-2"
homepage="http://bftpd.sourceforge.net/"
checksum=b805ebbdd3de993ca14d733ad9ad007ac342a1646b257d91a53ec87a36c7f741
hostmakedepends="wget"
do_fetch()
{
rm -f download
wget http://sourceforge.net/projects/bftpd/files/bftpd/bftpd-${version}/bftpd-${version}.tar.gz/download
if ! sha256sum -c $FILESDIR/sum; then
echo "INVALID CHECKSUM"
rm -f download
return -1
fi
tar xvfz download
rm download
mv bftpd bftpd-${version}
}
build_style=configure
configure_args="--mandir=/usr/share/man"
post_install()
{
vsv bftpd
vcopy bftpd.conf "etc"
}