Subversion Repositories ALCASAR

Rev

Rev 796 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

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