rebuilt with net-snmp 5.9 and debug package [release 5.3.7-3mamba;Sun Dec 13 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 22:35:43 +01:00
parent b4e35605aa
commit 98b8f53aa5
2 changed files with 26 additions and 7 deletions

View File

@ -0,0 +1,9 @@
--- fwbuilder-5.3.7/runqmake.sh.orig 2020-12-13 22:38:16.033762544 +0100
+++ fwbuilder-5.3.7/runqmake.sh 2020-12-13 22:37:52.186341884 +0100
@@ -13,5 +13,5 @@
test -z "$EXTRA_CXXFLAGS" || FLAGS="QMAKE_CXXFLAGS += $EXTRA_CXXFLAGS"
-$QMAKE "$FLAGS" $C
+$QMAKE $FLAGS $C

View File

@ -1,6 +1,6 @@
Name: fwbuilder
Version: 5.3.7
Release: 2mamba
Release: 3mamba
Summary: Firewall Builder
Group: Network/Security
Vendor: openmamba
@ -11,14 +11,15 @@ Source: https://github.com/fwbuilder/fwbuilder.git/v%{version}/fwbuilder-
Source1: %{name}.png
Source2: %{name}2.png
Patch0: fwbuilder-5.1.0.3599-gcc-4.8.patch
Patch1: fwbuilder-5.3.7-runqmake.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libGL-devel
BuildRequires: libgcc
BuildRequires: liblzma-devel
BuildRequires: libnetsnmp-devel
BuildRequires: libnl-devel
BuildRequires: libopenssl-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
@ -26,6 +27,7 @@ BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libnetsnmp-devel >= 5.9
BuildRequires: libsigc++-devel >= 1.0.4
BuildRequires: libgdk-pixbuf >= 0.22.0
Requires: iptables >= 1.2.8
@ -41,20 +43,25 @@ Being truly vendor-neutral, Firewall Builder can generate configuration file for
Firewall Builder allows for management of multiple firewalls using the same network object database. Change made to an object is immediately reflected in the policy of all firewalls using this object. Administrator only needs to recompile and install policies on actual firewall machines.
In Firewall Builder, administrator works with an abstraction of firewall policy and NAT rules; software effectively "hides" specifics of particular target firewall platform and helps administrator focus on implementation of security policy. Backend software components, or policy compilers, can deduct many parameters of policy rules using information available through network and service objects and therefore generate fairly complex code for the target firewall, thus relieving administrator from having to remember all its details and limitations. Policy compilers can also run sanity checks on firewall rules and make sure typical errors are caught before generated policy is deployed.
%debug_package
%prep
%setup -q
#%patch0 -p1
%patch1 -p1
export QTDIR=
./autogen.sh \
--with-qmake=qmake-qt5
%build
./autogen.sh \
--with-qmake=qmake-qt5 \
export QTDIR=
%configure \
--with-qmake=qmake-qt5 \
--enable-auto-docdir \
--prefix=%{_prefix} \
--with-iconsdir=%{_datadir}/pixmaps \
--with-templatedir=%{_datadir}/%{name}
--with-templatedir=%{_datadir}/%{name} \
--without-distcc
##WARNING: icns.path is not defined: install target not created
@ -62,7 +69,7 @@ In Firewall Builder, administrator works with an abstraction of firewall policy
%install
[ %{buildroot} != / ] && rm -rf %{buildroot}
%makeinstall QTDIR=%{_qt4_prefix} INSTALL_ROOT=%{buildroot}
%makeinstall QTDIR=%{_qt5_prefix} INSTALL_ROOT=%{buildroot}
rm -fr %{buildroot}%{_docdir}/%{name}-%{version}
#Icon
@ -127,6 +134,9 @@ EOF
%{_mandir}/man1/fwb*.1*
%changelog
* Sun Dec 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.7-3mamba
- rebuilt with net-snmp 5.9 and debug package
* Tue Jan 02 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.7-2mamba
- rebuild with qt5