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