/[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.9 - (show annotations) (download)
Sat Apr 13 21:45:00 2013 UTC (11 years, 7 months ago) by charliebrady
Branch: MAIN
Changes since 1.8: +2 -1 lines
Fix whitespace in spec file.

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

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