Hello community,

here is the log from the commit of package shorewall for openSUSE:Factory 
checked in at 2012-09-25 11:07:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/shorewall (Old)
 and      /work/SRC/openSUSE:Factory/.shorewall.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "shorewall", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/shorewall/shorewall.changes      2012-09-03 
18:56:26.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.shorewall.new/shorewall.changes 2012-09-25 
11:07:52.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Sep 24 09:17:06 UTC 2012 - [email protected]
+
+- Since shorewall executables are in /usr/sbin systemd service
+  files now reflect the correct location 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ shorewall.spec ++++++
--- /var/tmp/diff_new_pack.BTJ3f6/_old  2012-09-25 11:07:54.000000000 +0200
+++ /var/tmp/diff_new_pack.BTJ3f6/_new  2012-09-25 11:07:54.000000000 +0200
@@ -260,16 +260,25 @@
 # we need the patches for suse only
 %if 0%{?suse_version}
 # apply patches to shorewall
-
+pushd %name-%version
+# since the shorewall executables are in /usr/sbin
+# reflect it in the service files as well
+sed -i 's/\/sbin/\/usr\/sbin/g' %{name}.service
+popd
 # apply patches to shorewall-lite
 pushd %name-lite-%version
 %patch0 -p2
+sed -i 's/\/sbin/\/usr\/sbin/g' %{name}-lite.service
 popd
 
 # apply patches to shorewall6
-
+pushd %{name}6-%version
+sed -i 's/\/sbin/\/usr\/sbin/g' %{name}6.service
+popd
 # apply patches to shorewall-lite
-
+pushd %{name}6-lite-%version
+sed -i 's/\/sbin/\/usr\/sbin/g' %{name}6-lite.service
+popd
 # apply patches to shorewall-init
 pushd %name-init-%version
 %patch1 -p2
@@ -317,8 +326,8 @@
     else
        install -d %buildroot/%_sysconfdir/NetworkManager/dispatcher.d
                DESTDIR=%buildroot %_buildshell install.sh shorewallrc
-        install -d %buildroot/sbin
-        install -m 700 shorewall-init %buildroot/sbin/shorewall-init
+        install -d %buildroot/_%sbindir
+        install -m 700 shorewall-init %buildroot/%_sbindir/shorewall-init
         if [ -f ${DESTDIR}/etc/ppp ]; then
             for directory in ip-up.d ip-down.d ipv6-up.d ipv6-down.d; do
                 mkdir -p ${DESTDIR}/etc/ppp/$directory #SuSE doesn't create 
the IPv6 directories
@@ -700,7 +709,7 @@
 %if 0%{?suse_version}
 %_localstatedir/adm/fillup-templates/sysconfig.%name-init
 %attr(0544,root,root) %_initddir/%name-init
-%attr(0755,root,root) /sbin/shorewall-init
+%attr(0755,root,root) %_sbindir/shorewall-init
 %endif
 
 %if 0%{?redhat_version} || 0%{?centos_version} || 0%{?fedora_version}

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to