/[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.6 - (show annotations) (download)
Thu Feb 21 20:30:59 2013 UTC (11 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-radiusd-2_4_0-5_el6_sme
Changes since 1.5: +7 -2 lines
* Thu Feb 21 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-5.sme
- Use the new listen directive instead of bind_address which is deprecated [SME: 7377]

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

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