summaryrefslogtreecommitdiff
path: root/network/NetworkManager/NetworkManager.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/NetworkManager/NetworkManager.SlackBuild')
-rw-r--r--network/NetworkManager/NetworkManager.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/network/NetworkManager/NetworkManager.SlackBuild b/network/NetworkManager/NetworkManager.SlackBuild
index 01660386f0..c858e24ea8 100644
--- a/network/NetworkManager/NetworkManager.SlackBuild
+++ b/network/NetworkManager/NetworkManager.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=NetworkManager
VERSION=${VERSION:-0.8.2}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -120,6 +120,14 @@ mkdir -p $PKG/usr/share/dbus-1/system-services
cat $CWD/fi.epitest.hostap.WPASupplicant.service > \
$PKG/usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service
+# pm-utils upstream ships this file, but it shouldn't really, and it's going
+# to be removed from the Slackware package, so we'll include it here just to
+# be sure. Once upower is part of Slackware, this file can be removed, since
+# NM listens to upower events to know when to sleep/wake
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/pm-utils/sleep.d
+cp $CWD/55NetworkManager $PKG/usr/lib${LIBDIRSUFFIX}/pm-utils/sleep.d/
+chmod 0755 $PKG/usr/lib${LIBDIRSUFFIX}/pm-utils/sleep.d/55NetworkManager
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS CONTRIBUTING COPYING ChangeLog INSTALL NEWS README TODO \