public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/bircoph:master commit in: net-misc/prtunnel/
@ 2016-08-11 21:05 Andrew Savchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Savchenko @ 2016-08-11 21:05 UTC (permalink / raw
  To: gentoo-commits

commit:     c53d802f26d0b15a041d346a27dc58cbbdcac59f
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 11 21:04:54 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Thu Aug 11 21:04:54 2016 +0000
URL:        https://gitweb.gentoo.org/dev/bircoph.git/commit/?id=c53d802f

net-misc/prtunnel: update and fixes

- bump to EAPI 6
- GLEP 67 update
- add longdescription
- cleanup ebuild
- use proper license

Package-Manager: portage-2.3.0
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 net-misc/prtunnel/metadata.xml          | 19 ++++++++++++++---
 net-misc/prtunnel/prtunnel-0.2.7.ebuild | 37 +++++++++++++--------------------
 2 files changed, 31 insertions(+), 25 deletions(-)

diff --git a/net-misc/prtunnel/metadata.xml b/net-misc/prtunnel/metadata.xml
index 38b86b8..84943f9 100644
--- a/net-misc/prtunnel/metadata.xml
+++ b/net-misc/prtunnel/metadata.xml
@@ -1,8 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer>
-  <email>bircoph@gentoo.org</email>
-  <name>Andrew Savchenko</name>
+<maintainer type="person">
+	<email>bircoph@gentoo.org</email>
+	<name>Andrew Savchenko</name>
 </maintainer>
+<longdescription>
+prtunnel can tunnel TCP/IP connections in a variety of ways, including through
+HTTP and SOCKS5 proxy servers. Some if its possible uses include:
+- Tunneling TCP connections from client programs to a remote server through an
+HTTP or SOCKS5 proxy (useful if you're behind such a proxy and want to use a
+program that doesn't have native proxy support)
+- Tunneling TCP connections from SOCKS-capable client programs through an HTTP
+or SOCKS5 proxy
+- Tunneling TCP connections from an IPv4 client program to an IPv6 server and
+vice-versa
+- Forwarding TCP connections
+- Running as a simple SOCKS proxy server
+</longdescription>
 </pkgmetadata>

diff --git a/net-misc/prtunnel/prtunnel-0.2.7.ebuild b/net-misc/prtunnel/prtunnel-0.2.7.ebuild
index 62e93bf..6a672ed 100644
--- a/net-misc/prtunnel/prtunnel-0.2.7.ebuild
+++ b/net-misc/prtunnel/prtunnel-0.2.7.ebuild
@@ -1,31 +1,24 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Id$
 
-EAPI=5
+EAPI=6
 
-DESCRIPTION="Tunnels TCP/IP connections in a variety of ways, including through HTTP and SOCKS5 proxy servers"
-HOMEPAGE="http://joshbeam.com/software/prtunnel.php"
-SRC_URI="http://joshbeam.com/files/${P}.tar.gz"
-LICENSE="BSD"
+DESCRIPTION="Tunnels TCP/IP through HTTP, SOCKS5 proxies; IPv4/IPV6 bridge"
+HOMEPAGE="http://joshbeam.com/software/prtunnel/"
+SRC_URI="https://github.com/joshb/${PN}/releases/download/${PV}/${P}.tar.gz"
+LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
 IUSE="ipv6"
-DEPEND="virtual/libc"
-RDEPEND=${DEPEND}
 
 src_prepare() {
-	sed -i -e "s:CFLAGS=:CFLAGS+=:" Makefile
-	sed -i -e "s:-o prtunnel:\$\(LDFLAGS\) -o prtunnel:" Makefile
-	use ipv6 || {
-		sed -i -e "s:CFLAGS+= -DIPV6:#CFLAGS+= -DIPV6:" Makefile
-		sed -i -e "s|direct6\.o:.*||" Makefile
-		sed -i -e "s|direct6.o ||" Makefile
-	}
-}
+	default
 
-src_install() {
-	dobin prtunnel
-	doman prtunnel.1
-	dodoc README ChangeLog
+	sed -i -e "s|PREFIX=.*|PREFIX=${EPREFIX}/usr|" \
+		   -e 's|CFLAGS=|CFLAGS+=|' \
+		   -e 's|$(CC)|$(CC) $(CFLAGS) $(LDFLAGS)|' Makefile
+	use ipv6 || sed -i -e "s|CFLAGS+= -DIPV6||" \
+					   -e "s|direct6\.o:.*||" \
+					   -e "s|direct6\.o ||" Makefile
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] dev/bircoph:master commit in: net-misc/prtunnel/
@ 2016-08-11 21:22 Andrew Savchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Savchenko @ 2016-08-11 21:22 UTC (permalink / raw
  To: gentoo-commits

commit:     5ba6327804a7c1f3dac431440f30f235ccdc0a93
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 11 21:22:16 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Thu Aug 11 21:22:16 2016 +0000
URL:        https://gitweb.gentoo.org/dev/bircoph.git/commit/?id=5ba63278

net-misc/prtunnel: fix bugs

- fix sandbox violation
- add die for sed

 net-misc/prtunnel/prtunnel-0.2.7.ebuild | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/net-misc/prtunnel/prtunnel-0.2.7.ebuild b/net-misc/prtunnel/prtunnel-0.2.7.ebuild
index 6a672ed..de21d83 100644
--- a/net-misc/prtunnel/prtunnel-0.2.7.ebuild
+++ b/net-misc/prtunnel/prtunnel-0.2.7.ebuild
@@ -15,10 +15,15 @@ IUSE="ipv6"
 src_prepare() {
 	default
 
-	sed -i -e "s|PREFIX=.*|PREFIX=${EPREFIX}/usr|" \
-		   -e 's|CFLAGS=|CFLAGS+=|' \
-		   -e 's|$(CC)|$(CC) $(CFLAGS) $(LDFLAGS)|' Makefile
+	sed -i -e 's|CFLAGS=|CFLAGS+=|' \
+		   -e 's|$(CC)|$(CC) $(CFLAGS) $(LDFLAGS)|' Makefile || die
 	use ipv6 || sed -i -e "s|CFLAGS+= -DIPV6||" \
 					   -e "s|direct6\.o:.*||" \
-					   -e "s|direct6\.o ||" Makefile
+					   -e "s|direct6\.o ||" Makefile || die
+}
+
+src_install() {
+	dobin prtunnel
+	doman prtunnel.1
+	dodoc ChangeLog README
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-11 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-11 21:22 [gentoo-commits] dev/bircoph:master commit in: net-misc/prtunnel/ Andrew Savchenko
  -- strict thread matches above, loose matches on Subject: below --
2016-08-11 21:05 Andrew Savchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox