public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/files/
@ 2016-08-24 10:38 Pacho Ramos
  0 siblings, 0 replies; 4+ messages in thread
From: Pacho Ramos @ 2016-08-24 10:38 UTC (permalink / raw
  To: gentoo-commits

commit:     1dcabbd4dd68fa9fa9d06a18f58db5ab1c081afa
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 24 10:34:49 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Aug 24 10:37:54 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dcabbd4

app-misc/lirc: Drop old

Package-Manager: portage-2.3.0

 app-misc/lirc/files/irexec-initd           | 28 ----------------------------
 app-misc/lirc/files/irexec-initd-0.9.4a-r1 | 28 ----------------------------
 2 files changed, 56 deletions(-)

diff --git a/app-misc/lirc/files/irexec-initd b/app-misc/lirc/files/irexec-initd
deleted file mode 100644
index 377ca0d..00000000
--- a/app-misc/lirc/files/irexec-initd
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/runscript
-# Copyright 2003 Martin Hierling <mad@cc.fh-lippe.de>
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-: ${IREXEC_USER:=root}
-
-depend() {
-	need lircd
-}
-
-start() {
-	if [ "x${IREXEC_USER}" = "xroot" -a "x${IREXEC_DISABLE_ROOT_WARNING}" != "xyes" ]; then
-		ewarn "Warning: Running irexec as root can open security holes"
-	fi
-
-	ebegin "Starting irexec"
-	start-stop-daemon --start --chuid ${IREXEC_USER} --user ${IREXEC_USER} --chdir / \
-		--exec /usr/bin/irexec -- --daemon ${IREXEC_OPTS}
-	eend $? "Failed to start irexec."
-}
-
-stop() {
-	ebegin "Stopping irexec"
-	start-stop-daemon --stop --exec /usr/bin/irexec --user ${IREXEC_USER}
-	eend $? "Failed to stop irexec."
-}
-

diff --git a/app-misc/lirc/files/irexec-initd-0.9.4a-r1 b/app-misc/lirc/files/irexec-initd-0.9.4a-r1
deleted file mode 100644
index 203ad3a..00000000
--- a/app-misc/lirc/files/irexec-initd-0.9.4a-r1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2003 Martin Hierling <mad@cc.fh-lippe.de>
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-: ${IREXEC_USER:=root}
-
-depend() {
-	need lircd
-}
-
-start() {
-	if [ "x${IREXEC_USER}" = "xroot" -a "x${IREXEC_DISABLE_ROOT_WARNING}" != "xyes" ]; then
-		ewarn "Warning: Running irexec as root can open security holes"
-	fi
-
-	ebegin "Starting irexec"
-	start-stop-daemon --start --chuid ${IREXEC_USER} --user ${IREXEC_USER} --chdir / \
-		--exec /usr/bin/irexec -- --daemon ${IREXEC_OPTS}
-	eend $? "Failed to start irexec."
-}
-
-stop() {
-	ebegin "Stopping irexec"
-	start-stop-daemon --stop --exec /usr/bin/irexec --user ${IREXEC_USER}
-	eend $? "Failed to stop irexec."
-}
-


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/files/
@ 2018-07-13  9:37 Tony Vroon
  0 siblings, 0 replies; 4+ messages in thread
From: Tony Vroon @ 2018-07-13  9:37 UTC (permalink / raw
  To: gentoo-commits

commit:     66141117490023fcbccca52c1d5a289f638319e0
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Jul 13 08:56:18 2018 +0000
Commit:     Tony Vroon <chainsaw <AT> gentoo <DOT> org>
CommitDate: Fri Jul 13 09:37:38 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66141117

app-misc/lirc: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/9211

 app-misc/lirc/files/lirc-0.9.4-doc-path-fix.patch | 27 -----------------------
 app-misc/lirc/files/lircmd.conf                   |  4 ----
 2 files changed, 31 deletions(-)

diff --git a/app-misc/lirc/files/lirc-0.9.4-doc-path-fix.patch b/app-misc/lirc/files/lirc-0.9.4-doc-path-fix.patch
deleted file mode 100644
index 9a2d6c2e638..00000000000
--- a/app-misc/lirc/files/lirc-0.9.4-doc-path-fix.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-https://sourceforge.net/p/lirc/tickets/214/
-
-diff --git a/doc/Makefile.am b/doc/Makefile.am
-index 53d0f21..f833b4b 100644
---- a/doc/Makefile.am
-+++ b/doc/Makefile.am
-@@ -33,7 +33,6 @@ nodist_man_MANS         += man/xmode2.1 man/irxevent.1
- manpage_html            += man-html/irxevent.html man-html/xmode2.html
- endif
- 
--docdir                  = @datadir@/doc/@PACKAGE@
- dist_doc_DATA           = irxevent.keys
- 
- if HAVE_DOXYGEN
-@@ -58,10 +57,10 @@ if HAVE_PYMOD_YAML
- nodist_website_html_DATA  += table.html
- endif
- 
--vardocsdir              = $(localstatedir)/lib/lirc/plugins
-+vardocsdir              = $(docdir)/plugins
- vardocs_DATA            = index.html html-source/lirc.css
- 
--varimagedir             = $(localstatedir)/lib/lirc/images
-+varimagedir             = $(docdir)/images
- varimage_DATA           = $(dist_image_DATA)
- 
- website_imagedir        = $(docdir)/lirc.org/images

diff --git a/app-misc/lirc/files/lircmd.conf b/app-misc/lirc/files/lircmd.conf
deleted file mode 100644
index 319362a321a..00000000000
--- a/app-misc/lirc/files/lircmd.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-# Options to pass to the lircmd process
-
-LIRCMD_OPTS="--uinput"
-


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/files/
@ 2016-04-26 17:53 Austin English
  0 siblings, 0 replies; 4+ messages in thread
From: Austin English @ 2016-04-26 17:53 UTC (permalink / raw
  To: gentoo-commits

commit:     809fbf0ecab13dfb713cc362b42a4d05dffcca87
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 26 17:45:00 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 17:53:46 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=809fbf0e

app-misc/lirc: remove unused files from ${FILESDIR}

Package-Manager: portage-2.2.26

 app-misc/lirc/files/irexec-initd  | 28 --------------------------
 app-misc/lirc/files/lircd-0.8.3   | 23 ----------------------
 app-misc/lirc/files/lircd-0.8.6   | 41 ---------------------------------------
 app-misc/lirc/files/lircd.conf.2  | 10 ----------
 app-misc/lirc/files/modulesd.lirc | 22 ---------------------
 5 files changed, 124 deletions(-)

diff --git a/app-misc/lirc/files/irexec-initd b/app-misc/lirc/files/irexec-initd
deleted file mode 100644
index 377ca0d..0000000
--- a/app-misc/lirc/files/irexec-initd
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/runscript
-# Copyright 2003 Martin Hierling <mad@cc.fh-lippe.de>
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-: ${IREXEC_USER:=root}
-
-depend() {
-	need lircd
-}
-
-start() {
-	if [ "x${IREXEC_USER}" = "xroot" -a "x${IREXEC_DISABLE_ROOT_WARNING}" != "xyes" ]; then
-		ewarn "Warning: Running irexec as root can open security holes"
-	fi
-
-	ebegin "Starting irexec"
-	start-stop-daemon --start --chuid ${IREXEC_USER} --user ${IREXEC_USER} --chdir / \
-		--exec /usr/bin/irexec -- --daemon ${IREXEC_OPTS}
-	eend $? "Failed to start irexec."
-}
-
-stop() {
-	ebegin "Stopping irexec"
-	start-stop-daemon --stop --exec /usr/bin/irexec --user ${IREXEC_USER}
-	eend $? "Failed to stop irexec."
-}
-

diff --git a/app-misc/lirc/files/lircd-0.8.3 b/app-misc/lirc/files/lircd-0.8.3
deleted file mode 100644
index 50b7cae..0000000
--- a/app-misc/lirc/files/lircd-0.8.3
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-PIDFILE=/var/run/${SVCNAME}.pid
-
-depend() {
-	provide lirc
-}
-
-start() {
-	ebegin "Starting lircd"
-	start-stop-daemon --start --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/lircd -- \
-		-P "${PIDFILE}" ${LIRCD_OPTS}
-	eend $?
-}
-
-stop() {
-	ebegin "Stopping lircd"
-	start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/lircd
-	eend $?
-}

diff --git a/app-misc/lirc/files/lircd-0.8.6 b/app-misc/lirc/files/lircd-0.8.6
deleted file mode 100644
index afa79c8..0000000
--- a/app-misc/lirc/files/lircd-0.8.6
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-PIDFILE=/var/run/lirc/${SVCNAME}.pid
-LIRCD_SYMLINKFILE=/dev/lircd
-LIRCD_SOCKET=/var/run/lirc/lircd
-
-depend() {
-	need localmount
-	use modules
-	provide lirc
-}
-
-start() {
-	local retval
-	ebegin "Starting lircd"
-	rm -f ${LIRCD_SOCKET} && ln -s ${LIRCD_SOCKET} ${LIRCD_SYMLINKFILE}
-	if [ $? -ne 0 ]; then
-		eend $? "Unable to create symbolic link ${LIRCD_SYMLINKFILE}"
-		return 1
-	fi
-
-	start-stop-daemon --start --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/lircd -- \
-		-P "${PIDFILE}" ${LIRCD_OPTS}
-	retval=$?
-
-	if [ ${retval} -ne 0 ]; then
-		rm -f ${LIRCD_SOCKET}
-	fi
-
-	eend ${retval}
-}
-
-stop() {
-	ebegin "Stopping lircd"
-	rm -f ${LIRCD_SYMLINKFILE}
-	start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/lircd
-	eend $?
-}

diff --git a/app-misc/lirc/files/lircd.conf.2 b/app-misc/lirc/files/lircd.conf.2
deleted file mode 100644
index cfda2b8..0000000
--- a/app-misc/lirc/files/lircd.conf.2
+++ /dev/null
@@ -1,10 +0,0 @@
-# Options to pass to the lircd process
-
-# for devices with lirc-kernel-module
-#LIRCD_OPTS="-d /dev/lirc0"
-#LIRCD_OPTS="-d /dev/lirc"
-
-# for devices using the input-layer
-#LIRCD_OPTS="-H devinput -d /dev/input/by-path/pci-0000:00:0a.0--event-ir"
-# This should work, Bug #235107
-#LIRCD_OPTS="-H devinput -d name=*DVB*"

diff --git a/app-misc/lirc/files/modulesd.lirc b/app-misc/lirc/files/modulesd.lirc
deleted file mode 100644
index d1838c5..0000000
--- a/app-misc/lirc/files/modulesd.lirc
+++ /dev/null
@@ -1,22 +0,0 @@
-#
-# For first serial receivers:
-#
-#options lirc_serial irq=4 io=0x3f8
-#options lirc_sir irq=4 io=0x3f8
-
-#
-# Detach first serial port from serial-driver.
-# Use this when you have your serial-port-driver statically
-# compiled into your kernel, or as a module but loaded before
-# the lirc-module.
-# 
-#pre-install lirc_serial setserial /dev/ttyS0 uart none
-#
-#pre-install lirc_sir    setserial /dev/ttyS0 uart none
-
-
-#
-# For parallel receivers:
-#
-#options lirc_parallel irq=7 io=0x3bc
-


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/files/
@ 2016-04-15 19:49 Patrice Clement
  0 siblings, 0 replies; 4+ messages in thread
From: Patrice Clement @ 2016-04-15 19:49 UTC (permalink / raw
  To: gentoo-commits

commit:     c0ed606b04e139a24a1931bb26dff5dd0dfe1753
Author:     Craig Andrews <candrews <AT> integralblue <DOT> com>
AuthorDate: Sun Apr 10 10:32:34 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Apr 15 19:35:17 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0ed606b

app-misc/lirc: fix systemd unit

Gentoo-Bug: https://bugs.gentoo.org/529210
Package-Manager: portage-2.2.28
Acked-By: Mike Gilbert <floppym <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/1225

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 app-misc/lirc/files/lirc.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-misc/lirc/files/lirc.service b/app-misc/lirc/files/lirc.service
index 6854786..e184dfc 100644
--- a/app-misc/lirc/files/lirc.service
+++ b/app-misc/lirc/files/lirc.service
@@ -3,6 +3,7 @@ Description=Linux Infrared Remote Control
 After=network.target
 
 [Service]
+RuntimeDirectory=lirc
 ExecStart=/usr/sbin/lircd --nodaemon --driver=default --device=/dev/lirc0
 
 [Install]


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-13  9:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-24 10:38 [gentoo-commits] repo/gentoo:master commit in: app-misc/lirc/files/ Pacho Ramos
  -- strict thread matches above, loose matches on Subject: below --
2018-07-13  9:37 Tony Vroon
2016-04-26 17:53 Austin English
2016-04-15 19:49 Patrice Clement

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox