Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/files/
Date: Wed, 24 Aug 2016 10:38:20
Message-Id: 1472035074.1dcabbd4dd68fa9fa9d06a18f58db5ab1c081afa.pacho@gentoo
1 commit: 1dcabbd4dd68fa9fa9d06a18f58db5ab1c081afa
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 24 10:34:49 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 24 10:37:54 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dcabbd4
7
8 app-misc/lirc: Drop old
9
10 Package-Manager: portage-2.3.0
11
12 app-misc/lirc/files/irexec-initd | 28 ----------------------------
13 app-misc/lirc/files/irexec-initd-0.9.4a-r1 | 28 ----------------------------
14 2 files changed, 56 deletions(-)
15
16 diff --git a/app-misc/lirc/files/irexec-initd b/app-misc/lirc/files/irexec-initd
17 deleted file mode 100644
18 index 377ca0d..00000000
19 --- a/app-misc/lirc/files/irexec-initd
20 +++ /dev/null
21 @@ -1,28 +0,0 @@
22 -#!/sbin/runscript
23 -# Copyright 2003 Martin Hierling <mad@×××××××××××.de>
24 -# Distributed under the terms of the GNU General Public License v2
25 -# $Id$
26 -
27 -: ${IREXEC_USER:=root}
28 -
29 -depend() {
30 - need lircd
31 -}
32 -
33 -start() {
34 - if [ "x${IREXEC_USER}" = "xroot" -a "x${IREXEC_DISABLE_ROOT_WARNING}" != "xyes" ]; then
35 - ewarn "Warning: Running irexec as root can open security holes"
36 - fi
37 -
38 - ebegin "Starting irexec"
39 - start-stop-daemon --start --chuid ${IREXEC_USER} --user ${IREXEC_USER} --chdir / \
40 - --exec /usr/bin/irexec -- --daemon ${IREXEC_OPTS}
41 - eend $? "Failed to start irexec."
42 -}
43 -
44 -stop() {
45 - ebegin "Stopping irexec"
46 - start-stop-daemon --stop --exec /usr/bin/irexec --user ${IREXEC_USER}
47 - eend $? "Failed to stop irexec."
48 -}
49 -
50
51 diff --git a/app-misc/lirc/files/irexec-initd-0.9.4a-r1 b/app-misc/lirc/files/irexec-initd-0.9.4a-r1
52 deleted file mode 100644
53 index 203ad3a..00000000
54 --- a/app-misc/lirc/files/irexec-initd-0.9.4a-r1
55 +++ /dev/null
56 @@ -1,28 +0,0 @@
57 -#!/sbin/openrc-run
58 -# Copyright 2003 Martin Hierling <mad@×××××××××××.de>
59 -# Distributed under the terms of the GNU General Public License v2
60 -# $Id$
61 -
62 -: ${IREXEC_USER:=root}
63 -
64 -depend() {
65 - need lircd
66 -}
67 -
68 -start() {
69 - if [ "x${IREXEC_USER}" = "xroot" -a "x${IREXEC_DISABLE_ROOT_WARNING}" != "xyes" ]; then
70 - ewarn "Warning: Running irexec as root can open security holes"
71 - fi
72 -
73 - ebegin "Starting irexec"
74 - start-stop-daemon --start --chuid ${IREXEC_USER} --user ${IREXEC_USER} --chdir / \
75 - --exec /usr/bin/irexec -- --daemon ${IREXEC_OPTS}
76 - eend $? "Failed to start irexec."
77 -}
78 -
79 -stop() {
80 - ebegin "Stopping irexec"
81 - start-stop-daemon --stop --exec /usr/bin/irexec --user ${IREXEC_USER}
82 - eend $? "Failed to stop irexec."
83 -}
84 -