From f916c8e61e21a8f7b4f805b1170e15074dc81a31 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:17:57 +0100 Subject: [PATCH] automatic version update by autodist [release 2.5.8-1mamba;Thu Nov 03 2022] --- openvpn.spec | 32 +++++++++++--------------------- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/openvpn.spec b/openvpn.spec index 542adb3..38da1ba 100644 --- a/openvpn.spec +++ b/openvpn.spec @@ -1,5 +1,5 @@ Name: openvpn -Version: 2.5.7 +Version: 2.5.8 Release: 1mamba Summary: A full-featured SSL VPN solution which can accomodate a wide range of configurations Group: Network/Security @@ -13,16 +13,11 @@ Source2: openvpn-tmpfiles.d License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libaudit-devel -BuildRequires: libcap-ng-devel -BuildRequires: libe2fs-devel -BuildRequires: libkrb5-devel BuildRequires: liblz4-devel BuildRequires: liblzo-devel BuildRequires: libnsl-devel BuildRequires: libopenssl-devel BuildRequires: libpam-devel -BuildRequires: libtirpc-devel ## AUTOBUILDREQ-END BuildRequires: easy-rsa2 Requires: openssl @@ -32,6 +27,8 @@ OpenVPN is a full-featured SSL VPN solution which can accomodate a wide range of OpenVPN implements OSI layer 2 or 3 secure network extension using the industry standard SSL/TLS protocol, supports flexible client authentication methods based on certificates, smart cards, and/or 2-factor authentication, and allows user or group-specific access control policies using firewall rules applied to the VPN virtual interface. OpenVPN is not a web application proxy and does not operate through a web browser. +%debug_package + %prep %setup -q @@ -53,22 +50,15 @@ for s in sample-config-files sample-scripts; do cp -a sample/$s %{buildroot}%{_docdir}/openvpn/ done -install -D -m0644 %{SOURCE1} %{buildroot}/lib/systemd/system/openvpn@.service -install -D -m0644 %{SOURCE2} %{buildroot}%{_prefix}/lib/tmpfiles.d/openvpn.conf +install -D -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/openvpn@.service +install -D -m0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/openvpn.conf %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %pre -if [ $1 -gt 1 ]; then - /sbin/chkconfig --del openvpn &>/dev/null -fi -: - -%post if [ $1 -ge 1 ]; then - systemd-tmpfiles --create %{name}.conf - systemctl -q daemon-reload + %tmpfiles_create openvpn.conf fi : @@ -80,23 +70,23 @@ fi %config(noreplace) %{_sysconfdir}/openvpn/easy-rsa/vars %{_sbindir}/openvpn %{_includedir}/openvpn-*.h -%{_prefix}/lib/tmpfiles.d/openvpn.conf +%{_tmpfilesdir}/openvpn.conf %dir %{_libdir}/openvpn %dir %{_libdir}/openvpn/plugins -%{_libdir}/openvpn/plugins/openvpn-plugin-auth-pam.la %{_libdir}/openvpn/plugins/openvpn-plugin-auth-pam.so -%{_libdir}/openvpn/plugins/openvpn-plugin-down-root.la %{_libdir}/openvpn/plugins/openvpn-plugin-down-root.so -/lib/systemd/system/openvpn@.service +%{_unitdir}/openvpn@.service %dir %{_datadir}/doc/openvpn %{_datadir}/doc/openvpn/* %{_mandir}/man5/openvpn-examples.5* %{_mandir}/man8/openvpn.8* -%{_datadir}/doc/openvpn/management-notes.txt %doc AUTHORS COPYING #ChangeLog README %changelog +* Thu Nov 03 2022 Automatic Build System 2.5.8-1mamba +- automatic version update by autodist + * Wed Jun 01 2022 Automatic Build System 2.5.7-1mamba - automatic version update by autodist