Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openvpn for openSUSE:Factory checked 
in at 2021-04-26 16:38:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openvpn (Old)
 and      /work/SRC/openSUSE:Factory/.openvpn.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openvpn"

Mon Apr 26 16:38:37 2021 rev:91 rq:888373 version:2.4.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/openvpn/openvpn.changes  2021-01-11 
17:09:59.376047829 +0100
+++ /work/SRC/openSUSE:Factory/.openvpn.new.12324/openvpn.changes       
2021-04-26 16:38:42.369987943 +0200
@@ -1,0 +2,5 @@
+Sun Apr 25 19:24:56 UTC 2021 - Christian Boltz <suse-b...@cboltz.de>
+
+- update 'rcopenvpn' to work without /etc/rc.status (boo#1185273)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ openvpn.spec ++++++
--- /var/tmp/diff_new_pack.23Yy7R/_old  2021-04-26 16:38:42.893988776 +0200
+++ /var/tmp/diff_new_pack.23Yy7R/_new  2021-04-26 16:38:42.897988783 +0200
@@ -32,7 +32,7 @@
 Version:        2.4.10
 Release:        0
 Summary:        Full-featured SSL VPN solution using a TUN/TAP Interface
-License:        SUSE-GPL-2.0-with-openssl-exception AND LGPL-2.1-only
+License:        LGPL-2.1-only AND SUSE-GPL-2.0-with-openssl-exception
 Group:          Productivity/Networking/Security
 URL:            http://openvpn.net/
 Source:         
https://swupdate.openvpn.org/community/releases/openvpn-%{version}.tar.xz



++++++ rcopenvpn ++++++
--- /var/tmp/diff_new_pack.23Yy7R/_old  2021-04-26 16:38:43.017988974 +0200
+++ /var/tmp/diff_new_pack.23Yy7R/_new  2021-04-26 16:38:43.017988974 +0200
@@ -1,13 +1,12 @@
 #! /bin/bash
 
-SYSTEMD_NO_WRAP=1 . /etc/rc.status
-rc_reset
-
 action=$1 ; shift
 config=$1 ; shift
 
+retcode=0
+
 if test -n "$config" ; then
-       systemctl "${action}" "openvpn@${config}.service"
+       systemctl "${action}" "openvpn@${config}.service" || retcode=$?
 else
        case $action in
        status)
@@ -16,16 +15,14 @@
                for s in ${l#ConsistsOf=} ; do
                        case $s in
                        openvpn@*.service)
-                               systemctl status "$s"
-                               rc_check
+                               systemctl status "$s" || retcode=$?
                                ((++n))
                        ;;
                        esac
                done
-               if test $n -gt 0 ; then
-                       rc_status
-               else
-                       rc_status -u
+               if test $n -eq 0 ; then
+                       echo 'unused' >&2
+                       exit 3
                fi
        ;;
        *)
@@ -33,5 +30,5 @@
        ;;
        esac
 fi
-rc_exit
 
+exit $retcode

Reply via email to