|
|
@ -7,7 +7,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: openvpn
|
|
|
|
Name: openvpn
|
|
|
|
Version: 2.4.12
|
|
|
|
Version: 2.4.12
|
|
|
|
Release: 1%{?prerelease:.%{prerelease}}%{?dist}
|
|
|
|
Release: 2%{?prerelease:.%{prerelease}}%{?dist}
|
|
|
|
Summary: A full-featured SSL VPN solution
|
|
|
|
Summary: A full-featured SSL VPN solution
|
|
|
|
URL: https://community.openvpn.net/
|
|
|
|
URL: https://community.openvpn.net/
|
|
|
|
Source0: https://build.openvpn.net/downloads/releases/%{name}-%{version}%{?prerelease:_%{prerelease}}.tar.xz
|
|
|
|
Source0: https://build.openvpn.net/downloads/releases/%{name}-%{version}%{?prerelease:_%{prerelease}}.tar.xz
|
|
|
@ -144,19 +144,25 @@ 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
|
|
|
|
%systemd_post openvpn-client@\*.service
|
|
|
|
for srv in `systemctl | awk '/openvpn-client@.*\.service/{print $1} /openvpn-server@.*\.service/{print $1}'`;
|
|
|
|
%systemd_post openvpn-server@\*.service
|
|
|
|
do
|
|
|
|
|
|
|
|
%systemd_post $srv
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%preun
|
|
|
|
%systemd_preun openvpn-client@\*.service
|
|
|
|
for srv in `systemctl | awk '/openvpn-client@.*\.service/{print $1} /openvpn-server@.*\.service/{print $1}'`;
|
|
|
|
%systemd_preun openvpn-server@\*.service
|
|
|
|
do
|
|
|
|
|
|
|
|
%systemd_preun $srv
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart openvpn-client@\*.service
|
|
|
|
for srv in `systemctl | awk '/openvpn-client@.*\.service/{print $1} /openvpn-server@.*\.service/{print $1}'`;
|
|
|
|
%systemd_postun_with_restart openvpn-server@\*.service
|
|
|
|
do
|
|
|
|
%systemd_postun_with_restart openvpn@\*.service
|
|
|
|
%systemd_postun_with_restart $srv
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%{_pkgdocdir}
|
|
|
|
%{_pkgdocdir}
|
|
|
@ -183,6 +189,10 @@ getent passwd openvpn &>/dev/null || \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Nov 9 2023 David Sommerseth <davids@openvpn.net> - 2.4.12-2
|
|
|
|
|
|
|
|
- Fix false exit status on pre runtime scriptlet (Elkhan Mammadli <elkhan@almalinux.org>, RHBZ#2239722)
|
|
|
|
|
|
|
|
- Misbehaving systemctl scriptlet globbing issues (RHBZ#1887984)
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 17 2022 David Sommerseth <davids@openvpn.net> - 2.4.12-1
|
|
|
|
* Thu Mar 17 2022 David Sommerseth <davids@openvpn.net> - 2.4.12-1
|
|
|
|
- Update to upstream OpenVPN 2.4.12
|
|
|
|
- Update to upstream OpenVPN 2.4.12
|
|
|
|
- Fixes CVE-2022-0547
|
|
|
|
- Fixes CVE-2022-0547
|
|
|
|