aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-17 19:54:46 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-17 19:54:46 +0000
commitc73608c657d57643897860a14e8d387c23e912af (patch)
treed9d83234e8c0a766501068e19b4bcd26ac1e6801
parent73b3f069035c0d6797d0aedce740a6006a77b671 (diff)
downloadports-c73608c657d57643897860a14e8d387c23e912af.tar.gz
ports-c73608c657d57643897860a14e8d387c23e912af.zip
add portfwd 0.24
A Port Forwarding Daemon PR: 37770 Submitted by: Alex Dupre <sysadmin@alexdupre.com>
Notes
Notes: svn path=/head/; revision=61442
-rw-r--r--net/Makefile1
-rw-r--r--net/portfwd/Makefile35
-rw-r--r--net/portfwd/distinfo1
-rw-r--r--net/portfwd/files/patch-Makefile.in11
-rw-r--r--net/portfwd/files/patch-doc::Makefile.in11
-rw-r--r--net/portfwd/pkg-comment1
-rw-r--r--net/portfwd/pkg-descr8
-rw-r--r--net/portfwd/pkg-plist25
8 files changed, 93 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index b3e7d308b51d..7e372c7566fc 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -393,6 +393,7 @@
SUBDIR += pmf
SUBDIR += poptop
SUBDIR += pppoa
+ SUBDIR += portfwd
SUBDIR += pppload
SUBDIR += ppptraf
SUBDIR += pptpclient
diff --git a/net/portfwd/Makefile b/net/portfwd/Makefile
new file mode 100644
index 000000000000..495df52a63a8
--- /dev/null
+++ b/net/portfwd/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: portfwd
+# Date created: Sun May 5 16:12:30 CET 2002
+# Whom: Alex Dupre <sysadmin@alexdupre.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= portfwd
+PORTVERSION= 0.24
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= sysadmin@alexdupre.com
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+MAN5= portfwd.cfg.5
+MAN8= portfwd.8
+
+.if defined(NOPORTDOCS)
+pre-install:
+ @${REINPLACE_CMD} -e "s|(^install-data-am:) install-docDATA|\1|g" \
+ ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e \
+ "s|(^install-data-am: install-man) install-docDATA|\1|g" \
+ ${WRKSRC}/doc/Makefile
+.endif
+
+post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/cfg/* ${EXAMPLESDIR}
+
+.include <bsd.port.mk>
diff --git a/net/portfwd/distinfo b/net/portfwd/distinfo
new file mode 100644
index 000000000000..7cb1fed1a947
--- /dev/null
+++ b/net/portfwd/distinfo
@@ -0,0 +1 @@
+MD5 (portfwd-0.24.tar.gz) = e7b6c09d9d18e0b4bc58f5a5422570db
diff --git a/net/portfwd/files/patch-Makefile.in b/net/portfwd/files/patch-Makefile.in
new file mode 100644
index 000000000000..0670d74426c6
--- /dev/null
+++ b/net/portfwd/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Sun May 5 16:53:37 2002
++++ Makefile.in Sun May 5 16:54:13 2002
+@@ -70,7 +70,7 @@
+
+ SUBDIRS = getopt src tools doc
+
+-docdir = $(prefix)/doc/portfwd
++docdir = $(prefix)/share/doc/portfwd
+ doc_DATA = COPYING README CREDITS TODO
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
diff --git a/net/portfwd/files/patch-doc::Makefile.in b/net/portfwd/files/patch-doc::Makefile.in
new file mode 100644
index 000000000000..a0be9053fd18
--- /dev/null
+++ b/net/portfwd/files/patch-doc::Makefile.in
@@ -0,0 +1,11 @@
+--- doc/Makefile.in.orig Sun May 5 18:01:09 2002
++++ doc/Makefile.in Sun May 5 18:01:31 2002
+@@ -71,7 +71,7 @@
+ man_MANS = portfwd.8 portfwd.cfg.5
+ noinst_DATA = INSTALL.configure
+
+-docdir = $(prefix)/doc/portfwd
++docdir = $(prefix)/share/doc/portfwd
+ doc_DATA = FAQ conf.txt
+ mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
+ CONFIG_HEADER = ../config.h
diff --git a/net/portfwd/pkg-comment b/net/portfwd/pkg-comment
new file mode 100644
index 000000000000..1ce1ed996a86
--- /dev/null
+++ b/net/portfwd/pkg-comment
@@ -0,0 +1 @@
+A Port Forwarding Daemon
diff --git a/net/portfwd/pkg-descr b/net/portfwd/pkg-descr
new file mode 100644
index 000000000000..31cd3bbe00ea
--- /dev/null
+++ b/net/portfwd/pkg-descr
@@ -0,0 +1,8 @@
+Portfwd stands for port forwarding daemon. It's a small C++
+utility which forwards incoming TCP connections and/or UDP
+packets to remote hosts.
+
+WWW: http://portfwd.sourceforge.net/
+
+- Alex Dupre
+sysadmin@alexdupre.com
diff --git a/net/portfwd/pkg-plist b/net/portfwd/pkg-plist
new file mode 100644
index 000000000000..9610012d7b27
--- /dev/null
+++ b/net/portfwd/pkg-plist
@@ -0,0 +1,25 @@
+sbin/portfwd
+%%PORTDOCS%%share/doc/portfwd/COPYING
+%%PORTDOCS%%share/doc/portfwd/CREDITS
+%%PORTDOCS%%share/doc/portfwd/FAQ
+%%PORTDOCS%%share/doc/portfwd/README
+%%PORTDOCS%%share/doc/portfwd/TODO
+%%PORTDOCS%%share/doc/portfwd/conf.txt
+%%PORTDOCS%%@dirrm share/doc/portfwd
+share/examples/portfwd/alias.cfg
+share/examples/portfwd/bind-new.cfg
+share/examples/portfwd/bind.cfg
+share/examples/portfwd/chain.cfg
+share/examples/portfwd/debug_ftp.cfg
+share/examples/portfwd/dns.cfg
+share/examples/portfwd/empty.cfg
+share/examples/portfwd/ftp.cfg
+share/examples/portfwd/load-balance.cfg
+share/examples/portfwd/mail.cfg
+share/examples/portfwd/portfwd1.cfg
+share/examples/portfwd/portfwd2.cfg
+share/examples/portfwd/single.cfg
+share/examples/portfwd/test.cfg
+share/examples/portfwd/udp.cfg
+share/examples/portfwd/x.cfg
+@dirrm share/examples/portfwd