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

Contents of /rpms/e-smith-radiusd/sme8/e-smith-radiusd-1.0.0.spec

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


Revision 1.2 - (show annotations) (download)
Wed Feb 27 18:26:15 2008 UTC (16 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove version from spec

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

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