[arch-commits] Commit in pm-utils/trunk (11netcfg PKGBUILD)

Florian Pritz bluewind at archlinux.org
Thu May 24 09:47:30 UTC 2012


    Date: Thursday, May 24, 2012 @ 05:47:30
  Author: bluewind
Revision: 159433

upgpkg: pm-utils 1.4.1-5

fix FS#29773; remove 11netcfg sleep hook

Modified:
  pm-utils/trunk/PKGBUILD
Deleted:
  pm-utils/trunk/11netcfg

----------+
 11netcfg |   26 --------------------------
 PKGBUILD |   11 +++--------
 2 files changed, 3 insertions(+), 34 deletions(-)

Deleted: 11netcfg
===================================================================
--- 11netcfg	2012-05-24 08:42:21 UTC (rev 159432)
+++ 11netcfg	2012-05-24 09:47:30 UTC (rev 159433)
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-. /usr/lib/pm-utils/functions
-
-suspend_netcfg() {
-	netcfg2 all-suspend
-}
-
-resume_netcfg() {
-	netcfg2 all-resume
-}
-
-if [ -x /usr/bin/netcfg2 ]; then
-	case "$1" in
-		hibernate|suspend)
-			suspend_netcfg
-			;;
-		thaw|resume)
-			resume_netcfg
-			;;
-		*)
-			;;
-	esac
-fi
-
-exit $?

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-05-24 08:42:21 UTC (rev 159432)
+++ PKGBUILD	2012-05-24 09:47:30 UTC (rev 159433)
@@ -5,7 +5,7 @@
 
 pkgname=pm-utils
 pkgver=1.4.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Utilities and scripts for suspend and hibernate power management"
 arch=('i686' 'x86_64')
 url="http://pm-utils.freedesktop.org"
@@ -16,14 +16,12 @@
         02-logging-append.patch
         12-fix-intel-audio-powersave-hook.patch
         13-49bluetooth-sync.patch
-        14-disable-sata-alpm.patch
-        11netcfg)
+        14-disable-sata-alpm.patch)
 md5sums=('1742a556089c36c3a89eb1b957da5a60'
          'a45149617bf3eb8dc32e6d9e22ae715d'
          'edada31a7d722763513fbe705d95d19d'
          '298f78b873c03c025700d5da619ac134'
-         'd0040f7d30b6a0dd195b5401abbbbdb9'
-         '9839687c8787d99fd4ff36aa3238c27b')
+         'd0040f7d30b6a0dd195b5401abbbbdb9')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
@@ -41,9 +39,6 @@
   cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
 
-  # install additional hooks
-  install -m755 "${srcdir}/11netcfg" "${pkgdir}/usr/lib/pm-utils/sleep.d/"
-
   # nm >=0.8.2 has native udev suspend/resume support
   rm -f "${pkgdir}/usr/lib/pm-utils/sleep.d/55NetworkManager"
   




More information about the arch-commits mailing list