1 |
%define version 4.34 |
2 |
%define release 7 |
3 |
|
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 |
Requires: e-smith-apache >= 2.6.0-14 |
18 |
Conflicts: smeserver-openvpn-bridge |
19 |
AutoReqProv: no |
20 |
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 |
%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 |
%patch0 -p1 |
32 |
%patch1 -p1 |
33 |
%patch2 -p1 |
34 |
%patch3 -p1 |
35 |
%patch4 -p1 |
36 |
rm -rf root/etc/e-smith/templates-custom |
37 |
|
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 |
* 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 |
* Mon Jan 25 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-6.sme |
63 |
- Fix-Environment-in-service-file [SME: 11329] |
64 |
|
65 |
* 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 |
* Sat Jan 23 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-4.sme |
69 |
- Patch-Service-File-for-SME10 [SME: 11326] |
70 |
|
71 |
* 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 |
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 4.34.9744-1.sme |
76 |
- initial release SME 9 |
77 |
|