Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 2002 19:02:59 +0200 (CEST)
From:      Alex Dupre <sysadmin@alexdupre.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/37770: [New Port] net/portfwd (A Port Forwarding Daemon)
Message-ID:  <200205051702.g45H2xeG007873@vaio.alexdupre.com>

next in thread | raw e-mail | index | archive | help

>Number:         37770
>Category:       ports
>Synopsis:       [New Port] net/portfwd (A Port Forwarding Daemon)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 05 10:00:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alex Dupre
>Release:        FreeBSD 4.5-ALEXDUPRE i386
>Organization:
>Environment:
System: FreeBSD vaio.alexdupre.com 4.5-ALEXDUPRE FreeBSD 4.5-ALEXDUPRE #0: Fri Apr 12 14:12:57 CEST 2002 alex@vaio.alexdupre.com:/usr/obj/usr/src/sys/VAIO i386


	
>Description:
Portfwd stands for port forwarding daemon. It's a small C++
utility which forwards incoming TCP connections and/or UDP
packets to remote hosts.
	
>How-To-Repeat:
	
>Fix:

	

--- portfwd.sh begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	portfwd
#	portfwd/Makefile
#	portfwd/distinfo
#	portfwd/files
#	portfwd/files/patch-Makefile.in
#	portfwd/files/patch-doc::Makefile.in
#	portfwd/pkg-comment
#	portfwd/pkg-descr
#	portfwd/pkg-plist
#
echo c - portfwd
mkdir -p portfwd > /dev/null 2>&1
echo x - portfwd/Makefile
sed 's/^X//' >portfwd/Makefile << 'END-of-portfwd/Makefile'
X# New ports collection makefile for:	portfwd
X# Date created:         Sun May 5 16:12:30 CET 2002
X# Whom:                 Alex Dupre <sysadmin@alexdupre.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	portfwd
XPORTVERSION=	0.24
XCATEGORIES=	net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	sysadmin@alexdupre.com
X
XMAN5=		portfwd.cfg.5
XMAN8=		portfwd.8
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
X
Xpre-install:
X.if defined(NOPORTDOCS)
X	@${PERL} -pi -e "s|(^install-data-am:) install-docDATA|\1|g" \
X		${WRKSRC}/Makefile
X	@${PERL} -pi -e \
X		"s|(^install-data-am: install-man) install-docDATA|\1|g" \
X		${WRKSRC}/doc/Makefile
X.endif
X
Xpost-install:
X	@${MKDIR} ${EXAMPLESDIR}
X	@${INSTALL_DATA} ${WRKSRC}/cfg/* ${EXAMPLESDIR}
X
X.include <bsd.port.mk>
END-of-portfwd/Makefile
echo x - portfwd/distinfo
sed 's/^X//' >portfwd/distinfo << 'END-of-portfwd/distinfo'
XMD5 (portfwd-0.24.tar.gz) = e7b6c09d9d18e0b4bc58f5a5422570db
END-of-portfwd/distinfo
echo c - portfwd/files
mkdir -p portfwd/files > /dev/null 2>&1
echo x - portfwd/files/patch-Makefile.in
sed 's/^X//' >portfwd/files/patch-Makefile.in << 'END-of-portfwd/files/patch-Makefile.in'
X--- Makefile.in.orig	Sun May  5 16:53:37 2002
X+++ Makefile.in	Sun May  5 16:54:13 2002
X@@ -70,7 +70,7 @@
X 
X SUBDIRS = getopt src tools doc
X 
X-docdir = $(prefix)/doc/portfwd
X+docdir = $(prefix)/share/doc/portfwd
X doc_DATA = COPYING README CREDITS TODO
X ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
X mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
END-of-portfwd/files/patch-Makefile.in
echo x - portfwd/files/patch-doc::Makefile.in
sed 's/^X//' >portfwd/files/patch-doc::Makefile.in << 'END-of-portfwd/files/patch-doc::Makefile.in'
X--- doc/Makefile.in.orig	Sun May  5 18:01:09 2002
X+++ doc/Makefile.in	Sun May  5 18:01:31 2002
X@@ -71,7 +71,7 @@
X man_MANS = portfwd.8 portfwd.cfg.5
X noinst_DATA = INSTALL.configure
X 
X-docdir = $(prefix)/doc/portfwd
X+docdir = $(prefix)/share/doc/portfwd
X doc_DATA = FAQ conf.txt
X mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
X CONFIG_HEADER = ../config.h
END-of-portfwd/files/patch-doc::Makefile.in
echo x - portfwd/pkg-comment
sed 's/^X//' >portfwd/pkg-comment << 'END-of-portfwd/pkg-comment'
XA Port Forwarding Daemon
END-of-portfwd/pkg-comment
echo x - portfwd/pkg-descr
sed 's/^X//' >portfwd/pkg-descr << 'END-of-portfwd/pkg-descr'
XPortfwd stands for port forwarding daemon. It's a small C++
Xutility which forwards incoming TCP connections and/or UDP
Xpackets to remote hosts.
X
XWWW: http://portfwd.sourceforge.net/
X
X- Alex Dupre
Xsysadmin@alexdupre.com
END-of-portfwd/pkg-descr
echo x - portfwd/pkg-plist
sed 's/^X//' >portfwd/pkg-plist << 'END-of-portfwd/pkg-plist'
Xsbin/portfwd
X%%PORTDOCS%%share/doc/portfwd/COPYING
X%%PORTDOCS%%share/doc/portfwd/CREDITS
X%%PORTDOCS%%share/doc/portfwd/FAQ
X%%PORTDOCS%%share/doc/portfwd/README
X%%PORTDOCS%%share/doc/portfwd/TODO
X%%PORTDOCS%%share/doc/portfwd/conf.txt
Xshare/examples/portfwd/alias.cfg
Xshare/examples/portfwd/bind-new.cfg
Xshare/examples/portfwd/bind.cfg
Xshare/examples/portfwd/chain.cfg
Xshare/examples/portfwd/debug_ftp.cfg
Xshare/examples/portfwd/dns.cfg
Xshare/examples/portfwd/empty.cfg
Xshare/examples/portfwd/ftp.cfg
Xshare/examples/portfwd/load-balance.cfg
Xshare/examples/portfwd/mail.cfg
Xshare/examples/portfwd/portfwd1.cfg
Xshare/examples/portfwd/portfwd2.cfg
Xshare/examples/portfwd/single.cfg
Xshare/examples/portfwd/test.cfg
Xshare/examples/portfwd/udp.cfg
Xshare/examples/portfwd/x.cfg
X%%PORTDOCS%%@dirrm share/doc/portfwd
X@dirrm share/examples/portfwd
END-of-portfwd/pkg-plist
exit
--- portfwd.sh ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205051702.g45H2xeG007873>