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