Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package openvpn for openSUSE:Factory checked in at 2023-02-14 20:08:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openvpn (Old) and /work/SRC/openSUSE:Factory/.openvpn.new.22824 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openvpn" Tue Feb 14 20:08:09 2023 rev:105 rq:1065524 version:2.5.8 Changes: -------- --- /work/SRC/openSUSE:Factory/openvpn/openvpn.changes 2023-01-10 14:59:56.737249785 +0100 +++ /work/SRC/openSUSE:Factory/.openvpn.new.22824/openvpn.changes 2023-02-14 20:08:10.356394728 +0100 @@ -1,0 +2,7 @@ +Mon Feb 13 11:26:45 UTC 2023 - Thorsten Kukuk <ku...@suse.com> + +- Remove migration from openvpn.service to openvpn@.service and + depending requires, this is from pre SLE12 times and not supported + anymore. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openvpn.spec ++++++ --- /var/tmp/diff_new_pack.W3ihAR/_old 2023-02-14 20:08:10.920402673 +0100 +++ /var/tmp/diff_new_pack.W3ihAR/_new 2023-02-14 20:08:10.928402786 +0100 @@ -16,10 +16,6 @@ # -#Compat macro for new _fillupdir macro introduced in Nov 2017 -%if ! %{defined _fillupdir} - %define _fillupdir %{_localstatedir}/adm/fillup-templates -%endif %if ! %{defined _rundir} %define _rundir %{_localstatedir}/run %endif @@ -55,7 +51,6 @@ BuildRequires: pkgconfig(systemd) Requires: iproute2 Requires: pkcs11-helper >= 1.11 -Requires: sysvinit-tools %systemd_ordering %description @@ -182,40 +177,6 @@ %post %tmpfiles_create %{_tmpfilesdir}/%{name}.conf %service_add_post %{name}.target -# try to migrate openvpn.service autostart to openvpn@<CONF>.service -if test $1 -ge 1 -a \ - -x /bin/systemctl -a \ - -f %{_sysconfdir}/sysconfig/openvpn -a \ - -f %{_fillupdir}/sysconfig.openvpn && \ - /bin/systemctl --quiet is-enabled openvpn.service >/dev/null 2>/dev/null; -then - . %{_sysconfdir}/sysconfig/openvpn - try_service_cgroup_join() - { - local p="%{_localstatedir}/run/openvpn/${1}.pid" - local t="/sys/fs/cgroup/systemd/system/openvpn@.service/${1}" - /sbin/checkproc -p "$p" "%{_sbindir}/openvpn" >/dev/null 2>/dev/null || return 0 - test -d "$t" || mkdir -p "$t" 2>/dev/null || return 1 - cat "$p" > "$t/tasks" 2>/dev/null || return 1 - } - if test "X$OPENVPN_AUTOSTART" != "X" ; then - for conf in $OPENVPN_AUTOSTART ; do - test -f "%{_sysconfdir}/openvpn/${conf}.conf" && \ - /bin/systemctl enable "openvpn@${conf}.service" && \ - try_service_cgroup_join "$conf" || continue - done - else - shopt -s nullglob || : - for conf in %{_sysconfdir}/openvpn/*.conf ; do - conf=${conf##*/} - conf=${conf%.conf} - test -f "%{_sysconfdir}/openvpn/${conf}.conf" && \ - /bin/systemctl enable "openvpn@${conf}.service" && \ - try_service_cgroup_join "$conf" || continue - done - fi -fi -rm -f %{_sysconfdir}/sysconfig/openvpn || : %preun %service_del_preun %{name}.target