diff options
Diffstat (limited to 'net/etunnel')
-rw-r--r-- | net/etunnel/Makefile | 35 | ||||
-rw-r--r-- | net/etunnel/distinfo | 2 | ||||
-rw-r--r-- | net/etunnel/files/patch-etunnel.h | 15 | ||||
-rw-r--r-- | net/etunnel/pkg-descr | 7 | ||||
-rw-r--r-- | net/etunnel/pkg-plist | 3 |
5 files changed, 62 insertions, 0 deletions
diff --git a/net/etunnel/Makefile b/net/etunnel/Makefile new file mode 100644 index 0000000..fe757c2 --- /dev/null +++ b/net/etunnel/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: etunnel +# Date created: 03.05.2004 +# Whom: Kostas Petrikas <expl@punktas.lt> +# +# $FreeBSD$ +# + +PORTNAME= etunnel +PORTVERSION= 0.0.5 +CATEGORIES= net +MASTER_SITES= http://expl.homeunix.org/etunnel/ + +MAINTAINER= expl@punktas.lt +COMMENT= TCP/UDP connections tunneling tool via proxy or directly + +USE_REINPLACE= yes +ALL_TARGET= ${PORTNAME} + +MAN1= etunnel.1 + +post-patch: + @${REINPLACE_CMD} -e \ + 's|%%PREFIX%%|${PREFIX}|g ; \ + s|CC=gcc|CC?=gcc|g ; \ + s|CFLAGS=|CFLAGS+=|g' ${WRKSRC}/Makefile + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in README + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/net/etunnel/distinfo b/net/etunnel/distinfo new file mode 100644 index 0000000..657620d --- /dev/null +++ b/net/etunnel/distinfo @@ -0,0 +1,2 @@ +MD5 (etunnel-0.0.5.tar.gz) = c49e2783832dd6afc7d70a15ba1a936d +SIZE (etunnel-0.0.5.tar.gz) = 12678 diff --git a/net/etunnel/files/patch-etunnel.h b/net/etunnel/files/patch-etunnel.h new file mode 100644 index 0000000..41b39a5 --- /dev/null +++ b/net/etunnel/files/patch-etunnel.h @@ -0,0 +1,15 @@ +--- etunnel.h.orig Wed May 5 21:10:21 2004 ++++ etunnel.h Wed May 5 21:10:36 2004 +@@ -23,11 +23,11 @@ + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + ++#include <sys/types.h> + #include <stdio.h> + #include <stdlib.h> + #include <stdarg.h> + #include <sys/socket.h> +-#include <sys/types.h> + #include <sys/wait.h> + #include <sys/time.h> + #include <netinet/in.h> diff --git a/net/etunnel/pkg-descr b/net/etunnel/pkg-descr new file mode 100644 index 0000000..4701fd1 --- /dev/null +++ b/net/etunnel/pkg-descr @@ -0,0 +1,7 @@ +This is a port of etunnel. Etunnel is a flexible TCP/UDP +connections tunneling tool. It supports tunnels via proxy +server (HTTP/SOCKS5), proxy servers chain (HTTP&SOCKS5) and +directly. + +- Kostas Petrikas +expl@punktas.lt diff --git a/net/etunnel/pkg-plist b/net/etunnel/pkg-plist new file mode 100644 index 0000000..0556590 --- /dev/null +++ b/net/etunnel/pkg-plist @@ -0,0 +1,3 @@ +bin/etunnel +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |