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

Annotation of /rpms/e-smith-radiusd/sme8/e-smith-radiusd.spec

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


Revision 1.7 - (hide annotations) (download)
Wed Oct 27 15:47:12 2010 UTC (13 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-radiusd-2_2_0-3_el5_sme
Changes since 1.6: +7 -2 lines
* Tue Oct 27 2010 Shad L. Lords <slords@mail.com> 2.2.0-3.sme
- Add ldap as an auth type to radius [SME: 6313]

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

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