pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/libfwbuilder Initial import of libfwbuilder-1...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6319cfc92e5
branches:  trunk
changeset: 477645:b6319cfc92e5
user:      agc <agc%pkgsrc.org@localhost>
date:      Tue Jul 06 18:04:39 2004 +0000

description:
Initial import of libfwbuilder-1.0.2 into the Packages Collection. This
was based a long time ago on the OpenBSD port, but the only thing that
remains form that is one of the patches, and I'm not sure that's necessary
any more.

        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.

diffstat:

 security/libfwbuilder/DESCR            |   13 +++
 security/libfwbuilder/Makefile         |   26 ++++++
 security/libfwbuilder/PLIST            |  125 +++++++++++++++++++++++++++++++++
 security/libfwbuilder/buildlink3.mk    |   23 ++++++
 security/libfwbuilder/distinfo         |    6 +
 security/libfwbuilder/patches/patch-aa |   37 +++++++++
 security/libfwbuilder/patches/patch-ab |   15 +++
 7 files changed, 245 insertions(+), 0 deletions(-)

diffs (273 lines):

diff -r 118f27fb32e2 -r b6319cfc92e5 security/libfwbuilder/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libfwbuilder/DESCR       Tue Jul 06 18:04:39 2004 +0000
@@ -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 -r 118f27fb32e2 -r b6319cfc92e5 security/libfwbuilder/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libfwbuilder/Makefile    Tue Jul 06 18:04:39 2004 +0000
@@ -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@localhost
+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 -r 118f27fb32e2 -r b6319cfc92e5 security/libfwbuilder/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libfwbuilder/PLIST       Tue Jul 06 18:04:39 2004 +0000
@@ -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 -r 118f27fb32e2 -r b6319cfc92e5 security/libfwbuilder/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libfwbuilder/buildlink3.mk       Tue Jul 06 18:04:39 2004 +0000
@@ -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 -r 118f27fb32e2 -r b6319cfc92e5 security/libfwbuilder/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libfwbuilder/distinfo    Tue Jul 06 18:04:39 2004 +0000
@@ -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 -r 118f27fb32e2 -r b6319cfc92e5 security/libfwbuilder/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libfwbuilder/patches/patch-aa    Tue Jul 06 18:04:39 2004 +0000
@@ -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 -r 118f27fb32e2 -r b6319cfc92e5 security/libfwbuilder/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libfwbuilder/patches/patch-ab    Tue Jul 06 18:04:39 2004 +0000
@@ -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" ;;
+     *)



Home | Main Index | Thread Index | Old Index