/[smeserver]/rpms/e-smith-radiusd/sme10/e-smith-radiusd.spec
ViewVC logotype

Contents of /rpms/e-smith-radiusd/sme10/e-smith-radiusd.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.21 - (show annotations) (download)
Sat Nov 6 19:18:05 2021 UTC (2 years, 11 months ago) by terryfage
Branch: MAIN
CVS Tags: e-smith-radiusd-2_6_0-18_el7_sme
Changes since 1.20: +7 -2 lines
ut

q
quit
exit
t
:
:quit
CVt

: ----------------------------------------------------------------------

1 # $Id: e-smith-radiusd.spec,v 1.20 2021/11/04 00:41:16 terryfage 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 18
8 Version: %{version}
9 Release: %{release}%{?dist}
10 License: GPL
11 Group: Networking/Daemons
12 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 Patch3: e-smith-radiusd-2.6.0-bz10853.patch
17 Patch4: e-smith-radiusd-2.6.0-bz11113-bz11155-systemd-update.patch
18 Patch5: e-smith-radiusd-2.6.0-bz11302.patch
19 Patch6: e-smith-radiusd-2.6.0-bz11602-ssl-template.patch
20 Patch7: e-smith-radiusd-2.6.0-bz11718-WAP-auth.patch
21 Patch8: e-smith-radiusd-2.6.0-bz11719-LDAP-auth.patch
22 Patch9: e-smith-radiusd-2.6.0-bz11735-PAP-auth.patch
23
24 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
25 Requires: e-smith-base >= 4.13.16-27
26 Requires: e-smith-lib >= 1.15.1-16
27 Requires: freeradius >= 2.1.12
28 Requires: freeradius-ldap >= 2.1.12
29 Requires: radiusclient-ng >= 0.5.6
30 Obsoletes: radiusclient <= 0.3.2
31 BuildRequires: e-smith-devtools >= 1.13.1-03
32 BuildArchitectures: noarch
33 %define stunnelid 451
34
35 %description
36 e-smith server and gateway - configure radius server
37
38 %changelog
39 * Sat Nov 06 2021 John H. Bennett III <bennettj@johnbennettservices.com> 2.6.0-18.sme
40 - add/fix PAP-auth patch [SME: 11735]
41
42 * Thu Nov 04 2021 John H. Bennett III <bennettj@johnbennettservices.com> 2.6.0-17.sme
43 - fix WAP-auth patch [SME: 11718]
44 - fix LDAP-auth patch [SME: 11719]
45
46 * Mon Aug 23 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-16.sme
47 - fix ssl template metadata patch [SME: 11680]
48
49 * Wed Jun 02 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-15.sme
50 - remove services2adjust in bootstrap-console-save event, this put systemd in a loop [SME: 11602]
51
52 * Mon May 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-14.sme
53 - ssl pem using template in place of copy [SME: 11602]
54
55 * Sun Jan 03 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme
56 - radiusd needs ldap started before [SME: 11302]
57
58 * Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme
59 - add Restart=always [SME: 11113]
60 change group of pem file to radiusd
61
62 * Tue Dec 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme
63 - create -update event [SME: 11155]
64 - move radiusd to systemd {SME: 11113]
65 remove noise from spec file
66
67 * Thu Dec 19 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme
68 - fix server restartting with virtual_server error [SME: 10853]
69
70 * Tue Apr 12 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme
71 - escaped {} characters in ldap template [SME: 9434]
72
73 * Sun Apr 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme
74 - fix typo [SME: 9434]
75
76 * Wed Apr 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme
77 - more adjustements regarding [SME: 9434]
78 - e-smith-radiusd-2.6.0-freeradius3bis.patch
79 - e-smith-radiusd-2.6.0-freeradius3ter.patch
80
81 * Fri Apr 01 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
82 - fix directorie rpm ownership [SME: 9425]
83
84 * Fri Apr 01 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme
85 - updated syntax and conf files for freeradius3 server [SME: 9409]
86
87 * Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme
88 - Initial release to sme10
89
90 * Sat Jun 8 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-10.sme
91 - the config file is radiusclient.conf, not radiusclient-ng.conf [SME: 7546]
92
93 * Thu Jun 6 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-9.sme
94 - Add templates for radiusclient-ng.conf file to remove binaddr
95 directive [SME: 7546]
96
97 * Sun Apr 14 2013 Charlie Brady <charlie_brady@mitel.com> 2.4.0-8.sme
98 - Add directive to options.pptpd so that radius plugin can find the
99 radiusclient configuration file. [SME: 7546]
100
101 * Sat Apr 13 2013 Charlie Brady <charlie_brady@mitel.com> 2.4.0-7.sme
102 - Fix permissions of /etc/radiusclient-ng/servers. [SME: 7548]
103
104 * Mon Mar 11 2013 Shad L. Lords <slords@mail.com> 2.4.0-6.sme
105 - Obsolete el5 version of radiusclient [SME: 7273]
106
107 * Thu Feb 21 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-5.sme
108 - Use the new listen directive instead of bind_address which is deprecated [SME: 7377]
109
110 * Mon Feb 18 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-4.sme
111 - Send log to stdout [SME: 7251]
112
113 * Thu Feb 14 2013 Shad L. Lords <slords@mail.com> 2.4.0-3.sme
114 - Add requires for freeradius-ldap module [SME: 7252]
115
116 * Thu Feb 14 2013 Shad L. Lords <slords@mail.com> 2.4.0-2.sme
117 - Update radiusclient to radiusclient-ng
118
119 * Wed Feb 13 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
120 - Roll new stream for sme9
121
122 * Mon Nov 1 2010 Shad L. Lords <slords@mail.com> 2.2.0-4.sme
123 - Auth against ldap if it is master [SME: 6323]
124
125 * Tue Oct 27 2010 Shad L. Lords <slords@mail.com> 2.2.0-3.sme
126 - Add ldap as an auth type to radius [SME: 6313]
127
128 * Tue Jun 2 2009 Shad L. Lords <slords@mail.com> 2.2.0-2.sme
129 - Fix owner/perms for radius files [SME: 5317]
130
131 * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
132 - Roll new stream to separate sme7/sme8 trees [SME: 4633]
133
134 * Wed Aug 20 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-18
135 - Allow for multiple auth modules in radiusd.conf [SME: 4166]
136
137 * Sat Aug 09 2008 Gavin Weight <gweight@gmail.com> 1.0.0-17
138 - Remove the Requires kernel =>2.4 line. [SME: 4483]
139
140 * Fri May 18 2007 Federico Simoncelli <federico.simoncelli@gmail.com> 1.0.0-16
141 - Added support for fixed ip addresses in the pptp vpn [SME: 1230]
142
143 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
144 - Clean up spec so package can be built by koji/plague
145
146 * Fri Apr 06 2007 Shad L. Lords <slords@mail.com> 1.0.0-14
147 - Fix perms on servers file [SME: 2720]
148
149 * Fri Apr 06 2007 Shad L. Lords <slords@mail.com> 1.0.0-14
150 - Fix perms on client.conf file [SME: 2708]
151
152 * Wed Mar 07 2007 Shad L. Lords <slords@mail.com> 1.0.0-13
153 - Break up auth template to allow customization [SME: 2565]
154
155 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
156 - Update to new release naming. No functional changes.
157 - Make Packager generic
158
159 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-12
160 - Bump release number only
161
162 * Tue Sep 27 2005 Charlie Brady <charlieb@e-smith.com>
163 - [1.0.0-11]
164 - Fix run script so that output actually goes to the logger. [SF: 1280982]
165
166 * Mon Sep 26 2005 Charlie Brady <charlieb@e-smith.com>
167 - [1.0.0-10]
168 - Make sure that the log/run script is executable, and that
169 the log directory exists. [SF: 1280982]
170 - Make sure that stunnel user exists, by making sure that
171 %pre script works :-) (%stunnelid was not defined).
172
173 * Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com>
174 - [1.0.0-9]
175 - Add a log/run script [SF: 1280982]
176
177 * Fri Sep 2 2005 Charlie Brady <charlieb@e-smith.com>
178 - [1.0.0-8]
179 - Make sure that stunnel user exists, by %pre script.
180
181 * Mon Jul 18 2005 Charlie Brady <charlieb@e-smith.com>
182 - [1.0.0-7]
183 - [More updates from Shad.]
184 - Add accounting into radiusd
185 - Let radius do its own normal logging
186
187 * Tue Jul 12 2005 Charlie Brady <charlieb@e-smith.com>
188 - [1.0.0-6]
189 - Expand /etc/raddb/users in user-lock [SF: 1225995]
190 - Expand sigterm in password-modify, ldap-update [SF: 1225995]
191
192 * Fri Jun 24 2005 Charlie Brady <charlieb@e-smith.com>
193 - [1.0.0-5]
194 - Expand /etc/raddb/users in password-modify event [SF: 1215401]
195
196 * Fri Jun 24 2005 Charlie Brady <charlieb@e-smith.com>
197 - [1.0.0-4]
198 - Add missing patch to allow local hosts to be radius clients. [SF: 1215401]
199
200 * Thu Jun 16 2005 Charlie Brady <charlieb@e-smith.com>
201 - [1.0.0-3]
202 - Use e-smith-services startup symlink for radiusd, so that 'status'
203 property is honoured. [SF: 1215401]
204
205 * Tue Jun 14 2005 Charlie Brady <charlieb@e-smith.com>
206 - [1.0.0-2]
207 - Patches from Shad to automate radiusd startup, and to allow local hosts to
208 be radius clients. [SF: 1215401]
209
210 * Mon Jun 13 2005 Shad L. Lords <slords@mail.com>
211 - [1.0.0-1]
212 - initial
213
214 %prep
215 %setup
216 %patch0 -p1
217 %patch1 -p1
218 %patch2 -p1
219 %patch3 -p1
220 %patch4 -p1
221 rm -rf root/service root/var/service root/var/log/radiusd
222 mkdir -p root/var/log/stunnel/ssl
223 %patch5 -p1
224 %patch6 -p1
225 %patch7 -p1
226 %patch8 -p1
227 %patch9 -p1
228
229 %build
230 perl createlinks
231
232 %install
233 rm -rf $RPM_BUILD_ROOT
234 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
235 rm -f %{name}-%{version}-%{release}-filelist
236 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
237 --file /sbin/e-smith/systemd/radiusd-configure 'attr(0554,root,root)' \
238 --file /sbin/e-smith/systemd/radiusd-certificate 'attr(0554,root,root)' \
239 --dir /var/service/radiusd 'attr(01755,root,root)' \
240 --dir /var/log/stunnel 'attr(0755,stunnel,stunnel)' \
241 --dir /var/log/stunnel/ssl 'attr(0755,stunnel,stunnel)' \
242 |sed -e '/%dir %attr(0755,root,root) \/etc\/raddb/d' \
243 |sed -e '/%dir %attr(0755,root,root) \/etc\/raddb\/mods-enabled/d' \
244 > %{name}-%{version}-%{release}-filelist
245 echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
246
247 %pre
248 /sbin/e-smith/create-system-user stunnel %{stunnelid} \
249 'chrooted stunnel user user' /var/log/stunnel/ssl /bin/false
250 if [ $1 -gt 1 ] ; then
251 if [ -e /var/service/radiusd/run ] ; then
252 /usr/bin/sv d radiusd
253 /usr/bin/sv d radiusd/log
254 fi
255 fi
256
257
258 %clean
259 rm -rf $RPM_BUILD_ROOT
260
261 %files -f %{name}-%{version}-%{release}-filelist
262 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed