2024-01-06 08:17:56 +01:00
|
|
|
Name: openvpn
|
2024-01-06 08:17:57 +01:00
|
|
|
Version: 2.3.11
|
2024-01-06 08:17:56 +01:00
|
|
|
Release: 1mamba
|
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>
|
|
|
|
URL: http://openvpn.net/
|
|
|
|
Source: http://swupdate.openvpn.org/community/releases/openvpn-%{version}.tar.gz
|
|
|
|
Source1: openvpn@.service
|
|
|
|
Source2: openvpn-tmpfiles.d
|
|
|
|
License: GPL
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: liblzo-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libpam-devel
|
|
|
|
BuildRequires: libperl
|
|
|
|
BuildRequires: perl-Authen-PAM
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: easy-rsa
|
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%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
|
|
|
|
|
|
|
|
install -D -m0644 %{SOURCE1} %{buildroot}/lib/systemd/system/openvpn@.service
|
|
|
|
install -D -m0644 %{SOURCE2} %{buildroot}%{_prefix}/lib/tmpfiles.d/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
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_sysconfdir}/openvpn
|
|
|
|
%dir %{_sysconfdir}/openvpn/easy-rsa
|
|
|
|
%{_sysconfdir}/openvpn/easy-rsa/*
|
|
|
|
%config(noreplace) %{_sysconfdir}/openvpn/easy-rsa/vars
|
|
|
|
%{_sbindir}/openvpn
|
|
|
|
%{_includedir}/openvpn-plugin.h
|
2024-01-06 08:17:56 +01:00
|
|
|
%{_prefix}/lib/tmpfiles.d/openvpn.conf
|
2024-01-06 08:17:56 +01:00
|
|
|
%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
|
|
|
|
%dir %{_datadir}/doc/openvpn
|
|
|
|
%{_datadir}/doc/openvpn/*
|
|
|
|
%{_mandir}/man8/openvpn.8*
|
|
|
|
%{_datadir}/doc/openvpn/management-notes.txt
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
#ChangeLog README
|
|
|
|
|
|
|
|
%changelog
|
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
|