pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/proxytunnel Import proxytunnel 1.9.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dcfc8fe8ecf1
branches:  trunk
changeset: 553508:dcfc8fe8ecf1
user:      sborrill <sborrill%pkgsrc.org@localhost>
date:      Fri Jan 23 13:35:30 2009 +0000

description:
Import proxytunnel 1.9.0

ProxyTunnel is a program that connects stdin and stdout to a server
somewhere on the network, through a standard HTTPS proxy. We mostly use it
to tunnel SSH sessions through HTTP(S) proxies, allowing us to do many
things that wouldn't be possible without ProxyTunnel.

diffstat:

 net/proxytunnel/DESCR                       |  18 ++++++++++++++++
 net/proxytunnel/Makefile                    |  32 +++++++++++++++++++++++++++++
 net/proxytunnel/PLIST                       |   3 ++
 net/proxytunnel/distinfo                    |   8 +++++++
 net/proxytunnel/patches/patch-Makefile      |  15 +++++++++++++
 net/proxytunnel/patches/patch-cmdline.c     |  24 +++++++++++++++++++++
 net/proxytunnel/patches/patch-proxytunnel.1 |  24 +++++++++++++++++++++
 7 files changed, 124 insertions(+), 0 deletions(-)

diffs (152 lines):

diff -r f6a00612d901 -r dcfc8fe8ecf1 net/proxytunnel/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/proxytunnel/DESCR     Fri Jan 23 13:35:30 2009 +0000
@@ -0,0 +1,18 @@
+ProxyTunnel is a program that connects stdin and stdout to a server
+somewhere on the network, through a standard HTTPS proxy. We mostly use it
+to tunnel SSH sessions through HTTP(S) proxies, allowing us to do many
+things that wouldn't be possible without ProxyTunnel.
+
+Proxytunnel can currently do the following:
+- Create tunnels using HTTP and HTTPS proxies (That understand the HTTP
+  CONNECT command).
+- Work as a back-end driver for an OpenSSH client, and create SSH connections
+  through HTTP(S) proxies.
+- Work as a stand-alone application, listening on a port for connections, and
+  then tunneling these connections to a specified destination.
+
+If you want to make effective use of ProxyTunnel, the proxy server you are
+going to be tunneling through must adhere to some requirements:
+- Must support HTTP CONNECT command
+- Must allow you to connect to destination machine and host, with or without
+  HTTP proxy authentication
diff -r f6a00612d901 -r dcfc8fe8ecf1 net/proxytunnel/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/proxytunnel/Makefile  Fri Jan 23 13:35:30 2009 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/23 13:35:30 sborrill Exp $
+#
+
+DISTNAME=      proxytunnel-1.9.0
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=proxytunnel/}
+EXTRACT_SUFX=  .tgz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://proxytunnel.sourceforge.net/
+COMMENT=       Connect stdin/stdout to a remote host through a standard HTTPS proxy
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+.include "../../mk/bsd.prefs.mk"
+
+USE_TOOLS+=    gmake
+BUILD_TARGET=  proxytunnel
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1 bin
+
+SUBST_CLASSES+=                        fix-paths
+SUBST_STAGE.fix-paths=         post-patch
+SUBST_MESSAGE.fix-paths=       Fixing absolute paths.
+SUBST_FILES.fix-paths=         proxytunnel.1
+SUBST_SED.fix-paths=           -e 's,/usr,${PREFIX},g'
+
+do-install:
+       ${INSTALL} ${WRKSRC}/proxytunnel ${DESTDIR}${PREFIX}/bin/
+       ${INSTALL_MAN} ${WRKSRC}/proxytunnel.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f6a00612d901 -r dcfc8fe8ecf1 net/proxytunnel/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/proxytunnel/PLIST     Fri Jan 23 13:35:30 2009 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/23 13:35:30 sborrill Exp $
+bin/proxytunnel
+man/man1/proxytunnel.1
diff -r f6a00612d901 -r dcfc8fe8ecf1 net/proxytunnel/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/proxytunnel/distinfo  Fri Jan 23 13:35:30 2009 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/23 13:35:30 sborrill Exp $
+
+SHA1 (proxytunnel-1.9.0.tgz) = 51d816125bb9e9bca267d35f861000eb0fa9d80b
+RMD160 (proxytunnel-1.9.0.tgz) = 5444861031fa256a5e0d2d83be297afc70137e8b
+Size (proxytunnel-1.9.0.tgz) = 46556 bytes
+SHA1 (patch-Makefile) = 21c7112f5b856916369038a91f597d30af6b5ff5
+SHA1 (patch-cmdline.c) = 6d56e2d307a2225cdd4ddb732dd64c6d9a7f48cc
+SHA1 (patch-proxytunnel.1) = 0556f23e769f2e52ef50cf952bacb9318b420228
diff -r f6a00612d901 -r dcfc8fe8ecf1 net/proxytunnel/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/proxytunnel/patches/patch-Makefile    Fri Jan 23 13:35:30 2009 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1.1.1 2009/01/23 13:35:30 sborrill Exp $
+
+Remove code which attempts to read svn revision numbers from source files for use in comments
+
+--- Makefile.orig      2009-01-23 12:55:03.000000000 +0000
++++ Makefile   2009-01-23 12:55:21.000000000 +0000
+@@ -5,7 +5,7 @@
+ CC ?= cc
+ CFLAGS ?= -Wall -O2 -ggdb
+ 
+-OPTFLAGS = -DREV=$(shell ./getrev.sh)
++#OPTFLAGS = -DREV=$(shell ./getrev.sh)
+ 
+ # Comment on non-gnu systems
+ OPTFLAGS += -DHAVE_GETOPT_LONG
diff -r f6a00612d901 -r dcfc8fe8ecf1 net/proxytunnel/patches/patch-cmdline.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/proxytunnel/patches/patch-cmdline.c   Fri Jan 23 13:35:30 2009 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-cmdline.c,v 1.1.1.1 2009/01/23 13:35:30 sborrill Exp $
+
+Remove code which attempts to read svn revision numbers from source files for use in comments
+Fix spelling mistake
+
+--- cmdline.c.orig     2009-01-23 13:00:08.000000000 +0000
++++ cmdline.c  2009-01-23 13:01:02.000000000 +0000
+@@ -38,14 +38,14 @@
+ static char *getCredentialsFromFile( const char* filename, char **user, char **pass, char **rem_user, char **rem_pass);
+ 
+ void cmdline_parser_print_version (void) {
+-      printf ("%s %s (rev %d) Copyright 2001-2008 Proxytunnel Project\n", PACKAGE, VERSION, REV);
++      printf ("%s %s Copyright 2001-2008 Proxytunnel Project\n", PACKAGE, VERSION);
+ }
+ 
+ void cmdline_parser_print_help (void) {
+       cmdline_parser_print_version ();
+       printf(
+ "Usage: %s [OPTIONS]...\n"
+-"Build generic tunnels trough HTTPS proxy's, supports HTTP authorization\n"
++"Build generic tunnels trough HTTPS proxies, supports HTTP authorization\n"
+ "\n"
+ "Standard options:\n"
+ // FIXME: "   -c, --config=FILE       Read config options from file\n"
diff -r f6a00612d901 -r dcfc8fe8ecf1 net/proxytunnel/patches/patch-proxytunnel.1
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/proxytunnel/patches/patch-proxytunnel.1       Fri Jan 23 13:35:30 2009 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-proxytunnel.1,v 1.1.1.1 2009/01/23 13:35:30 sborrill Exp $
+
+Fix typos
+
+--- proxytunnel.1.orig 2008-02-22 21:20:41.000000000 +0000
++++ proxytunnel.1      2009-01-23 13:12:26.000000000 +0000
+@@ -16,7 +16,7 @@
+ .\" .sp <n>    insert n+1 empty lines
+ .\" for manpage-specific macros, see man(7)
+ .SH NAME
+-proxytunnel \- program to tunnel a connection throught an standard
++proxytunnel \- program to tunnel a connection through a standard
+ HTTPS proxy.
+ .SH SYNOPSIS
+ .B proxytunnel
+@@ -37,7 +37,7 @@
+ Print help and exit.
+ .TP
+ .B \-V, \-\-version
+-kPrint the version of the program and exit.
++Print the version of the program and exit.
+ .TP
+ .B \-i, \-\-inetd
+ Run from inetd. Default is off.



Home | Main Index | Thread Index | Old Index