[gentoo-commits] repo/gentoo:master commit in: net-misc/udpxy/, net-misc/udpxy/files/
commit: 9c92c03392c89e1a99f3f9b42297d5ddf3ba9a05 Author: Jakov Smolic sartura hr> AuthorDate: Thu Apr 29 22:55:51 2021 + Commit: Sam James gentoo org> CommitDate: Tue May 4 22:17:11 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c92c033 net-misc/udpxy: Respect CFLAGS Closes: https://bugs.gentoo.org/725238 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: Sam James gentoo.org> net-misc/udpxy/files/udpxy-1.0.23.7-cflags.patch | 12 net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild | 4 2 files changed, 16 insertions(+) diff --git a/net-misc/udpxy/files/udpxy-1.0.23.7-cflags.patch b/net-misc/udpxy/files/udpxy-1.0.23.7-cflags.patch new file mode 100644 index 000..b2b8ba1c3b8 --- /dev/null +++ b/net-misc/udpxy/files/udpxy-1.0.23.7-cflags.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/725238 +--- a/Makefile b/Makefile +@@ -100,7 +100,7 @@ CORES := core.* core + debug ldebug rdebug lean verify touch incbuild + + .c.o : +- $(CC) $(ALL_CFLAGS) $(CPPFLAGS) $(CDEFS) $(COPT) -c $< -o $@ ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(CDEFS) $(COPT) -c $< -o $@ + + release: + @echo -e "\nMaking a [release] version (use 'debug' target as an alternative)\n" diff --git a/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild b/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild index 73364f91047..ab57d61e4a3 100644 --- a/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild +++ b/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild @@ -15,6 +15,10 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" +PATCHES=( + "${FILESDIR}"/${P}-cflags.patch +) + src_prepare() { default
[gentoo-commits] repo/gentoo:master commit in: net-misc/udpxy/, net-misc/udpxy/files/
commit: 572f9e8d220e56466b05b09562b4fb876555069a Author: Austin English gentoo org> AuthorDate: Wed May 4 00:56:37 2016 + Commit: Austin English gentoo org> CommitDate: Wed May 4 00:56:37 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=572f9e8d net-misc/udpxy: use #!/sbin/openrc-run instead of #!/sbin/runscript Gentoo-Bug: https://bugs.gentoo.org/573846 Package-Manager: portage-2.2.26 net-misc/udpxy/files/udpxy.initd| 4 ++-- net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild | 34 + 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/net-misc/udpxy/files/udpxy.initd b/net-misc/udpxy/files/udpxy.initd index c5bc1be..7a698d8 100644 --- a/net-misc/udpxy/files/udpxy.initd +++ b/net-misc/udpxy/files/udpxy.initd @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild b/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild new file mode 100644 index 000..f188248 --- /dev/null +++ b/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +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" +HOMEPAGE="http://sourceforge.net/projects/udpxy/; +SRC_URI="http://www.udpxy.com/download/1_23/${PN}.${MY_PV}-prod.tar.gz; + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_prepare() { + eapply_user + tc-export CC +} + +src_install() { + dobin udpxy + dosym udpxy /usr/bin/udpxrec + + doman doc/en/*.1 + dodoc CHANGES README + + newinitd "${FILESDIR}/${PN}.initd" ${PN} + newconfd "${FILESDIR}/${PN}.confd" ${PN} + systemd_dounit "${FILESDIR}/${PN}.service" +}