From 8d7853789503b6b9a08330a4c84856e01cfa934b Mon Sep 17 00:00:00 2001 From: geos_one Date: Fri, 11 May 2007 17:28:43 +0000 Subject: [PATCH] Update Irtrans Server --- .../linamh/app-misc/irtrans-irserver/Manifest | 7 ++++ .../files/digest-irtrans-irserver-5.8.01-r1 | 3 ++ .../files/irtrans-server.initd | 2 +- .../irtrans-irserver-5.8.01-r1.ebuild | 41 +++++++++++++++++++ .../irtrans-irserver-5.8.01.ebuild | 2 - 5 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 trunk/linamh/app-misc/irtrans-irserver/files/digest-irtrans-irserver-5.8.01-r1 create mode 100644 trunk/linamh/app-misc/irtrans-irserver/irtrans-irserver-5.8.01-r1.ebuild diff --git a/trunk/linamh/app-misc/irtrans-irserver/Manifest b/trunk/linamh/app-misc/irtrans-irserver/Manifest index 0ebb27d..edf7b28 100644 --- a/trunk/linamh/app-misc/irtrans-irserver/Manifest +++ b/trunk/linamh/app-misc/irtrans-irserver/Manifest @@ -11,6 +11,10 @@ MD5 edf1702ad0ef03e828dd39c7b125015f files/irtrans-server.initd 614 RMD160 1526085fd3977db8ab422e555929845269b14010 files/irtrans-server.initd 614 SHA256 e45da6dba983972af62fae97e19faffe99912ed9116a3abf1c4ca6fa075360a9 files/irtrans-server.initd 614 DIST irserver-src.tar.gz 121844 RMD160 fa3195c6e5605a0efd33e9fc605fb52422d79c9b SHA1 0a9967e3712ebad8b45a6f5cf6f556b85c6789df SHA256 412e33e593e9237876bad9a94f12a99b7e5177557be85731fe2400b4a96925ce +EBUILD irtrans-irserver-5.8.01-r1.ebuild 969 RMD160 e98539b9c50447458ed06b0f528f453f2685ccf4 SHA1 e08589df54683260e3fb337d1b4ef2f53a352057 SHA256 a627000f24cdc8f779f35615d89b41aa2fd7cdfc39859715e84bab81bc81a17b +MD5 ddf41681af38ac293414f813b0a2e2b7 irtrans-irserver-5.8.01-r1.ebuild 969 +RMD160 e98539b9c50447458ed06b0f528f453f2685ccf4 irtrans-irserver-5.8.01-r1.ebuild 969 +SHA256 a627000f24cdc8f779f35615d89b41aa2fd7cdfc39859715e84bab81bc81a17b irtrans-irserver-5.8.01-r1.ebuild 969 EBUILD irtrans-irserver-5.8.01.ebuild 968 RMD160 d22635cf6d6ac5d0a01b79decfd404e663edcaf1 SHA1 a941be17d9cc85286bd7e009004c185bdcd5c004 SHA256 5984cd6f1715b8434373d535a106d41cb694101f36249d468cc4cf3253d2a381 MD5 2f7e3c64f712b08ca55b3f0d342ee758 irtrans-irserver-5.8.01.ebuild 968 RMD160 d22635cf6d6ac5d0a01b79decfd404e663edcaf1 irtrans-irserver-5.8.01.ebuild 968 @@ -18,3 +22,6 @@ SHA256 5984cd6f1715b8434373d535a106d41cb694101f36249d468cc4cf3253d2a381 irtrans- MD5 468370d5bf3aef4d72189d3f4bd04daa files/digest-irtrans-irserver-5.8.01 238 RMD160 6782fa98b5071f0f6631f5bbf88d57e4fb3faf10 files/digest-irtrans-irserver-5.8.01 238 SHA256 20099a65107178ad6aecd004f5697c2d0817a5f21e59d29c97ee0959aeefc44c files/digest-irtrans-irserver-5.8.01 238 +MD5 468370d5bf3aef4d72189d3f4bd04daa files/digest-irtrans-irserver-5.8.01-r1 238 +RMD160 6782fa98b5071f0f6631f5bbf88d57e4fb3faf10 files/digest-irtrans-irserver-5.8.01-r1 238 +SHA256 20099a65107178ad6aecd004f5697c2d0817a5f21e59d29c97ee0959aeefc44c files/digest-irtrans-irserver-5.8.01-r1 238 diff --git a/trunk/linamh/app-misc/irtrans-irserver/files/digest-irtrans-irserver-5.8.01-r1 b/trunk/linamh/app-misc/irtrans-irserver/files/digest-irtrans-irserver-5.8.01-r1 new file mode 100644 index 0000000..aa2075d --- /dev/null +++ b/trunk/linamh/app-misc/irtrans-irserver/files/digest-irtrans-irserver-5.8.01-r1 @@ -0,0 +1,3 @@ +MD5 29298133e45e3bcb58e66db9a12f5913 irserver-src.tar.gz 121844 +RMD160 fa3195c6e5605a0efd33e9fc605fb52422d79c9b irserver-src.tar.gz 121844 +SHA256 412e33e593e9237876bad9a94f12a99b7e5177557be85731fe2400b4a96925ce irserver-src.tar.gz 121844 diff --git a/trunk/linamh/app-misc/irtrans-irserver/files/irtrans-server.initd b/trunk/linamh/app-misc/irtrans-irserver/files/irtrans-server.initd index 7207d64..cd42458 100755 --- a/trunk/linamh/app-misc/irtrans-irserver/files/irtrans-server.initd +++ b/trunk/linamh/app-misc/irtrans-irserver/files/irtrans-server.initd @@ -10,7 +10,7 @@ depend() { start() { ebegin "Starting IRTrans" - eval start-stop-daemon --start --quiet --chdir /opt/irtrans/server --exec /opt/irtrans/server/bin/irserver --pidfile /var/run/irtrans-irserver.pid -- -logfile /var/log/irserver.log -loglevel "${LOGLEVEL}" -pidfile /var/run/irtrans-irserver.pid "${OPT}" "${IRDEVICE}" + eval start-stop-daemon --start --quiet --exec irserver --pidfile /var/run/irtrans-irserver.pid -- -logfile /var/log/irserver.log -loglevel "${LOGLEVEL}" -pidfile /var/run/irtrans-irserver.pid "${OPT}" "${IRDEVICE}" eend $? } diff --git a/trunk/linamh/app-misc/irtrans-irserver/irtrans-irserver-5.8.01-r1.ebuild b/trunk/linamh/app-misc/irtrans-irserver/irtrans-irserver-5.8.01-r1.ebuild new file mode 100644 index 0000000..b72df79 --- /dev/null +++ b/trunk/linamh/app-misc/irtrans-irserver/irtrans-irserver-5.8.01-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="IRTrans Server" +HOMEPAGE="http://www.irtrans.de" +SRC_URI="http://www.irtrans.de/download/Server/Linux/irserver-src.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="" + +RDEPEND="virtual/libc" + +RESTRICT="nomirror nostrip" + +src_unpack() { + unpack ${A} +} + +src_compile() { + cd ${WORKDIR} + append-flags -m32 -DLINUX -Icommon + einfo "CFLAGS=\"${CFLAGS}\"" + emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" irserver || die "emake irserver failed" + } + +src_install() { + dobin ${WORKDIR}/irserver + + keepdir /etc/irtrans/remotes + + newinitd "${FILESDIR}"/irtrans-server.initd irtrans-server + newconfd "${FILESDIR}"/irtrans-server.confd irtrans-server +} + diff --git a/trunk/linamh/app-misc/irtrans-irserver/irtrans-irserver-5.8.01.ebuild b/trunk/linamh/app-misc/irtrans-irserver/irtrans-irserver-5.8.01.ebuild index f7f6e76..b5a09db 100644 --- a/trunk/linamh/app-misc/irtrans-irserver/irtrans-irserver-5.8.01.ebuild +++ b/trunk/linamh/app-misc/irtrans-irserver/irtrans-irserver-5.8.01.ebuild @@ -38,8 +38,6 @@ src_install() { keepdir /opt/irtrans/server/remotes - doenvd "${FILESDIR}"/80irtrans-server - newinitd "${FILESDIR}"/irtrans-server.initd irtrans-server newconfd "${FILESDIR}"/irtrans-server.confd irtrans-server }