/[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.4 - (show annotations) (download)
Thu Apr 7 03:14:49 2016 UTC (8 years, 6 months ago) by unnilennium
Branch: MAIN
CVS Tags: e-smith-radiusd-2_6_0-4_el7_sme
Changes since 1.3: +8 -3 lines
* Wed Apr 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme
- more  adjustements regarding [SME: 9425]
- e-smith-radiusd-2.6.0-freeradius3bis.patch

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

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