Fix false exit status on pre runtime scriptlet (Elkhan Mammadli <elkhan@almalinux.org>, RHBZ#2239722)

Signed-off-by: David Sommerseth <dazo@eurephia.org>
epel9 imports/e9/openvpn-2.5.9-2.el9
David Sommerseth 1 year ago
parent 5bfc18d059
commit b76e8a4c9d
No known key found for this signature in database
GPG Key ID: 8876DD803369EF14

@ -6,7 +6,7 @@
Name: openvpn Name: openvpn
Version: 2.5.9 Version: 2.5.9
Release: 1%{?dist} Release: 2%{?dist}
Summary: A full-featured TLS VPN solution Summary: A full-featured TLS VPN solution
URL: https://community.openvpn.net/ URL: https://community.openvpn.net/
Source0: https://build.openvpn.net/downloads/releases/%{name}-%{version}.tar.gz Source0: https://build.openvpn.net/downloads/releases/%{name}-%{version}.tar.gz
@ -155,6 +155,7 @@ getent group openvpn &>/dev/null || groupadd -r openvpn
getent passwd openvpn &>/dev/null || \ getent passwd openvpn &>/dev/null || \
/usr/sbin/useradd -r -g openvpn -s /sbin/nologin -c OpenVPN \ /usr/sbin/useradd -r -g openvpn -s /sbin/nologin -c OpenVPN \
-d /etc/openvpn openvpn -d /etc/openvpn openvpn
exit 0
%post %post
for srv in `systemctl | awk '/openvpn-client@.*\.service/{print $1} /openvpn-server@.*\.service/{print $1}'`; for srv in `systemctl | awk '/openvpn-client@.*\.service/{print $1} /openvpn-server@.*\.service/{print $1}'`;
@ -201,6 +202,9 @@ done
%changelog %changelog
* Thu Nov 9 2023 David Sommerseth <davids@openvpn.net> - 2.5.9-2
- Fix false exit status on pre runtime scriptlet (Elkhan Mammadli <elkhan@almalinux.org>, RHBZ#2239722)
* Thu Feb 16 2023 David Sommerseth <davids@openvpn.net> - 2.5.9-1 * Thu Feb 16 2023 David Sommerseth <davids@openvpn.net> - 2.5.9-1
- Update to upstream OpenVPN 2.5.9 - Update to upstream OpenVPN 2.5.9

Loading…
Cancel
Save