Skip site navigation (1)Skip section navigation (2)
Date:      20 Apr 2002 22:37:06 -0000
From:      Christian Brueffer <chris@unixpages.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/37298: New port: security/cp2fwb
Message-ID:  <20020420223706.23771.qmail@unixpages.org>

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

>Number:         37298
>Category:       ports
>Synopsis:       New port: security/cp2fwb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 20 15:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Christian Brueffer
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD gondor.middleearth 4.5-STABLE FreeBSD 4.5-STABLE #18: Sat Apr 20 13:12:16 CEST 2002 root@gondor.middleearth:/usr/obj/usr/src/sys/GONDOR i386


	
>Description:
	cp2fwb is a tool to convert Checkpoint FW1 rules to XML files
	that can be processed by Firewall Builder
>How-To-Repeat:
	
>Fix:

	

--- cp2fwb.port 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:
#
#	cp2fwb
#	cp2fwb/Makefile
#	cp2fwb/pkg-descr
#	cp2fwb/pkg-comment
#	cp2fwb/pkg-plist
#	cp2fwb/distinfo
#	cp2fwb/pkg-message
#
echo c - cp2fwb
mkdir -p cp2fwb > /dev/null 2>&1
echo x - cp2fwb/Makefile
sed 's/^X//' >cp2fwb/Makefile << 'END-of-cp2fwb/Makefile'
X# New ports collection makefile for:	cp2fwb
X# Date created:			20 April 2002
X# Whom:				Christian Brueffer <chris@unixpages.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cp2fwb
XPORTVERSION=	0.6
XCATEGORIES=	security
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= cp2fwbuilder
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	chris@unixpages.org
X
XRUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/Writer.pm:${PORTSDIR}/textproc/p5-XML-Writer \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Digest/MD5.pm:${PORTSDIR}/security/p5-MD5
X
XUSE_PERL5=	yes
XNO_BUILD=	yes
X
Xdo-install:
X		${INSTALL_SCRIPT} ${WRKSRC}/cp2fwbuilder ${PREFIX}/bin
X
Xpost-install:
X		${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-cp2fwb/Makefile
echo x - cp2fwb/pkg-descr
sed 's/^X//' >cp2fwb/pkg-descr << 'END-of-cp2fwb/pkg-descr'
XThis program can convert your Checkpoint FW1 rulesets into
XXML files which can then be processed by Firewall Builder.
X
XWWW: http://blah.com
X
X- Christian Brueffer
Xchris@unixpages.org
END-of-cp2fwb/pkg-descr
echo x - cp2fwb/pkg-comment
sed 's/^X//' >cp2fwb/pkg-comment << 'END-of-cp2fwb/pkg-comment'
XCheckpoint FW1 to Firewall Builder ruleset converter
END-of-cp2fwb/pkg-comment
echo x - cp2fwb/pkg-plist
sed 's/^X//' >cp2fwb/pkg-plist << 'END-of-cp2fwb/pkg-plist'
Xbin/cp2fwbuilder
END-of-cp2fwb/pkg-plist
echo x - cp2fwb/distinfo
sed 's/^X//' >cp2fwb/distinfo << 'END-of-cp2fwb/distinfo'
XMD5 (cp2fwb-0.6.tgz) = 78956e65380831341fcd4512fa9ad1ce
END-of-cp2fwb/distinfo
echo x - cp2fwb/pkg-message
sed 's/^X//' >cp2fwb/pkg-message << 'END-of-cp2fwb/pkg-message'
X=======================================================
X
X  In order for cp2fwb to work, you need the following
X  files from your Checkpoint FW1 installation:
X
X   - Rulebase.W
X   - objects.C
X
X  You can then run the program like this:
X
X   cp2fwbuilder --objects=objects.C \
X			--rules=Rulebase.W \
X			--output_xml=Rulebase.xml
X
X=======================================================
END-of-cp2fwb/pkg-message
exit
--- cp2fwb.port 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?20020420223706.23771.qmail>