/[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.15 - (show annotations) (download)
Sat Jan 2 05:36:25 2021 UTC (3 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-radiusd-2_6_0-12_el7_sme
Changes since 1.14: +6 -2 lines
* Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme
- add Restart=always [SME: 11113]
  change group of pem file to radiusd

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

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