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