summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2007-08-16 14:07:42 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2007-08-16 14:07:42 +0000
commitea439a25d695008b398cef6eeae73a94a484e260 (patch)
tree760781f9b109d0bd714e42221341c14abc5eb7b5 /app-misc
parentStable on sparc wrt #189096 (diff)
downloadhistorical-ea439a25d695008b398cef6eeae73a94a484e260.tar.gz
historical-ea439a25d695008b398cef6eeae73a94a484e260.tar.bz2
historical-ea439a25d695008b398cef6eeae73a94a484e260.zip
initial ebuild, thanks to M.Fetka ( proxied Maintainer ) and C.Heuchober on bug #167434
Package-Manager: portage-2.1.2.11
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/irtrans-irserver/ChangeLog13
-rw-r--r--app-misc/irtrans-irserver/Manifest40
-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
-rw-r--r--app-misc/irtrans-irserver/irtrans-irserver-5.9.01.ebuild56
-rw-r--r--app-misc/irtrans-irserver/metadata.xml17
8 files changed, 180 insertions, 0 deletions
diff --git a/app-misc/irtrans-irserver/ChangeLog b/app-misc/irtrans-irserver/ChangeLog
new file mode 100644
index 000000000000..ecac86571c29
--- /dev/null
+++ b/app-misc/irtrans-irserver/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-misc/irtrans-irserver
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/irtrans-irserver/ChangeLog,v 1.1 2007/08/16 14:07:42 hd_brummy Exp $
+
+*irtrans-irserver-5.9.01 (16 Aug 2007)
+
+ 16 Aug 2007; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/irtrans-irserver-5.9.01-missing-include.diff,
+ +files/irtrans-server.confd, +files/irtrans-server.initd, +metadata.xml,
+ +irtrans-irserver-5.9.01.ebuild:
+ initial ebuild, thanks to M.Fetka ( proxied Maintainer ) and C.Heuchober on
+ bug #167434
+
diff --git a/app-misc/irtrans-irserver/Manifest b/app-misc/irtrans-irserver/Manifest
new file mode 100644
index 000000000000..46ba3e35ae32
--- /dev/null
+++ b/app-misc/irtrans-irserver/Manifest
@@ -0,0 +1,40 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX irtrans-irserver-5.9.01-missing-include.diff 360 RMD160 00b6a769191c98d5066515dc51a3205da46616d3 SHA1 dd40cf4311fc2323624f7ef3435ebe938ca346cd SHA256 7bf9a7d9c516e6e303cda1c958e07b500484ae078f92a0086cd0fb95c4d18561
+MD5 3d7a316769e4088d71f2e8ff0682b56c files/irtrans-irserver-5.9.01-missing-include.diff 360
+RMD160 00b6a769191c98d5066515dc51a3205da46616d3 files/irtrans-irserver-5.9.01-missing-include.diff 360
+SHA256 7bf9a7d9c516e6e303cda1c958e07b500484ae078f92a0086cd0fb95c4d18561 files/irtrans-irserver-5.9.01-missing-include.diff 360
+AUX irtrans-server.confd 522 RMD160 e07dcfa2632225e01d0aa072324dcf786f033266 SHA1 f4caf652fdb06a771d56b8a06757e5589501d02a SHA256 70bf4c2eb2c7a2c81293ab33537f7520ee91a0f213c1c5d480e50cfc5456125c
+MD5 b8b6a554279e85f06e94212118e00774 files/irtrans-server.confd 522
+RMD160 e07dcfa2632225e01d0aa072324dcf786f033266 files/irtrans-server.confd 522
+SHA256 70bf4c2eb2c7a2c81293ab33537f7520ee91a0f213c1c5d480e50cfc5456125c files/irtrans-server.confd 522
+AUX irtrans-server.initd 691 RMD160 e966a1bab35ffeef2e658be54f2b56d388449559 SHA1 e5c9d912e6f5d3762d96aa53304c531eed3bd67a SHA256 bf57aa30dae3ba282fd8dda7d790b7c7561891d3dfd775e58e939f6f92b75efd
+MD5 390a35049dd21d56a2c5406dbf100647 files/irtrans-server.initd 691
+RMD160 e966a1bab35ffeef2e658be54f2b56d388449559 files/irtrans-server.initd 691
+SHA256 bf57aa30dae3ba282fd8dda7d790b7c7561891d3dfd775e58e939f6f92b75efd files/irtrans-server.initd 691
+DIST irserver-5.9.01.tar.gz 201780 RMD160 241d767846366c9b27a5454f7f9063030ce73c1d SHA1 fcb7498747f6fed54dd9f3a115ade9ebece1b9c9 SHA256 7908b1f0d428ad943c1df99f2b4a12649a6786ee485be85cb5ca6af4b6e4a1af
+DIST irserver-src-5.9.01.tar.gz 131750 RMD160 16373378b0eb8d126faf81f8afa9c62c46f9b7e6 SHA1 e03916231f5cb4247c3428906ad37bfa7eba1629 SHA256 90491893f93f952a85d6db39a7700be562156bd6510cee16c1432bf6c93a7ff4
+EBUILD irtrans-irserver-5.9.01.ebuild 1220 RMD160 f3f80cf5a018dc9586a11ca3fdeb441488035d41 SHA1 116b8767d534dc8b121d9898bfa9aef78aa47dd9 SHA256 83dd3ac8544c4f54e7932fc95d13c3f239a3ae98fd6a6c55b3d063f6f0e48a61
+MD5 9c28bc48c2e2405db357cd70928089d6 irtrans-irserver-5.9.01.ebuild 1220
+RMD160 f3f80cf5a018dc9586a11ca3fdeb441488035d41 irtrans-irserver-5.9.01.ebuild 1220
+SHA256 83dd3ac8544c4f54e7932fc95d13c3f239a3ae98fd6a6c55b3d063f6f0e48a61 irtrans-irserver-5.9.01.ebuild 1220
+MISC ChangeLog 579 RMD160 bfa106f5761b46c6af0e8f041b3e690df34f3064 SHA1 fb75796f1d62dcca722d395b2952c190bc5bdaf1 SHA256 836868faf43159465f18649df6560812427ae9522c59ca76e70f15e342b82f97
+MD5 9c55634872a193593327ab95e1f49575 ChangeLog 579
+RMD160 bfa106f5761b46c6af0e8f041b3e690df34f3064 ChangeLog 579
+SHA256 836868faf43159465f18649df6560812427ae9522c59ca76e70f15e342b82f97 ChangeLog 579
+MISC metadata.xml 434 RMD160 f5c371b2dbc822ab770051681c5bcdf643188f9a SHA1 517ee2493df8d34d878b177bcfb1649640903de6 SHA256 9db7a61b2d24510fab1e37a5196171485af7d74862fc6f0888c41e1240c36ce1
+MD5 29467ae341f5a905560f63ba5facf376 metadata.xml 434
+RMD160 f5c371b2dbc822ab770051681c5bcdf643188f9a metadata.xml 434
+SHA256 9db7a61b2d24510fab1e37a5196171485af7d74862fc6f0888c41e1240c36ce1 metadata.xml 434
+MD5 76d67ca59b27c66ba6745c5518feb82a files/digest-irtrans-irserver-5.9.01 506
+RMD160 cef4d23d643ac318726c9e166d81a05deb3ed73f files/digest-irtrans-irserver-5.9.01 506
+SHA256 37048df638cc7f45828dae67b3e038c62e6153295c34b8469b191aefeac09c64 files/digest-irtrans-irserver-5.9.01 506
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+Comment: added by hd_brummy@gentoo.org
+
+iD8DBQFGxFo8dn07HTTCgIoRArhjAKCSo4+HkRsBWDbMQ41xWbGNZOtGvACffOKH
+aE5pospm55mtH23EfIPzCRw=
+=h0Hv
+-----END PGP SIGNATURE-----
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 $?
+}
diff --git a/app-misc/irtrans-irserver/irtrans-irserver-5.9.01.ebuild b/app-misc/irtrans-irserver/irtrans-irserver-5.9.01.ebuild
new file mode 100644
index 000000000000..7f793bcb7c21
--- /dev/null
+++ b/app-misc/irtrans-irserver/irtrans-irserver-5.9.01.ebuild
@@ -0,0 +1,56 @@
+# 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/irtrans-irserver-5.9.01.ebuild,v 1.1 2007/08/16 14:07:42 hd_brummy Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+RESTRICT="strip"
+
+DESCRIPTION="IRTrans Server"
+HOMEPAGE="http://www.irtrans.de"
+SRC_URI="http://ftp.mars.arge.at/irtrans/irserver-src-${PV}.tar.gz
+ http://ftp.mars.arge.at/irtrans/irserver-${PV}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=""
+
+RDEPEND="virtual/libc"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${WORKDIR}
+
+ epatch ${FILESDIR}/${P}-missing-include.diff
+}
+
+src_compile() {
+
+ append-flags -DLINUX -Icommon
+
+ if use x86 ; then
+ irbuild=irserver
+ elif use amd64 ; then
+ irbuild=irserver64
+ fi
+
+ einfo "CFLAGS=\"${CFLAGS}\""
+ emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" ${irbuild} || die "emake irserver failed"
+}
+
+src_install() {
+
+ newbin ${WORKDIR}/${irbuild} irserver
+
+ keepdir /etc/irserver/remotes
+
+ docinto remotes
+ dodoc remotes/*
+
+ newinitd "${FILESDIR}"/irtrans-server.initd irtrans-server
+ newconfd "${FILESDIR}"/irtrans-server.confd irtrans-server
+}
diff --git a/app-misc/irtrans-irserver/metadata.xml b/app-misc/irtrans-irserver/metadata.xml
new file mode 100644
index 000000000000..9a8adc9c2dc1
--- /dev/null
+++ b/app-misc/irtrans-irserver/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>mario-fetka@gmx.at</email>
+<name>Mario Fetka</name>
+<description>Proxied maintainer</description>
+</maintainer>
+
+<maintainer>
+<email>hd_brummy@gentoo.org</email>
+<name>Joerg Bornkessel</name>
+<description>Proxying maintainer</description>
+</maintainer>
+</pkgmetadata>
+