From b139e0e24bbb8a9e8b4a1138a5b083aee361df3a Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sat, 30 Jan 2016 14:58:30 +0000
Subject: acpid: update to 2.0.26

---
 abs/core/acpid/PKGBUILD      | 11 ++++-------
 abs/core/acpid/acpid.service |  5 ++---
 abs/core/acpid/acpid.socket  |  8 --------
 3 files changed, 6 insertions(+), 18 deletions(-)
 delete mode 100644 abs/core/acpid/acpid.socket

diff --git a/abs/core/acpid/PKGBUILD b/abs/core/acpid/PKGBUILD
index 8cd7875..cb80ca0 100644
--- a/abs/core/acpid/PKGBUILD
+++ b/abs/core/acpid/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 97250 2013-09-15 20:35:17Z seblu $
+# $Id$
 # Maintainer: Sébastien Luttringer
 # Contributor: xduugu
 # Contributor: Manolis Tzanidakis
 # Contributor: Jonathan Schmidt <j.schmidt@archlinux.us
 
 pkgname=acpid
-pkgver=2.0.20
+pkgver=2.0.26
 pkgrel=1
 pkgdesc='A daemon for delivering ACPI power management events with netlink support'
 arch=('i686' 'x86_64')
@@ -16,7 +16,6 @@ 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')
@@ -37,7 +36,6 @@ package() {
   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
@@ -45,8 +43,7 @@ package() {
 }
 
 # vim:set ts=2 sw=2 et:
-md5sums=('1b740e6419cf45aaeb2bd78d589f27f9'
-         'd11700eb136e0489835ddaf977a7905b'
-         '79cc7a9dceacdeffd51f070c2ba5f023'
+md5sums=('f6d772e35ed907f1cc14ad1a546fd473'
+         'b9a9810eefae2142e20c965c01b410de'
          '2d37b98d6e74bab815604b8b48c6cfd4'
          'e97277eb1937c7ffe92a95fa60c073e4')
diff --git a/abs/core/acpid/acpid.service b/abs/core/acpid/acpid.service
index 022f72a..f2f5f74 100644
--- a/abs/core/acpid/acpid.service
+++ b/abs/core/acpid/acpid.service
@@ -1,10 +1,9 @@
 [Unit]
 Description=ACPI event daemon
-Requires=acpid.socket
+Documentation=man:acpid(8)
 
 [Service]
-ExecStart=/usr/bin/acpid -f
+ExecStart=/usr/bin/acpid --foreground --netlink
 
 [Install]
 WantedBy=multi-user.target
-Also=acpid.socket
diff --git a/abs/core/acpid/acpid.socket b/abs/core/acpid/acpid.socket
deleted file mode 100644
index 1b23f87..0000000
--- a/abs/core/acpid/acpid.socket
+++ /dev/null
@@ -1,8 +0,0 @@
-[Unit]
-Description=ACPID Listen Socket
-
-[Socket]
-ListenStream=/var/run/acpid.socket
-
-[Install]
-WantedBy=sockets.target
-- 
cgit v0.12

