1 |
%define version 4.34 |
2 |
%define release 6 |
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 |
Conflicts: smeserver-openvpn-bridge |
18 |
AutoReqProv: no |
19 |
Patch0:smeserver-softethervpn-server-4.34-Update-Createlinks-for-systemd.patch |
20 |
Patch1:smeserver-softethervpn-server-4.34-Patch-Service-File-for-SME10.patch |
21 |
Patch2:smeserver-softethervpn-server-4.34-Fix-vpnserver-path-in-service-file-override.patch |
22 |
Patch3:smeserver-softethervpn-server-4.34-Fix-Environment-in-service-file.patch |
23 |
|
24 |
%description |
25 |
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. |
26 |
|
27 |
%prep |
28 |
|
29 |
%setup -q -n %{name}-%{version} |
30 |
%patch0 -p1 |
31 |
%patch1 -p1 |
32 |
%patch2 -p1 |
33 |
%patch3 -p1 |
34 |
|
35 |
%build |
36 |
# Build symlinks |
37 |
perl createlinks |
38 |
|
39 |
%install |
40 |
rm -rf $RPM_BUILD_ROOT |
41 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
42 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
43 |
> %{name}-%{version}-%{release}-filelist |
44 |
|
45 |
%clean |
46 |
rm -rf $RPM_BUILD_ROOT |
47 |
|
48 |
%files -f %{name}-%{version}-%{release}-filelist |
49 |
%defattr(-,root,root) |
50 |
|
51 |
|
52 |
%post |
53 |
|
54 |
|
55 |
%changelog |
56 |
* Mon Jan 25 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-6.sme |
57 |
- Fix-Environment-in-service-file [SME: 11329] |
58 |
|
59 |
* Sun Jan 24 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-5.sme |
60 |
- Fix-vpnserver-path-in-service-file-override [SME: 11326] |
61 |
|
62 |
* Sat Jan 23 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-4.sme |
63 |
- Patch-Service-File-for-SME10 [SME: 11326] |
64 |
|
65 |
* Sat Jan 16 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-2.sme |
66 |
- Initial import to SME10 tree [SME: 11326] |
67 |
- Update-Createlinks-for-systemd |
68 |
|
69 |
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 4.34.9744-1.sme |
70 |
- initial release SME 9 |
71 |
|