Hello community,

here is the log from the commit of package SuSEfirewall2 for openSUSE:Factory 
checked in at 2019-02-28 21:26:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/SuSEfirewall2 (Old)
 and      /work/SRC/openSUSE:Factory/.SuSEfirewall2.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "SuSEfirewall2"

Thu Feb 28 21:26:00 2019 rev:91 rq:680146 version:3.6.378

Changes:
--------
--- /work/SRC/openSUSE:Factory/SuSEfirewall2/SuSEfirewall2.changes      
2018-03-26 11:56:39.508680283 +0200
+++ /work/SRC/openSUSE:Factory/.SuSEfirewall2.new.28833/SuSEfirewall2.changes   
2019-02-28 21:26:02.553880145 +0100
@@ -1,0 +2,18 @@
+Thu Feb 28 14:33:03 UTC 2019 - matthias.gerst...@suse.com
+
+- Add deprecation warning messages for zypper to make the last users more
+  aware of the upcoming removal of SuSEfirewall2.
+
+-------------------------------------------------------------------
+Thu Feb 21 18:14:20 UTC 2019 - Franck Bui <f...@suse.com>
+
+- Drop use of $FIRST_ARG in .spec
+
+  The use of $FIRST_ARG was probably required because of the
+  %service_* rpm macros were playing tricks with the shell positional
+  parameters. This is bad practice and error prones so let's assume
+  that no macros should do that anymore and hence it's safe to assume
+  that positional parameters remains unchanged after any rpm macro
+  call.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ SuSEfirewall2.spec ++++++
--- /var/tmp/diff_new_pack.61FFqe/_old  2019-02-28 21:26:03.105879960 +0100
+++ /var/tmp/diff_new_pack.61FFqe/_new  2019-02-28 21:26:03.105879960 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package SuSEfirewall2
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -34,7 +34,7 @@
 Recommends:     perl-Net-DNS
 Requires:       sysconfig
 Summary:        Stateful Packet Filter Using iptables and netfilter
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          Productivity/Networking/Security
 Source:         SuSEfirewall2-%{version}.tar.bz2
 Source1:        SuSEfirewall2-rpmlintrc
@@ -105,13 +105,14 @@
 /usr/share/SuSEfirewall2/defaults/50-default.cfg
 /usr/share/SuSEfirewall2/rpcusers
 %{_fillupdir}/sysconfig.SuSEfirewall2
+%ghost 
%{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-deprecation-warning
 
 %pre
 %service_add_pre SuSEfirewall2.service
 # Upgrade case means more than 1 package in system, so probably 2
 # if we still have the LSB init script, save its state, remove _setup
 # and store it in the database.
-if [ $FIRST_ARG -gt 1 ]; then
+if [ $1 -gt 1 ]; then
        if test -e /etc/init.d/SuSEfirewall2_setup ; then
                if test ! -e /var/lib/systemd/migrated/SuSEfirewall2 ; then
                        /usr/sbin/systemd-sysv-convert --save 
SuSEfirewall2_setup
@@ -123,6 +124,15 @@
 %post
 %service_add_post SuSEfirewall2.service
 
+cat 
>%{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-deprecation-warning
 <<EOF
+The SuSEfirewall2 package will be removed from openSUSE Tumbleweed on
+2019-06-30. The replacement is firewalld.
+
+See also this mailing list post:
+
+https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html
+EOF
+
 %preun
 %service_del_preun SuSEfirewall2.service
 


Reply via email to