/[smecontribs]/rpms/coova-chilli/contribs7/coova-chilli.spec
ViewVC logotype

Contents of /rpms/coova-chilli/contribs7/coova-chilli.spec

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


Revision 1.10 - (show annotations) (download)
Sun Jun 21 17:32:42 2009 UTC (15 years, 4 months ago) by vip-ire
Branch: MAIN
CVS Tags: coova-chilli-1_0_13-2_el4_sme, HEAD
Changes since 1.9: +18 -2 lines
Fixe mac authentication

1 # $Id: coova-chilli.spec,v 1.9 2009/05/04 13:43:34 vip-ire Exp $
2 # Authority: vip-ire
3 # Name: Daniel Berteaud
4
5 Summary: Coova-Chilli is a Wireless LAN Access Point Controller
6 Name: coova-chilli
7 Version: 1.0.13
8 Release: 2%{?dist}
9 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 BuildRequires: openssl-devel
16
17 Patch1: coova-chilli-1.0.13-mac_auth.patch
18
19 %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 %patch1 -p1
33
34 %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 rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
45 rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.a
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49 make clean
50
51 %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 %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 %{_libdir}/python/CoovaChilliLib.py
70 %{_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 %{_sysconfdir}/chilli/*.ini
82 %{_mandir}/man1/*.1*
83 %{_mandir}/man5/*.5*
84 %{_mandir}/man8/*.8*
85
86 %changelog
87 * Sun Jun 21 2009 <daniel@firewall-services.com> 1.0.13-2.sme
88 - apply patch to fix macauth
89
90 * Mon Apr 07 2009 <daniel@firewall-services.com>
91 - 1.0.13 release
92
93 - Create coovachilli user
94 * Thu Sep 30 2007 <david@coova.com>
95 - 1.0.8 release
96
97 * Thu Aug 20 2007 <david@coova.com>
98 - 1.0-coova.7 release
99
100 * Thu Jun 7 2007 <david@coova.com>
101 - 1.0-coova.6 release
102
103 * Wed May 16 2007 <david@coova.com>
104 - 1.0-coova.5 release
105
106 * Wed Feb 07 2007 <david@coova.com>
107 - 1.0-coova.4 release
108
109 * 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

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