[arch-commits] Commit in lsof/repos (6 files)
Anatol Pomozov
anatolik at archlinux.org
Mon Nov 17 16:31:10 UTC 2014
Date: Monday, November 17, 2014 @ 17:31:10
Author: anatolik
Revision: 226349
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
lsof/repos/testing-i686/
lsof/repos/testing-i686/PKGBUILD
(from rev 226348, lsof/trunk/PKGBUILD)
lsof/repos/testing-i686/license.txt
(from rev 226348, lsof/trunk/license.txt)
lsof/repos/testing-x86_64/
lsof/repos/testing-x86_64/PKGBUILD
(from rev 226348, lsof/trunk/PKGBUILD)
lsof/repos/testing-x86_64/license.txt
(from rev 226348, lsof/trunk/license.txt)
----------------------------+
testing-i686/PKGBUILD | 52 +++++++++++++++++++++++++++++++++++++++++++
testing-i686/license.txt | 27 ++++++++++++++++++++++
testing-x86_64/PKGBUILD | 52 +++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/license.txt | 27 ++++++++++++++++++++++
4 files changed, 158 insertions(+)
Copied: lsof/repos/testing-i686/PKGBUILD (from rev 226348, lsof/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2014-11-17 16:31:10 UTC (rev 226349)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+# Contributor: Jochem Kossen <j.kossen at home.nl>
+
+pkgname=lsof
+pkgver=4.88
+pkgrel=2
+pkgdesc="Lists open files for running Unix processes"
+arch=('i686' 'x86_64')
+url="http://people.freebsd.org/~abe/"
+license=('custom')
+depends=('glibc')
+source=(ftp://sunsite.ualberta.ca/pub/Mirror/lsof/lsof_$pkgver.tar.bz2
+ ftp://sunsite.ualberta.ca/pub/Mirror/lsof/patches/4.88/linux.dnode.c.patch
+ license.txt)
+sha1sums=('09db6d2cd96bc6832d9b767084b9c67cf5cf52bb'
+ '9a067d0e2c1dc83f6967c2ecb8fa5086860d92e4'
+ 'db6b6d90ce895e4053f91ad25c7761fbf9a37dd6')
+
+prepare() {
+ cd lsof_$pkgver
+ tar xf lsof_${pkgver}_src.tar
+ cd lsof_${pkgver}_src
+ sed -i 's|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|' dialects/linux/machine.h
+
+ patch -p1 < "$srcdir"/linux.dnode.c.patch
+}
+
+build() {
+ cd lsof_$pkgver/lsof_${pkgver}_src
+ ./Configure -n linux
+ make
+}
+
+check() {
+ cd lsof_$pkgver/lsof_${pkgver}_src/tests
+ sed 's/END=0/exit 0/' -i CkTestDB
+ make all
+}
+
+package() {
+ cd lsof_$pkgver/lsof_${pkgver}_src
+
+ install -Dm0755 lsof "$pkgdir"/usr/bin/lsof
+ install -Dm0644 lsof.8 "$pkgdir"/usr/share/man/man8/lsof.8
+
+ install -D -m0644 "$srcdir"/license.txt \
+ "$pkgdir"/usr/share/licenses/lsof/LICENSE
+}
Copied: lsof/repos/testing-i686/license.txt (from rev 226348, lsof/trunk/license.txt)
===================================================================
--- testing-i686/license.txt (rev 0)
+++ testing-i686/license.txt 2014-11-17 16:31:10 UTC (rev 226349)
@@ -0,0 +1,27 @@
+Copyright 2002 Purdue Research Foundation, West Lafayette,
+Indiana 47907. All rights reserved.
+
+Written by Victor A. Abell
+
+This software is not subject to any license of the American
+Telephone and Telegraph Company or the Regents of the
+University of California.
+
+Permission is granted to anyone to use this software for
+any purpose on any computer system, and to alter it and
+redistribute it freely, subject to the following
+restrictions:
+
+1. Neither the authors nor Purdue University are responsible
+ for any consequences of the use of this software.
+
+2. The origin of this software must not be misrepresented,
+ either by explicit claim or by omission. Credit to the
+ authors and Purdue University must appear in documentation
+ and sources.
+
+3. Altered versions must be plainly marked as such, and must
+ not be misrepresented as being the original software.
+
+4. This notice may not be removed or altered.
+
Copied: lsof/repos/testing-x86_64/PKGBUILD (from rev 226348, lsof/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-11-17 16:31:10 UTC (rev 226349)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+# Contributor: Jochem Kossen <j.kossen at home.nl>
+
+pkgname=lsof
+pkgver=4.88
+pkgrel=2
+pkgdesc="Lists open files for running Unix processes"
+arch=('i686' 'x86_64')
+url="http://people.freebsd.org/~abe/"
+license=('custom')
+depends=('glibc')
+source=(ftp://sunsite.ualberta.ca/pub/Mirror/lsof/lsof_$pkgver.tar.bz2
+ ftp://sunsite.ualberta.ca/pub/Mirror/lsof/patches/4.88/linux.dnode.c.patch
+ license.txt)
+sha1sums=('09db6d2cd96bc6832d9b767084b9c67cf5cf52bb'
+ '9a067d0e2c1dc83f6967c2ecb8fa5086860d92e4'
+ 'db6b6d90ce895e4053f91ad25c7761fbf9a37dd6')
+
+prepare() {
+ cd lsof_$pkgver
+ tar xf lsof_${pkgver}_src.tar
+ cd lsof_${pkgver}_src
+ sed -i 's|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|' dialects/linux/machine.h
+
+ patch -p1 < "$srcdir"/linux.dnode.c.patch
+}
+
+build() {
+ cd lsof_$pkgver/lsof_${pkgver}_src
+ ./Configure -n linux
+ make
+}
+
+check() {
+ cd lsof_$pkgver/lsof_${pkgver}_src/tests
+ sed 's/END=0/exit 0/' -i CkTestDB
+ make all
+}
+
+package() {
+ cd lsof_$pkgver/lsof_${pkgver}_src
+
+ install -Dm0755 lsof "$pkgdir"/usr/bin/lsof
+ install -Dm0644 lsof.8 "$pkgdir"/usr/share/man/man8/lsof.8
+
+ install -D -m0644 "$srcdir"/license.txt \
+ "$pkgdir"/usr/share/licenses/lsof/LICENSE
+}
Copied: lsof/repos/testing-x86_64/license.txt (from rev 226348, lsof/trunk/license.txt)
===================================================================
--- testing-x86_64/license.txt (rev 0)
+++ testing-x86_64/license.txt 2014-11-17 16:31:10 UTC (rev 226349)
@@ -0,0 +1,27 @@
+Copyright 2002 Purdue Research Foundation, West Lafayette,
+Indiana 47907. All rights reserved.
+
+Written by Victor A. Abell
+
+This software is not subject to any license of the American
+Telephone and Telegraph Company or the Regents of the
+University of California.
+
+Permission is granted to anyone to use this software for
+any purpose on any computer system, and to alter it and
+redistribute it freely, subject to the following
+restrictions:
+
+1. Neither the authors nor Purdue University are responsible
+ for any consequences of the use of this software.
+
+2. The origin of this software must not be misrepresented,
+ either by explicit claim or by omission. Credit to the
+ authors and Purdue University must appear in documentation
+ and sources.
+
+3. Altered versions must be plainly marked as such, and must
+ not be misrepresented as being the original software.
+
+4. This notice may not be removed or altered.
+
More information about the arch-commits
mailing list