1 |
# $Id: e-smith-radiusd.spec,v 1.13 2020/12/09 02:51:41 jpp Exp $ |
# $Id: e-smith-radiusd.spec,v 1.15 2021/01/02 05:36:25 jpp Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - configure PPTP inbound VPN |
Summary: e-smith server and gateway - configure PPTP inbound VPN |
4 |
%define name e-smith-radiusd |
%define name e-smith-radiusd |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.0 |
%define version 2.6.0 |
7 |
%define release 11 |
%define release 13 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
15 |
Patch2: e-smith-radiusd-2.6.0-freeradius3ter.patch |
Patch2: e-smith-radiusd-2.6.0-freeradius3ter.patch |
16 |
Patch3: e-smith-radiusd-2.6.0-bz10853.patch |
Patch3: e-smith-radiusd-2.6.0-bz10853.patch |
17 |
Patch4: e-smith-radiusd-2.6.0-bz11113-bz11155-systemd-update.patch |
Patch4: e-smith-radiusd-2.6.0-bz11113-bz11155-systemd-update.patch |
18 |
|
Patch5: e-smith-radiusd-2.6.0-bz11302.patch |
19 |
|
|
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
Requires: e-smith-base >= 4.13.16-27 |
Requires: e-smith-base >= 4.13.16-27 |
32 |
e-smith server and gateway - configure radius server |
e-smith server and gateway - configure radius server |
33 |
|
|
34 |
%changelog |
%changelog |
35 |
|
* Sun Jan 03 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme |
36 |
|
- radiusd needs ldap started before [SME: 11302] |
37 |
|
|
38 |
|
* Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
39 |
|
- add Restart=always [SME: 11113] |
40 |
|
change group of pem file to radiusd |
41 |
|
|
42 |
* Tue Dec 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
* Tue Dec 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
43 |
- create -update event [SME: 11155] |
- create -update event [SME: 11155] |
44 |
- move radiusd to systemd {SME: 11113] |
- move radiusd to systemd {SME: 11113] |
200 |
%patch4 -p1 |
%patch4 -p1 |
201 |
rm -rf root/service root/var/service root/var/log/radiusd |
rm -rf root/service root/var/service root/var/log/radiusd |
202 |
mkdir -p root/var/log/stunnel/ssl |
mkdir -p root/var/log/stunnel/ssl |
203 |
|
%patch5 -p1 |
204 |
|
|
205 |
%build |
%build |
206 |
perl createlinks |
perl createlinks |