/[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.9 - (show annotations) (download)
Thu Dec 19 06:00:24 2019 UTC (4 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-radiusd-2_6_0-9_el7_sme
Changes since 1.8: +8 -2 lines
* Thu Dec 19 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme
- fix server restartting with virtual_server error  [SME: 10853]

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

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