summaryrefslogtreecommitdiff
path: root/lsof
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2020-05-22 12:24:39 +0200
committerJuergen Daubert <jue@jue.li>2020-05-22 12:24:39 +0200
commitd482c13831fcc1dc7b638fea452e81f19709d537 (patch)
tree3b95207a0e1d81c5d753db0601bb2a5282f008bc /lsof
parent4f11513c65c6cf97ad6ca6132c01d8ab6c6506de (diff)
downloadopt-d482c13831fcc1dc7b638fea452e81f19709d537.tar.gz
opt-d482c13831fcc1dc7b638fea452e81f19709d537.tar.xz
lsof: fix man page, close FS#1808
Diffstat (limited to 'lsof')
-rw-r--r--lsof/.signature4
-rw-r--r--lsof/Pkgfile14
2 files changed, 10 insertions, 8 deletions
diff --git a/lsof/.signature b/lsof/.signature
index 32f950d93..fe1e33407 100644
--- a/lsof/.signature
+++ b/lsof/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/SkTwR5KqsyoZdH2b0cKzr+8YkLvnWDM27nfrKvKs0gLQJRvvt29kwnIFdzeblKghVFD2IRBe7sw7/vmneT9cgs=
-SHA256 (Pkgfile) = 8b3cfc905abd3bd88616736a51395034c433662b2e48d08b2d9cf3100ca7dbc3
+RWSE3ohX2g5d/XNzgjaG6tn6ZcJCs0B1O8SuCVt3pIdN+dA1czZlqZXJmvqn/IWx+VOtu3DLldvCkBfaIP5k941YJh0M9rFakwA=
+SHA256 (Pkgfile) = 3a800875d40165cdc3ca73fbce6a9d4a992a37a37a14d6591fe960563fb84491
SHA256 (.footprint) = 96955c2b8db524dff639fc12c2b50fbf1ac8fb0049828b76aa7da8fd8628c06b
SHA256 (lsof-4.93.2.tar.gz) = 3df912bd966fc24dc73ddea3e36a61d79270b21b085936a4caabca56e5b486a2
diff --git a/lsof/Pkgfile b/lsof/Pkgfile
index a3c33254a..fe47646bf 100644
--- a/lsof/Pkgfile
+++ b/lsof/Pkgfile
@@ -5,14 +5,16 @@
name=lsof
version=4.93.2
-release=1
+release=2
source=(https://github.com/lsof-org/lsof/archive/$version/$name-$version.tar.gz)
build() {
cd $name-$version
- yes "" | ./Configure linux
- sed -i -e "s/-DLINUXV/${CFLAGS} -DLINUXV/" Makefile
- make
- install -D -m 755 lsof $PKG/usr/sbin/lsof
- install -D -m 644 Lsof.8 $PKG/usr/share/man/man8/lsof.8
+
+ ./Configure -n linux
+ make CC="cc $CFLAGS"
+
+ install -d $PKG/usr/{sbin,share/man/man8}
+ install -m 755 lsof $PKG/usr/sbin
+ soelim Lsof.8 > $PKG/usr/share/man/man8/lsof.8
}

Generated by cgit