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

Sébastien Luttringer seblu at archlinux.org
Sun Dec 7 01:51:03 UTC 2014


    Date: Sunday, December 7, 2014 @ 02:51:02
  Author: seblu
Revision: 123566

archrelease: copy trunk to community-i686, community-x86_64

Added:
  acpid/repos/community-i686/PKGBUILD
    (from rev 123565, acpid/trunk/PKGBUILD)
  acpid/repos/community-i686/acpid.service
    (from rev 123565, acpid/trunk/acpid.service)
  acpid/repos/community-i686/anything
    (from rev 123565, acpid/trunk/anything)
  acpid/repos/community-i686/handler.sh
    (from rev 123565, acpid/trunk/handler.sh)
  acpid/repos/community-x86_64/PKGBUILD
    (from rev 123565, acpid/trunk/PKGBUILD)
  acpid/repos/community-x86_64/acpid.service
    (from rev 123565, acpid/trunk/acpid.service)
  acpid/repos/community-x86_64/anything
    (from rev 123565, acpid/trunk/anything)
  acpid/repos/community-x86_64/handler.sh
    (from rev 123565, acpid/trunk/handler.sh)
Deleted:
  acpid/repos/community-i686/PKGBUILD
  acpid/repos/community-i686/acpid.service
  acpid/repos/community-i686/acpid.socket
  acpid/repos/community-i686/anything
  acpid/repos/community-i686/handler.sh
  acpid/repos/community-x86_64/PKGBUILD
  acpid/repos/community-x86_64/acpid.service
  acpid/repos/community-x86_64/acpid.socket
  acpid/repos/community-x86_64/anything
  acpid/repos/community-x86_64/handler.sh

--------------------------------+
 /PKGBUILD                      |   98 ++++++++++++++++++++++++
 /acpid.service                 |   18 ++++
 /anything                      |    6 +
 /handler.sh                    |  154 +++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD        |   52 -------------
 community-i686/acpid.service   |   12 ---
 community-i686/acpid.socket    |    8 --
 community-i686/anything        |    3 
 community-i686/handler.sh      |   77 -------------------
 community-x86_64/PKGBUILD      |   52 -------------
 community-x86_64/acpid.service |   12 ---
 community-x86_64/acpid.socket  |    8 --
 community-x86_64/anything      |    3 
 community-x86_64/handler.sh    |   77 -------------------
 14 files changed, 276 insertions(+), 304 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-12-07 01:50:40 UTC (rev 123565)
