|
|
@ -6,8 +6,8 @@
|
|
|
|
%bcond_without tests_long
|
|
|
|
%bcond_without tests_long
|
|
|
|
|
|
|
|
|
|
|
|
Name: openvpn
|
|
|
|
Name: openvpn
|
|
|
|
Version: 2.4.7
|
|
|
|
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
|
|
|
@ -84,7 +84,7 @@ find contrib sample -type f -perm /100 \
|
|
|
|
SYSTEMD_UNIT_DIR=%{_unitdir} \
|
|
|
|
SYSTEMD_UNIT_DIR=%{_unitdir} \
|
|
|
|
TMPFILES_DIR=%{_tmpfilesdir} \
|
|
|
|
TMPFILES_DIR=%{_tmpfilesdir} \
|
|
|
|
IPROUTE=/sbin/ip
|
|
|
|
IPROUTE=/sbin/ip
|
|
|
|
%{__make}
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# Test Crypto:
|
|
|
|
# Test Crypto:
|
|
|
@ -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,27 @@ 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
|
|
|
|
|
|
|
|
- Update to upstream OpenVPN 2.4.12
|
|
|
|
|
|
|
|
- Fixes CVE-2022-0547
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 21 2021 David Sommerseth <davids@openvpn.net> - 2.4.11-1
|
|
|
|
|
|
|
|
- Update to upstream OpenVPN 2.4.11
|
|
|
|
|
|
|
|
- Fixes CVE-2020-15078
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Dec 9 2020 David Sommerseth <dazo@eurephia.org> - 2.4.10-1
|
|
|
|
|
|
|
|
- Update to upstream OpenVPN 2.4.10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Apr 19 2020 David Sommerseth <dazo@eurephia.org> - 2.4.9-1
|
|
|
|
|
|
|
|
- Update to upstream OpenVPN 2.4.9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Nov 1 2019 David Sommerseth <dazo@eurephia.org> - 2.4.8-1
|
|
|
|
|
|
|
|
- Updating to upstream OpenVPN 2.4.8
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 20 2019 David Sommerseth <dazo@eurephia.org> - 2.4.7-1
|
|
|
|
* Wed Feb 20 2019 David Sommerseth <dazo@eurephia.org> - 2.4.7-1
|
|
|
|
- Updating to upstream OpenVPN 2.4.7
|
|
|
|
- Updating to upstream OpenVPN 2.4.7
|
|
|
|
|
|
|
|
|
|
|
|