summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsource/compat32-tools/compat32-tools.SlackBuild4
-rwxr-xr-xsource/compat32-tools/convertpkg-compat326
2 files changed, 6 insertions, 4 deletions
diff --git a/source/compat32-tools/compat32-tools.SlackBuild b/source/compat32-tools/compat32-tools.SlackBuild
index 4181a47..f3a57f5 100755
--- a/source/compat32-tools/compat32-tools.SlackBuild
+++ b/source/compat32-tools/compat32-tools.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Copyright (c) 2009 Frederick Emmott <fred@slackware.com>
-# Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Eric Hameleers, Eindhoven, NL
+# Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ PRGNAM=compat32-tools
VERSION=3.9
ARCH=noarch
TAG=${TAG:-alien}
-BUILD=${BUILD:-6}
+BUILD=${BUILD:-7}
CWD=$(pwd)
TMP=${TMP:-/tmp}
diff --git a/source/compat32-tools/convertpkg-compat32 b/source/compat32-tools/convertpkg-compat32
index b6cc2b8..53e3c1e 100755
--- a/source/compat32-tools/convertpkg-compat32
+++ b/source/compat32-tools/convertpkg-compat32
@@ -181,7 +181,7 @@ fi
#
# Take special care of the following packages when stripping things:
-# gdk-pixbuf2, gtk+2, gtk+3, mesa, pango, samba, udev
+# gdk-pixbuf2, gtk+2, gtk+3, mesa, pango, polkit, samba, udev
#
# Stuff we need to keep, we move into KDEP/ and move it back later:
@@ -216,14 +216,16 @@ elif [ -d usr/bin ]; then
mv ./32 usr/bin/
fi
+# These are part of the 64-bit package:
if [ "$PKGNAM" = "udev" -o "$PKGNAM" = "eudev" ]; then
- # These are part of the 64-bit package:
rm -rf lib/firmware
rm -rf lib/modprobe.d
rm -rf lib/udev
rm -rf run
# Only in Slackware 13.37:
rm -rf usr/lib/ConsoleKit
+elif [ "$PKGNAM" = "polkit" ]; then
+ rm -rf usr/lib/polkit-1
fi
# Strip doinst.sh from everything we can't use: