|
|
@ -1,10 +1,10 @@
|
|
|
|
%define prerelease beta15
|
|
|
|
%define prerelease beta16
|
|
|
|
|
|
|
|
|
|
|
|
%define plugins down-root auth-pam
|
|
|
|
%define plugins down-root auth-pam
|
|
|
|
|
|
|
|
|
|
|
|
Name: openvpn
|
|
|
|
Name: openvpn
|
|
|
|
Version: 2.1
|
|
|
|
Version: 2.1
|
|
|
|
Release: 0.13%{?prerelease:.%{prerelease}}%{?dist}
|
|
|
|
Release: 0.14%{?prerelease:.%{prerelease}}%{?dist}
|
|
|
|
Summary: A full-featured SSL VPN solution
|
|
|
|
Summary: A full-featured SSL VPN solution
|
|
|
|
URL: http://openvpn.net/
|
|
|
|
URL: http://openvpn.net/
|
|
|
|
Source0: http://openvpn.net/release/%{name}-%{version}%{?prerelease:_%{prerelease}}.tar.gz
|
|
|
|
Source0: http://openvpn.net/release/%{name}-%{version}%{?prerelease:_%{prerelease}}.tar.gz
|
|
|
@ -15,8 +15,6 @@ Source2: roadwarrior-server.conf
|
|
|
|
Source3: roadwarrior-client.conf
|
|
|
|
Source3: roadwarrior-client.conf
|
|
|
|
# Don't start openvpn by default.
|
|
|
|
# Don't start openvpn by default.
|
|
|
|
Patch0: openvpn-init.patch
|
|
|
|
Patch0: openvpn-init.patch
|
|
|
|
# Avoid test hang (from Paul Howarth).
|
|
|
|
|
|
|
|
Patch1: openvpn-2.1_beta15-test-timeout.patch
|
|
|
|
|
|
|
|
License: GPL
|
|
|
|
License: GPL
|
|
|
|
Group: Applications/Internet
|
|
|
|
Group: Applications/Internet
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(id -un)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(id -un)
|
|
|
@ -45,7 +43,6 @@ for compression.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}%{?prerelease:_%{prerelease}}
|
|
|
|
%setup -q -n %{name}-%{version}%{?prerelease:_%{prerelease}}
|
|
|
|
%patch0 -p0
|
|
|
|
%patch0 -p0
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
sed -i -e 's,%{_datadir}/openvpn/plugin,%{_libdir}/openvpn/plugin,' openvpn.8
|
|
|
|
sed -i -e 's,%{_datadir}/openvpn/plugin,%{_libdir}/openvpn/plugin,' openvpn.8
|
|
|
|
|
|
|
|
|
|
|
|
# %%doc items shouldn't be executable.
|
|
|
|
# %%doc items shouldn't be executable.
|
|
|
@ -135,6 +132,10 @@ fi
|
|
|
|
%config %dir %{_sysconfdir}/%{name}/
|
|
|
|
%config %dir %{_sysconfdir}/%{name}/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Oct 02 2006 Steven Pritchard <steve@kspei.com> 2.1-0.14.beta16
|
|
|
|
|
|
|
|
- Update to 2.1_beta16
|
|
|
|
|
|
|
|
- Drop Paul's patch (in upstream)
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 12 2006 Steven Pritchard <steve@kspei.com> 2.1-0.13.beta15
|
|
|
|
* Tue Sep 12 2006 Steven Pritchard <steve@kspei.com> 2.1-0.13.beta15
|
|
|
|
- Update to 2.1_beta15
|
|
|
|
- Update to 2.1_beta15
|
|
|
|
- Add openvpn-2.1_beta15-test-timeout.patch to avoid test hang
|
|
|
|
- Add openvpn-2.1_beta15-test-timeout.patch to avoid test hang
|
|
|
|