summaryrefslogtreecommitdiffstats
path: root/security/cp2fwb
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-09-18 12:04:26 +0000
committerijliao <ijliao@FreeBSD.org>2002-09-18 12:04:26 +0000
commit13657ccdcb3a9c7c4fce88aba1ab37e9167e50d2 (patch)
tree0a767bd566f573b4ff7f72c79ceb23905c03c81d /security/cp2fwb
parent4a0c6dcb52c881bd80b78545789f58de00099fca (diff)
downloadFreeBSD-ports-13657ccdcb3a9c7c4fce88aba1ab37e9167e50d2.zip
FreeBSD-ports-13657ccdcb3a9c7c4fce88aba1ab37e9167e50d2.tar.gz
add cp2fwb 0.6
Checkpoint FW1 to Firewall Builder ruleset converter PR: 37298 Submitted by: Christian Brueffer <chris@unixpages.org>
Diffstat (limited to 'security/cp2fwb')
-rw-r--r--security/cp2fwb/Makefile27
-rw-r--r--security/cp2fwb/distinfo1
-rw-r--r--security/cp2fwb/pkg-comment1
-rw-r--r--security/cp2fwb/pkg-descr5
-rw-r--r--security/cp2fwb/pkg-message15
-rw-r--r--security/cp2fwb/pkg-plist1
6 files changed, 50 insertions, 0 deletions
diff --git a/security/cp2fwb/Makefile b/security/cp2fwb/Makefile
new file mode 100644
index 0000000..0565f0e
--- /dev/null
+++ b/security/cp2fwb/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: cp2fwb
+# Date created: 20 April 2002
+# Whom: Christian Brueffer <chris@unixpages.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cp2fwb
+PORTVERSION= 0.6
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= cp2fwbuilder
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= chris@unixpages.org
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/Writer.pm:${PORTSDIR}/textproc/p5-XML-Writer \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
+
+USE_PERL5= yes
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/cp2fwbuilder ${PREFIX}/bin
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/security/cp2fwb/distinfo b/security/cp2fwb/distinfo
new file mode 100644
index 0000000..2c8d58e
--- /dev/null
+++ b/security/cp2fwb/distinfo
@@ -0,0 +1 @@
+MD5 (cp2fwb-0.6.tgz) = 78956e65380831341fcd4512fa9ad1ce
diff --git a/security/cp2fwb/pkg-comment b/security/cp2fwb/pkg-comment
new file mode 100644
index 0000000..8bee590
--- /dev/null
+++ b/security/cp2fwb/pkg-comment
@@ -0,0 +1 @@
+Checkpoint FW1 to Firewall Builder ruleset converter
diff --git a/security/cp2fwb/pkg-descr b/security/cp2fwb/pkg-descr
new file mode 100644
index 0000000..74e13fe
--- /dev/null
+++ b/security/cp2fwb/pkg-descr
@@ -0,0 +1,5 @@
+This program can convert your Checkpoint FW1 rulesets into
+XML files which can then be processed by Firewall Builder.
+
+- Christian Brueffer
+chris@unixpages.org
diff --git a/security/cp2fwb/pkg-message b/security/cp2fwb/pkg-message
new file mode 100644
index 0000000..a6dd98d
--- /dev/null
+++ b/security/cp2fwb/pkg-message
@@ -0,0 +1,15 @@
+=======================================================
+
+ In order for cp2fwb to work, you need the following
+ files from your Checkpoint FW1 installation:
+
+ - Rulebase.W
+ - objects.C
+
+ You can then run the program like this:
+
+ cp2fwbuilder --objects=objects.C \
+ --rules=Rulebase.W \
+ --output_xml=Rulebase.xml
+
+=======================================================
diff --git a/security/cp2fwb/pkg-plist b/security/cp2fwb/pkg-plist
new file mode 100644
index 0000000..96e75f7
--- /dev/null
+++ b/security/cp2fwb/pkg-plist
@@ -0,0 +1 @@
+bin/cp2fwbuilder
OpenPOWER on IntegriCloud