+++ community-i686/PKGBUILD	2014-12-07 01:51:02 UTC (rev 123566)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer
-# Contributor: xduugu
-# Contributor: Manolis Tzanidakis
-# Contributor: Jonathan Schmidt <j.schmidt at archlinux.us
-
-pkgname=acpid
-pkgver=2.0.23
-pkgrel=3
-pkgdesc='A daemon for delivering ACPI power management events with netlink support'
-arch=('i686' 'x86_64')
-url='http://sourceforge.net/projects/acpid2/'
-license=('GPL')
-depends=('bash')
-optdepends=('perl: use perl based examples')
-replaces=('acpid2')
-backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything')
-source=("http://downloads.sourceforge.net/sourceforge/acpid2/$pkgname-$pkgver.tar.xz"
-        'acpid.socket'
-        'acpid.service'
-        'anything'
-        'handler.sh')
-md5sums=('d7bcdcdefcd53b03730e50ba842554ea'
-         'd11700eb136e0489835ddaf977a7905b'
-         'b8914d2792e40eb18a5792aed2e99006'
-         '2d37b98d6e74bab815604b8b48c6cfd4'
-         '47f44ff5f02685dce8bcdab8568f0c38')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --sbindir=/usr/bin
-  make
-}
-
-package() {
-  pushd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  popd
-
-  # default config
-  install -Dm644 anything "$pkgdir/etc/acpi/events/anything"
-  install -Dm755 handler.sh "$pkgdir/etc/acpi/handler.sh"
-
-  # systemd
-  install -Dm644 acpid.socket "$pkgdir/usr/lib/systemd/system/acpid.socket"
-  install -Dm644 acpid.service "$pkgdir/usr/lib/systemd/system/acpid.service"
-
-  # fix acpid rights
-  chmod 755 "$pkgdir/usr/bin/acpid"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: acpid/repos/community-i686/PKGBUILD (from rev 123565, acpid/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-12-07 01:51:02 UTC (rev 123566)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: xduugu
+# Contributor: Manolis Tzanidakis
+# Contributor: Jonathan Schmidt <j.schmidt at archlinux.us
+
+pkgname=acpid
+pkgver=2.0.23
+pkgrel=4
+pkgdesc='A daemon for delivering ACPI power management events with netlink support'
+arch=('i686' 'x86_64')
+url='http://sourceforge.net/projects/acpid2/'
+license=('GPL')
+depends=('bash')
+optdepends=('perl: use perl based examples')
+replaces=('acpid2')
+backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything')
+source=("http://downloads.sourceforge.net/sourceforge/acpid2/$pkgname-$pkgver.tar.xz"
+        'acpid.service'
+        'anything'
+        'handler.sh')
+md5sums=('d7bcdcdefcd53b03730e50ba842554ea'
+         'b9a9810eefae2142e20c965c01b410de'
+         '2d37b98d6e74bab815604b8b48c6cfd4'
+         '47f44ff5f02685dce8bcdab8568f0c38')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sbindir=/usr/bin
+  make
+}
+
+package() {
+  pushd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  popd
+
+  # default config
+  install -Dm644 anything "$pkgdir/etc/acpi/events/anything"
+  install -Dm755 handler.sh "$pkgdir/etc/acpi/handler.sh"
+
+  # systemd
+  install -Dm644 acpid.service "$pkgdir/usr/lib/systemd/system/acpid.service"
+
+  # fix acpid rights
+  chmod 755 "$pkgdir/usr/bin/acpid"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-i686/acpid.service
===================================================================
--- community-i686/acpid.service	2014-12-07 01:50:40 UTC (rev 123565)
+++ community-i686/acpid.service	2014-12-07 01:51:02 UTC (rev 123566)
@@ -1,12 +0,0 @@
-[Unit]
-Description=ACPI event daemon
-Documentation=man:acpid(8)
-Requires=acpid.socket systemd-udev-settle.service
-After=systemd-udev-settle.service
-
-[Service]
-ExecStart=/usr/bin/acpid -f
-
-[Install]
-WantedBy=multi-user.target
-Also=acpid.socket

Copied: acpid/repos/community-i686/acpid.service (from rev 123565, acpid/trunk/acpid.service)
===================================================================
--- community-i686/acpid.service	                        (rev 0)
+++ community-i686/acpid.service	2014-12-07 01:51:02 UTC (rev 123566)
@@ -0,0 +1,9 @@
+[Unit]
+Description=ACPI event daemon
+Documentation=man:acpid(8)
+
+[Service]
+ExecStart=/usr/bin/acpid --foreground --netlink
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-i686/acpid.socket
===================================================================
--- community-i686/acpid.socket	2014-12-07 01:50:40 UTC (rev 123565)
+++ community-i686/acpid.socket	2014-12-07 01:51:02 UTC (rev 123566)
@@ -1,8 +0,0 @@
-[Unit]
-Description=ACPID Listen Socket
-
-[Socket]
-ListenStream=/var/run/acpid.socket
-
-[Install]
-WantedBy=sockets.target

Deleted: community-i686/anything
===================================================================
--- community-i686/anything	2014-12-07 01:50:40 UTC (rev 123565)
+++ community-i686/anything	2014-12-07 01:51:02 UTC (rev 123566)
@@ -1,3 +0,0 @@
-# Pass all events to our one handler script
-event=.*
-action=/etc/acpi/handler.sh %e

Copied: acpid/repos/community-i686/anything (from rev 123565, acpid/trunk/anything)
===================================================================
--- community-i686/anything	                        (rev 0)
+++ community-i686/anything	2014-12-07 01:51:02 UTC (rev 123566)
@@ -0,0 +1,3 @@
+# Pass all events to our one handler script
+event=.*
+action=/etc/acpi/handler.sh %e

Deleted: community-i686/handler.sh
===================================================================
--- community-i686/handler.sh	2014-12-07 01:50:40 UTC (rev 123565)
+++ community-i686/handler.sh	2014-12-07 01:51:02 UTC (rev 123566)
@@ -1,77 +0,0 @@
-#!/bin/bash
-# Default acpi script that takes an entry for all actions
-
-case "$1" in
-    button/power)
-        case "$2" in
-            PBTN|PWRF)
-                logger 'PowerButton pressed'
-                ;;
-            *)
-                logger "ACPI action undefined: $2"
-                ;;
-        esac
-        ;;
-    button/sleep)
-        case "$2" in
-            SLPB|SBTN)
-                logger 'SleepButton pressed'
-                ;;
-            *)
-                logger "ACPI action undefined: $2"
-                ;;
-        esac
-        ;;
-    ac_adapter)
-        case "$2" in
-            AC|ACAD|ADP0)
-                case "$4" in
-                    00000000)
-                        logger 'AC unpluged'
-                        ;;
-                    00000001)
-                        logger 'AC pluged'
-                        ;;
-                esac
-                ;;
-            *)
-                logger "ACPI action undefined: $2"
-                ;;
-        esac
-        ;;
-    battery)
-        case "$2" in
-            BAT0)
-                case "$4" in
-                    00000000)
-                        logger 'Battery online'
-                        ;;
-                    00000001)
-                        logger 'Battery offline'
-                        ;;
-                esac
-                ;;
-            CPU0)
-                ;;
-            *)  logger "ACPI action undefined: $2" ;;
-        esac
-        ;;
-    button/lid)
-        case "$3" in
-            close)
-                logger 'LID closed'
-                ;;
-            open)
-                logger 'LID opened'
-                ;;
-            *)
-                logger "ACPI action undefined: $3"
-                ;;
-    esac
-    ;;
-    *)
-        logger "ACPI group/action undefined: $1 / $2"
-        ;;
-esac
-
-# vim:set ts=4 sw=4 ft=sh et:

