1 |
unnilennium |
1.3 |
# $Id: e-smith-radiusd.spec,v 1.2 2016/04/01 16:51:57 unnilennium Exp $ |
2 |
stephdl |
1.1 |
|
3 |
|
|
Summary: e-smith server and gateway - configure PPTP inbound VPN |
4 |
|
|
%define name e-smith-radiusd |
5 |
|
|
Name: %{name} |
6 |
|
|
%define version 2.6.0 |
7 |
unnilennium |
1.3 |
%define release 3 |
8 |
stephdl |
1.1 |
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: Networking/Daemons |
12 |
|
|
Source: %{name}-%{version}.tar.xz |
13 |
unnilennium |
1.2 |
Patch0: e-smith-radiusd-2.6.0-freeradius3.patch |
14 |
stephdl |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
|
|
Requires: e-smith-base >= 4.13.16-27 |
16 |
|
|
Requires: e-smith-lib >= 1.15.1-16 |
17 |
|
|
Requires: freeradius >= 2.1.12 |
18 |
|
|
Requires: freeradius-ldap >= 2.1.12 |
19 |
|
|
Requires: radiusclient-ng >= 0.5.6 |
20 |
|
|
Obsoletes: radiusclient <= 0.3.2 |
21 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
22 |
|
|
BuildArchitectures: noarch |
23 |
|
|
%define stunnelid 451 |
24 |
|
|
|
25 |
|
|
%description |
26 |
|
|
e-smith server and gateway - configure radius server |
27 |
|
|
|
28 |
|
|
%changelog |
29 |
unnilennium |
1.3 |
* Fri Apr 01 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
30 |
|
|
- fix directorie rpm ownership [SME: 9425] |
31 |
|
|
|
32 |
unnilennium |
1.2 |
* Fri Apr 01 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
33 |
|
|
- updated syntax and conf files for freeradius3 server [SME: 9409] |
34 |
|
|
|
35 |
stephdl |
1.1 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
36 |
|
|
- Initial release to sme10 |
37 |
|
|
|
38 |
|
|
* Sat Jun 8 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-10.sme |
39 |
|
|
- the config file is radiusclient.conf, not radiusclient-ng.conf [SME: 7546] |
40 |
|
|
|
41 |
|
|
* Thu Jun 6 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-9.sme |
42 |
|
|
- Add templates for radiusclient-ng.conf file to remove binaddr |
43 |
|
|
directive [SME: 7546] |
44 |
|
|
|
45 |
|
|
* Sun Apr 14 2013 Charlie Brady <charlie_brady@mitel.com> 2.4.0-8.sme |
46 |
|
|
- Add directive to options.pptpd so that radius plugin can find the |
47 |
|
|
radiusclient configuration file. [SME: 7546] |
48 |
|
|
|
49 |
|
|
* Sat Apr 13 2013 Charlie Brady <charlie_brady@mitel.com> 2.4.0-7.sme |
50 |
|
|
- Fix permissions of /etc/radiusclient-ng/servers. [SME: 7548] |
51 |
|
|
|
52 |
|
|
* Mon Mar 11 2013 Shad L. Lords <slords@mail.com> 2.4.0-6.sme |
53 |
|
|
- Obsolete el5 version of radiusclient [SME: 7273] |
54 |
|
|
|
55 |
|
|
* Thu Feb 21 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-5.sme |
56 |
|
|
- Use the new listen directive instead of bind_address which is deprecated [SME: 7377] |
57 |
|
|
|
58 |
|
|
* Mon Feb 18 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-4.sme |
59 |
|
|
- Send log to stdout [SME: 7251] |
60 |
|
|
|
61 |
|
|
* Thu Feb 14 2013 Shad L. Lords <slords@mail.com> 2.4.0-3.sme |
62 |
|
|
- Add requires for freeradius-ldap module [SME: 7252] |
63 |
|
|
|
64 |
|
|
* Thu Feb 14 2013 Shad L. Lords <slords@mail.com> 2.4.0-2.sme |
65 |
|
|
- Update radiusclient to radiusclient-ng |
66 |
|
|
|
67 |
|
|
* Wed Feb 13 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
68 |
|
|
- Roll new stream for sme9 |
69 |
|
|
|
70 |
|
|
* Mon Nov 1 2010 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
71 |
|
|
- Auth against ldap if it is master [SME: 6323] |
72 |
|
|
|
73 |
|
|
* Tue Oct 27 2010 Shad L. Lords <slords@mail.com> 2.2.0-3.sme |
74 |
|
|
- Add ldap as an auth type to radius [SME: 6313] |
75 |
|
|
|
76 |
|
|
* Tue Jun 2 2009 Shad L. Lords <slords@mail.com> 2.2.0-2.sme |
77 |
|
|
- Fix owner/perms for radius files [SME: 5317] |
78 |
|
|
|
79 |
|
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
80 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
81 |
|
|
|
82 |
|
|
* Wed Aug 20 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-18 |
83 |
|
|
- Allow for multiple auth modules in radiusd.conf [SME: 4166] |
84 |
|
|
|
85 |
|
|
* Sat Aug 09 2008 Gavin Weight <gweight@gmail.com> 1.0.0-17 |
86 |
|
|
- Remove the Requires kernel =>2.4 line. [SME: 4483] |
87 |
|
|
|
88 |
|
|
* Fri May 18 2007 Federico Simoncelli <federico.simoncelli@gmail.com> 1.0.0-16 |
89 |
|
|
- Added support for fixed ip addresses in the pptp vpn [SME: 1230] |
90 |
|
|
|
91 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
92 |
|
|
- Clean up spec so package can be built by koji/plague |
93 |
|
|
|
94 |
|
|
* Fri Apr 06 2007 Shad L. Lords <slords@mail.com> 1.0.0-14 |
95 |
|
|
- Fix perms on servers file [SME: 2720] |
96 |
|
|
|
97 |
|
|
* Fri Apr 06 2007 Shad L. Lords <slords@mail.com> 1.0.0-14 |
98 |
|
|
- Fix perms on client.conf file [SME: 2708] |
99 |
|
|
|
100 |
|
|
* Wed Mar 07 2007 Shad L. Lords <slords@mail.com> 1.0.0-13 |
101 |
|
|
- Break up auth template to allow customization [SME: 2565] |
102 |
|
|
|
103 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
104 |
|
|
- Update to new release naming. No functional changes. |
105 |
|
|
- Make Packager generic |
106 |
|
|
|
107 |
|
|
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-12 |
108 |
|
|
- Bump release number only |
109 |
|
|
|
110 |
|
|
* Tue Sep 27 2005 Charlie Brady <charlieb@e-smith.com> |
111 |
|
|
- [1.0.0-11] |
112 |
|
|
- Fix run script so that output actually goes to the logger. [SF: 1280982] |
113 |
|
|
|
114 |
|
|
* Mon Sep 26 2005 Charlie Brady <charlieb@e-smith.com> |
115 |
|
|
- [1.0.0-10] |
116 |
|
|
- Make sure that the log/run script is executable, and that |
117 |
|
|
the log directory exists. [SF: 1280982] |
118 |
|
|
- Make sure that stunnel user exists, by making sure that |
119 |
|
|
%pre script works :-) (%stunnelid was not defined). |
120 |
|
|
|
121 |
|
|
* Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com> |
122 |
|
|
- [1.0.0-9] |
123 |
|
|
- Add a log/run script [SF: 1280982] |
124 |
|
|
|
125 |
|
|
* Fri Sep 2 2005 Charlie Brady <charlieb@e-smith.com> |
126 |
|
|
- [1.0.0-8] |
127 |
|
|
- Make sure that stunnel user exists, by %pre script. |
128 |
|
|
|
129 |
|
|
* Mon Jul 18 2005 Charlie Brady <charlieb@e-smith.com> |
130 |
|
|
- [1.0.0-7] |
131 |
|
|
- [More updates from Shad.] |
132 |
|
|
- Add accounting into radiusd |
133 |
|
|
- Let radius do its own normal logging |
134 |
|
|
|
135 |
|
|
* Tue Jul 12 2005 Charlie Brady <charlieb@e-smith.com> |
136 |
|
|
- [1.0.0-6] |
137 |
|
|
- Expand /etc/raddb/users in user-lock [SF: 1225995] |
138 |
|
|
- Expand sigterm in password-modify, ldap-update [SF: 1225995] |
139 |
|
|
|
140 |
|
|
* Fri Jun 24 2005 Charlie Brady <charlieb@e-smith.com> |
141 |
|
|
- [1.0.0-5] |
142 |
|
|
- Expand /etc/raddb/users in password-modify event [SF: 1215401] |
143 |
|
|
|
144 |
|
|
* Fri Jun 24 2005 Charlie Brady <charlieb@e-smith.com> |
145 |
|
|
- [1.0.0-4] |
146 |
|
|
- Add missing patch to allow local hosts to be radius clients. [SF: 1215401] |
147 |
|
|
|
148 |
|
|
* Thu Jun 16 2005 Charlie Brady <charlieb@e-smith.com> |
149 |
|
|
- [1.0.0-3] |
150 |
|
|
- Use e-smith-services startup symlink for radiusd, so that 'status' |
151 |
|
|
property is honoured. [SF: 1215401] |
152 |
|
|
|
153 |
|
|
* Tue Jun 14 2005 Charlie Brady <charlieb@e-smith.com> |
154 |
|
|
- [1.0.0-2] |
155 |
|
|
- Patches from Shad to automate radiusd startup, and to allow local hosts to |
156 |
|
|
be radius clients. [SF: 1215401] |
157 |
|
|
|
158 |
|
|
* Mon Jun 13 2005 Shad L. Lords <slords@mail.com> |
159 |
|
|
- [1.0.0-1] |
160 |
|
|
- initial |
161 |
|
|
|
162 |
|
|
%prep |
163 |
|
|
%setup |
164 |
unnilennium |
1.2 |
%patch0 -p1 |
165 |
|
|
|
166 |
stephdl |
1.1 |
|
167 |
|
|
%build |
168 |
|
|
perl createlinks |
169 |
|
|
|
170 |
|
|
%install |
171 |
|
|
rm -rf $RPM_BUILD_ROOT |
172 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
173 |
|
|
rm -f %{name}-%{version}-%{release}-filelist |
174 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
175 |
|
|
--dir /var/service/radiusd 'attr(01755,root,root)' \ |
176 |
|
|
--file /var/service/radiusd/down 'attr(0644,root,root)' \ |
177 |
|
|
--file /var/service/radiusd/run 'attr(0755,root,root)' \ |
178 |
|
|
--file /var/service/radiusd/log/run 'attr(0755,root,root)' \ |
179 |
|
|
--dir /var/service/radiusd/supervise 'attr(0700,root,root)' \ |
180 |
|
|
--dir /var/log/radiusd 'attr(0755,smelog,smelog)' \ |
181 |
unnilennium |
1.3 |
|sed -e '/%dir %attr(0755,root,root) \/etc\/raddb/d' \ |
182 |
|
|
|sed -e '/%dir %attr(0755,root,root) \/etc\/raddb\/mods-enabled/d' \ |
183 |
stephdl |
1.1 |
> %{name}-%{version}-%{release}-filelist |
184 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
185 |
|
|
|
186 |
|
|
%pre |
187 |
|
|
/sbin/e-smith/create-system-user stunnel %{stunnelid} \ |
188 |
|
|
'chrooted stunnel user user' /var/log/imap/ssl /bin/false |
189 |
|
|
|
190 |
|
|
%clean |
191 |
|
|
rm -rf $RPM_BUILD_ROOT |
192 |
|
|
|
193 |
|
|
%files -f %{name}-%{version}-%{release}-filelist |
194 |
|
|
%defattr(-,root,root) |