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

Contents of /rpms/e-smith-radiusd/sme9/e-smith-radiusd.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.12 - (show annotations) (download)
Thu Jun 6 18:31:59 2013 UTC (10 years, 11 months ago) by vip-ire
Branch: MAIN
Changes since 1.11: +2 -2 lines
The binaddr directive is not 'bad', it's just the radius plugin for pppd which cannot parse it

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

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