Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 2004 21:55:05 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65125: New port: net/pbnc
Message-ID:  <200404031255.i33Ct5JY039967@alph.allbsd.org>
Resent-Message-ID: <200404031300.i33D0UYN001779@freefall.freebsd.org>

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

>Number:         65125
>Category:       ports
>Synopsis:       New port: net/pbnc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 03 05:00:29 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hiroki Sato
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Tokyo University of Science
>Environment:
System: FreeBSD alph.allbsd.org 4.9-STABLE FreeBSD 4.9-STABLE #2: Fri Mar 19 04:20:12 JST 2004     hrs@alph.allbsd.org:/usr/obj/usr/src/sys/ALPH  i386

>Description:
	pbnc runs in userland and acts as a simple TCP port forwarder.
	It  has  a  single-threaded design  (uses  select(),  does not
	fork).

>How-To-Repeat:
	N/A

>Fix:

# 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:
#
#	pbnc
#	pbnc/pkg-descr
#	pbnc/distinfo
#	pbnc/Makefile
#
echo c - pbnc
mkdir -p pbnc > /dev/null 2>&1
echo x - pbnc/pkg-descr
sed 's/^X//' >pbnc/pkg-descr << 'END-of-pbnc/pkg-descr'
Xpbnc runs in userland and acts as a simple TCP port forwarder.
XIt  has  a  single-threaded design  (uses  select(),  does not
Xfork). It can handle multiple targets with an unlimited number
Xof clients (at least in theory), and supports simple  IP-based
Xaccess control. Since pbnc works on network level, it does not
Xcare  about  the  application  protocol.  It  can  tunnel  FTP
X(control connection), SSH, HTTP and all other protocols  using
XTCP  communication.  Application-level  SSL/TLS  encryption is
Xalso no problem.
X
XWWW: http://duncanthrax.net/pbnc/
XWWW: http://freshmeat.net/projects/pbnc/
END-of-pbnc/pkg-descr
echo x - pbnc/distinfo
sed 's/^X//' >pbnc/distinfo << 'END-of-pbnc/distinfo'
XMD5 (pbnc.tar.gz) = 13b419ee101f2c45155818cc78326f42
XSIZE (pbnc.tar.gz) = 6018
END-of-pbnc/distinfo
echo x - pbnc/Makefile
sed 's/^X//' >pbnc/Makefile << 'END-of-pbnc/Makefile'
X# Ports collection makefile for:  pbnc
X# Date created:	  03 Apr 2004
X# Whom:		  hrs
X#
X# $FreeBSD$
X
XPORTNAME=	pbnc
XPORTVERSION=	1.0
XCATEGORIES=	net
XMASTER_SITES=	http://duncanthrax.net/pbnc/
XDISTNAME=	pbnc
X
XMAINTAINER=	hrs@FreeBSD.org
XCOMMENT=	Simple userspace TCP port bouncer
X
XRUN_DEPENDS=	${SITE_PERL}/Net/Netmask.pm:${PORTSDIR}/net-mgmt/p5-Net-Netmask
X
XNO_BUILD=	yes
XPLIST=		${WRKSRC}/pkg-plist
X
XCONFIGDIR=	etc
XCONFIG_FILES=	pbnc.cfg
XSCRIPTDIR=	bin
XSCRIPT_FILES=	pbnc.pl
XDOC_FILES=	pbnc.readme
X
Xpre-install:
X	(${ECHO_CMD} "${CONFIGDIR}/${CONFIG_FILES}"; \
X	${ECHO_CMD} "${SCRIPTDIR}/${SCRIPT_FILES}"; ) > ${PLIST}
X.if !defined(NOPORTDOCS)
X	(for F in ${DOC_FILES}; do \
X			${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \
X		done;\
X	${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST}
X.endif
X
Xdo-install:
X	${INSTALL_SCRIPT} ${SCRIPT_FILES:S,^,${WRKSRC}/,} ${PREFIX}/${SCRIPTDIR}
X	${INSTALL_DATA} ${CONFIG_FILES:S,^,${WRKSRC}/,} ${PREFIX}/${CONFIGDIR}
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${DOC_FILES:S,^,${WRKSRC}/,} ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-pbnc/Makefile
exit

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



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