1 |
vip-ire |
1.10 |
# $Id: coova-chilli.spec,v 1.9 2009/05/04 13:43:34 vip-ire Exp $ |
2 |
slords |
1.4 |
# Authority: vip-ire |
3 |
|
|
# Name: Daniel Berteaud |
4 |
|
|
|
5 |
slords |
1.1 |
Summary: Coova-Chilli is a Wireless LAN Access Point Controller |
6 |
|
|
Name: coova-chilli |
7 |
vip-ire |
1.8 |
Version: 1.0.13 |
8 |
vip-ire |
1.10 |
Release: 2%{?dist} |
9 |
slords |
1.1 |
URL: http://coova.org/wiki/index.php/CoovaChilli |
10 |
|
|
Source0: %{name}-%{version}.tar.gz |
11 |
|
|
License: GPL |
12 |
|
|
Group: System Environment/Daemons |
13 |
|
|
BuildRoot: %{_tmppath}/%{name}-root |
14 |
|
|
|
15 |
vip-ire |
1.10 |
BuildRequires: openssl-devel |
16 |
|
|
|
17 |
|
|
Patch1: coova-chilli-1.0.13-mac_auth.patch |
18 |
|
|
|
19 |
slords |
1.1 |
%description |
20 |
|
|
|
21 |
|
|
Coova-Chilli is a fork of the ChilliSpot project - an open source captive |
22 |
|
|
portal or wireless LAN access point controller. It supports web based login |
23 |
|
|
(Universal Access Method, or UAM), standard for public HotSpots, and it |
24 |
|
|
supports Wireless Protected Access (WPA), the standard for secure roamable |
25 |
|
|
networks. Authentication, Authorization and Accounting (AAA) is handled by |
26 |
|
|
your favorite radius server. Read more at http://coova.org/ and |
27 |
|
|
http://www.chillispot.org/. |
28 |
|
|
|
29 |
|
|
%prep |
30 |
|
|
%setup |
31 |
|
|
|
32 |
vip-ire |
1.10 |
%patch1 -p1 |
33 |
|
|
|
34 |
slords |
1.1 |
%build |
35 |
|
|
|
36 |
|
|
%configure --enable-static-exec |
37 |
|
|
|
38 |
|
|
make |
39 |
|
|
|
40 |
|
|
%install |
41 |
|
|
make install DESTDIR=$RPM_BUILD_ROOT |
42 |
|
|
|
43 |
|
|
rm -rf $RPM_BUILD_ROOT/usr/include/* |
44 |
slords |
1.5 |
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la |
45 |
|
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.a |
46 |
slords |
1.1 |
|
47 |
|
|
%clean |
48 |
|
|
rm -rf $RPM_BUILD_ROOT |
49 |
|
|
make clean |
50 |
|
|
|
51 |
vip-ire |
1.8 |
%pre |
52 |
|
|
# Add the "chilli" user |
53 |
|
|
/usr/sbin/useradd -c "Coova Chilli User" \ |
54 |
|
|
-s /sbin/nologin -r -d %{_sysconfdir}/chilli coovachilli 2> /dev/null || : |
55 |
|
|
|
56 |
slords |
1.1 |
%post |
57 |
|
|
/sbin/chkconfig --add chilli |
58 |
|
|
|
59 |
|
|
%preun |
60 |
|
|
if [ $1 = 0 ]; then |
61 |
|
|
/sbin/service chilli stop > /dev/null 2>&1 |
62 |
|
|
/sbin/chkconfig --del chilli |
63 |
|
|
fi |
64 |
|
|
|
65 |
|
|
%files |
66 |
|
|
%defattr(-,root,root) |
67 |
|
|
%{_sbindir}/* |
68 |
|
|
%{_libdir}/*.so* |
69 |
vip-ire |
1.8 |
%{_libdir}/python/CoovaChilliLib.py |
70 |
slords |
1.1 |
%{_sysconfdir}/init.d/chilli |
71 |
|
|
%doc AUTHORS COPYING ChangeLog INSTALL README doc/dictionary.chillispot doc/hotspotlogin.cgi |
72 |
|
|
%config %{_sysconfdir}/chilli.conf |
73 |
|
|
%config(noreplace) %{_sysconfdir}/chilli/defaults |
74 |
|
|
%dir %{_sysconfdir}/chilli |
75 |
|
|
%dir %{_sysconfdir}/chilli/www |
76 |
|
|
%attr(755,root,root)%{_sysconfdir}/chilli/www/config.sh |
77 |
|
|
%{_sysconfdir}/chilli/www/* |
78 |
|
|
%{_sysconfdir}/chilli/wwwsh |
79 |
|
|
%{_sysconfdir}/chilli/functions |
80 |
|
|
%{_sysconfdir}/chilli/*.sh |
81 |
vip-ire |
1.8 |
%{_sysconfdir}/chilli/*.ini |
82 |
slords |
1.1 |
%{_mandir}/man1/*.1* |
83 |
|
|
%{_mandir}/man5/*.5* |
84 |
|
|
%{_mandir}/man8/*.8* |
85 |
|
|
|
86 |
|
|
%changelog |
87 |
vip-ire |
1.10 |
* Sun Jun 21 2009 <daniel@firewall-services.com> 1.0.13-2.sme |
88 |
|
|
- apply patch to fix macauth |
89 |
|
|
|
90 |
vip-ire |
1.8 |
* Mon Apr 07 2009 <daniel@firewall-services.com> |
91 |
|
|
- 1.0.13 release |
92 |
vip-ire |
1.10 |
|
93 |
vip-ire |
1.8 |
- Create coovachilli user |
94 |
slords |
1.1 |
* Thu Sep 30 2007 <david@coova.com> |
95 |
|
|
- 1.0.8 release |
96 |
vip-ire |
1.10 |
|
97 |
slords |
1.1 |
* Thu Aug 20 2007 <david@coova.com> |
98 |
|
|
- 1.0-coova.7 release |
99 |
vip-ire |
1.10 |
|
100 |
slords |
1.1 |
* Thu Jun 7 2007 <david@coova.com> |
101 |
|
|
- 1.0-coova.6 release |
102 |
vip-ire |
1.10 |
|
103 |
slords |
1.1 |
* Wed May 16 2007 <david@coova.com> |
104 |
|
|
- 1.0-coova.5 release |
105 |
vip-ire |
1.10 |
|
106 |
slords |
1.1 |
* Wed Feb 07 2007 <david@coova.com> |
107 |
|
|
- 1.0-coova.4 release |
108 |
vip-ire |
1.10 |
|
109 |
slords |
1.1 |
* Wed Nov 15 2006 <david@coova.com> |
110 |
|
|
- 1.0-coova.3 release |
111 |
|
|
* Thu Mar 25 2004 <support@chillispot.org> |
112 |
|
|
- Initial release. |
113 |
vip-ire |
1.10 |
|