1 |
brianr |
1.1 |
%define version 4.34 |
2 |
jpp |
1.7 |
%define release 7 |
3 |
brianr |
1.1 |
|
4 |
|
|
Name: smeserver-softethervpn-server |
5 |
|
|
Version: %{version} |
6 |
|
|
Release: %{release}%{dist} |
7 |
|
|
Summary: An Open-Source Free Cross-platform Multi-protocol VPN Program |
8 |
|
|
|
9 |
|
|
Group: Applications/Internet |
10 |
|
|
License: GPLv2 |
11 |
|
|
URL: http://www.softether.org/ |
12 |
|
|
Source0: smeserver-softethervpn-server-%{version}.tar.gz |
13 |
|
|
|
14 |
|
|
BuildRequires: e-smith-devtools |
15 |
|
|
Requires: smeserver-bridge-interface |
16 |
|
|
Requires: softethervpn |
17 |
jpp |
1.7 |
Requires: e-smith-apache >= 2.6.0-14 |
18 |
brianr |
1.1 |
Conflicts: smeserver-openvpn-bridge |
19 |
|
|
AutoReqProv: no |
20 |
jpp |
1.7 |
Patch0: smeserver-softethervpn-server-4.34-Update-Createlinks-for-systemd.patch |
21 |
|
|
Patch1: smeserver-softethervpn-server-4.34-Patch-Service-File-for-SME10.patch |
22 |
|
|
Patch2: smeserver-softethervpn-server-4.34-Fix-vpnserver-path-in-service-file-override.patch |
23 |
|
|
Patch3: smeserver-softethervpn-server-4.34-Fix-Environment-in-service-file.patch |
24 |
|
|
Patch4: smeserver-softethervpn-server-4.34-bz11511.patch |
25 |
brianr |
1.1 |
%description |
26 |
|
|
SoftEther VPN is one of the world's most powerful and easy-to-use multi-protocol VPN software. It runs on Windows, Linux, Mac, FreeBSD, and Solaris. |
27 |
|
|
|
28 |
|
|
%prep |
29 |
|
|
|
30 |
|
|
%setup -q -n %{name}-%{version} |
31 |
brianr |
1.2 |
%patch0 -p1 |
32 |
brianr |
1.3 |
%patch1 -p1 |
33 |
brianr |
1.5 |
%patch2 -p1 |
34 |
brianr |
1.6 |
%patch3 -p1 |
35 |
jpp |
1.7 |
%patch4 -p1 |
36 |
|
|
rm -rf root/etc/e-smith/templates-custom |
37 |
brianr |
1.1 |
|
38 |
|
|
%build |
39 |
|
|
# Build symlinks |
40 |
|
|
perl createlinks |
41 |
|
|
|
42 |
|
|
%install |
43 |
|
|
rm -rf $RPM_BUILD_ROOT |
44 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
45 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
46 |
|
|
> %{name}-%{version}-%{release}-filelist |
47 |
|
|
|
48 |
|
|
%clean |
49 |
|
|
rm -rf $RPM_BUILD_ROOT |
50 |
|
|
|
51 |
|
|
%files -f %{name}-%{version}-%{release}-filelist |
52 |
|
|
%defattr(-,root,root) |
53 |
|
|
|
54 |
|
|
|
55 |
|
|
%post |
56 |
|
|
|
57 |
|
|
|
58 |
|
|
%changelog |
59 |
jpp |
1.7 |
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> %{version}-7.sme |
60 |
|
|
- move template custom to core for https access on local only [SME: 11511] |
61 |
|
|
|
62 |
brianr |
1.6 |
* Mon Jan 25 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-6.sme |
63 |
|
|
- Fix-Environment-in-service-file [SME: 11329] |
64 |
|
|
|
65 |
brianr |
1.5 |
* Sun Jan 24 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-5.sme |
66 |
|
|
- Fix-vpnserver-path-in-service-file-override [SME: 11326] |
67 |
|
|
|
68 |
brianr |
1.4 |
* Sat Jan 23 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-4.sme |
69 |
brianr |
1.3 |
- Patch-Service-File-for-SME10 [SME: 11326] |
70 |
|
|
|
71 |
brianr |
1.2 |
* Sat Jan 16 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-2.sme |
72 |
|
|
- Initial import to SME10 tree [SME: 11326] |
73 |
|
|
- Update-Createlinks-for-systemd |
74 |
|
|
|
75 |
brianr |
1.1 |
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 4.34.9744-1.sme |
76 |
|
|
- initial release SME 9 |
77 |
|
|
|