2024-01-06 08:17:56 +01:00
|
|
|
Name: openvpn
|
2024-01-06 08:18:00 +01:00
|
|
|
Version: 2.6.8
|
2024-01-06 08:18:01 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 08:17:56 +01:00
|
|
|
Summary: A full-featured SSL VPN solution which can accomodate a wide range of configurations
|
|
|
|
Group: Network/Security
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 08:17:57 +01:00
|
|
|
URL: https://openvpn.net/
|
2024-01-06 08:17:56 +01:00
|
|
|
Source: http://swupdate.openvpn.org/community/releases/openvpn-%{version}.tar.gz
|
|
|
|
Source1: openvpn@.service
|
|
|
|
Source2: openvpn-tmpfiles.d
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 08:17:58 +01:00
|
|
|
BuildRequires: libcap-ng-devel
|
2024-01-06 08:17:57 +01:00
|
|
|
BuildRequires: liblz4-devel
|
2024-01-06 08:17:56 +01:00
|
|
|
BuildRequires: liblzo-devel
|
2024-01-06 08:17:58 +01:00
|
|
|
BuildRequires: libnl-devel
|
2024-01-06 08:17:57 +01:00
|
|
|
BuildRequires: libnsl-devel
|
2024-01-06 08:17:56 +01:00
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libpam-devel
|
2024-01-06 08:18:01 +01:00
|
|
|
BuildRequires: libsystemd-devel
|
2024-01-06 08:17:56 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 08:17:57 +01:00
|
|
|
BuildRequires: easy-rsa2
|
2024-01-06 08:17:56 +01:00
|
|
|
Requires: openssl
|
|
|
|
|
|
|
|
%description
|
|
|
|
OpenVPN is a full-featured SSL VPN solution which can accomodate a wide range of configurations, including remote access, site-to-site VPNs, WiFi security, and enterprise-scale remote access solutions with load balancing, failover, and fine-grained access-controls.
|
|
|
|
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.
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 08:17:56 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-06 08:18:01 +01:00
|
|
|
%configure \
|
|
|
|
--enable-systemd \
|
|
|
|
SYSTEMD_UNIT_DIR=%{_unitdir} \
|
|
|
|
TMPFILES_DIR=%{_tmpfilesdir}
|
|
|
|
|
2024-01-06 08:17:56 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
#install -m0755 -D distro/rpm/openvpn.init.d.rhel %{buildroot}%{_initrddir}/openvpn
|
|
|
|
|
|
|
|
install -d %{buildroot}%{_sysconfdir}/openvpn
|
|
|
|
cp -a %{_datadir}/easy-rsa %{buildroot}%{_sysconfdir}/openvpn/
|
|
|
|
sed -i "s|KEY_NAME=.*|KEY_NAME=\"openvpn\"|" %{buildroot}%{_sysconfdir}/openvpn/easy-rsa/vars
|
|
|
|
|
|
|
|
for s in sample-config-files sample-scripts; do
|
|
|
|
cp -a sample/$s %{buildroot}%{_docdir}/openvpn/
|
|
|
|
done
|
|
|
|
|
2024-01-06 08:18:01 +01:00
|
|
|
# Legacy service script openvpn@
|
2024-01-06 08:17:57 +01:00
|
|
|
install -D -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/openvpn@.service
|
2024-01-06 08:18:01 +01:00
|
|
|
#install -D -m0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/openvpn.conf
|
|
|
|
|
|
|
|
cat >> %{buildroot}%{_tmpfilesdir}/openvpn.conf << _EOF
|
|
|
|
d /run/openvpn 0710 root root -
|
|
|
|
_EOF
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{_sysconfdir}/openvpn/{client,server}
|
2024-01-06 08:17:56 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%pre
|
|
|
|
if [ $1 -ge 1 ]; then
|
2024-01-06 08:17:57 +01:00
|
|
|
%tmpfiles_create openvpn.conf
|
2024-01-06 08:17:56 +01:00
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_sysconfdir}/openvpn
|
2024-01-06 08:18:01 +01:00
|
|
|
%dir %{_sysconfdir}/openvpn/client
|
|
|
|
%dir %{_sysconfdir}/openvpn/server
|
2024-01-06 08:17:56 +01:00
|
|
|
%dir %{_sysconfdir}/openvpn/easy-rsa
|
|
|
|
%{_sysconfdir}/openvpn/easy-rsa/*
|
|
|
|
%config(noreplace) %{_sysconfdir}/openvpn/easy-rsa/vars
|
|
|
|
%{_sbindir}/openvpn
|
2024-01-06 08:17:57 +01:00
|
|
|
%{_includedir}/openvpn-*.h
|
2024-01-06 08:17:57 +01:00
|
|
|
%{_tmpfilesdir}/openvpn.conf
|
2024-01-06 08:17:56 +01:00
|
|
|
%dir %{_libdir}/openvpn
|
|
|
|
%dir %{_libdir}/openvpn/plugins
|
|
|
|
%{_libdir}/openvpn/plugins/openvpn-plugin-auth-pam.so
|
|
|
|
%{_libdir}/openvpn/plugins/openvpn-plugin-down-root.so
|
2024-01-06 08:17:57 +01:00
|
|
|
%{_unitdir}/openvpn@.service
|
2024-01-06 08:18:01 +01:00
|
|
|
%{_unitdir}/openvpn-client@.service
|
|
|
|
%{_unitdir}/openvpn-server@.service
|
2024-01-06 08:17:56 +01:00
|
|
|
%dir %{_datadir}/doc/openvpn
|
|
|
|
%{_datadir}/doc/openvpn/*
|
2024-01-06 08:17:57 +01:00
|
|
|
%{_mandir}/man5/openvpn-examples.5*
|
2024-01-06 08:17:56 +01:00
|
|
|
%{_mandir}/man8/openvpn.8*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
#ChangeLog README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 08:18:01 +01:00
|
|
|
* Mon Dec 04 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.8-3mamba
|
|
|
|
- %_tmpfilesdir/openvpn.conf: fix legacy support for /run/openvpn
|
|
|
|
|
|
|
|
* Sat Dec 02 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.8-2mamba
|
|
|
|
- rebuilt with --enable-systemd
|
|
|
|
|
2024-01-06 08:18:00 +01:00
|
|
|
* Fri Nov 17 2023 Automatic Build System <autodist@mambasoft.it> 2.6.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:18:00 +01:00
|
|
|
* Fri Nov 10 2023 Automatic Build System <autodist@mambasoft.it> 2.6.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:18:00 +01:00
|
|
|
* Wed Aug 16 2023 Automatic Build System <autodist@mambasoft.it> 2.6.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:59 +01:00
|
|
|
* Wed Jun 14 2023 Automatic Build System <autodist@mambasoft.it> 2.6.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:59 +01:00
|
|
|
* Fri May 12 2023 Automatic Build System <autodist@mambasoft.it> 2.6.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:59 +01:00
|
|
|
* Fri Apr 14 2023 Automatic Build System <autodist@mambasoft.it> 2.6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:58 +01:00
|
|
|
* Sat Mar 25 2023 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:58 +01:00
|
|
|
* Thu Mar 09 2023 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:58 +01:00
|
|
|
* Thu Jan 26 2023 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Thu Nov 03 2022 Automatic Build System <autodist@mambasoft.it> 2.5.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Wed Jun 01 2022 Automatic Build System <autodist@mambasoft.it> 2.5.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Thu Mar 17 2022 Automatic Build System <autodist@mambasoft.it> 2.5.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Thu Dec 16 2021 Automatic Build System <autodist@mambasoft.it> 2.5.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Oct 14 2021 Automatic Build System <autodist@mambasoft.it> 2.5.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Fri Jun 18 2021 Automatic Build System <autodist@mambasoft.it> 2.5.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Wed Apr 21 2021 Automatic Build System <autodist@mambasoft.it> 2.5.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Thu Feb 25 2021 Automatic Build System <autodist@mambasoft.it> 2.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Fri Oct 30 2020 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Sat Apr 18 2020 Automatic Build System <autodist@mambasoft.it> 2.4.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Sun Nov 03 2019 Automatic Build System <autodist@mambasoft.it> 2.4.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Thu Feb 21 2019 Automatic Build System <autodist@mambasoft.it> 2.4.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Fri Apr 27 2018 Automatic Build System <autodist@mambasoft.it> 2.4.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Mon Mar 05 2018 Automatic Build System <autodist@mambasoft.it> 2.4.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Thu Sep 28 2017 Automatic Build System <autodist@mambasoft.it> 2.4.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Sat Mar 25 2017 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Sat Dec 31 2016 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Thu Dec 08 2016 Automatic Build System <autodist@mambasoft.it> 2.3.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Thu Dec 01 2016 Automatic Build System <autodist@mambasoft.it> 2.3.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Sat Aug 27 2016 Automatic Build System <autodist@mambasoft.it> 2.3.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Thu May 26 2016 Automatic Build System <autodist@mambasoft.it> 2.3.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Sun Mar 20 2016 Automatic Build System <autodist@mambasoft.it> 2.3.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Sat Dec 26 2015 Automatic Build System <autodist@mambasoft.it> 2.3.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Wed Sep 23 2015 Automatic Build System <autodist@mambasoft.it> 2.3.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Wed Dec 03 2014 Automatic Build System <autodist@mambasoft.it> 2.3.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:57 +01:00
|
|
|
* Sun Nov 02 2014 Automatic Build System <autodist@mambasoft.it> 2.3.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:56 +01:00
|
|
|
* Fri May 16 2014 Automatic Build System <autodist@mambasoft.it> 2.3.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:17:56 +01:00
|
|
|
* Wed May 07 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.3-4mamba
|
|
|
|
- switch to /run
|
|
|
|
|
|
|
|
* Wed Apr 30 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.3-3mamba
|
|
|
|
- switch to systemd service (use systemctl enable openvpn@myvpnconf)
|
|
|
|
|
|
|
|
* Tue Apr 29 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.3-2mamba
|
|
|
|
- reintegrate easy-rsa installed under /etc/openvpn
|
|
|
|
- install sample-config-files and sample-scripts under %{_docdir}/openvpn
|
|
|
|
- require openssl (for easy-rsa)
|
|
|
|
|
|
|
|
* Fri Apr 11 2014 Automatic Build System <autodist@mambasoft.it> 2.3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jun 12 2013 Automatic Build System <autodist@mambasoft.it> 2.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Mar 31 2013 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Feb 05 2013 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jun 06 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.2.0-1mamba
|
|
|
|
- update to 2.2.2
|
|
|
|
- added missing easy-rsa
|
|
|
|
|
|
|
|
* Wed Nov 10 2010 Automatic Build System <autodist@mambasoft.it> 2.1.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Aug 25 2010 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Dec 13 2009 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Feb 29 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.9-2mamba
|
|
|
|
- added initscript and configuration directory
|
|
|
|
|
|
|
|
* Wed Mar 28 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.9-1mamba
|
|
|
|
- package created by autospec
|