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