summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2012-03-15 14:33:59 +0000
committerPeter Volkov <pva@gentoo.org>2012-03-15 14:33:59 +0000
commitd56996625df82a290fe00bd072f21fff2c936a6f (patch)
tree7dfd5d7706f3d86cc4ed05c15a02f53bff3dd596 /net-misc/udpxy
parentOld. (diff)
downloadgentoo-2-d56996625df82a290fe00bd072f21fff2c936a6f.tar.gz
gentoo-2-d56996625df82a290fe00bd072f21fff2c936a6f.tar.bz2
gentoo-2-d56996625df82a290fe00bd072f21fff2c936a6f.zip
Initial commit, bug #257807. Thank Nikoli and Drew for this job.
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/udpxy')
-rw-r--r--net-misc/udpxy/ChangeLog10
-rw-r--r--net-misc/udpxy/files/udpxy-1.0.21.2-LDFLAGS.patch11
-rw-r--r--net-misc/udpxy/metadata.xml8
-rw-r--r--net-misc/udpxy/udpxy-1.0.21.2.ebuild36
4 files changed, 65 insertions, 0 deletions
diff --git a/net-misc/udpxy/ChangeLog b/net-misc/udpxy/ChangeLog
new file mode 100644
index 000000000000..668ffb8ac330
--- /dev/null
+++ b/net-misc/udpxy/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-misc/udpxy
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/udpxy/ChangeLog,v 1.1 2012/03/15 14:33:59 pva Exp $
+
+*udpxy-1.0.21.2 (15 Mar 2012)
+
+ 15 Mar 2012; Peter Volkov <pva@gentoo.org> +udpxy-1.0.21.2.ebuild,
+ +files/udpxy-1.0.21.2-LDFLAGS.patch, +metadata.xml:
+ Initial commit, bug #257807. Thank Nikoli and Drew for this job.
+
diff --git a/net-misc/udpxy/files/udpxy-1.0.21.2-LDFLAGS.patch b/net-misc/udpxy/files/udpxy-1.0.21.2-LDFLAGS.patch
new file mode 100644
index 000000000000..45f7644f92b0
--- /dev/null
+++ b/net-misc/udpxy/files/udpxy-1.0.21.2-LDFLAGS.patch
@@ -0,0 +1,11 @@
+--- Makefile.orig 2012-03-02 16:10:33.127036949 +0400
++++ Makefile 2012-03-02 16:10:35.873002619 +0400
+@@ -169,7 +169,7 @@
+
+ $(EXEC) : $(DEPFILE) $(OBJ)
+ @rm -f $(EXEC)
+- $(CC) $(CFLAGS) $(COPT) -o $(EXEC) $(OBJ)
++ $(CC) $(CFLAGS) $(COPT) -o $(EXEC) $(OBJ) $(LDFLAGS)
+ @ls -l $(EXEC)
+ ifneq (yes, $(NO_UDPXREC))
+ @rm -f $(UDPXREC)
diff --git a/net-misc/udpxy/metadata.xml b/net-misc/udpxy/metadata.xml
new file mode 100644
index 000000000000..5d829e3e4c56
--- /dev/null
+++ b/net-misc/udpxy/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>pva@gentoo.org</email>
+ <name>Peter Volkov</name>
+</maintainer>
+</pkgmetadata>
diff --git a/net-misc/udpxy/udpxy-1.0.21.2.ebuild b/net-misc/udpxy/udpxy-1.0.21.2.ebuild
new file mode 100644
index 000000000000..051735ef8813
--- /dev/null
+++ b/net-misc/udpxy/udpxy-1.0.21.2.ebuild
@@ -0,0 +1,36 @@
+# 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.ebuild,v 1.1 2012/03/15 14:33:59 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
+}