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

Annotation 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.11 - (hide annotations) (download)
Wed Dec 9 02:38:43 2020 UTC (3 years, 5 months ago) by jpp
Branch: MAIN
Changes since 1.10: +12 -14 lines
* Tue Dec 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme
- create -update event [SME: 11155]
- move radiusd to systemd {SME: 11113]

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

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