1 |
%define version 4.34 |
2 |
%define release 8 |
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 |
Patch5: smeserver-softethervpn-server-4.34-bz12334-bz12333.patch |
26 |
|
27 |
%description |
28 |
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. |
29 |
|
30 |
%prep |
31 |
|
32 |
%setup -q -n %{name}-%{version} |
33 |
%patch0 -p1 |
34 |
%patch1 -p1 |
35 |
%patch2 -p1 |
36 |
%patch3 -p1 |
37 |
%patch4 -p1 |
38 |
rm -rf root/etc/e-smith/templates-custom |
39 |
%patch5 -p1 |
40 |
rm -rf root/etc/e-smith/templates/etc/raddb/users |
41 |
|
42 |
%build |
43 |
# Build symlinks |
44 |
perl createlinks |
45 |
|
46 |
%install |
47 |
rm -rf $RPM_BUILD_ROOT |
48 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
49 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
50 |
> %{name}-%{version}-%{release}-filelist |
51 |
|
52 |
%clean |
53 |
rm -rf $RPM_BUILD_ROOT |
54 |
|
55 |
%files -f %{name}-%{version}-%{release}-filelist |
56 |
%defattr(-,root,root) |
57 |
|
58 |
|
59 |
%post |
60 |
|
61 |
|
62 |
%changelog |
63 |
* Mon Mar 06 2023 Jean-Philippe Pialasse <tests@pialasse.com> 4.34-8.sme |
64 |
- update path for ldap/radius auth [SME: 12333] |
65 |
- backup the configuration and logs [SME: 12334] |
66 |
|
67 |
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> %{version}-7.sme |
68 |
- move template custom to core for https access on local only [SME: 11511] |
69 |
|
70 |
* Mon Jan 25 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-6.sme |
71 |
- Fix-Environment-in-service-file [SME: 11329] |
72 |
|
73 |
* Sun Jan 24 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-5.sme |
74 |
- Fix-vpnserver-path-in-service-file-override [SME: 11326] |
75 |
|
76 |
* Sat Jan 23 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-4.sme |
77 |
- Patch-Service-File-for-SME10 [SME: 11326] |
78 |
|
79 |
* Sat Jan 16 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-2.sme |
80 |
- Initial import to SME10 tree [SME: 11326] |
81 |
- Update-Createlinks-for-systemd |
82 |
|
83 |
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 4.34.9744-1.sme |
84 |
- initial release SME 9 |
85 |
|