summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Klopfenstein <benklop@gmail.com>2015-08-05 04:40:56 -0600
committerBen Klopfenstein <benklop@gmail.com>2015-08-05 04:40:56 -0600
commita3e5119e18a8ad24addee8db0f208d567a0eff21 (patch)
tree06179cea73dc520ec473086cba25c628cade687c /app-misc/lirc/lirc-0.9.2a-r1.ebuild
parentnew LCDProc, with the us2066 driver (diff)
downloadbenklop-a3e5119e18a8ad24addee8db0f208d567a0eff21.tar.gz
benklop-a3e5119e18a8ad24addee8db0f208d567a0eff21.tar.bz2
benklop-a3e5119e18a8ad24addee8db0f208d567a0eff21.zip
fix adding users for mplugd and lirc
Diffstat (limited to 'app-misc/lirc/lirc-0.9.2a-r1.ebuild')
-rw-r--r--app-misc/lirc/lirc-0.9.2a-r1.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/app-misc/lirc/lirc-0.9.2a-r1.ebuild b/app-misc/lirc/lirc-0.9.2a-r1.ebuild
index fbbbaa0..1643c67 100644
--- a/app-misc/lirc/lirc-0.9.2a-r1.ebuild
+++ b/app-misc/lirc/lirc-0.9.2a-r1.ebuild
@@ -3,7 +3,7 @@
# $Header: $
EAPI=5
-inherit systemd
+inherit systemd user
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
HOMEPAGE="http://www.lirc.org/"
@@ -26,12 +26,11 @@ DEPEND="x11-libs/libX11
x11-libs/libICE
"
RDEPEND="${DEPEND}"
-
-src_install() {
- systemd_dounit "${FILESDIR}"/lircd.service
+src_prepare() {
+ epatch "${FILESDIR}/lircd.service.patch"
}
pkg_preinst() {
enewgroup lirc
- enewuser lirc -1 /bin/false /dev/null "lirc,daemon"
+ enewuser lirc -1 -1 -1 "lirc,daemon"
}