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.6 2016/04/07 07:16:22 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 7 |
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 |
|
* Sun Apr 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
32 |
|
- fix typo [SME: 9425] |
33 |
|
|
34 |
|
* Wed Apr 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme |
35 |
|
- more adjustements regarding [SME: 9425] |
36 |
|
- e-smith-radiusd-2.6.0-freeradius3bis.patch |
37 |
|
- e-smith-radiusd-2.6.0-freeradius3ter.patch |
38 |
|
|
39 |
|
* Fri Apr 01 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
40 |
|
- fix directorie rpm ownership [SME: 9425] |
41 |
|
|
42 |
|
* Fri Apr 01 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
43 |
|
- updated syntax and conf files for freeradius3 server [SME: 9409] |
44 |
|
|
45 |
* 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 |
46 |
- Initial release to sme10 |
- Initial release to sme10 |
47 |
|
|
171 |
|
|
172 |
%prep |
%prep |
173 |
%setup |
%setup |
174 |
|
%patch0 -p1 |
175 |
|
%patch1 -p1 |
176 |
|
%patch2 -p1 |
177 |
|
|
178 |
%build |
%build |
179 |
perl createlinks |
perl createlinks |
189 |
--file /var/service/radiusd/log/run 'attr(0755,root,root)' \ |
--file /var/service/radiusd/log/run 'attr(0755,root,root)' \ |
190 |
--dir /var/service/radiusd/supervise 'attr(0700,root,root)' \ |
--dir /var/service/radiusd/supervise 'attr(0700,root,root)' \ |
191 |
--dir /var/log/radiusd 'attr(0755,smelog,smelog)' \ |
--dir /var/log/radiusd 'attr(0755,smelog,smelog)' \ |
192 |
|
|sed -e '/%dir %attr(0755,root,root) \/etc\/raddb/d' \ |
193 |
|
|sed -e '/%dir %attr(0755,root,root) \/etc\/raddb\/mods-enabled/d' \ |
194 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
195 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
196 |
|
|