Copied: acpid/repos/community-i686/handler.sh (from rev 123565, acpid/trunk/handler.sh)
===================================================================
--- community-i686/handler.sh	                        (rev 0)
+++ community-i686/handler.sh	2014-12-07 01:51:02 UTC (rev 123566)
@@ -0,0 +1,77 @@
+#!/bin/bash
+# Default acpi script that takes an entry for all actions
+
+case "$1" in
+    button/power)
+        case "$2" in
+            PBTN|PWRF)
+                logger 'PowerButton pressed'
+                ;;
+            *)
+                logger "ACPI action undefined: $2"
+                ;;
+        esac
+        ;;
+    button/sleep)
+        case "$2" in
+            SLPB|SBTN)
+                logger 'SleepButton pressed'
+                ;;
+            *)
+                logger "ACPI action undefined: $2"
+                ;;
+        esac
+        ;;
+    ac_adapter)
+        case "$2" in
+            AC|ACAD|ADP0)
+                case "$4" in
+                    00000000)
+                        logger 'AC unpluged'
+                        ;;
+                    00000001)
+                        logger 'AC pluged'
+                        ;;
+                esac
+                ;;
+            *)
+                logger "ACPI action undefined: $2"
+                ;;
+        esac
+        ;;
+    battery)
+        case "$2" in
+            BAT0)
+                case "$4" in
+                    00000000)
+                        logger 'Battery online'
+                        ;;
+                    00000001)
+                        logger 'Battery offline'
+                        ;;
+                esac
+                ;;
+            CPU0)
+                ;;
+            *)  logger "ACPI action undefined: $2" ;;
+        esac
+        ;;
+    button/lid)
+        case "$3" in
+            close)
+                logger 'LID closed'
+                ;;
+            open)
+                logger 'LID opened'
+                ;;
+            *)
+                logger "ACPI action undefined: $3"
+                ;;
+    esac
+    ;;
+    *)
+        logger "ACPI group/action undefined: $1 / $2"
+        ;;
+esac
+
+# vim:set ts=4 sw=4 ft=sh et:

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-12-07 01:50:40 UTC (rev 123565)
+++ community-x86_64/PKGBUILD	2014-12-07 01:51:02 UTC (rev 123566)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer
-# Contributor: xduugu
-# Contributor: Manolis Tzanidakis
-# Contributor: Jonathan Schmidt <j.schmidt at archlinux.us
-
-pkgname=acpid
-pkgver=2.0.23
-pkgrel=3
-pkgdesc='A daemon for delivering ACPI power management events with netlink support'
-arch=('i686' 'x86_64')
-url='http://sourceforge.net/projects/acpid2/'
-license=('GPL')
-depends=('bash')
-optdepends=('perl: use perl based examples')
-replaces=('acpid2')
-backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything')
-source=("http://downloads.sourceforge.net/sourceforge/acpid2/$pkgname-$pkgver.tar.xz"
-        'acpid.socket'
-        'acpid.service'
-        'anything'
-        'handler.sh')
-md5sums=('d7bcdcdefcd53b03730e50ba842554ea'
-         'd11700eb136e0489835ddaf977a7905b'
-         'b8914d2792e40eb18a5792aed2e99006'
-         '2d37b98d6e74bab815604b8b48c6cfd4'
-         '47f44ff5f02685dce8bcdab8568f0c38')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --sbindir=/usr/bin
-  make
-}
-
-package() {
-  pushd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  popd
-
-  # default config
-  install -Dm644 anything "$pkgdir/etc/acpi/events/anything"
-  install -Dm755 handler.sh "$pkgdir/etc/acpi/handler.sh"
-
-  # systemd
-  install -Dm644 acpid.socket "$pkgdir/usr/lib/systemd/system/acpid.socket"
-  install -Dm644 acpid.service "$pkgdir/usr/lib/systemd/system/acpid.service"
-
-  # fix acpid rights
-  chmod 755 "$pkgdir/usr/bin/acpid"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: acpid/repos/community-x86_64/PKGBUILD (from rev 123565, acpid/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-12-07 01:51:02 UTC (rev 123566)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: xduugu
+# Contributor: Manolis Tzanidakis
+# Contributor: Jonathan Schmidt <j.schmidt at archlinux.us
+
+pkgname=acpid
+pkgver=2.0.23
+pkgrel=4
+pkgdesc='A daemon for delivering ACPI power management events with netlink support'
+arch=('i686' 'x86_64')
+url='http://sourceforge.net/projects/acpid2/'
+license=('GPL')
+depends=('bash')
+optdepends=('perl: use perl based examples')
+replaces=('acpid2')
+backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything')
+source=("http://downloads.sourceforge.net/sourceforge/acpid2/$pkgname-$pkgver.tar.xz"
+        'acpid.service'
+        'anything'
+        'handler.sh')
+md5sums=('d7bcdcdefcd53b03730e50ba842554ea'
+         'b9a9810eefae2142e20c965c01b410de'
+         '2d37b98d6e74bab815604b8b48c6cfd4'
+         '47f44ff5f02685dce8bcdab8568f0c38')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sbindir=/usr/bin
+  make
+}
+
+package() {
+  pushd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  popd
+
+  # default config
+  install -Dm644 anything "$pkgdir/etc/acpi/events/anything"
+  install -Dm755 handler.sh "$pkgdir/etc/acpi/handler.sh"
+
+  # systemd
+  install -Dm644 acpid.service "$pkgdir/usr/lib/systemd/system/acpid.service"
+
+  # fix acpid rights
+  chmod 755 "$pkgdir/usr/bin/acpid"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-x86_64/acpid.service
===================================================================
--- community-x86_64/acpid.service	2014-12-07 01:50:40 UTC (rev 123565)
+++ community-x86_64/acpid.service	2014-12-07 01:51:02 UTC (rev 123566)
@@ -1,12 +0,0 @@
-[Unit]
-Description=ACPI event daemon
-Documentation=man:acpid(8)
-Requires=acpid.socket systemd-udev-settle.service
-After=systemd-udev-settle.service
-
-[Service]
-ExecStart=/usr/bin/acpid -f
-
-[Install]
-WantedBy=multi-user.target
-Also=acpid.socket

Copied: acpid/repos/community-x86_64/acpid.service (from rev 123565, acpid/trunk/acpid.service)
===================================================================
--- community-x86_64/acpid.service	                        (rev 0)
+++ community-x86_64/acpid.service	2014-12-07 01:51:02 UTC (rev 123566)
@@ -0,0 +1,9 @@
+[Unit]
+Description=ACPI event daemon
+Documentation=man:acpid(8)
+
+[Service]
+ExecStart=/usr/bin/acpid --foreground --netlink
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/acpid.socket
===================================================================
--- community-x86_64/acpid.socket	2014-12-07 01:50:40 UTC (rev 123565)
+++ community-x86_64/acpid.socket	2014-12-07 01:51:02 UTC (rev 123566)
@@ -1,8 +0,0 @@
-[Unit]
-Description=ACPID Listen Socket
-
-[Socket]
-ListenStream=/var/run/acpid.socket
-
-[Install]
-WantedBy=sockets.target

Deleted: community-x86_64/anything
===================================================================
--- community-x86_64/anything	2014-12-07 01:50:40 UTC (rev 123565)
+++ community-x86_64/anything	2014-12-07 01:51:02 UTC (rev 123566)
@@ -1,3 +0,0 @@
-# Pass all events to our one handler script
-event=.*
-action=/etc/acpi/handler.sh %e

Copied: acpid/repos/community-x86_64/anything (from rev 123565, acpid/trunk/anything)
===================================================================
--- community-x86_64/anything	                        (rev 0)
+++ community-x86_64/anything	2014-12-07 01:51:02 UTC (rev 123566)
@@ -0,0 +1,3 @@
+# Pass all events to our one handler script
+event=.*
+action=/etc/acpi/handler.sh %e

Deleted: community-x86_64/handler.sh
===================================================================
--- community-x86_64/handler.sh	2014-12-07 01:50:40 UTC (rev 123565)
+++ community-x86_64/handler.sh	2014-12-07 01:51:02 UTC (rev 123566)
@@ -1,77 +0,0 @@
-#!/bin/bash
-# Default acpi script that takes an entry for all actions
-
-case "$1" in
-    button/power)
-        case "$2" in
-            PBTN|PWRF)
-                logger 'PowerButton pressed'
-                ;;
-            *)
-                logger "ACPI action undefined: $2"
-                ;;
-        esac
-        ;;
-    button/sleep)
-        case "$2" in
-            SLPB|SBTN)
-                logger 'SleepButton pressed'
-                ;;
-            *)
-                logger "ACPI action undefined: $2"
-                ;;
-        esac
-        ;;
-    ac_adapter)
-        case "$2" in
-            AC|ACAD|ADP0)
-                case "$4" in
-                    00000000)
-                        logger 'AC unpluged'
-                        ;;
-                    00000001)
-                        logger 'AC pluged'
-                        ;;
-                esac
-                ;;
-            *)
-                logger "ACPI action undefined: $2"
-                ;;
-        esac
-        ;;
-    battery)
-        case "$2" in
-            BAT0)
-                case "$4" in
-                    00000000)
-                        logger 'Battery online'
-                        ;;
-                    00000001)
-                        logger 'Battery offline'
-                        ;;
-                esac
-                ;;
-            CPU0)
-                ;;
-            *)  logger "ACPI action undefined: $2" ;;
-        esac
-        ;;
-    button/lid)
-        case "$3" in
-            close)
-                logger 'LID closed'
-                ;;
-            open)
-                logger 'LID opened'
-                ;;
-            *)
-                logger "ACPI action undefined: $3"
-                ;;
-    esac
-    ;;
-    *)
-        logger "ACPI group/action undefined: $1 / $2"
-        ;;
-esac
-
-# vim:set ts=4 sw=4 ft=sh et:

