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

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

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


Revision 1.5 - (show annotations) (download)
Tue Oct 7 19:18:14 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: e-smith-radiusd-2_0_0-1_el4_sme, HEAD
Changes since 1.4: +7 -28 lines
New streams

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

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