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