[arch-commits] Commit in lsof/repos (3 files)

Anatol Pomozov anatolik at archlinux.org
Thu Nov 19 01:29:50 UTC 2020


    Date: Thursday, November 19, 2020 @ 01:29:49
  Author: anatolik
Revision: 401371

archrelease: copy trunk to testing-x86_64

Added:
  lsof/repos/testing-x86_64/
  lsof/repos/testing-x86_64/PKGBUILD
    (from rev 401370, lsof/trunk/PKGBUILD)
  lsof/repos/testing-x86_64/license.txt
    (from rev 401370, lsof/trunk/license.txt)

-------------+
 PKGBUILD    |   44 ++++++++++++++++++++++++++++++++++++++++++++
 license.txt |   27 +++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

Copied: lsof/repos/testing-x86_64/PKGBUILD (from rev 401370, lsof/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-11-19 01:29:49 UTC (rev 401371)
@@ -0,0 +1,44 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: 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>
+# Contributor: Hendrik Meyer <archlinux at t4cc0.re>
+
+pkgname=lsof
+pkgver=4.94.0
+pkgrel=1
+pkgdesc='Lists open files for running Unix processes'
+url='https://github.com/lsof-org/lsof'
+arch=('x86_64')
+license=('custom')
+depends=('glibc' 'libtirpc')
+source=(https://github.com/lsof-org/lsof/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+        license.txt)
+sha512sums=('852b12e621e1dbf71e5f7fd848a200339ca278fbe8c39dcd33f745d1aea4e61552c0f30a3f6469ad9d4b86a9163e677f8c95298159ebd647357734225aa06c0c'
+            '3bdbc8f213e9bdba946636498d21486e2b79d8ae44a45b284b4dff8875e76f992ab0977e3ed510525a8f74203028acb6b15315fda963666012874be4ce4fdd93')
+
+prepare() {
+  cd lsof-${pkgver}
+
+  sed -i 's|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|' dialects/linux/machine.h
+  sed -i "s|.so ./version|.ds VN ${pkgver}|" -i Lsof.8
+}
+
+build() {
+  cd lsof-${pkgver}
+  ./Configure -n linux
+  make CC="cc ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}"
+}
+
+package() {
+  cd lsof-${pkgver}
+
+  install -Dm 755 lsof -t "${pkgdir}"/usr/bin
+  install -Dm 644 Lsof.8 "${pkgdir}"/usr/share/man/man8/lsof.8
+  install -Dm 644 "${srcdir}"/license.txt \
+       "${pkgdir}"/usr/share/licenses/lsof/LICENSE
+}
+
+# vim: ts=2 sw=2 et:

Copied: lsof/repos/testing-x86_64/license.txt (from rev 401370, lsof/trunk/license.txt)
===================================================================
--- testing-x86_64/license.txt	                        (rev 0)
+++ testing-x86_64/license.txt	2020-11-19 01:29:49 UTC (rev 401371)
@@ -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