Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Aug 2004 14:11:51 -0600
From:      Aaron Dalton <aaron@daltons.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70186: New Port: security/doorman - A Port Knocking implementation, both daemon and client
Message-ID:  <E1Btu1H-000FeQ-LU@galan.daltons.ca>
Resent-Message-ID: <200408082010.i78KAaKZ017740@freefall.freebsd.org>

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

>Number:         70186
>Category:       ports
>Synopsis:       New Port: security/doorman - A Port Knocking implementation, both daemon and client
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 08 20:10:36 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Aaron Dalton
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD galan.daltons.ca 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Sun Jun 27 22:48:19 MDT 2004 root@galan.daltons.ca:/usr/src/sys/i386/compile/GALAN i386


	
>Description:
Doorman is a port knocking implementation which allows a server to run
silently, invisibly, with all TCP ports closed except to those who know...
the secret knock!

>How-To-Repeat:
>Fix:

	

--- submission.txt 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:
#
#	doorman
#	doorman/Makefile
#	doorman/distinfo
#	doorman/pkg-descr
#	doorman/pkg-message
#	doorman/pkg-plist
#
echo c - doorman
mkdir -p doorman > /dev/null 2>&1
echo x - doorman/Makefile
sed 's/^X//' >doorman/Makefile << 'END-of-doorman/Makefile'
X# New ports collection makefile for:	doorman
X# Date created:				08 August 2004
X# Whom:					Aaron Dalton <aaron@daltons.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	doorman
XPORTVERSION=	0.8
XCATEGORIES=	security
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	doorman
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	aaron@daltons.ca
XCOMMENT=	A Port Knocking implementation, both daemon and client
X
XBUILD_DEPENDS=	lsof:${PORTSDIR}/sysutils/lsof
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
X# Default to db4
XWITH_BDB_VER?=	4
X
X.if ${WITH_BDB_VER} == 2
XLIB_DEPENDS=	db2.0:${PORTSDIR}/databases/db2
X.elif ${WITH_BDB_VER} == 3
XLIB_DEPENDS=	db3.3:${PORTSDIR}/databases/db3
X.elif ${WITH_BDB_VER} == 4
XLIB_DEPENDS=	db4.0:${PORTSDIR}/databases/db4
X.elif ${WITH_BDB_VER} == 41
XLIB_DEPENDS=	db41.1:${PORTSDIR}/databases/db41
X.elif ${WITH_BDB_VER} == 42
XLIB_DEPENDS=	db-4.2.2:${PORTSDIR}/databases/db42
X.else
X.error WITH_BDB_VER must be one between 2, 3, 4, 41 and 42
X.endif
X
XMAN1=	knock.1
XMAN5=	knockcf.5 doormand.cf.5 guestlist.5
XMAN8=	doormand.8
X
XGNU_CONFIGURE=	yes
X
Xpre-everything::
X	@${ECHO_MSG}
X	@${ECHO_MSG} " This port currently requires BerkeleyDB, has only been tested with the "
X	@${ECHO_MSG} " db4.x releases, and builds with db4 by default.  If you wish to use a "
X	@${ECHO_MSG} " specific version please use the WITH_BDB_VER=x argument using the "
X	@${ECHO_MSG} " values 2, 3, 4, 41, or 42. "
X	@${ECHO_MSG}
X	@${ECHO_MSG} " CURRENTLY BUILDING WITH db${WITH_BDB_VER} "
X	@${ECHO_MSG}
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-doorman/Makefile
echo x - doorman/distinfo
sed 's/^X//' >doorman/distinfo << 'END-of-doorman/distinfo'
XMD5 (doorman-0.8.tgz) = 44a495d06bf81ac9a824380612035672
XSIZE (doorman-0.8.tgz) = 139950
END-of-doorman/distinfo
echo x - doorman/pkg-descr
sed 's/^X//' >doorman/pkg-descr << 'END-of-doorman/pkg-descr'
XDoorman is a port knocking implementation which allows a server to run
Xsilently, invisibly, with all TCP ports closed except to those who know...
Xthe secret knock!
X
XWWW: http://doorman.sourceforge.net/
XAuthor: Bruce Ward <bward2@users.sourceforge.net>
X
X- Aaron Dalton
Xaaron@daltons.ca
END-of-doorman/pkg-descr
echo x - doorman/pkg-message
sed 's/^X//' >doorman/pkg-message << 'END-of-doorman/pkg-message'
X
X******************************************************************************
X
XTo configure Doorman, please edit the files guestlist and doormand.cf found in
X /usr/local/etc/doormand.  Documentation can be found using:
X	
X	$ man guestlist
X	$ man doormand.cf
X
Xor by visiting the Doorman website at http://doorman.sourceforge.net.
X
X******************************************************************************
END-of-doorman/pkg-message
echo x - doorman/pkg-plist
sed 's/^X//' >doorman/pkg-plist << 'END-of-doorman/pkg-plist'
Xbin/knock
Xetc/doormand/doormand.cf.EXAMPLE
Xetc/doormand/guestlist.EXAMPLE
Xetc/doormand/ipchains_add
Xetc/doormand/ipchains_delete
Xetc/doormand/ipf_add
Xetc/doormand/ipf_delete
Xetc/doormand/ipfw_add
Xetc/doormand/ipfw_delete
Xetc/doormand/iptables_add
Xetc/doormand/iptables_delete
Xetc/doormand/pfctl_add
Xetc/doormand/pfctl_delete
Xsbin/doormand
X@dirrm etc/doormand
END-of-doorman/pkg-plist
exit
--- submission.txt ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Btu1H-000FeQ-LU>