diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/libfwbuilder/DESCR | 13 | ||||
-rw-r--r-- | security/libfwbuilder/Makefile | 26 | ||||
-rw-r--r-- | security/libfwbuilder/PLIST | 125 | ||||
-rw-r--r-- | security/libfwbuilder/buildlink3.mk | 23 | ||||
-rw-r--r-- | security/libfwbuilder/distinfo | 6 | ||||
-rw-r--r-- | security/libfwbuilder/patches/patch-aa | 37 | ||||
-rw-r--r-- | security/libfwbuilder/patches/patch-ab | 15 |
7 files changed, 245 insertions, 0 deletions
diff --git a/security/libfwbuilder/DESCR b/security/libfwbuilder/DESCR new file mode 100644 index 00000000000..a6c6f005362 --- /dev/null +++ b/security/libfwbuilder/DESCR @@ -0,0 +1,13 @@ +Firewall Builder is multi-platform firewall configuration and +management tool. It consists of a GUI and set of policy compilers for +various firewall platforms. Firewall Builder uses object-oriented +approach, it helps administrator maintain a database of network +objects and allows policy editing using simple drag-and-drop +operations. Firewall Builder currently supports + + iptables, + ipfilter, + OpenBSD PF, and + Cisco PIX + +libfwbuilder provides the back-end functionality in a library. diff --git a/security/libfwbuilder/Makefile b/security/libfwbuilder/Makefile new file mode 100644 index 00000000000..c9b2ec02ac9 --- /dev/null +++ b/security/libfwbuilder/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/07/06 18:04:39 agc Exp $ + +DISTNAME= libfwbuilder-1.0.2 +CATEGORIES= security net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fwbuilder/} + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.fwbuilder.org/ +COMMENT= Firewall Builder API + +USE_BUILDLINK3= yes +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +USE_GNU_TOOLS+= make +USE_LANGUAGES= c++ + +pre-configure: + cd ${WRKSRC}; ${AUTOCONF} + +.include "../../devel/glib/buildlink3.mk" +.include "../../net/net-snmp/buildlink3.mk" +.include "../../textproc/libxml/buildlink3.mk" +.include "../../textproc/libxslt/buildlink3.mk" + +.include "../../mk/autoconf.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/libfwbuilder/PLIST b/security/libfwbuilder/PLIST new file mode 100644 index 00000000000..e0ef81f651d --- /dev/null +++ b/security/libfwbuilder/PLIST @@ -0,0 +1,125 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/06 18:04:40 agc Exp $ +bin/libfwbuilder-config +include/fwbuilder/Address.hh +include/fwbuilder/AddressRange.hh +include/fwbuilder/BackgroundOp.hh +include/fwbuilder/Constants.hh +include/fwbuilder/CustomService.hh +include/fwbuilder/FWException.hh +include/fwbuilder/FWIntervalReference.hh +include/fwbuilder/FWObject.hh +include/fwbuilder/FWObjectDatabase.hh +include/fwbuilder/FWObjectReference.hh +include/fwbuilder/FWOptions.hh +include/fwbuilder/FWReference.hh +include/fwbuilder/FWServiceReference.hh +include/fwbuilder/Firewall.hh +include/fwbuilder/Group.hh +include/fwbuilder/Host.hh +include/fwbuilder/HostsFile.hh +include/fwbuilder/ICMPService.hh +include/fwbuilder/IPAddress.hh +include/fwbuilder/IPService.hh +include/fwbuilder/IPv4.hh +include/fwbuilder/Interface.hh +include/fwbuilder/InterfacePolicy.hh +include/fwbuilder/Interval.hh +include/fwbuilder/IntervalGroup.hh +include/fwbuilder/Logger.hh +include/fwbuilder/Management.hh +include/fwbuilder/NAT.hh +include/fwbuilder/Network.hh +include/fwbuilder/ObjectGroup.hh +include/fwbuilder/Policy.hh +include/fwbuilder/Pool.hh +include/fwbuilder/Resources.hh +include/fwbuilder/Rule.hh +include/fwbuilder/RuleElement.hh +include/fwbuilder/RuleSet.hh +include/fwbuilder/Service.hh +include/fwbuilder/ServiceGroup.hh +include/fwbuilder/SyncQueue.hh +include/fwbuilder/TCPService.hh +include/fwbuilder/ThreadTools.hh +include/fwbuilder/Tools.hh +include/fwbuilder/UDPService.hh +include/fwbuilder/XMLTools.hh +include/fwbuilder/crypto.hh +include/fwbuilder/dns.hh +include/fwbuilder/libfwbuilder-config.h +include/fwbuilder/physAddress.hh +include/fwbuilder/snmp.hh +include/fwcompiler/Compiler.hh +include/fwcompiler/NATCompiler.hh +include/fwcompiler/OSConfigurator.hh +include/fwcompiler/PolicyCompiler.hh +include/fwcompiler/RuleProcessor.hh +include/fwcompiler/manifest.hh +lib/libfwbuilder.a +lib/libfwbuilder.so +lib/libfwbuilder.so.5 +lib/libfwbuilder.so.5.1 +lib/libfwcompiler.a +lib/libfwcompiler.so +lib/libfwcompiler.so.5 +lib/libfwcompiler.so.5.1 +share/doc/${PKGNAME}/AUTHORS +share/doc/${PKGNAME}/COPYING +share/doc/${PKGNAME}/ChangeLog +share/doc/${PKGNAME}/Credits +share/doc/${PKGNAME}/INSTALL +share/doc/${PKGNAME}/README +share/libfwbuilder/fwbuilder.dtd +share/libfwbuilder/migration/0.10.0/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.10.1/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.10.10/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.10.11/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.10.12/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.10.13/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.10.14/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.10.2/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.10.3/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.10.4/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.10.5/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.10.6/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.10.7/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.10.8/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.10.9/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.8.7/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.9.0/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.9.1/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.9.2/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.9.3/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.9.4/FWObjectDatabase.xslt +share/libfwbuilder/migration/0.9.5/FWObjectDatabase.xslt +share/libfwbuilder/migration/1.0.0/FWObjectDatabase.xslt +share/libfwbuilder/migration/1.0.1/FWObjectDatabase.xslt +@dirrm share/libfwbuilder/migration/1.0.1 +@dirrm share/libfwbuilder/migration/1.0.0 +@dirrm share/libfwbuilder/migration/0.9.5 +@dirrm share/libfwbuilder/migration/0.9.4 +@dirrm share/libfwbuilder/migration/0.9.3 +@dirrm share/libfwbuilder/migration/0.9.2 +@dirrm share/libfwbuilder/migration/0.9.1 +@dirrm share/libfwbuilder/migration/0.9.0 +@dirrm share/libfwbuilder/migration/0.8.7 +@dirrm share/libfwbuilder/migration/0.10.9 +@dirrm share/libfwbuilder/migration/0.10.8 +@dirrm share/libfwbuilder/migration/0.10.7 +@dirrm share/libfwbuilder/migration/0.10.6 +@dirrm share/libfwbuilder/migration/0.10.5 +@dirrm share/libfwbuilder/migration/0.10.4 +@dirrm share/libfwbuilder/migration/0.10.3 +@dirrm share/libfwbuilder/migration/0.10.2 +@dirrm share/libfwbuilder/migration/0.10.14 +@dirrm share/libfwbuilder/migration/0.10.13 +@dirrm share/libfwbuilder/migration/0.10.12 +@dirrm share/libfwbuilder/migration/0.10.11 +@dirrm share/libfwbuilder/migration/0.10.10 +@dirrm share/libfwbuilder/migration/0.10.1 +@dirrm share/libfwbuilder/migration/0.10.0 +@dirrm share/libfwbuilder/migration +@dirrm share/libfwbuilder +@dirrm share/doc/${PKGNAME} +@dirrm include/fwcompiler +@dirrm include/fwbuilder diff --git a/security/libfwbuilder/buildlink3.mk b/security/libfwbuilder/buildlink3.mk new file mode 100644 index 00000000000..b94484c25e5 --- /dev/null +++ b/security/libfwbuilder/buildlink3.mk @@ -0,0 +1,23 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/07/06 18:04:39 agc Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBFWBUILDER_BUILDLINK3_MK:= ${LIBFWBUILDER_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libfwbuilder +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibfwbuilder} +BUILDLINK_PACKAGES+= libfwbuilder + +.if !empty(LIBFWBUILDER_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libfwbuilder+= libfwbuilder>=1.0.2 +BUILDLINK_PKGSRCDIR.libfwbuilder?= ../../security/libfwbuilder +.endif # LIBFWBUILDER_BUILDLINK3_MK + +.include "../../devel/glib/buildlink3.mk" +.include "../../net/net-snmp/buildlink3.mk" +.include "../../textproc/libxml/buildlink3.mk" +.include "../../textproc/libxslt/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/security/libfwbuilder/distinfo b/security/libfwbuilder/distinfo new file mode 100644 index 00000000000..65c6311ab87 --- /dev/null +++ b/security/libfwbuilder/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/07/06 18:04:39 agc Exp $ + +SHA1 (libfwbuilder-1.0.2.tar.gz) = 3564a255850d4880d69a7d8c1aa4a35bc4e0b4c5 +Size (libfwbuilder-1.0.2.tar.gz) = 403462 bytes +SHA1 (patch-aa) = f307aaaa7059f5eb82314bb9a3430d915056082a +SHA1 (patch-ab) = 6d2875e2b5ce2872d3463b1e88b30859860fde4c diff --git a/security/libfwbuilder/patches/patch-aa b/security/libfwbuilder/patches/patch-aa new file mode 100644 index 00000000000..b9fd1cf72e5 --- /dev/null +++ b/security/libfwbuilder/patches/patch-aa @@ -0,0 +1,37 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/07/06 18:04:40 agc Exp $ + +--- acinclude.m4.old Sun Jun 1 05:25:09 2003 ++++ acinclude.m4 Sun Jun 1 05:25:31 2003 +@@ -81,19 +81,19 @@ + ],[ + echo + +-dnl if test "${ac_cv_lib_snmp_init_snmp+set}" = "set"; then +-dnl unset ac_cv_lib_snmp_init_snmp +-dnl fi +-dnl +-dnl save_LIBS="$LIBS" +-dnl LIBS="$LIBS -ldes" +-dnl AC_CHECK_LIB($ac_snmplib_name, init_snmp, +-dnl [ +-dnl LIBS="$save_LIBS" +-dnl LIBSNMP_LIBS="-ldes -l$ac_snmplib_name" +-dnl HAVE_LIBSNMP="1" +-dnl AC_DEFINE(HAVE_LIBSNMP) +-dnl ]) ++ if test "${ac_cv_lib_snmp_init_snmp+set}" = "set"; then ++ unset ac_cv_lib_snmp_init_snmp ++ fi ++ ++ save_LIBS="$LIBS" ++ LIBS="$LIBS -ldes" ++ AC_CHECK_LIB($ac_snmplib_name, init_snmp, ++ [ ++ LIBS="$save_LIBS" ++ LIBSNMP_LIBS="-ldes -l$ac_snmplib_name" ++ HAVE_LIBSNMP="1" ++ AC_DEFINE(HAVE_LIBSNMP) ++ ]) + ]) + ]) + diff --git a/security/libfwbuilder/patches/patch-ab b/security/libfwbuilder/patches/patch-ab new file mode 100644 index 00000000000..01c751476b1 --- /dev/null +++ b/security/libfwbuilder/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.1.1.1 2004/07/06 18:04:40 agc Exp $ + +--- libfwbuilder-config.in 2004/07/06 11:44:26 1.1 ++++ libfwbuilder-config.in 2004/07/06 11:45:40 +@@ -167,8 +167,8 @@ + stat_lib= + for i in $all_flags; do + case "$i" in +- -L/usr/lib) ;; +- -I/usr/include) ;; ++ -L*) ;; ++ -I*) ;; + *.a) stat_libs="$stat_libs $i" ;; + -l*) rev_libs="$i $rev_libs" ;; + *) |