summaryrefslogtreecommitdiffstats
path: root/source/ap/lsof/lsof.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2019-05-09 01:39:14 +0000
committer Eric Hameleers <alien@slackware.com>2019-05-09 08:59:47 +0200
commitb292896e382b8394ef147b105de0eccd4bd78be7 (patch)
tree8f8295cc85f6b0c5c5cd15e5c5b8e3c961720d59 /source/ap/lsof/lsof.SlackBuild
parent1968344c50013aecdd7bc3b446baae57c056c1b0 (diff)
downloadcurrent-b292896e382b8394ef147b105de0eccd4bd78be7.tar.gz
current-b292896e382b8394ef147b105de0eccd4bd78be7.tar.xz
Thu May 9 01:39:14 UTC 201920190509013914
a/hwdata-0.323-noarch-1.txz: Upgraded. a/kernel-generic-4.19.41-x86_64-1.txz: Upgraded. a/kernel-huge-4.19.41-x86_64-1.txz: Upgraded. a/kernel-modules-4.19.41-x86_64-1.txz: Upgraded. a/usbutils-012-x86_64-1.txz: Upgraded. ap/lsof-4.93.2-x86_64-1.txz: Upgraded. d/gcc-9.1.0-x86_64-4.txz: Rebuilt. d/gcc-brig-9.1.0-x86_64-4.txz: Rebuilt. d/gcc-g++-9.1.0-x86_64-4.txz: Rebuilt. d/gcc-gdc-9.1.0-x86_64-4.txz: Rebuilt. d/gcc-gfortran-9.1.0-x86_64-4.txz: Rebuilt. d/gcc-gnat-9.1.0-x86_64-4.txz: Rebuilt. d/gcc-go-9.1.0-x86_64-4.txz: Rebuilt. d/gcc-objc-9.1.0-x86_64-4.txz: Rebuilt. Add support for Objective-C++. Thanks to USUARIONUEVO. d/kernel-headers-4.19.41-x86-1.txz: Upgraded. d/python-pip-19.1.1-x86_64-1.txz: Upgraded. k/kernel-source-4.19.41-noarch-1.txz: Upgraded. l/gegl-0.4.16-x86_64-1.txz: Upgraded. l/vte-0.56.3-x86_64-1.txz: Upgraded. xap/mozilla-firefox-60.6.3esr-x86_64-1.txz: Upgraded. This update provides further improvements to re-enable web extensions which had been disabled for users with a master password set (Bug 1549249). For more information, see: https://www.mozilla.org/en-US/firefox/60.6.3/releasenotes/ isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/ap/lsof/lsof.SlackBuild')
-rwxr-xr-xsource/ap/lsof/lsof.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/source/ap/lsof/lsof.SlackBuild b/source/ap/lsof/lsof.SlackBuild
index 4320a1fa5..e8d552e62 100755
--- a/source/ap/lsof/lsof.SlackBuild
+++ b/source/ap/lsof/lsof.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2018, 2019 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=lsof
-VERSION=${VERSION:-$(echo lsof_*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d _ | rev)}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -51,11 +51,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf lsof_$VERSION
-tar xvf $CWD/lsof_$VERSION.tar.?z || exit 1
-cd lsof_$VERSION || exit 1
-tar xvf lsof_${VERSION}_src.tar || exit 1
-cd lsof_${VERSION}_src || exit 1
+rm -rf lsof-$VERSION
+tar xvf $CWD/lsof-$VERSION.tar.?z || exit 1
+cd lsof-$VERSION || exit 1
chown -R root:root .
find . \
@@ -72,7 +70,7 @@ 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
+cat Lsof.8 | gzip -9c > $PKG/usr/man/man8/lsof.8.gz
mkdir -p $PKG/usr/doc/lsof-$VERSION
cp -a 00* $PKG/usr/doc/lsof-$VERSION
chmod 644 $PKG/usr/doc/lsof-$VERSION/*