From 7fa1b0edb2952c80fa2437bb2b4712e8f87bf1b3 Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Fri, 7 Sep 2012 17:44:38 +0200 Subject: [PATCH] New version 0.2.8: - Do not apply old settings to zones after reload - FirewallClient: Added callback structure for firewalld signals - New firewall-config with full zone, service and icmptype support - Added Shields Up/Down configuration dialog to firewall-applet - Name attribute of main tag deprecated for zones, services and icmptypes, will be ignored if present - Fixed wrong references in firewalld man page - Unregister DBus interfaces after sending out the Removed signal - Use proper DBus signature in addIcmpType, addService and addZone - New builtin property for config interfaces - New test case for Config interface - spec: use new systemd-rpm macros (rhbz#850110) - More config file verifications - Lots of smaller fixes and enhancements --- .gitignore | 1 + firewalld.spec | 52 ++++++++++++++++++++++++-------------------------- sources | 2 +- 3 files changed, 27 insertions(+), 28 deletions(-) diff --git a/.gitignore b/.gitignore index e6edb73..b0650d3 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /firewalld-0.2.5.tar.bz2 /firewalld-0.2.6.tar.bz2 /firewalld-0.2.7.tar.bz2 +/firewalld-0.2.8.tar.bz2 diff --git a/firewalld.spec b/firewalld.spec index 547ef28..3803bb9 100644 --- a/firewalld.spec +++ b/firewalld.spec @@ -1,14 +1,11 @@ -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")} - Summary: A firewall daemon with D-BUS interface providing a dynamic firewall Name: firewalld -Version: 0.2.7 +Version: 0.2.8 Release: 1%{?dist} URL: http://fedorahosted.org/firewalld License: GPLv2+ ExclusiveOS: Linux Group: System Environment/Base -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch Source0: https://fedorahosted.org/released/firewalld/%{name}-%{version}.tar.bz2 %if 0%{?fedora} > 17 @@ -73,8 +70,6 @@ firewalld. %configure --with-systemd-unitdir=%{_unitdir} %install -rm -rf %{buildroot} - make install DESTDIR=%{buildroot} desktop-file-install --delete-original \ @@ -86,26 +81,15 @@ desktop-file-install --delete-original \ %find_lang %{name} --all-name -%clean -rm -rf %{buildroot} - %post -if [ $1 -eq 1 ] ; then # Initial installation - /bin/systemctl daemon-reload >/dev/null 2>&1 || : - /bin/systemctl enable firewalld.service >/dev/null 2>&1 || : -fi +%systemd_post firewalld.service %preun -if [ $1 -eq 0 ]; then # Package removal, not upgrade - /bin/systemctl --no-reload disable firewalld.service > /dev/null 2>&1 || : - /bin/systemctl stop firewalld.service > /dev/null 2>&1 || : -fi +%systemd_preun firewalld.service %postun -/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 +%systemd_postun_with_restart firewalld.service + %triggerun -- firewalld < 0.1.3-3 # Save the current service runlevel info @@ -137,7 +121,6 @@ fi %files -f %{name}.lang -%defattr(-,root,root) %doc COPYING %{_sbindir}/firewalld %{_bindir}/firewall-cmd @@ -175,7 +158,6 @@ fi %{_mandir}/man5/firewall*.5* %files -n firewall-applet -%defattr(-,root,root) %{_bindir}/firewall-applet %defattr(0644,root,root) %{_datadir}/applications/firewall-applet.desktop @@ -183,14 +165,33 @@ fi %{_datadir}/glib-2.0/schemas/org.fedoraproject.FirewallApplet.gschema.xml %files -n firewall-config -%defattr(-,root,root) %{_bindir}/firewall-config %defattr(0644,root,root) %{_datadir}/firewalld/firewall-config.glade +%{_datadir}/firewalld/gtk3_chooserbutton.py* %{_datadir}/applications/firewall-config.desktop %{_datadir}/icons/hicolor/*/apps/firewall-config*.* %changelog +* Fri Sep 7 2012 Thomas Woerner 0.2.8-1 +- Do not apply old settings to zones after reload +- FirewallClient: Added callback structure for firewalld signals +- New firewall-config with full zone, service and icmptype support +- Added Shields Up/Down configuration dialog to firewall-applet +- Name attribute of main tag deprecated for zones, services and icmptypes, + will be ignored if present +- Fixed wrong references in firewalld man page +- Unregister DBus interfaces after sending out the Removed signal +- Use proper DBus signature in addIcmpType, addService and addZone +- New builtin property for config interfaces +- New test case for Config interface +- spec: use new systemd-rpm macros (rhbz#850110) +- More config file verifications +- Lots of smaller fixes and enhancements + +* Tue Aug 21 2012 Jiri Popelka 0.2.7-2 +- use new systemd-rpm macros (rhbz#850110) + * Mon Aug 13 2012 Thomas Woerner 0.2.7-1 - Update of firewall-config - Some bug fixes @@ -203,9 +204,6 @@ fi - New firewall-config sub-package - New firewall-convert-scfw-config config script -* Thu Jul 19 2012 Fedora Release Engineering -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - * Fri Apr 20 2012 Thomas Woerner 0.2.5-1 - Fixed traceback in firewall-cmd for failed or canceled authorization, return proper error codes, new error codes NOT_RUNNING and NOT_AUTHORIZED diff --git a/sources b/sources index 2ea99ef..c92b908 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ad21a708947a0c7e873cc6835e441c45 firewalld-0.2.7.tar.bz2 +9cf22bba1caa87a2ce667ca58d3fa447 firewalld-0.2.8.tar.bz2