[testing] -> [extra] 'lsof-4.96.3-1' move

master
Nathan Owens 2 months ago
parent 8299ffa2ac
commit 2c9eeb4e96
Signed by: ndowens
GPG Key ID: DC5A6F8092641E2D
  1. 6
      x86_64/extra/PKGBUILD
  2. 44
      x86_64/testing/PKGBUILD
  3. 27
      x86_64/testing/license.txt

@ -1,4 +1,4 @@
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Maintainer: Nathan Owens <ndowens@artixlinux.org>
# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
@ -7,7 +7,7 @@
# Contributor: Hendrik Meyer <archlinux@t4cc0.re>
pkgname=lsof
pkgver=4.95.0
pkgver=4.96.3
pkgrel=1
pkgdesc='Lists open files for running Unix processes'
url='https://github.com/lsof-org/lsof'
@ -16,7 +16,7 @@ license=('custom')
depends=('glibc' 'libtirpc')
source=(https://github.com/lsof-org/lsof/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
license.txt)
sha512sums=('09c5c4b0ea0530e23b98b96df8485f37c2594028b604097a816aee216a8b1a7bc887071e8727cbaf3c765d0992314a5aa49723572cfe926f88806be18a6b8aef'
sha512sums=('ad17a73590ffb154a13b8b5de8ada738ce343fcc833012b2a5e9b3bda587785b09ae8bf090a99fba8e84b788c2a6d61eaa7359f939bfa68d2423e604801e2a98'
'3bdbc8f213e9bdba946636498d21486e2b79d8ae44a45b284b4dff8875e76f992ab0977e3ed510525a8f74203028acb6b15315fda963666012874be4ce4fdd93')
prepare() {

@ -1,44 +0,0 @@
# Maintainer: Nathan Owens <ndowens@artixlinux.org>
# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Aaron Griffin <aaron@archlinux.org>
# Contributor: Jochem Kossen <j.kossen@home.nl>
# Contributor: Hendrik Meyer <archlinux@t4cc0.re>
pkgname=lsof
pkgver=4.96.3
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=('ad17a73590ffb154a13b8b5de8ada738ce343fcc833012b2a5e9b3bda587785b09ae8bf090a99fba8e84b788c2a6d61eaa7359f939bfa68d2423e604801e2a98'
'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:

@ -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.
Loading…
Cancel
Save