/[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.3 - (show annotations) (download)
Thu Feb 14 20:38:09 2013 UTC (11 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-radiusd-2_4_0-3_el6_sme
Changes since 1.2: +7 -3 lines
* Thu Feb 14 2013 Shad L. Lords <slords@mail.com> 2.4.0-3.sme
- Add requires for freeradius-ldap module [SME: 72752]

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

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