summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-09-05 20:08:46 +0000
committerTim Harder <radhermit@gentoo.org>2011-09-05 20:08:46 +0000
commit0e58612bf95d055dd95ca6d7c8d7d0a891733e8a (patch)
tree30ce89dccdac8ab4b272d2d18a7f45b5ba8755dd /net-proxy
parentalso build libpackagekit-qt2 library, thanks to alexxy@gentoo.org for reporting (diff)
downloadgentoo-2-0e58612bf95d055dd95ca6d7c8d7d0a891733e8a.tar.gz
gentoo-2-0e58612bf95d055dd95ca6d7c8d7d0a891733e8a.tar.bz2
gentoo-2-0e58612bf95d055dd95ca6d7c8d7d0a891733e8a.zip
Version bump. Respect CC and update to EAPI 4.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/pingtunnel/ChangeLog9
-rw-r--r--net-proxy/pingtunnel/pingtunnel-0.72.ebuild40
2 files changed, 47 insertions, 2 deletions
diff --git a/net-proxy/pingtunnel/ChangeLog b/net-proxy/pingtunnel/ChangeLog
index 3aa6a003650d..35211ed7775e 100644
--- a/net-proxy/pingtunnel/ChangeLog
+++ b/net-proxy/pingtunnel/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/pingtunnel
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/pingtunnel/ChangeLog,v 1.4 2009/09/16 21:16:36 mrness Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/pingtunnel/ChangeLog,v 1.5 2011/09/05 20:08:46 radhermit Exp $
+
+*pingtunnel-0.72 (05 Sep 2011)
+
+ 05 Sep 2011; Tim Harder <radhermit@gentoo.org> +pingtunnel-0.72.ebuild:
+ Version bump. Respect CC and update to EAPI 4.
*pingtunnel-0.71 (16 Sep 2009)
diff --git a/net-proxy/pingtunnel/pingtunnel-0.72.ebuild b/net-proxy/pingtunnel/pingtunnel-0.72.ebuild
new file mode 100644
index 000000000000..e3dd1a994c86
--- /dev/null
+++ b/net-proxy/pingtunnel/pingtunnel-0.72.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/pingtunnel/pingtunnel-0.72.ebuild,v 1.1 2011/09/05 20:08:46 radhermit Exp $
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Tunnel TCP over ICMP"
+HOMEPAGE="http://www.cs.uit.no/~daniels/PingTunnel"
+SRC_URI="http://www.cs.uit.no/~daniels/PingTunnel/PingTunnel-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~sh ~x86"
+IUSE="doc"
+
+DEPEND="net-libs/libpcap"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/PingTunnel
+
+src_prepare() {
+ sed -r -i \
+ -e '/^CFLAGS/s:=.*:+= -Wall -fno-strict-aliasing:' \
+ -e '/^LDOPTS/s:$: $(LDFLAGS):' \
+ Makefile
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ emake prefix="${D}/usr" install
+ dodoc CHANGELOG README
+ if use doc ; then
+ dohtml web/*
+ fi
+}