796 |
richard |
1 |
%define _disable_ld_no_undefined 1
|
|
|
2 |
|
|
|
3 |
Summary: Coova-Chilli is a LAN Access Point Controller
|
|
|
4 |
Name: coova-chilli
|
|
|
5 |
Version: 1.2.9
|
894 |
richard |
6 |
Release: %mkrel 1
|
796 |
richard |
7 |
URL: http://coova.org/wiki/index.php/CoovaChilli
|
|
|
8 |
Source0: http://ap.coova.org/chilli/%{name}-%{version}.tar.gz
|
|
|
9 |
License: GPLv2
|
|
|
10 |
Group: System/Servers
|
|
|
11 |
Packager: Rexy for ALCASAR project
|
|
|
12 |
Requires(pre): rpm-helper
|
|
|
13 |
Requires(postun): rpm-helper
|
|
|
14 |
|
|
|
15 |
BuildRequires: autoconf
|
|
|
16 |
BuildRequires: libtool
|
|
|
17 |
BuildRequires: curl-devel
|
|
|
18 |
BuildRequires: pcap-devel
|
|
|
19 |
BuildRequires: python
|
|
|
20 |
BuildRequires: python-devel
|
|
|
21 |
%if %{!?_without_ssl:1}0
|
|
|
22 |
BuildRequires: openssl-devel
|
|
|
23 |
%endif
|
|
|
24 |
Provides: coova-chilli = %{version}-%{release}
|
|
|
25 |
Obsoletes: chillispot
|
|
|
26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
|
27 |
|
|
|
28 |
%description
|
|
|
29 |
|
|
|
30 |
Coova-Chilli is a fork of the ChilliSpot project - an open source captive
|
|
|
31 |
portal or wireless LAN access point controller. It supports web based login
|
|
|
32 |
(Universal Access Method, or UAM), standard for public HotSpots, and it
|
|
|
33 |
supports Wireless Protected Access (WPA), the standard for secure roamable
|
|
|
34 |
networks. Authentication, Authorization and Accounting (AAA) is handled by
|
|
|
35 |
your favorite radius server. Read more at http://coova.org/.
|
|
|
36 |
|
|
|
37 |
%prep
|
|
|
38 |
%setup -q -n %{name}-%{version}
|
|
|
39 |
|
|
|
40 |
%build
|
|
|
41 |
|
|
|
42 |
%configure \
|
|
|
43 |
--disable-static \
|
|
|
44 |
--enable-shared \
|
|
|
45 |
--enable-largelimits \
|
|
|
46 |
--enable-miniportal \
|
|
|
47 |
--enable-chilliredir \
|
|
|
48 |
--enable-chilliproxy \
|
|
|
49 |
--enable-chilliscript \
|
|
|
50 |
--with-poll \
|
|
|
51 |
%if %{!?_without_ssl:1}0
|
|
|
52 |
--with-openssl \
|
|
|
53 |
--enable-chilliradsec \
|
|
|
54 |
%endif
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
make
|
|
|
58 |
|
|
|
59 |
%install
|
|
|
60 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
61 |
|
|
|
62 |
rm -rf $RPM_BUILD_ROOT/usr/include/*
|
|
|
63 |
rm -rf $RPM_BUILD_ROOT/usr/lib/*.la
|
|
|
64 |
rm -rf $RPM_BUILD_ROOT/usr/lib/*.a
|
894 |
richard |
65 |
rm -rf $RPM_BUILD_ROOT/usr/lib64/*.la
|
|
|
66 |
rm -rf $RPM_BUILD_ROOT/usr/lib64/*.a
|
796 |
richard |
67 |
|
|
|
68 |
%clean
|
|
|
69 |
rm -rf $RPM_BUILD_ROOT
|
|
|
70 |
make clean
|
|
|
71 |
|
|
|
72 |
%post
|
|
|
73 |
%_post_service chilli
|
|
|
74 |
|
|
|
75 |
%preun
|
|
|
76 |
%_preun_service chilli
|
|
|
77 |
|
|
|
78 |
%files
|
|
|
79 |
%defattr(-,root,root)
|
|
|
80 |
%{_sbindir}/*
|
|
|
81 |
%{_libdir}/*.so*
|
|
|
82 |
%{_libdir}/python/CoovaChilliLib.py
|
|
|
83 |
%{_sysconfdir}/init.d/chilli
|
|
|
84 |
%doc AUTHORS COPYING ChangeLog INSTALL README doc/dictionary.chillispot doc/hotspotlogin.cgi
|
|
|
85 |
%config %{_sysconfdir}/chilli.conf
|
|
|
86 |
%config %{_sysconfdir}/chilli/gui-config-default.ini
|
|
|
87 |
%config(noreplace) %{_sysconfdir}/chilli/defaults
|
|
|
88 |
%dir %{_sysconfdir}/chilli
|
|
|
89 |
%dir %{_sysconfdir}/chilli/www
|
|
|
90 |
%attr(755,root,root)%{_sysconfdir}/chilli/www/config.sh
|
|
|
91 |
%attr(4750,root,chilli)%{_sbindir}/chilli_script
|
|
|
92 |
%{_sysconfdir}/chilli/www/*
|
|
|
93 |
%{_sysconfdir}/chilli/wwwsh
|
|
|
94 |
%{_sysconfdir}/chilli/functions
|
|
|
95 |
%{_sysconfdir}/chilli/*.sh
|
|
|
96 |
%{_mandir}/man1/*.1*
|
|
|
97 |
%{_mandir}/man5/*.5*
|
|
|
98 |
%{_mandir}/man8/*.8*
|
|
|
99 |
|
|
|
100 |
%changelog
|
894 |
richard |
101 |
* Mon Jun 18 2012 Rexy for ALCASAR project
|
|
|
102 |
- 1.2.9-1 release
|
796 |
richard |
103 |
* Wed Jan 18 2012 Rexy for ALCASAR project
|
|
|
104 |
- 1.2.9 release
|
|
|
105 |
* Sun Jul 11 2011 Rexy for ALCASAR project
|
|
|
106 |
- 1.2.8 release
|
|
|
107 |
* Sat Feb 12 2011 Rexy for Alcasar project
|
|
|
108 |
+ revision: 433
|
|
|
109 |
+ add _disable_ld_no_undefined 1
|
|
|
110 |
- 1.2.6 release
|
|
|
111 |
* Sat Nov 20 2010 Rexy for Alcasar project
|
|
|
112 |
+ revision: 394
|
|
|
113 |
- 1.2.5 release
|
|
|
114 |
* Sat Jan 2 2010 <david@coova.com>
|
|
|
115 |
- 1.2.0 release
|
|
|
116 |
* Thu Sep 30 2007 <david@coova.com>
|
|
|
117 |
- 1.0.8 release
|
|
|
118 |
* Thu Aug 20 2007 <david@coova.com>
|
|
|
119 |
- 1.0-coova.7 release
|
|
|
120 |
* Thu Jun 7 2007 <david@coova.com>
|
|
|
121 |
- 1.0-coova.6 release
|
|
|
122 |
* Wed May 16 2007 <david@coova.com>
|
|
|
123 |
- 1.0-coova.5 release
|
|
|
124 |
* Wed Feb 07 2007 <david@coova.com>
|
|
|
125 |
- 1.0-coova.4 release
|
|
|
126 |
* Wed Nov 15 2006 <david@coova.com>
|
|
|
127 |
- 1.0-coova.3 release
|
|
|
128 |
* Thu Mar 25 2004 <support@chillispot.org>
|
|
|
129 |
- Initial release.
|