Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/udpxy/, net-misc/udpxy/files/
Date: Wed, 04 May 2016 01:02:50
Message-Id: 1462323397.572f9e8d220e56466b05b09562b4fb876555069a.wizardedit@gentoo
1 commit: 572f9e8d220e56466b05b09562b4fb876555069a
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 4 00:56:37 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Wed May 4 00:56:37 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=572f9e8d
7
8 net-misc/udpxy: use #!/sbin/openrc-run instead of #!/sbin/runscript
9
10 Gentoo-Bug: https://bugs.gentoo.org/573846
11
12 Package-Manager: portage-2.2.26
13
14 net-misc/udpxy/files/udpxy.initd | 4 ++--
15 net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild | 34 +++++++++++++++++++++++++++++++++
16 2 files changed, 36 insertions(+), 2 deletions(-)
17
18 diff --git a/net-misc/udpxy/files/udpxy.initd b/net-misc/udpxy/files/udpxy.initd
19 index c5bc1be..7a698d8 100644
20 --- a/net-misc/udpxy/files/udpxy.initd
21 +++ b/net-misc/udpxy/files/udpxy.initd
22 @@ -1,5 +1,5 @@
23 -#!/sbin/runscript
24 -# Copyright 1999-2012 Gentoo Foundation
25 +#!/sbin/openrc-run
26 +# Copyright 1999-2016 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 # $Id$
29
30
31 diff --git a/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild b/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild
32 new file mode 100644
33 index 0000000..f188248
34 --- /dev/null
35 +++ b/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild
36 @@ -0,0 +1,34 @@
37 +# Copyright 1999-2016 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +# $Id$
40 +
41 +EAPI=6
42 +inherit eutils systemd toolchain-funcs versionator
43 +
44 +MY_PV=$(replace_version_separator 3 -)
45 +DESCRIPTION="Small-footprint daemon to relay multicast UDP traffic to client's TCP (HTTP) connection"
46 +HOMEPAGE="http://sourceforge.net/projects/udpxy/"
47 +SRC_URI="http://www.udpxy.com/download/1_23/${PN}.${MY_PV}-prod.tar.gz"
48 +
49 +LICENSE="GPL-3"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +
53 +S="${WORKDIR}/${PN}-${MY_PV}"
54 +
55 +src_prepare() {
56 + eapply_user
57 + tc-export CC
58 +}
59 +
60 +src_install() {
61 + dobin udpxy
62 + dosym udpxy /usr/bin/udpxrec
63 +
64 + doman doc/en/*.1
65 + dodoc CHANGES README
66 +
67 + newinitd "${FILESDIR}/${PN}.initd" ${PN}
68 + newconfd "${FILESDIR}/${PN}.confd" ${PN}
69 + systemd_dounit "${FILESDIR}/${PN}.service"
70 +}