summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-10-02 19:03:35 +0000
committerPacho Ramos <pacho@gentoo.org>2013-10-02 19:03:35 +0000
commitf8c338de08bb837bbac32d80bd3aefc2b59ade33 (patch)
treebd853100b635e48c1396e6fee8da630209553d67 /net-misc/udpxy
parentFix trailing whitespace. (diff)
downloadgentoo-2-f8c338de08bb837bbac32d80bd3aefc2b59ade33.tar.gz
gentoo-2-f8c338de08bb837bbac32d80bd3aefc2b59ade33.tar.bz2
gentoo-2-f8c338de08bb837bbac32d80bd3aefc2b59ade33.zip
Add unit file (#486594 by nE0sIghT), drop old.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'net-misc/udpxy')
-rw-r--r--net-misc/udpxy/ChangeLog8
-rw-r--r--net-misc/udpxy/files/udpxy.service9
-rw-r--r--net-misc/udpxy/udpxy-1.0.21.2-r1.ebuild39
-rw-r--r--net-misc/udpxy/udpxy-1.0.23.7-r1.ebuild (renamed from net-misc/udpxy/udpxy-1.0.23.7.ebuild)10
4 files changed, 21 insertions, 45 deletions
diff --git a/net-misc/udpxy/ChangeLog b/net-misc/udpxy/ChangeLog
index e9454a5600e9..1cf794a0707e 100644
--- a/net-misc/udpxy/ChangeLog
+++ b/net-misc/udpxy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/udpxy
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/udpxy/ChangeLog,v 1.5 2013/04/05 13:08:27 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/udpxy/ChangeLog,v 1.6 2013/10/02 19:03:35 pacho Exp $
+
+*udpxy-1.0.23.7-r1 (02 Oct 2013)
+
+ 02 Oct 2013; Pacho Ramos <pacho@gentoo.org> +files/udpxy.service,
+ +udpxy-1.0.23.7-r1.ebuild, -udpxy-1.0.21.2-r1.ebuild, -udpxy-1.0.23.7.ebuild:
+ Add unit file (#486594 by nE0sIghT), drop old.
*udpxy-1.0.23.7 (05 Apr 2013)
diff --git a/net-misc/udpxy/files/udpxy.service b/net-misc/udpxy/files/udpxy.service
new file mode 100644
index 000000000000..35ee208ed5dc
--- /dev/null
+++ b/net-misc/udpxy/files/udpxy.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=UDP-to-HTTP multicast traffic relay daemon
+After=syslog.target network.target
+
+[Service]
+ExecStart=/usr/bin/udpxy -T -p 4022
+
+[Install]
+WantedBy=multi-user.target
diff --git a/net-misc/udpxy/udpxy-1.0.21.2-r1.ebuild b/net-misc/udpxy/udpxy-1.0.21.2-r1.ebuild
deleted file mode 100644
index 98d9f460b42f..000000000000
--- a/net-misc/udpxy/udpxy-1.0.21.2-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/udpxy/udpxy-1.0.21.2-r1.ebuild,v 1.2 2012/03/22 11:14:46 pva Exp $
-
-EAPI="4"
-
-inherit toolchain-funcs eutils versionator
-
-MY_PV=$(replace_version_separator 3 -)
-DESCRIPTION="small-footprint daemon to relay multicast UDP traffic to client's TCP (HTTP) connection"
-HOMEPAGE="http://sourceforge.net/projects/udpxy/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}.${MY_PV}-prod.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=""
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-LDFLAGS.patch"
-}
-
-src_configure() {
- tc-export CC
-}
-
-src_install() {
- dobin udpxy
- dosym udpxy /usr/bin/udpxrec
-
- dodoc README CHANGES
- newinitd "${FILESDIR}/${PN}.initd" ${PN}
- newconfd "${FILESDIR}/${PN}.confd" ${PN}
-}
diff --git a/net-misc/udpxy/udpxy-1.0.23.7.ebuild b/net-misc/udpxy/udpxy-1.0.23.7-r1.ebuild
index 71cb40eac085..c994dc582655 100644
--- a/net-misc/udpxy/udpxy-1.0.23.7.ebuild
+++ b/net-misc/udpxy/udpxy-1.0.23.7-r1.ebuild
@@ -1,13 +1,12 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/udpxy/udpxy-1.0.23.7.ebuild,v 1.1 2013/04/05 13:08:27 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/udpxy/udpxy-1.0.23.7-r1.ebuild,v 1.1 2013/10/02 19:03:35 pacho Exp $
-EAPI="5"
-
-inherit eutils toolchain-funcs versionator
+EAPI=5
+inherit eutils systemd toolchain-funcs versionator
MY_PV=$(replace_version_separator 3 -)
-DESCRIPTION="small-footprint daemon to relay multicast UDP traffic to client's TCP (HTTP) connection"
+DESCRIPTION="Small-footprint daemon to relay multicast UDP traffic to client's TCP (HTTP) connection"
HOMEPAGE="http://sourceforge.net/projects/udpxy/"
SRC_URI="http://www.udpxy.com/download/1_23/${PN}.${MY_PV}-prod.tar.gz"
@@ -31,4 +30,5 @@ src_install() {
newinitd "${FILESDIR}/${PN}.initd" ${PN}
newconfd "${FILESDIR}/${PN}.confd" ${PN}
+ systemd_dounit "${FILESDIR}/${PN}.service"
}