summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2009-09-16 21:16:36 +0000
committerAlin Năstac <mrness@gentoo.org>2009-09-16 21:16:36 +0000
commit64bdbb55f9ad938b864c6316ae2917b3036de336 (patch)
treeebf77a35bcc9d60eb91e688ae8f49db1858be67a /net-proxy
parentClean up old revisions, closes: #226543. (diff)
downloadgentoo-2-64bdbb55f9ad938b864c6316ae2917b3036de336.tar.gz
gentoo-2-64bdbb55f9ad938b864c6316ae2917b3036de336.tar.bz2
gentoo-2-64bdbb55f9ad938b864c6316ae2917b3036de336.zip
Version bump (#284845).
Migrate to EAPI 2. Add -fno-strict-aliasing for fixing type punned compiler warnings. (Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/pingtunnel/ChangeLog10
-rw-r--r--net-proxy/pingtunnel/pingtunnel-0.71.ebuild35
2 files changed, 43 insertions, 2 deletions
diff --git a/net-proxy/pingtunnel/ChangeLog b/net-proxy/pingtunnel/ChangeLog
index 43d05240f182..3aa6a003650d 100644
--- a/net-proxy/pingtunnel/ChangeLog
+++ b/net-proxy/pingtunnel/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-proxy/pingtunnel
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/pingtunnel/ChangeLog,v 1.3 2006/01/06 11:39:14 mrness Exp $
+# 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 $
+
+*pingtunnel-0.71 (16 Sep 2009)
+
+ 16 Sep 2009; Alin Năstac <mrness@gentoo.org> +pingtunnel-0.71.ebuild:
+ Version bump (#284845). Migrate to EAPI 2. Add -fno-strict-aliasing for
+ fixing type punned compiler warnings.
06 Jan 2006; Alin Nastac <mrness@gentoo.org> pingtunnel-0.61.ebuild:
Add suplementary documentation depending on doc useflag (#117528).
diff --git a/net-proxy/pingtunnel/pingtunnel-0.71.ebuild b/net-proxy/pingtunnel/pingtunnel-0.71.ebuild
new file mode 100644
index 000000000000..705fa57791bf
--- /dev/null
+++ b/net-proxy/pingtunnel/pingtunnel-0.71.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/pingtunnel/pingtunnel-0.71.ebuild,v 1.1 2009/09/16 21:16:36 mrness Exp $
+
+EAPI="2"
+
+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 '/^CC[[:space:]]/d' \
+ -e '/^CFLAGS/s:=.*:+= -Wall -fno-strict-aliasing:' \
+ -e '/^LDOPTS/s:$: $(LDFLAGS):' \
+ Makefile
+}
+
+src_install() {
+ emake prefix="${D}/usr" install || die "emake install has failed"
+ dodoc CHANGELOG README
+ if use doc ; then
+ dohtml web/*
+ fi
+}