/[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.7 - (hide annotations) (download)
Sun Apr 10 07:30:52 2016 UTC (8 years, 6 months ago) by unnilennium
Branch: MAIN
CVS Tags: e-smith-radiusd-2_6_0-7_el7_sme
Changes since 1.6: +5 -2 lines
* Sun Apr 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme
- fix typo [SME: 9425]

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

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