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>
This commit is contained in:
D Woodfall 2023-05-10 14:29:30 +01:00 committed by Willy Sudiarto Raharjo
parent fdc9a9c2b0
commit 8e4b383da0
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 6 additions and 29 deletions

View file

@ -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

View file

@ -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

View file

@ -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