[arch-commits] Commit in acpid/trunk (PKGBUILD acpid.service acpid.socket)

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


    Date: Sunday, December 7, 2014 @ 02:50:40
  Author: seblu
Revision: 123565

upgpkg: acpid 2.0.23-4

- remove acpid.socket: not currently working and not really usefull as socket is used to inform of acpid events detected by daemon.
- remove after/req to udev-settle: using --netlink do the tricks and should prevent boot hand (FS#43023)

Modified:
  acpid/trunk/PKGBUILD
  acpid/trunk/acpid.service
Deleted:
  acpid/trunk/acpid.socket

---------------+
 PKGBUILD      |    7 ++-----
 acpid.service |    5 +----
 acpid.socket  |    8 --------
 3 files changed, 3 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-12-07 00:37:31 UTC (rev 123564)
+++ PKGBUILD	2014-12-07 01:50:40 UTC (rev 123565)
@@ -6,7 +6,7 @@
 
 pkgname=acpid
 pkgver=2.0.23
-pkgrel=3
+pkgrel=4
 pkgdesc='A daemon for delivering ACPI power management events with netlink support'
 arch=('i686' 'x86_64')
 url='http://sourceforge.net/projects/acpid2/'
@@ -16,13 +16,11 @@
 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'
+         'b9a9810eefae2142e20c965c01b410de'
          '2d37b98d6e74bab815604b8b48c6cfd4'
          '47f44ff5f02685dce8bcdab8568f0c38')
 
@@ -42,7 +40,6 @@
   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

Modified: acpid.service
===================================================================
--- acpid.service	2014-12-07 00:37:31 UTC (rev 123564)
+++ acpid.service	2014-12-07 01:50:40 UTC (rev 123565)
@@ -1,12 +1,9 @@
 [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
+ExecStart=/usr/bin/acpid --foreground --netlink
 
 [Install]
 WantedBy=multi-user.target
-Also=acpid.socket

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



More information about the arch-commits mailing list