Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+18
View File
@@ -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
+31
View File
@@ -0,0 +1,31 @@
# $NetBSD: Makefile,v 1.4 2013/02/06 23:23:22 jperkin Exp $
#
DISTNAME= proxytunnel-1.9.0
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=proxytunnel/}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://proxytunnel.sourceforge.net/
COMMENT= Connect stdin/stdout to a remote host through a standard HTTPS proxy
.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"
+3
View File
@@ -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
+8
View File
@@ -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
+15
View File
@@ -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
+24
View File
@@ -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"
@@ -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.