summaryrefslogtreecommitdiff
path: root/pcr/ffingerd
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-10-23 20:40:24 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-10-23 20:41:13 -0300
commit18af7e3da48e29f14583beabc0576261e4188f9f (patch)
treebd6d268b8b1a7a7a17e6c3c2e181b4bede1e493f /pcr/ffingerd
parent073b7a788381b3140abfa003303be5e9e23949e2 (diff)
downloadabslibre-18af7e3da48e29f14583beabc0576261e4188f9f.tar.gz
abslibre-18af7e3da48e29f14583beabc0576261e4188f9f.tar.bz2
abslibre-18af7e3da48e29f14583beabc0576261e4188f9f.zip
ffingerd upgrade
Diffstat (limited to 'pcr/ffingerd')
-rw-r--r--pcr/ffingerd/PKGBUILD39
1 files changed, 24 insertions, 15 deletions
diff --git a/pcr/ffingerd/PKGBUILD b/pcr/ffingerd/PKGBUILD
index 5b43314d3..ebe94ddd3 100644
--- a/pcr/ffingerd/PKGBUILD
+++ b/pcr/ffingerd/PKGBUILD
@@ -1,27 +1,36 @@
pkgname=ffingerd
pkgver=1.28
-pkgrel=3
-pkgdesc="Secure finger daemon"
-arch=('i686' 'x86_64' 'mips64el')
+pkgrel=4
+pkgdesc="secure finger daemon"
+arch=('i686' 'x86_64')
url="http://www.fefe.de/ffingerd/"
license=('GPL2')
depends=('glibc' 'xinetd')
-backup=('etc/xinetd.d/finger')
-source=(http://www.fefe.de/$pkgname/$pkgname-$pkgver.tar.bz2 finger.xinetd)
-md5sums=('fe207448745da07b4e393d8b8694658b' '2ca1a6b3f442a5c0c81fa03d265a203e')
+backup=('etc/xinetd.d/ffinger')
+source=(http://www.fefe.de/$pkgname/$pkgname-$pkgver.tar.bz2
+ finger.xinetd)
+md5sums=('fe207448745da07b4e393d8b8694658b'
+ '2ca1a6b3f442a5c0c81fa03d265a203e')
-build() {
- cd $srcdir/$pkgname-$pkgver
- install -d $pkgdir/usr/sbin $pkgdir/usr/share/man/man8
- ./configure --prefix=/usr
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -dm755 "$pkgdir/usr/bin" "$pkgdir/usr/share/man/man8"
- make
+ echo "ac_cv_header_sys_syslog_h=yes" >>config.cache
+ echo "ac_cv_header_arpa_inet_h=yes" >>config.cache
+ echo "ac_cv_header_sys_errno_h=yes" >>config.cache
}
-package(){
- cd $srcdir/$pkgname-$pkgver
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+
+ make
+}
- make SBINDIR=$pkgdir/usr/sbin MANDIR=$pkgdir/usr/share/man install
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
- install -D -m644 $srcdir/finger.xinetd $pkgdir/etc/xinetd.d/ffinger
+ make SBINDIR="$pkgdir/usr/bin" MANDIR="$pkgdir/usr/share/man" install
+ install -D -m644 "$srcdir/finger.xinetd" "$pkgdir/etc/xinetd.d/ffinger"
}