summaryrefslogtreecommitdiff
path: root/extra/bftpd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/bftpd/PKGBUILD')
-rw-r--r--extra/bftpd/PKGBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/extra/bftpd/PKGBUILD b/extra/bftpd/PKGBUILD
index 3d8c636ae..166b2faa8 100644
--- a/extra/bftpd/PKGBUILD
+++ b/extra/bftpd/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 165789 2012-08-29 23:52:16Z thomas $
+# $Id: PKGBUILD 187832 2013-06-06 18:31:08Z thomas $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=bftpd
-pkgver=3.8
-pkgrel=2
+pkgver=4.0
+pkgrel=1
pkgdesc="Small, easy-to-configure FTP server"
arch=(i686 x86_64)
url="http://bftpd.sourceforge.net/"
@@ -15,15 +15,13 @@ backup=(etc/bftpd.conf
etc/pam.d/bftpd
etc/xinetd.d/bftpd)
source=(http://downloads.sourceforge.net/sourceforge/bftpd/bftpd-$pkgver.tar.gz
- bftpd.rc
bftpd.logrotate
bftpd.pam
bftpd.xinetd
bftpd.service
bftpd.socket
bftpd_AT.service)
-md5sums=('880c1274e623ddd1e3e37f9f0cf09d70'
- '2419d7293000813f9d01bd357181445c'
+md5sums=('34bac87bb196ae823fa2b4731dfa9383'
'853680dad0df39d0b4d2fb43d4be430a'
'96f82c38f3f540b53f3e5144900acf17'
'23feb84e8ecbae5df320b49e01821d9a'
@@ -35,6 +33,7 @@ build() {
cd "${srcdir}"/$pkgname
# The bftpd author keeps screwing up the release tarballs
rm -f config.{cache,status}
+ autoreconf
sed 's|$(prefix)/sbin|$(prefix)/bin|g' -i Makefile.in
./configure --prefix=/usr \
--enable-pam \
@@ -47,7 +46,6 @@ package() {
cd "${srcdir}"/$pkgname
install -d -m755 "${pkgdir}"/usr/{bin,share/man/man8}
install -D -m644 "${srcdir}"/bftpd.logrotate "${pkgdir}"/etc/logrotate.d/bftpd
- install -D -m755 "${srcdir}"/bftpd.rc "${pkgdir}"/etc/rc.d/bftpd
make DESTDIR="${pkgdir}" install
# Remove log file and /var/run from the package
# This guy keeps messing up his Makefile, /usr/var, wtf?