Copied: acpid/repos/community-x86_64/handler.sh (from rev 123565, acpid/trunk/handler.sh)
===================================================================
--- community-x86_64/handler.sh	                        (rev 0)
+++ community-x86_64/handler.sh	2014-12-07 01:51:02 UTC (rev 123566)
@@ -0,0 +1,77 @@
+#!/bin/bash
+# Default acpi script that takes an entry for all actions
+
+case "$1" in
+    button/power)
+        case "$2" in
+            PBTN|PWRF)
+                logger 'PowerButton pressed'
+                ;;
+            *)
+                logger "ACPI action undefined: $2"
+                ;;
+        esac
+        ;;
+    button/sleep)
+        case "$2" in
+            SLPB|SBTN)
+                logger 'SleepButton pressed'
+                ;;
+            *)
+                logger "ACPI action undefined: $2"
+                ;;
+        esac
+        ;;
+    ac_adapter)
+        case "$2" in
+            AC|ACAD|ADP0)
+                case "$4" in
+                    00000000)
+                        logger 'AC unpluged'
+                        ;;
+                    00000001)
+                        logger 'AC pluged'
+                        ;;
+                esac
+                ;;
+            *)
+                logger "ACPI action undefined: $2"
+                ;;
+        esac
+        ;;
+    battery)
+        case "$2" in
+            BAT0)
+                case "$4" in
+                    00000000)
+                        logger 'Battery online'
+                        ;;
+                    00000001)
+                        logger 'Battery offline'
+                        ;;
+                esac
+                ;;
+            CPU0)
+                ;;
+            *)  logger "ACPI action undefined: $2" ;;
+        esac
+        ;;
+    button/lid)
+        case "$3" in
+            close)
+                logger 'LID closed'
+                ;;
+            open)
+                logger 'LID opened'
+                ;;
+            *)
+                logger "ACPI action undefined: $3"
+                ;;
+    esac
+    ;;
+    *)
+        logger "ACPI group/action undefined: $1 / $2"
+        ;;
+esac
+
+# vim:set ts=4 sw=4 ft=sh et:



More information about the arch-commits mailing list