summaryrefslogtreecommitdiff
path: root/extra/netkit-bsd-finger
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-22 23:15:20 +0000
committerroot <root@rshg054.dnsready.net>2012-02-22 23:15:20 +0000
commit1d9fb21dff6df1679e536ab672edcbbdb4cf3a15 (patch)
tree803d7c2e3ac59d0ba8ac74c1b2a6dc6167937631 /extra/netkit-bsd-finger
parent1f55cedf5ea357497d2a98eb2be78d8dab4a9665 (diff)
Wed Feb 22 23:15:20 UTC 2012
Diffstat (limited to 'extra/netkit-bsd-finger')
-rw-r--r--extra/netkit-bsd-finger/PKGBUILD14
-rw-r--r--extra/netkit-bsd-finger/fix-manpage-typo.patch11
2 files changed, 21 insertions, 4 deletions
diff --git a/extra/netkit-bsd-finger/PKGBUILD b/extra/netkit-bsd-finger/PKGBUILD
index 39ee4889b..286a6f82a 100644
--- a/extra/netkit-bsd-finger/PKGBUILD
+++ b/extra/netkit-bsd-finger/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 143921 2011-11-30 20:53:59Z andrea $
+# $Id: PKGBUILD 150721 2012-02-21 07:25:55Z andrea $
# Maintainer:
# Contributor: dorphell <dorphell@archlinux.org>
pkgname=netkit-bsd-finger
pkgver=0.17
-pkgrel=6
+pkgrel=7
pkgdesc="BSD-finger ported to Linux"
arch=('i686' 'x86_64')
url='ftp://ftp.uk.linux.org/pub/linux/Networking/netkit'
@@ -12,13 +12,19 @@ license=('BSD')
depends=('glibc' 'xinetd')
backup=('etc/xinetd.d/finger')
source=("ftp://ftp.archlinux.org/other/${pkgname}/bsd-finger-${pkgver}.tar.gz"
- 'finger.xinetd' 'LICENSE')
+ 'finger.xinetd' 'LICENSE'
+ 'fix-manpage-typo.patch')
md5sums=('52bf281aac8814bf56cdc92f7661ee75'
'a8682004dc8dee356065162bde892b47'
- '5fc568418a0379fc3a358ed1c2523b44')
+ '5fc568418a0379fc3a358ed1c2523b44'
+ '9c4ad79a8df81ade6d1938955f1debbd')
build() {
cd ${srcdir}/bsd-finger-${pkgver}
+
+ # FS#28232
+ patch -p1 -i "${srcdir}"/fix-manpage-typo.patch
+
./configure --prefix=/usr
sed -i 's@include <sys/time.h>@include <time.h>@' finger/lprint.c
sed -i 's@include <sys/time.h>@include <time.h>@' finger/sprint.c
diff --git a/extra/netkit-bsd-finger/fix-manpage-typo.patch b/extra/netkit-bsd-finger/fix-manpage-typo.patch
new file mode 100644
index 000000000..99915ce92
--- /dev/null
+++ b/extra/netkit-bsd-finger/fix-manpage-typo.patch
@@ -0,0 +1,11 @@
+--- bsd-finger-0.17/finger/finger.1~ 2012-02-21 07:18:46.236600851 +0000
++++ bsd-finger-0.17/finger/finger.1 2012-02-21 07:19:26.979613738 +0000
+@@ -169,7 +169,7 @@
+ must be able to see the
+ .Pa .nofinger
+ file. This generally means that the home directory containing the file
+-must have the other-users-execute bit set (o+w). See
++must have the other-users-execute bit set (o+x). See
+ .Xr chmod 1 .
+ If you use this feature for privacy, please test it with ``finger
+ @localhost'' before relying on it, just in case.