4 |
Summary: OpenVPN, a strong VPN solution build over SSL, pre-configured for routed mode |
Summary: OpenVPN, a strong VPN solution build over SSL, pre-configured for routed mode |
5 |
Name: smeserver-openvpn-routed |
Name: smeserver-openvpn-routed |
6 |
%define version 0.1.6 |
%define version 0.1.6 |
7 |
%define release 1 |
%define release 2 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
19 |
Requires: e-smith-base |
Requires: e-smith-base |
20 |
Requires: openvpn |
Requires: openvpn |
21 |
#Requires: perl(Net::OpenVPN::Manage) |
#Requires: perl(Net::OpenVPN::Manage) |
22 |
|
Patch0:smeserver-openvpn-routed-0.1.6-Add-in-systemd-startup.patch |
23 |
|
|
24 |
%description |
%description |
25 |
This package contains all the needed scripts and templates |
This package contains all the needed scripts and templates |
27 |
|
|
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Thu Feb 04 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.6-2.sme |
31 |
|
- Initial import to SME10 [SME: 11336] |
32 |
|
- Add-in-systemd-startup |
33 |
|
|
34 |
|
|
35 |
* Mon Apr 10 2017 Daniel Berteaud <daniel@firewall-services.com> 0.1.6-1 |
* Mon Apr 10 2017 Daniel Berteaud <daniel@firewall-services.com> 0.1.6-1 |
36 |
- Update pam plugin path [SME: 10220] |
- Update pam plugin path [SME: 10220] |
37 |
|
|
57 |
|
|
58 |
%prep |
%prep |
59 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
60 |
|
%patch0 -p1 |
61 |
|
|
62 |
%build |
%build |
63 |
perl createlinks |
perl createlinks |
72 |
%install |
%install |
73 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
74 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
75 |
|
/bin/chmod +x $RPM_BUILD_ROOT/usr/sbin/systemd/openvpn-routed |
76 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
77 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
78 |
--file /var/service/openvpn-routed/run 'attr(0755,root,root)' \ |
--file /var/service/openvpn-routed/run 'attr(0755,root,root)' \ |