summaryrefslogtreecommitdiffstats
path: root/source/a/userspace-rcu
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-11-14 21:22:47 +0000
committer Eric Hameleers <alien@slackware.com>2023-11-14 23:03:42 +0100
commit2ca3471fc332cb5e520c4950ffb7ce42db3cb323 (patch)
tree25798668ae77eb90e6ab8a9c7a6cac342e0db4ce /source/a/userspace-rcu
parent6fde7400bc32c8acc21c85112794b8336137be9c (diff)
downloadcurrent-2ca3471fc332cb5e520c4950ffb7ce42db3cb323.tar.gz
current-2ca3471fc332cb5e520c4950ffb7ce42db3cb323.tar.xz
Tue Nov 14 21:22:47 UTC 202320231114212247
a/pam-1.5.3-x86_64-2.txz: Rebuilt. Relocated pkgconfig files. a/userspace-rcu-0.14.0-x86_64-2.txz: Rebuilt. Relocated pkgconfig files. ap/mariadb-10.11.6-x86_64-1.txz: Upgraded. This update fixes bugs and a security issue: Vulnerability allows high privileged attacker with network access via multiple protocols to compromise the server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash. For more information, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-22084 (* Security fix *) d/llvm-17.0.5-x86_64-1.txz: Upgraded. kde/plasma-wayland-protocols-1.11.1-x86_64-1.txz: Upgraded. n/nfs-utils-2.6.3-x86_64-3.txz: Rebuilt. Only move the udev rule to /lib, don't grab libraries or pkgconfig files from under /usr.
Diffstat (limited to 'source/a/userspace-rcu')
-rwxr-xr-xsource/a/userspace-rcu/userspace-rcu.SlackBuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/source/a/userspace-rcu/userspace-rcu.SlackBuild b/source/a/userspace-rcu/userspace-rcu.SlackBuild
index 52989a9b3..b255163a4 100755
--- a/source/a/userspace-rcu/userspace-rcu.SlackBuild
+++ b/source/a/userspace-rcu/userspace-rcu.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=userspace-rcu
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -97,7 +97,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --libdir=/lib${LIBDIRSUFFIX} \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/doc/$PKGNAM-$VERSION \
@@ -111,6 +111,16 @@ make install DESTDIR=$PKG || exit 1
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+# Move libraries out of /usr:
+mkdir -p $PKG/lib${LIBDIRSUFFIX}
+( cd $PKG/usr/lib${LIBDIRSUFFIX}
+ # Move libraries and symlinks:
+ for file in lib*.so.* ; do
+ mv $file ../../lib${LIBDIRSUFFIX}
+ ln -sf ../../lib${LIBDIRSUFFIX}/$file .
+ done
+)
+
# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null