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