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