Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
fwbuilder
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Added
fwbuilder2.spec
@@ -0,0 +1,193 @@ + +%define name fwbuilder +%define version 2.1.14 +%define release 1 +%define BUILD_VERSION 21 + +%if "%_vendor" == "MandrakeSoft" +%define guigroup System/Configuration/Networking +%define compgroup System/Configuration/Networking +%else +%define guigroup Applications/System +%define compgroup Applications/System +%endif + +Summary: Firewall Builder +Name: %{name} +Version: %{version} +Release: %{release} +License: GPL2 +Group: %{guigroup} +Url: http://www.fwbuilder.org/ +Source: %{name}-%{version}.tar.gz +Packager: Carsten Schoene <cs@linux-administrator.com> + +Buildroot: %{_tmppath}/%{name}-%{version}-root + +Requires: libfwbuilder = 2.1.14 +BuildRequires: libfwbuilder-devel = 2.1.14 glibc-devel libgcc gcc gcc-c++ libxml2 libxml2-devel libxslt libxslt-devel openssl openssl-devel qt3-devel net-snmp net-snmp-devel +%if 0%{?suse_version} +BuildRequires: tcpd tcpd-devel +%endif +%if 0%{?fedora_version} +BuildRequires: tcp_wrappers +%endif + + +Docdir: /usr/share/doc + +%description +Firewall Builder consists of a GUI and set of policy compilers for +various firewall platforms. It helps users maintain a database of +objects and allows policy editing using simple drag-and-drop +operations. GUI generates firewall description in the form of XML +file, which compilers then interpret and generate platform-specific +code. Several algorithms are provided for automated network objects +discovery and bulk import of data. The GUI and policy compilers are +completely independent, this provides for a consistent abstract model +and the same GUI for different firewall platforms. + +%prep + +%setup + +%build +[ -n "$QTDIR" ] || { + [ -f %{_sysconfdir}/profile.d/qt.sh ] && . %{_sysconfdir}/profile.d/qt.sh + [ -f %{_sysconfdir}/profile.d/qtdir3.sh ] && . %{_sysconfdir}/profile.d/qtdir3.sh + [ -f %{_sysconfdir}/SuSEconfig/profile ] && . %{_sysconfdir}/SuSEconfig/profile +} +%configure --prefix=/usr/ +make all + +%install +[ -n "$QTDIR" ] || { + [ -f %{_sysconfdir}/profile.d/qt.sh ] && . %{_sysconfdir}/profile.d/qt.sh + [ -f %{_sysconfdir}/profile.d/qtdir3.sh ] && . %{_sysconfdir}/profile.d/qtdir3.sh + [ -f %{_sysconfdir}/SuSEconfig/profile ] && . %{_sysconfdir}/SuSEconfig/profile +} +[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT +make DDIR="${RPM_BUILD_ROOT}/" install +rm -fr $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version} + +%clean +[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%dir /usr/share/fwbuilder%{BUILD_VERSION} +/usr/share/fwbuilder%{BUILD_VERSION}/locale/* +/usr/share/fwbuilder%{BUILD_VERSION}/platform/* +/usr/share/fwbuilder%{BUILD_VERSION}/os/* +/usr/share/fwbuilder%{BUILD_VERSION}/resources.xml +/usr/share/fwbuilder%{BUILD_VERSION}/objects_init.xml +/usr/share/fwbuilder%{BUILD_VERSION}/templates.xml +/usr/bin/fwbuilder +/usr/bin/fwblookup +/usr/bin/fwbedit +%doc doc/AUTHORS +%doc doc/COPYING +%doc doc/Credits +%doc doc/ChangeLog +%doc doc/PatchAcceptancePolicy.txt +%doc doc/README.floppyfw +%doc doc/README.ipf +%doc doc/README.ipfw +%doc doc/README.ipt +%doc doc/README.pf +%doc doc/README.routing +%doc doc/FWBuilder-Routing-LICENSE.txt +%doc doc/ReleaseNotes_2.1.7.html +%doc doc/ReleaseNotes_2.1.7.txt +%{_mandir}/man1/fwbuilder.1* +%{_mandir}/man1/fwblookup.1* +%{_mandir}/man1/fwbedit.1* +%{_mandir}/man1/fwb_ipf.1* +%{_mandir}/man1/fwb_ipfw.1* +%{_mandir}/man1/fwb_pf.1* + + +%package pf +Summary: policy compiler for OpenBSD pf +Group: %{compgroup} + +%description pf +Policy compiler for OpenBSD PF + +%files pf +%defattr(-,root,root) +/usr/bin/fwb_pf +%doc doc/AUTHORS +%doc doc/COPYING +%doc doc/Credits +%doc doc/README.pf +%{_mandir}/man1/fwb_pf.1* + + +%package ipf +Summary: policy compiler for ipfilter +Group: %{compgroup} + +%description ipf +Policy compiler for ipfilter + +%files ipf +%defattr(-,root,root) +/usr/bin/fwb_ipf +%doc doc/AUTHORS +%doc doc/COPYING +%doc doc/Credits +%doc doc/README.ipf +%{_mandir}/man1/fwb_ipf.1* + + +%package ipfw +Summary: policy compiler for ipfw +Group: %{compgroup} + +%description ipfw +Policy compiler for ipfw + +%files ipfw +%defattr(-,root,root) +/usr/bin/fwb_ipfw +%doc doc/AUTHORS +%doc doc/COPYING +%doc doc/Credits +%doc doc/README.ipfw +%{_mandir}/man1/fwb_ipfw.1* + + +%package ipt +Summary: policy compiler for iptables +Group: %{compgroup} + +%description ipt +Policy compiler for iptables + +%files ipt +%defattr(-,root,root) +/usr/bin/fwb_ipt +%doc doc/AUTHORS +%doc doc/COPYING +%doc doc/Credits +%doc doc/README.ipt +%{_mandir}/man1/fwb_ipt.1* + +%changelog +* Sat Sep 15 2007 Carsten Schoene <cs@linux-administrator.com> +- version changed to 2.1.14 +- This is another bugfix release, it comes with numerous improvements in the iptables policy importer and fixes for gcc 4.2 and 4.3 + +* Sat Aug 04 2007 Carsten Schoene <cs@linux-administrator.com> +- version changed to 2.1.13 +- This is bugfix release; its main focus is better support for new features available in PF in OpenBSD 4.1 + and improvements in built-in policy installer + +* Wed Jun 27 2007 Carsten Schoene <cs@linux-administrator.com> +- created changelog in this specfile +- version changed to 2.1.12 +- This release comes with support for Cisco IOS access lists and ability + to import existing iptables and IOS access lists configurations. + Multiple bug fixes are included as well. +