aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-18 12:04:26 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-18 12:04:26 +0000
commit266d659d5eac28ea92dc7c099788d74ff96bac09 (patch)
tree4caa902be3da9726ee5fdf52bd9e484986628306
parent2e0b612dd8c4778bb079cba2f25b95125c63ffb5 (diff)
downloadports-266d659d5eac28ea92dc7c099788d74ff96bac09.tar.gz
ports-266d659d5eac28ea92dc7c099788d74ff96bac09.zip
Notes
-rw-r--r--security/Makefile1
-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
7 files changed, 51 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 8611eefd4237..2a721bb519a3 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -32,6 +32,7 @@
SUBDIR += chrootuid
SUBDIR += cksfv
SUBDIR += cops
+ SUBDIR += cp2fwb
SUBDIR += crack
SUBDIR += cracklib
SUBDIR += crank
diff --git a/security/cp2fwb/Makefile b/security/cp2fwb/Makefile
new file mode 100644
index 000000000000..0565f0ef009b
--- /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 000000000000..2c8d58ef2856
--- /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 000000000000..8bee59003f7e
--- /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 000000000000..74e13fe40a1b
--- /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 000000000000..a6dd98d4c272
--- /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 000000000000..96e75f77b2ec
--- /dev/null
+++ b/security/cp2fwb/pkg-plist
@@ -0,0 +1 @@
+bin/cp2fwbuilder