diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2022-09-08 01:33:19 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2022-09-08 07:00:15 +0200 |
commit | d7e739bb58e86a0c43f54b7e2c2972dd5f62b3c3 (patch) | |
tree | 88bf131c609a7bbd6656498be96b854c43ae267f /source/a/grep | |
parent | 64fbcd92b6a53a19a394db7fe96fa16cb31c4928 (diff) | |
download | current-d7e739bb58e86a0c43f54b7e2c2972dd5f62b3c3.tar.gz current-d7e739bb58e86a0c43f54b7e2c2972dd5f62b3c3.tar.xz |
Thu Sep 8 01:33:19 UTC 202220220908013319
a/hdparm-9.65-x86_64-1.txz: Upgraded.
n/samba-4.16.5-x86_64-1.txz: Upgraded.
xap/mozilla-thunderbird-102.2.2-x86_64-1.txz: Upgraded.
This is a bugfix release.
For more information, see:
https://www.mozilla.org/en-US/thunderbird/102.2.2/releasenotes/
Diffstat (limited to 'source/a/grep')
-rwxr-xr-x | source/a/grep/grep.SlackBuild | 9 | ||||
-rw-r--r-- | source/a/grep/scripts/egrep | 4 | ||||
-rw-r--r-- | source/a/grep/scripts/fgrep | 4 |
3 files changed, 15 insertions, 2 deletions
diff --git a/source/a/grep/grep.SlackBuild b/source/a/grep/grep.SlackBuild index 541ffc3ff..b1cb9b460 100755 --- a/source/a/grep/grep.SlackBuild +++ b/source/a/grep/grep.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=grep VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -95,11 +95,16 @@ make install DESTDIR=$PKG || exit 1 find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +# Replace the fgrep/egrep scripts with less annoying versions: +cat $CWD/scripts/fgrep > $PKG/bin/fgrep +cat $CWD/scripts/egrep > $PKG/bin/egrep +chmod 755 $PKG/bin/?grep + # Make symlinks in /usr/bin: mkdir -p $PKG/usr/bin ( cd $PKG/usr/bin ln -sf ../../bin/grep . - ln -sf ../../bin/grep -E . + ln -sf ../../bin/egrep . ln -sf ../../bin/fgrep . ) diff --git a/source/a/grep/scripts/egrep b/source/a/grep/scripts/egrep new file mode 100644 index 000000000..513835a72 --- /dev/null +++ b/source/a/grep/scripts/egrep @@ -0,0 +1,4 @@ +#!/bin/sh +#cmd=${0##*/} +#echo "$cmd: warning: $cmd is obsolescent; using grep -E" >&2 +exec grep -E "$@" diff --git a/source/a/grep/scripts/fgrep b/source/a/grep/scripts/fgrep new file mode 100644 index 000000000..e8c4df9a1 --- /dev/null +++ b/source/a/grep/scripts/fgrep @@ -0,0 +1,4 @@ +#!/bin/sh +#cmd=${0##*/} +#echo "$cmd: warning: $cmd is obsolescent; using grep -F" >&2 +exec grep -F "$@" |