Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37579964
en ru br
ALT Linux repos
S:6.0.0-alt2.beta.106.a5e1
5.0: 3.0.3-alt1
4.1: 2.1.8-alt1
4.0: 2.1.8-alt1
3.0: 2.0.8-alt1
+backports:2.1.7-alt2.M30.1

Group :: Security/Networking
RPM: fwbuilder

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: fwbuilder
Version: 3.0.3
Release: alt1

Packager: Victor Forsyuk <force at altlinux.org>

Summary: Firewall Builder
License: GPLv2+
Group: Security/Networking

Url: http://www.fwbuilder.org/
Source0: http://downloads.sourceforge.net/fwbuilder/fwbuilder-%version.tar.gz
Source1: fwbuilder.desktop

Obsoletes: fwbuilder-doc fwbuilder-devel

# To be on the safe side:

Requires: libfwbuilder = %version

# Historically ipt is separate subpackage but required by main package.

# This makes little sense, probably we should just merge it to main package
# (so fwbuilder will contain iptables compiler by default).
# This is only matter of package size, separated compilers contains no
# additional runtime deps.
Requires: fwbuilder-ipt = %version-%release

# configure contains check for required libfwbuilder version

# hence we also should provide versioned rpm dependency:
BuildPreReq: libfwbuilder-devel = %version

# Automatically added by buildreq on Mon Dec 15 2008

BuildRequires: gcc-c++ libfwbuilder-devel libnet-snmp-devel libqt4-devel libxslt-devel

%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.

%package pf
Summary: Policy compiler for OpenBSD pf
Group: Security/Networking
Requires: %name = %version-%release

%description pf
Policy compiler for OpenBSD PF.

%package ipf
Summary: Policy compiler for ipfilter
Group: Security/Networking
Requires: %name = %version-%release

%description ipf
Policy compiler for ipfilter.

%package ipfw
Summary: Policy compiler for ipfw
Group: Security/Networking
Requires: %name = %version-%release

%description ipfw
Policy compiler for ipfw.

%package ipt
Summary: Policy compiler for iptables
Group: Security/Networking
Requires: %name = %version-%release

%description ipt
Policy compiler for iptables.

%package cisco
Summary: Policy compiler for Cisco routers/firewalls
Group: Security/Networking
Requires: %name = %version-%release

%description cisco
Policy compiler for Cisco routers/firewalls.

%prep
%setup

%build
%configure --with-templatedir=%_datadir/%name
%make_build

%install
%make INSTALL_ROOT=%buildroot install
# freedesktop menu entry
install -pD -m644 %SOURCE1 %buildroot%_desktopdir/%name.desktop

# No, thanks...

rm -rf %buildroot%_defaultdocdir

%files
%_bindir/fwbuilder
%_bindir/fwbedit
%_datadir/%name
%_desktopdir/*.desktop
%_miconsdir/fwbuilder.png
%_niconsdir/fwbuilder.png
%_liconsdir/fwbuilder.png
%_man1dir/fwbuilder.1*
%_man1dir/fwbedit.1*

%files pf
%_bindir/fwb_pf
%_man1dir/fwb_pf.1*

%files ipf
%_bindir/fwb_ipf
%_man1dir/fwb_ipf.1*

%files ipfw
%_bindir/fwb_ipfw
%_man1dir/fwb_ipfw.1*

%files ipt
%_bindir/fwb_ipt
%_man1dir/fwb_ipt.1*

%files cisco
%_bindir/fwb_pix
%_bindir/fwb_iosacl
%_man1dir/fwb_pix*
%_man1dir/fwb_iosacl*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin