[arch-commits] Commit in lsof/repos/extra-x86_64 (4 files)

2020-06-04 Thread Allan McRae via arch-commits
Date: Friday, June 5, 2020 @ 01:18:49
  Author: allan
Revision: 388322

archrelease: copy trunk to extra-x86_64

Added:
  lsof/repos/extra-x86_64/PKGBUILD
(from rev 388321, lsof/trunk/PKGBUILD)
  lsof/repos/extra-x86_64/license.txt
(from rev 388321, lsof/trunk/license.txt)
Deleted:
  lsof/repos/extra-x86_64/PKGBUILD
  lsof/repos/extra-x86_64/license.txt

-+
 PKGBUILD|   91 +++---
 license.txt |   54 +-
 2 files changed, 76 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-06-05 01:18:29 UTC (rev 388321)
+++ PKGBUILD2020-06-05 01:18:49 UTC (rev 388322)
@@ -1,42 +0,0 @@
-# Maintainer: Levente Polyak 
-# Contributor: Tom Gundersen 
-# Contributor: Angel Velasquez 
-# Contributor: Daniel J Griffiths 
-# Contributor: Aaron Griffin 
-# Contributor: Jochem Kossen 
-
-pkgname=lsof
-pkgver=4.93.2
-pkgrel=2
-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=('3c4a4d503391b1a648a08a4947c2e72a9629b169eddf50738b16a16a82f2a26967e4db2902e4a9157de5a73ae638db48e392117ffbd591e9fafd6b1725cd01a0'
-
'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/extra-x86_64/PKGBUILD (from rev 388321, lsof/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-06-05 01:18:49 UTC (rev 388322)
@@ -0,0 +1,49 @@
+# Maintainer: Levente Polyak 
+# Contributor: Tom Gundersen 
+# Contributor: Angel Velasquez 
+# Contributor: Daniel J Griffiths 
+# Contributor: Aaron Griffin 
+# Contributor: Jochem Kossen 
+# Contributor: Hendrik Meyer 
+
+pkgname=lsof
+pkgver=4.93.2
+pkgrel=3
+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
+   
"lsof-reproducible.patch::https://github.com/lsof-org/lsof/commit/3e404f637c76949917435f4a086c40e644e0089c.patch;
+license.txt)
+sha512sums=('3c4a4d503391b1a648a08a4947c2e72a9629b169eddf50738b16a16a82f2a26967e4db2902e4a9157de5a73ae638db48e392117ffbd591e9fafd6b1725cd01a0'
+
'ccb263eb04d3cc6a879f6a6bada680dee473920ea6460c4e048e7551a2716b937007bc91f21751fb3dd0a43320f9b263983e7c04e2bac46d45472ce97e50047b'
+
'3bdbc8f213e9bdba946636498d21486e2b79d8ae44a45b284b4dff8875e76f992ab0977e3ed510525a8f74203028acb6b15315fda963666012874be4ce4fdd93')
+
+prepare() {
+  cd lsof-${pkgver}
+
+  # patch accepted upstream - in queue to be committed
+  patch -p1 -i "${srcdir}/lsof-reproducible.patch"
+
+  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:

Deleted: license.txt
===
--- license.txt 2020-06-05 01:18:29 UTC (rev 388321)
+++ license.txt 2020-06-05 01:18:49 UTC (rev 388322)
@@ -1,27 +0,0 @@
-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 

[arch-commits] Commit in lsof/repos/extra-x86_64 (4 files)

2019-09-13 Thread Levente Polyak via arch-commits
Date: Friday, September 13, 2019 @ 17:58:32
  Author: anthraxx
Revision: 362581

archrelease: copy trunk to extra-x86_64

Added:
  lsof/repos/extra-x86_64/PKGBUILD
(from rev 362580, lsof/trunk/PKGBUILD)
  lsof/repos/extra-x86_64/license.txt
(from rev 362580, lsof/trunk/license.txt)
Deleted:
  lsof/repos/extra-x86_64/PKGBUILD
  lsof/repos/extra-x86_64/license.txt

-+
 PKGBUILD|   91 ++
 license.txt |   54 +-
 2 files changed, 69 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-09-13 17:58:27 UTC (rev 362580)
+++ PKGBUILD2019-09-13 17:58:32 UTC (rev 362581)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Tom Gundersen 
-# Contributor: Angel Velasquez  
-# Contributor: Daniel J Griffiths 
-# Contributor: Aaron Griffin 
-# Contributor: Jochem Kossen 
-
-pkgname=lsof
-pkgver=4.91
-pkgrel=1
-pkgdesc="Lists open files for running Unix processes"
-arch=('x86_64')
-url="http://people.freebsd.org/~abe/;
-license=('custom')
-depends=('glibc')
-source=(ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/lsof_$pkgver.tar.bz2
-license.txt)
-sha1sums=('da6f9883d00f200671f6e47cf838bb9b6b9c6f01'
-  'db6b6d90ce895e4053f91ad25c7761fbf9a37dd6')
-#validpgpkeys=(9AFD62A840BD3D55) It is PGP-2 key
-
-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
-}
-
-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/extra-x86_64/PKGBUILD (from rev 362580, lsof/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-09-13 17:58:32 UTC (rev 362581)
@@ -0,0 +1,42 @@
+# Maintainer: Levente Polyak 
+# Contributor: Tom Gundersen 
+# Contributor: Angel Velasquez 
+# Contributor: Daniel J Griffiths 
+# Contributor: Aaron Griffin 
+# Contributor: Jochem Kossen 
+
+pkgname=lsof
+pkgver=4.93.2
+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=('3c4a4d503391b1a648a08a4947c2e72a9629b169eddf50738b16a16a82f2a26967e4db2902e4a9157de5a73ae638db48e392117ffbd591e9fafd6b1725cd01a0'
+
'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:

Deleted: license.txt
===
--- license.txt 2019-09-13 17:58:27 UTC (rev 362580)
+++ license.txt 2019-09-13 17:58:32 UTC (rev 362581)
@@ -1,27 +0,0 @@
-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/extra-x86_64/license.txt (from rev