aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorD Woodfall <dave@slackbuilds.org>2023-05-10 14:29:30 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-13 19:27:07 +0700
commit8e4b383da0e56a0eed7a22dfa187b64c97194fbd (patch)
tree2e1e5d24dd4455eaaf46b35188f1c23bceb8d825 /network
parentfdc9a9c2b03225abe9afc9c2cf9bfe28755986e9 (diff)
network/libressl: Add -rpath. Remove ld.so file+do(un)inst.sh.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/libressl/doinst.sh6
-rw-r--r--network/libressl/douninst.sh5
-rw-r--r--network/libressl/libressl.SlackBuild24
3 files changed, 6 insertions, 29 deletions
diff --git a/network/libressl/doinst.sh b/network/libressl/doinst.sh
deleted file mode 100644
index 12d19ea52a28d..0000000000000
--- a/network/libressl/doinst.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-# Update all the shared library links:
-if [ -x /sbin/ldconfig ]; then
- echo "Updating shared library links: /sbin/ldconfig"
- /sbin/ldconfig 2>/dev/null
-fi
-
diff --git a/network/libressl/douninst.sh b/network/libressl/douninst.sh
deleted file mode 100644
index 2adf7cb85ef7c..0000000000000
--- a/network/libressl/douninst.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-# Update all the shared library links:
-if [ -x /sbin/ldconfig ]; then
- echo "Updating shared library links: /sbin/ldconfig"
- /sbin/ldconfig 2>/dev/null
-fi
diff --git a/network/libressl/libressl.SlackBuild b/network/libressl/libressl.SlackBuild
index 4fb27ddd6aed5..4572cfb5705d6 100644
--- a/network/libressl/libressl.SlackBuild
+++ b/network/libressl/libressl.SlackBuild
@@ -1,24 +1,17 @@
#!/bin/bash
-# slackbuild script for libressl by D Woodfall
+# slackbuild script for libressl
+# By D Woodfall <dave@slackbuilds.org>
+# Licensed under the WTFPL (http://www.wtfpl.net)
#
-# WTFPL licence
-
-# BUILD 2: Thanks to Naglfar:
-#
-# --with-openssldir=/etc/$PRGNAM \
-#
-# NOTE: PKG_CONFIG_PATH will likely need setting in your build scripts:
-#
-# PKG_CONFIG_PATH=/usr/lib$LIBDIRSUFFIX/libressl/pkgconfig:$PKG_CONFIG_PATH \
-# ./configure \
-# ...
+# 2023-04-18 12:11:51 +0100 Thanks to Naglfar: --with-openssldir=/etc/$PRGNAM
+# 2023-05-10 12:04:05 +0100 Remove ld.so.conf stuff.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libressl
VERSION=${VERSION:-3.7.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -96,9 +89,6 @@ rm -f $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/*.la
find $PKG/usr/man -type f -exec gzip -9 {} \;
-mkdir -p $PKG/etc/ld.so.conf.d/
-echo /usr/lib${LIBDIRSUFFIX}/$PRGNAM > $PKG/etc/ld.so.conf.d/$PRGNAM.conf
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -113,8 +103,6 @@ cat $CWD/$PRGNAM-$VERSION-relnotes.txt > \
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-cat $CWD/douninst.sh > $PKG/install/douninst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE