Skip to content
Snippets Groups Projects
Commit 50650f06 authored by Milan P. Stanić's avatar Milan P. Stanić Committed by Leo
Browse files

main/lsof: upgrade to 4.94.0

change url to new where development moved
change source to new upstream repository on github.com
modernize a little
parent 4e3a175b
No related branches found
No related tags found
1 merge request!14838main/lsof: upgrade to 4.94.0
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lsof
pkgver=4.93.2
pkgver=4.94.0
pkgrel=0
pkgdesc="LiSt Open Files"
url="https://people.freebsd.org/~abe"
url="https://github.com/lsof-org/lsof"
arch="all"
license="lsof"
subpackages="$pkgname-doc"
makedepends="linux-headers"
source="https://fossies.org/linux/misc/lsof-$pkgver.tar.xz"
source="$pkgname-$pkgver.tar.gz::https://github.com/lsof-org/lsof/archive/$pkgver/lsof-$pkgver.tar.gz"
prepare() {
default_prepare
cd "$builddir"
sed -i "s|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|" \
dialects/linux/machine.h
}
build() {
cd "$builddir"
./Configure -n linux
make
}
package() {
cd "$builddir"
install -Dm0755 lsof "$pkgdir"/usr/bin/lsof
install -Dm0644 Lsof.8 "$pkgdir"/usr/share/man/man8/lsof.8
}
sha512sums="9ce751092bec5d2dccb79d92aa1d7c541819e0e24e56bd0a3ec0513bd7a403c3abb85a68aa5283f84aa44b4f71742ed18f5437cc039c13ce886bf22facd1557a lsof-4.93.2.tar.xz"
sha512sums="852b12e621e1dbf71e5f7fd848a200339ca278fbe8c39dcd33f745d1aea4e61552c0f30a3f6469ad9d4b86a9163e677f8c95298159ebd647357734225aa06c0c lsof-4.94.0.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment