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.4 2016/04/07 03:14:49 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 5 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
Requires: e-smith-base >= 4.13.16-27 |
Requires: e-smith-base >= 4.13.16-27 |
17 |
Requires: e-smith-lib >= 1.15.1-16 |
Requires: e-smith-lib >= 1.15.1-16 |
27 |
e-smith server and gateway - configure radius server |
e-smith server and gateway - configure radius server |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Wed Apr 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
31 |
|
- more adjustements regarding [SME: 9425] |
32 |
|
- e-smith-radiusd-2.6.0-freeradius3bis.patch |
33 |
|
|
34 |
|
* Fri Apr 01 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
35 |
|
- fix directorie rpm ownership [SME: 9425] |
36 |
|
|
37 |
|
* Fri Apr 01 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
38 |
|
- updated syntax and conf files for freeradius3 server [SME: 9409] |
39 |
|
|
40 |
* 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 |
41 |
- Initial release to sme10 |
- Initial release to sme10 |
42 |
|
|
166 |
|
|
167 |
%prep |
%prep |
168 |
%setup |
%setup |
169 |
|
%patch0 -p1 |
170 |
|
%patch1 -p1 |
171 |
|
|
172 |
%build |
%build |
173 |
perl createlinks |
perl createlinks |
183 |
--file /var/service/radiusd/log/run 'attr(0755,root,root)' \ |
--file /var/service/radiusd/log/run 'attr(0755,root,root)' \ |
184 |
--dir /var/service/radiusd/supervise 'attr(0700,root,root)' \ |
--dir /var/service/radiusd/supervise 'attr(0700,root,root)' \ |
185 |
--dir /var/log/radiusd 'attr(0755,smelog,smelog)' \ |
--dir /var/log/radiusd 'attr(0755,smelog,smelog)' \ |
186 |
|
|sed -e '/%dir %attr(0755,root,root) \/etc\/raddb/d' \ |
187 |
|
|sed -e '/%dir %attr(0755,root,root) \/etc\/raddb\/mods-enabled/d' \ |
188 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
189 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
190 |
|
|