[csw-devel] SF.net SVN: gar:[3540] csw/mgar/pkg

skayser at users.sourceforge.net skayser at users.sourceforge.net
Sat Feb 28 22:37:57 CET 2009


Revision: 3540
          http://gar.svn.sourceforge.net/gar/?rev=3540&view=rev
Author:   skayser
Date:     2009-02-28 21:37:57 +0000 (Sat, 28 Feb 2009)

Log Message:
-----------
proxytunnel: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/proxytunnel/
    csw/mgar/pkg/proxytunnel/branches/
    csw/mgar/pkg/proxytunnel/tags/
    csw/mgar/pkg/proxytunnel/trunk/
    csw/mgar/pkg/proxytunnel/trunk/Makefile
    csw/mgar/pkg/proxytunnel/trunk/checksums
    csw/mgar/pkg/proxytunnel/trunk/files/
    csw/mgar/pkg/proxytunnel/trunk/files/patch-Makefile.diff


Property changes on: csw/mgar/pkg/proxytunnel/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/proxytunnel/trunk/Makefile
===================================================================
--- csw/mgar/pkg/proxytunnel/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/proxytunnel/trunk/Makefile	2009-02-28 21:37:57 UTC (rev 3540)
@@ -0,0 +1,32 @@
+GARNAME = proxytunnel
+GARVERSION = 1.9.0
+CATEGORIES = utils
+
+DESCRIPTION = Tunnels network connections through a HTTPS proxy
+define BLURB
+  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.
+endef
+
+MASTER_SITES = $(SF_MIRRORS)
+DISTFILES  = $(GARNAME)-$(GARVERSION).tgz
+PATCHFILES = patch-Makefile.diff
+
+PREREQUISITE_PKGS = CSWossldevel
+REQUIRED_PKGS = CSWosslrt
+
+# UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tgz
+# UPSTREAM_MASTER_SITES = 
+
+CONFIGURE_SCRIPTS = 
+TEST_SCRIPTS = 
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+include gar/category.mk
+
+pre-build-modulated:
+	@perl -pi -e 's/-DHAVE_GETOPT_LONG//' $(WORKSRC)/Makefile
+	@perl -pi -e 's/-DSETPROCTITLE -DSPT_TYPE=2//' $(WORKSRC)/Makefile

Added: csw/mgar/pkg/proxytunnel/trunk/checksums
===================================================================
--- csw/mgar/pkg/proxytunnel/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/proxytunnel/trunk/checksums	2009-02-28 21:37:57 UTC (rev 3540)
@@ -0,0 +1,2 @@
+d74472b89c3f3b3b0abf6bd809ae34c2  download/proxytunnel-1.9.0.tgz
+b964acf679e2ea3a24fda6ea67f36581  download/patch-Makefile.diff

Added: csw/mgar/pkg/proxytunnel/trunk/files/patch-Makefile.diff
===================================================================
--- csw/mgar/pkg/proxytunnel/trunk/files/patch-Makefile.diff	                        (rev 0)
+++ csw/mgar/pkg/proxytunnel/trunk/files/patch-Makefile.diff	2009-02-28 21:37:57 UTC (rev 3540)
@@ -0,0 +1,38 @@
+--- proxytunnel-1.9.0/Makefile	2009-02-28 19:39:24.601040893 +0100
++++ proxytunnel-1.9.0/Makefile	2009-02-28 19:40:49.405010602 +0100
+@@ -8,13 +8,13 @@
+ OPTFLAGS = -DREV=$(shell ./getrev.sh)
+ 
+ # Comment on non-gnu systems
+-OPTFLAGS += -DHAVE_GETOPT_LONG
++#OPTFLAGS += -DHAVE_GETOPT_LONG
+ 
+ # Comment if you don't have/want ssl
+ OPTFLAGS += -DUSE_SSL
+ 
+ # Most systems
+-OPTFLAGS += -DSETPROCTITLE -DSPT_TYPE=2
++#OPTFLAGS += -DSETPROCTITLE -DSPT_TYPE=2
+ 
+ # Comment if you don't have this flag
+ OPTFLAGS += -DSO_REUSEPORT
+@@ -46,7 +46,7 @@
+ endif
+ LDFLAGS += $(SSL_LIBS)
+ 
+-PREFIX =/usr/local
++PREFIX =/opt/csw
+ BINDIR = $(PREFIX)/bin
+ DATADIR = $(PREFIX)/share
+ MANDIR = $(DATADIR)/man
+@@ -76,8 +76,8 @@
+ 	@rm -f $(PROGNAME) $(OBJ)
+ 
+ install:
+-	install -Dp -m0755 $(PROGNAME) $(DESTDIR)$(BINDIR)/$(PROGNAME)
+-	install -Dp -m0644 $(PROGNAME).1 $(DESTDIR)$(MANDIR)/man1/$(PROGNAME).1
++	ginstall -Dp -m0755 $(PROGNAME) $(DESTDIR)$(BINDIR)/$(PROGNAME)
++	ginstall -Dp -m0644 $(PROGNAME).1 $(DESTDIR)$(MANDIR)/man1/$(PROGNAME).1
+ 
+ .c.o:
+ 	$(CC) $(CFLAGS) $(OPTFLAGS) -c -o $@ $<


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list