[arch-commits] CVS update of arch/build/system/lsof (PKGBUILD)

Aaron Griffin aaron at archlinux.org
Thu May 17 06:19:05 UTC 2007


    Date: Thursday, May 17, 2007 @ 02:19:05
  Author: aaron
    Path: /home/cvs-arch/arch/build/system/lsof

Modified: PKGBUILD (1.14 -> 1.15)

upgpkg: lsof 4.78-1
version bump and addition of custom license info (from FAQ)


----------+
 PKGBUILD |   19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)


Index: arch/build/system/lsof/PKGBUILD
diff -u arch/build/system/lsof/PKGBUILD:1.14 arch/build/system/lsof/PKGBUILD:1.15
--- arch/build/system/lsof/PKGBUILD:1.14	Sun Aug 13 12:58:59 2006
+++ arch/build/system/lsof/PKGBUILD	Thu May 17 02:19:05 2007
@@ -1,23 +1,30 @@
-# $Id: PKGBUILD,v 1.14 2006/08/13 16:58:59 tpowa Exp $
-# Maintainer: dorphell <dorphell at archlinux.org>
+# $Id: PKGBUILD,v 1.15 2007/05/17 06:19:05 aaron Exp $
+# Maintainer: Aaron Griffin <aaron at archlinux.org>
 # Contributor: Jochem Kossen <j.kossen at home.nl>
+
 pkgname=lsof
-pkgver=4.77
+pkgver=4.78
 pkgrel=1
 pkgdesc="lsof (LiSt Open Files) lists information about files that are open by the running processes"
 arch=(i686 x86_64)
+license=(custom)
 depends=('glibc')
 url="ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/"
-source=(ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/${pkgname}_$pkgver.tar.bz2)
-md5sums=('7b0de0d1283f2d86407a98e5c2f05f04')
+source=(ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/${pkgname}_$pkgver.tar.bz2 \
+        license.txt)
+md5sums=('00360ce2b62de3015fa7e0f8f92179a8' '1b63c76bd10437cabf890508c8e58d36')
 
 build() {
    cd $startdir/src/${pkgname}_${pkgver}
    tar xf ${pkgname}_${pkgver}_src.tar
    cd ${pkgname}_${pkgver}_src
    sed "s|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|" -i dialects/linux/machine.h
+
    ./Configure -n linux
    make || return 1
    install -D -m0755 -o root -g root lsof $startdir/pkg/usr/sbin/lsof
-   install -D -m0444 -o root -g root lsof.8 $startdir/pkg/usr/man/man8/lsof.8
+   install -D -m0644 -o root -g root lsof.8 $startdir/pkg/usr/man/man8/lsof.8
+   
+   install -D -m0644 -o root -g root $startdir/src/license.txt \
+        $startdir/pkg/usr/share/licenses/lsof/license.txt
 }




More information about the arch-commits mailing list