[arch-commits] Commit in netkit-bsd-finger/trunk (PKGBUILD finger.xinetd)

Eric Bélanger eric at nymeria.archlinux.org
Sun May 12 23:43:43 EDT 2013


    Date: Monday, May 13, 2013 @ 05:43:43
  Author: eric
Revision: 185296

upgpkg: netkit-bsd-finger 0.17-8

Move binaries in /usr/sbin to /usr/bin

Modified:
  netkit-bsd-finger/trunk/PKGBUILD
  netkit-bsd-finger/trunk/finger.xinetd

---------------+
 PKGBUILD      |   26 ++++++++++++++------------
 finger.xinetd |    2 +-
 2 files changed, 15 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 03:05:59 UTC (rev 185295)
+++ PKGBUILD	2013-05-13 03:43:43 UTC (rev 185296)
@@ -4,7 +4,7 @@
 
 pkgname=netkit-bsd-finger
 pkgver=0.17
-pkgrel=7
+pkgrel=8
 pkgdesc="BSD-finger ported to Linux"
 arch=('i686' 'x86_64')
 url='ftp://ftp.uk.linux.org/pub/linux/Networking/netkit'
@@ -15,27 +15,29 @@
         'finger.xinetd' 'LICENSE'
         'fix-manpage-typo.patch')
 md5sums=('52bf281aac8814bf56cdc92f7661ee75'
-         'a8682004dc8dee356065162bde892b47'
+         'a71333c0f3a6ac2ca9e37a6425abfc52'
          '5fc568418a0379fc3a358ed1c2523b44'
          '9c4ad79a8df81ade6d1938955f1debbd')
 
-build() {
-   cd ${srcdir}/bsd-finger-${pkgver}
-
+prepare() {
+   cd bsd-finger-${pkgver}
    # FS#28232
    patch -p1 -i "${srcdir}"/fix-manpage-typo.patch
+   sed -i 's at include <sys/time.h>@include <time.h>@' finger/lprint.c
+   sed -i 's at include <sys/time.h>@include <time.h>@' finger/sprint.c
+}
 
+build() {
+   cd bsd-finger-${pkgver}
    ./configure --prefix=/usr
-   sed -i 's at include <sys/time.h>@include <time.h>@' finger/lprint.c
-   sed -i 's at include <sys/time.h>@include <time.h>@' finger/sprint.c
    make
 }
 
 package() {
-   cd ${srcdir}/bsd-finger-${pkgver}
-   install -d ${pkgdir}/usr/{bin,sbin} ${pkgdir}/usr/share/man/{man1,man8}
-   make INSTALLROOT=${pkgdir} MANDIR=/usr/share/man install
+   cd bsd-finger-${pkgver}
+   install -d "${pkgdir}"/usr/{bin,share/man/{man1,man8}}
+   make INSTALLROOT="${pkgdir}" SBINDIR=/usr/bin MANDIR=/usr/share/man install
 
-   install -D -m644 ${srcdir}/finger.xinetd ${pkgdir}/etc/xinetd.d/finger
-   install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+   install -D -m644 "${srcdir}/finger.xinetd" "${pkgdir}/etc/xinetd.d/finger"
+   install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }

Modified: finger.xinetd
===================================================================
--- finger.xinetd	2013-05-13 03:05:59 UTC (rev 185295)
+++ finger.xinetd	2013-05-13 03:43:43 UTC (rev 185296)
@@ -3,6 +3,6 @@
 	socket_type		= stream
 	wait			= no
 	user			= nobody
-	server			= /usr/sbin/in.fingerd
+	server			= /usr/bin/in.fingerd
 	disable			= yes
 }



More information about the arch-commits mailing list