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