summaryrefslogtreecommitdiffstats
path: root/source/ap/lsof
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-04-03 23:07:16 +0000
committer Eric Hameleers <alien@slackware.com>2020-04-04 08:59:51 +0200
commitdf9b2cc1642e4d976aa5f9dbcd3e953d8717a265 (patch)
tree5ef03d25186635cd42d30cbaf0a36d64c220c2f9 /source/ap/lsof
parentfe5dc86ceeef97ef22fa8759bef4715e6d42865d (diff)
downloadcurrent-df9b2cc1642e4d976aa5f9dbcd3e953d8717a265.tar.gz
current-df9b2cc1642e4d976aa5f9dbcd3e953d8717a265.tar.xz
Fri Apr 3 23:07:16 UTC 202020200403230716
ap/lsof-4.93.2-x86_64-2.txz: Rebuilt. Fixed the manpage. Thanks to kaott. ap/sc-7.16-x86_64-7.txz: Rebuilt. Brought back the classic SC. Thanks to dive. d/Cython-0.29.16-x86_64-1.txz: Upgraded. d/mercurial-5.3.2-x86_64-1.txz: Upgraded. l/gtk+3-3.24.17-x86_64-1.txz: Upgraded. n/dhcpcd-8.1.7-x86_64-1.txz: Upgraded. n/iproute2-5.6.0-x86_64-1.txz: Upgraded. x/libdrm-2.4.101-x86_64-1.txz: Upgraded. x/mesa-20.0.4-x86_64-1.txz: Upgraded. xap/mozilla-firefox-68.6.1esr-x86_64-1.txz: Upgraded. This release contains critical security fixes and improvements. "Under certain conditions, when running the nsDocShell destructor, a race condition can cause a use-after-free. We are aware of targeted attacks in the wild abusing this flaw." "Under certain conditions, when handling a ReadableStream, a race condition can cause a use-after-free. We are aware of targeted attacks in the wild abusing this flaw." For more information, see: https://www.mozilla.org/en-US/firefox/68.6.1/releasenotes/ https://www.mozilla.org/en-US/security/advisories/mfsa2020-11/ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-6819 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-6820 (* Security fix *)
Diffstat (limited to 'source/ap/lsof')
-rwxr-xr-xsource/ap/lsof/lsof.SlackBuild15
1 files changed, 12 insertions, 3 deletions
diff --git a/source/ap/lsof/lsof.SlackBuild b/source/ap/lsof/lsof.SlackBuild
index ece6171b2..f7665ebff 100755
--- a/source/ap/lsof/lsof.SlackBuild
+++ b/source/ap/lsof/lsof.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2018, 2019 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2018, 2019, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=lsof
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -70,7 +70,16 @@ cat lsof > $PKG/usr/bin/lsof
# No, NOT suid.
chmod 755 $PKG/usr/bin/lsof
mkdir -p $PKG/usr/man/man8
-cat Lsof.8 | gzip -9c > $PKG/usr/man/man8/lsof.8.gz
+# Grab the version number:
+# When copying the manpage, eliminate the line requiring the "version" file to
+# be present, and sed a placeholder for the version into place:
+cat Lsof.8 | grep -v "^.so ./version$" | sed 's|\\\*(VN|%VERSION%|g' > $PKG/usr/man/man8/lsof.8
+# Get the revision number:
+LSOFVER="$(cat version | cut -f 3 -d ' ')"
+# Make the replacement:
+sed -i "s/%VERSION%/$LSOFVER/g" $PKG/usr/man/man8/lsof.8
+# Compress the manpage:
+gzip -9 $PKG/usr/man/man8/lsof.8
mkdir -p $PKG/usr/doc/lsof-$VERSION
cp -a 00* $PKG/usr/doc/lsof-$VERSION
chmod 644 $PKG/usr/doc/lsof-$VERSION/*