summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2007-08-16 14:07:42 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2007-08-16 14:07:42 +0000
commit57572102d3441a492ddea1f8f56986773fb5825e (patch)
tree7a54e1a19ddbc41a7b1fe2a77097394aab52b849 /app-misc/irtrans-irserver/files
parentStable on sparc wrt #189096 (diff)
downloadgentoo-2-57572102d3441a492ddea1f8f56986773fb5825e.tar.gz
gentoo-2-57572102d3441a492ddea1f8f56986773fb5825e.tar.bz2
gentoo-2-57572102d3441a492ddea1f8f56986773fb5825e.zip
initial ebuild, thanks to M.Fetka ( proxied Maintainer ) and C.Heuchober on bug #167434
(Portage version: 2.1.2.11)
Diffstat (limited to 'app-misc/irtrans-irserver/files')
-rw-r--r--app-misc/irtrans-irserver/files/digest-irtrans-irserver-5.9.016
-rw-r--r--app-misc/irtrans-irserver/files/irtrans-irserver-5.9.01-missing-include.diff13
-rw-r--r--app-misc/irtrans-irserver/files/irtrans-server.confd13
-rw-r--r--app-misc/irtrans-irserver/files/irtrans-server.initd22
4 files changed, 54 insertions, 0 deletions
diff --git a/app-misc/irtrans-irserver/files/digest-irtrans-irserver-5.9.01 b/app-misc/irtrans-irserver/files/digest-irtrans-irserver-5.9.01
new file mode 100644
index 000000000000..1d904ab6800b
--- /dev/null
+++ b/app-misc/irtrans-irserver/files/digest-irtrans-irserver-5.9.01
@@ -0,0 +1,6 @@
+MD5 bc26ed263b4b1e2f65d9d48cd0f876b6 irserver-5.9.01.tar.gz 201780
+RMD160 241d767846366c9b27a5454f7f9063030ce73c1d irserver-5.9.01.tar.gz 201780
+SHA256 7908b1f0d428ad943c1df99f2b4a12649a6786ee485be85cb5ca6af4b6e4a1af irserver-5.9.01.tar.gz 201780
+MD5 d45ff82a60aedbd18d9c5a47f690d81e irserver-src-5.9.01.tar.gz 131750
+RMD160 16373378b0eb8d126faf81f8afa9c62c46f9b7e6 irserver-src-5.9.01.tar.gz 131750
+SHA256 90491893f93f952a85d6db39a7700be562156bd6510cee16c1432bf6c93a7ff4 irserver-src-5.9.01.tar.gz 131750
diff --git a/app-misc/irtrans-irserver/files/irtrans-irserver-5.9.01-missing-include.diff b/app-misc/irtrans-irserver/files/irtrans-irserver-5.9.01-missing-include.diff
new file mode 100644
index 000000000000..7e0642a184e1
--- /dev/null
+++ b/app-misc/irtrans-irserver/files/irtrans-irserver-5.9.01-missing-include.diff
@@ -0,0 +1,13 @@
+Joerg Bornkessel <hd_brummy@gentoo.org> 16 Aug 2007
+
+diff -Naur linuxserio.c.orig linuxserio.c
+--- linuxserio.c.orig 2007-08-16 12:24:22.000000000 +0200
++++ linuxserio.c 2007-08-16 12:24:49.000000000 +0200
+@@ -13,6 +13,7 @@
+ #include <netinet/in.h>
+ #include <sys/un.h>
+ #include <arpa/inet.h>
++#include <stdlib.h>
+
+ #include "remote.h"
+ #include "errcode.h"
diff --git a/app-misc/irtrans-irserver/files/irtrans-server.confd b/app-misc/irtrans-irserver/files/irtrans-server.confd
new file mode 100644
index 000000000000..90c5525d3e4c
--- /dev/null
+++ b/app-misc/irtrans-irserver/files/irtrans-server.confd
@@ -0,0 +1,13 @@
+# Config for irtrans-server
+# $Header: /var/cvsroot/gentoo-x86/app-misc/irtrans-irserver/files/irtrans-server.confd,v 1.1 2007/08/16 14:07:42 hd_brummy Exp $
+
+# Controls which information is logged. Standard is loglevel 1.
+# Possible values are 0-4. 0=Nothing is logged. 4=debug output.
+LOGLEVEL="1"
+
+# Starts the irserver as a LINUX Service.
+# run '/usr/bin/irtrans --help' for all Parameters
+OPT="-daemon"
+
+# LINUX Devices: /dev/ttyS0 - /dev/ttySn or /dev/ttyUSB0 - /dev/ttyUSBn for USB devices
+IRDEVICE="/dev/ttyUSB0"
diff --git a/app-misc/irtrans-irserver/files/irtrans-server.initd b/app-misc/irtrans-irserver/files/irtrans-server.initd
new file mode 100644
index 000000000000..58e164ec1190
--- /dev/null
+++ b/app-misc/irtrans-irserver/files/irtrans-server.initd
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/irtrans-irserver/files/irtrans-server.initd,v 1.1 2007/08/16 14:07:42 hd_brummy Exp $
+
+depend() {
+ need net
+ before vdr
+}
+
+start() {
+ ebegin "Starting IRTrans"
+ eval start-stop-daemon --start --quiet --exec /usr/bin/irserver --pidfile /var/run/irtrans-irserver.pid \
+ -- -logfile /var/log/irserver.log -loglevel "${LOGLEVEL}" -pidfile /var/run/irtrans-irserver.pid "${OPT}" "${IRDEVICE}"
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping IRTrans"
+ start-stop-daemon --stop --quiet --pidfile /var/run/irtrans-irserver.pid
+ eend $?
+}