1 |
# $Id: e-smith-radiusd.spec,v 1.13 2013/06/08 09:06:55 vip-ire Exp $ |
# $Id: e-smith-radiusd.spec,v 1.8 2016/04/12 10:16:09 unnilennium 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 1 |
%define release 9 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
|
Patch0: e-smith-radiusd-2.6.0-freeradius3.patch |
14 |
|
Patch1: e-smith-radiusd-2.6.0-freeradius3bis.patch |
15 |
|
Patch2: e-smith-radiusd-2.6.0-freeradius3ter.patch |
16 |
|
Patch3: e-smith-radiusd-2.6.0-bz10853.patch |
17 |
|
|
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
Requires: e-smith-base >= 4.13.16-27 |
Requires: e-smith-base >= 4.13.16-27 |
20 |
Requires: e-smith-lib >= 1.15.1-16 |
Requires: e-smith-lib >= 1.15.1-16 |
30 |
e-smith server and gateway - configure radius server |
e-smith server and gateway - configure radius server |
31 |
|
|
32 |
%changelog |
%changelog |
33 |
|
* Thu Dec 19 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
34 |
|
- fix server restartting with virtual_server error [SME: 10853] |
35 |
|
|
36 |
|
* Tue Apr 12 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
37 |
|
- escaped {} characters in ldap template [SME: 9434] |
38 |
|
|
39 |
|
* Sun Apr 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
40 |
|
- fix typo [SME: 9434] |
41 |
|
|
42 |
|
* Wed Apr 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme |
43 |
|
- more adjustements regarding [SME: 9434] |
44 |
|
- e-smith-radiusd-2.6.0-freeradius3bis.patch |
45 |
|
- e-smith-radiusd-2.6.0-freeradius3ter.patch |
46 |
|
|
47 |
|
* Fri Apr 01 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
48 |
|
- fix directorie rpm ownership [SME: 9425] |
49 |
|
|
50 |
|
* Fri Apr 01 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
51 |
|
- updated syntax and conf files for freeradius3 server [SME: 9409] |
52 |
|
|
53 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
54 |
- Initial release to sme10 |
- Initial release to sme10 |
55 |
|
|
179 |
|
|
180 |
%prep |
%prep |
181 |
%setup |
%setup |
182 |
|
%patch0 -p1 |
183 |
|
%patch1 -p1 |
184 |
|
%patch2 -p1 |
185 |
|
%patch3 -p1 |
186 |
|
|
187 |
%build |
%build |
188 |
perl createlinks |
perl createlinks |
198 |
--file /var/service/radiusd/log/run 'attr(0755,root,root)' \ |
--file /var/service/radiusd/log/run 'attr(0755,root,root)' \ |
199 |
--dir /var/service/radiusd/supervise 'attr(0700,root,root)' \ |
--dir /var/service/radiusd/supervise 'attr(0700,root,root)' \ |
200 |
--dir /var/log/radiusd 'attr(0755,smelog,smelog)' \ |
--dir /var/log/radiusd 'attr(0755,smelog,smelog)' \ |
201 |
|
|sed -e '/%dir %attr(0755,root,root) \/etc\/raddb/d' \ |
202 |
|
|sed -e '/%dir %attr(0755,root,root) \/etc\/raddb\/mods-enabled/d' \ |
203 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
204 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
205 |
|
|