[arch-commits] Commit in acpid/repos (4 files)

Ionut Biru ibiru at archlinux.org
Thu Jan 28 15:47:18 EST 2010


    Date: Thursday, January 28, 2010 @ 15:47:17
  Author: ibiru
Revision: 65410

Merged revisions 65394,65396 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/acpid/trunk

........
  r65394 | thayer | 2010-01-28 21:06:34 +0200 (Thu, 28 Jan 2010) | 2 lines
  
  upgpkg: acpid 1.0.10-2
      added ACPID_ARGS conf file--courtesy of sepo
........
  r65396 | thayer | 2010-01-28 21:47:30 +0200 (Thu, 28 Jan 2010) | 2 lines
  
  upgpkg: acpid 1.0.10-3
      fixed conf source line in acpid
........

Added:
  acpid/repos/extra-x86_64/acpid.conf.d
    (from rev 65396, acpid/trunk/acpid.conf.d)
Modified:
  acpid/repos/extra-x86_64/	(properties)
  acpid/repos/extra-x86_64/PKGBUILD
  acpid/repos/extra-x86_64/acpid

--------------+
 PKGBUILD     |   17 ++++++++++-------
 acpid        |    4 +++-
 acpid.conf.d |    6 ++++++
 3 files changed, 19 insertions(+), 8 deletions(-)


Property changes on: acpid/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /acpid/trunk:1-36521
   + /acpid/trunk:1-65409

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2010-01-28 20:46:37 UTC (rev 65409)
+++ extra-x86_64/PKGBUILD	2010-01-28 20:47:17 UTC (rev 65410)
@@ -1,11 +1,11 @@
 # $Id$
+# Maintainer: Thayer Williams <thayer at archlinux.org>
 # Contributor: Manolis Tzanidakis
 # Contributor: Judd Vinet <jvinet at zeroflux.org>
-# Maintainer: Thayer Williams <thayer at archlinux.org>
 
 pkgname=acpid
 pkgver=1.0.10
-pkgrel=1
+pkgrel=3
 pkgdesc="A daemon for delivering ACPI power management events"
 arch=('i686' 'x86_64')
 url="http://acpid.sourceforge.net"
@@ -13,13 +13,10 @@
 depends=(glibc)
 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
     acpid
+    acpid.conf.d
     anything
     handler.sh)
-backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything')
-md5sums=('61156ef32015c56dc0f2e3317f4ae09e'
-         '15903690f1bae4b3b0625b369de65521'
-         '2d37b98d6e74bab815604b8b48c6cfd4'
-         '0e8dd13793b1baa79a745f4034888367')
+backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything' 'etc/conf.d/acpid')
 
 build() {
     cd $srcdir/$pkgname-$pkgver
@@ -30,6 +27,7 @@
 
     # install our supplementary scripts
     /bin/install -D -m0755 $srcdir/acpid $pkgdir/etc/rc.d/acpid || return 1
+    /bin/install -D -m0644 $srcdir/acpid.conf.d $pkgdir/etc/conf.d/acpid || return 1
     /bin/install -D -m0644 $srcdir/anything $pkgdir/etc/acpi/events/anything || return 1
     /bin/install -D -m0755 $srcdir/handler.sh $pkgdir/etc/acpi/handler.sh || return 1
 
@@ -37,3 +35,8 @@
     /bin/chmod 755 $pkgdir/usr/sbin/acpid || return 1
 }
 
+md5sums=('61156ef32015c56dc0f2e3317f4ae09e'
+         'd9ca7f71f520238a0448fab105a23fe9'
+         '91fdb3709c878eed757d192a420251a1'
+         '2d37b98d6e74bab815604b8b48c6cfd4'
+         '0e8dd13793b1baa79a745f4034888367')

Modified: extra-x86_64/acpid
===================================================================
--- extra-x86_64/acpid	2010-01-28 20:46:37 UTC (rev 65409)
+++ extra-x86_64/acpid	2010-01-28 20:47:17 UTC (rev 65410)
@@ -3,11 +3,13 @@
 . /etc/rc.conf
 . /etc/rc.d/functions
 
+[ -f /etc/conf.d/acpid ] && . /etc/conf.d/acpid
+
 PID=`pidof -o %PPID /usr/sbin/acpid`
 case "$1" in
   start)
     stat_busy "Starting acpid"
-    [ -z "$PID" ] && /usr/sbin/acpid
+    [ -z "$PID" ] && /usr/sbin/acpid $ACPID_ARGS
     if [ $? -gt 0 ]; then
       stat_fail
     else

Copied: acpid/repos/extra-x86_64/acpid.conf.d (from rev 65396, acpid/trunk/acpid.conf.d)
===================================================================
--- extra-x86_64/acpid.conf.d	                        (rev 0)
+++ extra-x86_64/acpid.conf.d	2010-01-28 20:47:17 UTC (rev 65410)
@@ -0,0 +1,6 @@
+#
+# Arguments to be passed to the acpid daemon
+#
+
+ACPID_ARGS=""
+



More information about the arch-commits mailing list