From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 77CC413832E for ; Thu, 11 Aug 2016 21:05:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7027B21C16C; Thu, 11 Aug 2016 21:05:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EB03621C16C for ; Thu, 11 Aug 2016 21:05:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 490933409C8 for ; Thu, 11 Aug 2016 21:05:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 83B618DE for ; Thu, 11 Aug 2016 21:05:23 +0000 (UTC) From: "Andrew Savchenko" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Savchenko" Message-ID: <1470949494.c53d802f26d0b15a041d346a27dc58cbbdcac59f.bircoph@gentoo> Subject: [gentoo-commits] dev/bircoph:master commit in: net-misc/prtunnel/ X-VCS-Repository: dev/bircoph X-VCS-Files: net-misc/prtunnel/metadata.xml net-misc/prtunnel/prtunnel-0.2.7.ebuild X-VCS-Directories: net-misc/prtunnel/ X-VCS-Committer: bircoph X-VCS-Committer-Name: Andrew Savchenko X-VCS-Revision: c53d802f26d0b15a041d346a27dc58cbbdcac59f X-VCS-Branch: master Date: Thu, 11 Aug 2016 21:05:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ba5fdd0b-2247-4935-b2f3-0f401cb09e81 X-Archives-Hash: 7b3405368589069ae528685b1dcf5985 commit: c53d802f26d0b15a041d346a27dc58cbbdcac59f Author: Andrew Savchenko gentoo org> AuthorDate: Thu Aug 11 21:04:54 2016 +0000 Commit: Andrew Savchenko gentoo 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 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 @@ - - bircoph@gentoo.org - Andrew Savchenko + + bircoph@gentoo.org + Andrew Savchenko + +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 + 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 }