2011-01-07 15:38:25 +00:00
|
|
|
Summary: A firewall daemon with D-BUS interface providing a dynamic firewall
|
|
|
|
Name: firewalld
|
- new version 0.1.3
- restore all firewall features for reload: panic and virt rules and chains
- string fixes for firewall-cmd man page (by Jiri Popelka)
- fixed firewall-cmd port list (by Jiri Popelka)
- added firewall dbus client connect check to firewall-cmd (by Jiri Popelka)
- translation updates: de, es, gu, it, ja, kn, ml, nl, or, pa, pl, ru, ta,
uk, zh_CN
2011-02-15 17:54:04 +00:00
|
|
|
Version: 0.1.3
|
2011-09-09 18:52:24 +00:00
|
|
|
Release: 3%{?dist}
|
2011-01-07 15:38:25 +00:00
|
|
|
URL: http://fedorahosted.org/firewalld
|
|
|
|
License: GPLv2+
|
|
|
|
ExclusiveOS: Linux
|
|
|
|
Group: System Environment/Base
|
|
|
|
BuildArch: noarch
|
|
|
|
Source0: https://fedorahosted.org/released/firewalld/%{name}-%{version}.tar.bz2
|
2011-09-09 18:52:24 +00:00
|
|
|
Source1: firewalld.service
|
2011-01-07 15:38:25 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: intltool
|
2011-09-09 18:52:24 +00:00
|
|
|
BuildRequires: systemd-units
|
|
|
|
Requires(post): systemd-sysv
|
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
2011-01-07 15:38:25 +00:00
|
|
|
Requires: system-config-firewall-base >= 1.2.28
|
|
|
|
Requires: dbus-python
|
|
|
|
Requires: python-slip-dbus >= 0.2.7
|
|
|
|
Requires: iptables, ebtables
|
|
|
|
|
|
|
|
%description
|
|
|
|
firewalld is a firewall service daemon that provides a dynamic customizable
|
|
|
|
firewall with a D-BUS interface.
|
|
|
|
|
|
|
|
%package -n firewall-applet
|
|
|
|
Summary: Firewall panel applet
|
|
|
|
Group: System Environment/Base
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
#Requires: firewall-config = %{version}-%{release}
|
|
|
|
Requires: hicolor-icon-theme
|
|
|
|
Requires: pygtk2
|
|
|
|
Requires: pygtk2-libglade
|
|
|
|
Requires: gtk2 >= 2.6
|
|
|
|
|
|
|
|
%description -n firewall-applet
|
|
|
|
The firewall panel applet provides a status information of firewalld and also
|
|
|
|
the firewall settings.
|
|
|
|
|
|
|
|
#%package -n firewall-config
|
|
|
|
#Summary: Firewall configuration application
|
|
|
|
#Group: System Environment/Base
|
|
|
|
#Requires: %{name} = %{version}-%{release}
|
|
|
|
#Requires: hicolor-icon-theme
|
|
|
|
#Requires: pygtk2
|
|
|
|
#Requires: pygtk2-libglade
|
|
|
|
#Requires: gtk2 >= 2.6
|
|
|
|
#
|
|
|
|
#%description -n firewall-config
|
|
|
|
#The firewall configuration application provides an configuration interface for
|
|
|
|
#firewalld.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
2011-09-09 18:52:24 +00:00
|
|
|
# systemd
|
|
|
|
rm -rf %{buildroot}%{_initddir}
|
|
|
|
mkdir -p %{buildroot}%{_unitdir}
|
|
|
|
install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/
|
|
|
|
|
2011-01-07 15:38:25 +00:00
|
|
|
desktop-file-install --delete-original \
|
|
|
|
--dir %{buildroot}%{_datadir}/applications \
|
|
|
|
%{buildroot}%{_datadir}/applications/firewall-applet.desktop
|
|
|
|
#desktop-file-install --delete-original \
|
|
|
|
# --dir %{buildroot}%{_datadir}/applications \
|
|
|
|
# %{buildroot}%{_datadir}/applications/firewall-config.desktop
|
|
|
|
|
|
|
|
%find_lang %{name} --all-name
|
|
|
|
|
|
|
|
%post
|
2011-09-09 18:52:24 +00:00
|
|
|
if [ $1 -eq 1 ] ; then
|
|
|
|
# Initial installation
|
|
|
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
|
|
fi
|
2011-01-07 15:38:25 +00:00
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
|
|
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
|
|
|
fi
|
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ $1 = 0 ]; then
|
2011-09-09 18:52:24 +00:00
|
|
|
# Package removal, not upgrade
|
|
|
|
/bin/systemctl --no-reload disable firewalld.service > /dev/null 2>&1 || :
|
|
|
|
/bin/systemctl stop firewalld.service > /dev/null 2>&1 || :
|
2011-01-07 15:38:25 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
%postun
|
2011-09-09 18:52:24 +00:00
|
|
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
|
|
if [ $1 -ge 1 ] ; then
|
|
|
|
# Package upgrade, not uninstall
|
|
|
|
/bin/systemctl try-restart firewalld.service >/dev/null 2>&1 || :
|
|
|
|
fi
|
2011-01-07 15:38:25 +00:00
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
|
|
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
|
|
|
fi
|
|
|
|
|
2011-09-09 18:52:24 +00:00
|
|
|
%triggerun -- httpd < 1.0-2
|
|
|
|
# Save the current service runlevel info
|
|
|
|
# User must manually run systemd-sysv-convert --apply firewalld
|
|
|
|
# to migrate them to systemd targets
|
|
|
|
/usr/bin/systemd-sysv-convert --save firewalld >/dev/null 2>&1 ||:
|
|
|
|
|
|
|
|
# Run these because the SysV package being removed won't do them
|
|
|
|
/sbin/chkconfig --del firewalld >/dev/null 2>&1 || :
|
|
|
|
/bin/systemctl try-restart firewalld.service >/dev/null 2>&1 || :
|
|
|
|
|
2011-01-07 15:38:25 +00:00
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%doc COPYING
|
|
|
|
%{_sbindir}/firewalld
|
|
|
|
%{_bindir}/firewall-cmd
|
|
|
|
%defattr(0644,root,root)
|
|
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/firewalld
|
|
|
|
%config(noreplace) %{_sysconfdir}/firewalld/firewalld.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/firewalld
|
2011-09-09 18:52:24 +00:00
|
|
|
%{_unitdir}/firewalld.service
|
2011-01-07 15:38:25 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/FirewallD.conf
|
|
|
|
%{_datadir}/polkit-1/actions/org.fedoraproject.FirewallD.policy
|
|
|
|
%attr(0755,root,root) %dir %{_datadir}/firewalld/
|
|
|
|
%{_datadir}/firewalld/*.py*
|
|
|
|
%{_mandir}/man1/firewall-cmd.1*
|
|
|
|
|
|
|
|
%files -n firewall-applet
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/firewall-applet
|
|
|
|
%defattr(0644,root,root)
|
|
|
|
%{_datadir}/applications/firewall-applet.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/firewall-applet*.*
|
|
|
|
|
|
|
|
#%files -n firewall-config
|
|
|
|
#%defattr(-,root,root)
|
|
|
|
#%{_bindir}/firewall-config
|
|
|
|
#%defattr(0644,root,root)
|
|
|
|
#%{_datadir}/firewalld/firewall-config.glade
|
|
|
|
#%{_datadir}/applications/firewall-config.desktop
|
|
|
|
#%{_datadir}/icons/hicolor/*/apps/firewall-config*.*
|
|
|
|
|
|
|
|
%changelog
|
2011-09-09 18:52:24 +00:00
|
|
|
* Fri Sep 9 2011 Tom Callaway <spot@fedoraproject.org> 0.1.3-3
|
|
|
|
- convert to systemd
|
|
|
|
|
- new version 0.1.3
- restore all firewall features for reload: panic and virt rules and chains
- string fixes for firewall-cmd man page (by Jiri Popelka)
- fixed firewall-cmd port list (by Jiri Popelka)
- added firewall dbus client connect check to firewall-cmd (by Jiri Popelka)
- translation updates: de, es, gu, it, ja, kn, ml, nl, or, pa, pl, ru, ta,
uk, zh_CN
2011-02-15 17:54:04 +00:00
|
|
|
* Mon Feb 14 2011 Thomas Woerner <twoerner@redhat.com> 0.1.3-1
|
|
|
|
- new version 0.1.3
|
|
|
|
- restore all firewall features for reload: panic and virt rules and chains
|
|
|
|
- string fixes for firewall-cmd man page (by Jiri Popelka)
|
|
|
|
- fixed firewall-cmd port list (by Jiri Popelka)
|
|
|
|
- added firewall dbus client connect check to firewall-cmd (by Jiri Popelka)
|
|
|
|
- translation updates: de, es, gu, it, ja, kn, ml, nl, or, pa, pl, ru, ta,
|
|
|
|
uk, zh_CN
|
|
|
|
|
2011-02-08 20:16:34 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-07 15:38:25 +00:00
|
|
|
* Mon Jan 3 2011 Thomas Woerner <twoerner@redhat.com> 0.1.2-1
|
|
|
|
- fixed package according to package review (rhbz#665395):
|
|
|
|
- non executable scripts: dropped shebang
|
|
|
|
- using newer GPL license file
|
|
|
|
- made /etc/dbus-1/system.d/FirewallD.conf config(noreplace)
|
|
|
|
- added requires(post) and (pre) for chkconfig
|
|
|
|
|
|
|
|
* Mon Jan 3 2011 Thomas Woerner <twoerner@redhat.com> 0.1.1-1
|
|
|
|
- new version 0.1.1
|
|
|
|
- fixed source path in POTFILES*
|
|
|
|
- added missing firewall_config.py.in
|
|
|
|
- added misssing space for spec_ver line
|
|
|
|
- using firewall_config.VARLOGFILE
|
|
|
|
- added date to logging output
|
|
|
|
- also log fatal and error logs to stderr and firewall_config.VARLOGFILE
|
|
|
|
- make log message for active_firewalld fatal
|
|
|
|
|
|
|
|
* Mon Dec 20 2010 Thomas Woerner <twoerner@redhat.com> 0.1-1
|
|
|
|
- initial package (proof of concept implementation)
|