aboutsummaryrefslogtreecommitdiff
path: root/libraries/libslack
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2023-06-26 20:43:09 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-02 23:21:23 +0700
commit87b1d3494a220f1d22cb3dd1690c840d293391f6 (patch)
tree203dd9562aea4be703ed78b9b2dcc99ecfa1ac4e /libraries/libslack
parent271d2bc0cf9dcc4a60a8985a0b50936382a13be7 (diff)
libraries/libslack: Updated for version 0.7.3
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libslack')
-rw-r--r--libraries/libslack/libslack.SlackBuild4
-rw-r--r--libraries/libslack/libslack.info10
-rw-r--r--libraries/libslack/notwanted-0.7.3.diff (renamed from libraries/libslack/notwanted.patch)33
3 files changed, 22 insertions, 25 deletions
diff --git a/libraries/libslack/libslack.SlackBuild b/libraries/libslack/libslack.SlackBuild
index 50ef43e1f83b9..b14ce809d5814 100644
--- a/libraries/libslack/libslack.SlackBuild
+++ b/libraries/libslack/libslack.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libslack
-VERSION=${VERSION:-0.7.2}
+VERSION=${VERSION:-0.7.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -86,7 +86,7 @@ find -L . \
-exec chmod 644 {} \;
# Strip update, download and uninstall capabilities from libslack-config
-patch -p1 < $CWD/notwanted.patch
+patch -p0 < $CWD/notwanted-0.7.3.diff
# Set our CFLAGS
sed -i "s|-O3|$SLKCFLAGS|" conf/linux Makefile
diff --git a/libraries/libslack/libslack.info b/libraries/libslack/libslack.info
index e3d48c1b67bc2..1b9f53d5468a5 100644
--- a/libraries/libslack/libslack.info
+++ b/libraries/libslack/libslack.info
@@ -1,10 +1,10 @@
PRGNAM="libslack"
-VERSION="0.7.2"
+VERSION="0.7.3"
HOMEPAGE="https://libslack.org"
-DOWNLOAD="https://libslack.org/download/libslack-0.7.2.tar.gz \
- https://libslack.org/download/libslack-0.7.2-html.tar.gz"
-MD5SUM="1a4c12d5f1c49dbd754a8d83477cc2b0 \
- c28ea38edf56283f63a98f41e7d933b4"
+DOWNLOAD="https://libslack.org/download/libslack-0.7.3.tar.gz \
+ https://libslack.org/download/libslack-0.7.3-html.tar.gz"
+MD5SUM="f6925b8de22b06d4ff60ffa05e8dbc63 \
+ a62cc5e649b5ce98d192ccd2158c4983"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libslack/notwanted.patch b/libraries/libslack/notwanted-0.7.3.diff
index b07c391619c6e..7cf4cd6ebb36a 100644
--- a/libraries/libslack/notwanted.patch
+++ b/libraries/libslack/notwanted-0.7.3.diff
@@ -1,7 +1,6 @@
-diff -Naur libslack-0.6.orig/libslack-config.pod libslack-0.6/libslack-config.pod
---- libslack-0.6.orig/libslack-config.pod 2010-06-12 15:37:00.000000000 +0200
-+++ libslack-0.6/libslack-config.pod 2013-01-02 20:36:02.802707880 +0100
-@@ -32,13 +32,10 @@
+--- libslack-config.pod.orig 2023-03-30 14:30:22.000000000 +1000
++++ libslack-config.pod 2023-06-26 18:40:09.568000000 +1000
+@@ -31,13 +31,10 @@
-h, --help - Print this help and exit
-v, --version - Print the version of the currently installed libslack
-L, --latest - Print the latest version of libslack (uses wget)
@@ -15,19 +14,19 @@ diff -Naur libslack-0.6.orig/libslack-config.pod libslack-0.6/libslack-config.po
Note: The dashes are optional for long option names
-@@ -75,19 +72,6 @@
+@@ -74,19 +71,6 @@
Print the latest version of I<libslack> available at
- C<http://libslack.org/>.
+ C<https://libslack.org>.
-=item C<-D>, C<--download>
-
-Download the latest version of I<libslack> from
--C<http://libslack.org/>.
+-C<https://libslack.org>.
-
-=item C<-U>, C<--upgrade>
-
-Upgrade to the latest version of I<libslack> from
--C<http://libslack.org/>. This downloads the latest
+-C<https://libslack.org>. This downloads the latest
-version, configures it, compiles it, uninstalls the currently installed
-version and then installs the new version wherever the current version
-was installed.
@@ -35,7 +34,7 @@ diff -Naur libslack-0.6.orig/libslack-config.pod libslack-0.6/libslack-config.po
=item C<-p>, C<--prefix>
Print the prefix directory under which I<libslack> was installed.
-@@ -100,10 +84,6 @@
+@@ -99,10 +83,6 @@
Print the linker flags needed to link code against I<libslack>.
@@ -46,10 +45,9 @@ diff -Naur libslack-0.6.orig/libslack-config.pod libslack-0.6/libslack-config.po
=back
=head1 SEE ALSO
-diff -Naur libslack-0.6.orig/libslack-config.t libslack-0.6/libslack-config.t
---- libslack-0.6.orig/libslack-config.t 2010-06-12 15:37:00.000000000 +0200
-+++ libslack-0.6/libslack-config.t 2013-01-02 19:55:45.772706368 +0100
-@@ -45,13 +45,10 @@
+--- libslack-config.t.orig 2023-03-30 14:30:22.000000000 +1000
++++ libslack-config.t 2023-06-26 18:41:34.885000000 +1000
+@@ -46,13 +46,10 @@
-h, --help - Print this help and exit
-v, --version - Print the version of the currently installed libslack
-L, --latest - Print the latest version of libslack (uses wget)
@@ -63,14 +61,14 @@ diff -Naur libslack-0.6.orig/libslack-config.t libslack-0.6/libslack-config.t
Note: the dashes are optional for long option names
-@@ -102,37 +99,6 @@
+@@ -103,36 +100,6 @@
'
}
-download()
-{
- latest="`latest 2>&1`"
-- test "$latest" = "No versions found at ${url}download" && die "$latest"
+- test "$latest" = "No versions found at ${url}/download" && die "$latest"
- file="`echo $latest | sed 's/^.*\///'`"
- test -f "$file" && die "The file $file already exists"
- wget "$latest"
@@ -97,11 +95,10 @@ diff -Naur libslack-0.6.orig/libslack-config.t libslack-0.6/libslack-config.t
-{
-@@UNINSTALL@@
-}
--
+
test $# -eq 0 && usage 1 1>&2
- while test $# -gt 0
-@@ -141,13 +107,10 @@
+@@ -142,13 +109,10 @@
-h|--help|help) usage 0;;
-v|--version|version) echo "$version";;
-L|--latest|latest) latest;;