Subversion Repositories ALCASAR

Rev

Details | Last modification | View Log

Rev Author Line No. Line
3328 rexy 1
%define _disable_ld_no_undefined 1
2
%define _unpackaged_files_terminate_build 0 
3
 
4
Summary:	CoovaChilli is an open-source software access controller for captive portal hotspots
5
Name:		coova-chilli
6
Version:	1.8
7
Release:	0%{?dist}
8
License:	GPLv3
9
Packager:	Richard REY (Rexy) 
10
Group:		System/Servers
11
URL:		https://coova.github.io/CoovaChilli
12
Source:		%{name}-%{version}.tar.gz
13
Patch 0:		chilli.h.patch
14
Patch 1:		chilli_limits.h.patch
15
Patch 2:		redir.c.patch
16
Patch 3:		Makefile.am.patch
17
Patch 4:		CoovaChilliLib.py.patch
18
BuildRequires:	gengetopt
19
BuildRequires:	libtool
20
BuildRequires:	openssl-devel
21
Provides:	coova-chilli = %{version}-%{release}
22
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
23
 
24
%description
25
Coova-Chilli is a fork of the ChilliSpot project - an open source captive
26
portal or wireless LAN access point controller. It supports web based login
27
(Universal Access Method, or UAM), standard for public HotSpots, and it
28
supports Wireless Protected Access (WPA), the standard for secure roamable
29
networks. Authentication, Authorization and Accounting (AAA) is handled by
30
your favorite radius server. Read more at http://coova.github.io/.
31
 
32
%prep
33
%setup -q -n %{name}-%{version}
34
 
35
%patch 0 -p3
36
%patch 1 -p0
37
%patch 2 -p0
38
%patch 3 -p0
39
%patch 4 -p0
40
 
41
cp ../../SOURCES/SHA256.c ./src/SHA256.c
42
cp ../../SOURCES/SHA256.h ./src/SHA256.h
43
 
44
%build
45
sh bootstrap
46
%configure \
47
	--disable-static \
48
	--enable-shared \
49
	--enable-largelimits \
50
	--enable-chilliredir \
51
	--enable-chilliscript \
52
	--with-poll \
53
	--enable-dhcpopt \
54
	--enable-json \
55
	--enable-mdns \
56
	--with-openssl
57
 
58
automake --add-missing
59
%make_build
60
 
61
%post
62
%_post_service chilli
63
 
64
%preun
65
%_preun_service chilli
66
 
67
%install
68
%make_install
69
 
70
%clean
71
rm -rf %{buildroot}
72
 
73
%files
74
%defattr(-,root,root)
75
%{_sbindir}/*
76
%{_libdir}/*.so*
77
%doc AUTHORS COPYING ChangeLog INSTALL README doc/dictionary.coovachilli doc/attributes
78
%config %{_sysconfdir}/chilli.conf
79
%config %{_sysconfdir}/chilli/gui-config-default.ini
80
%config(noreplace) %{_sysconfdir}/chilli/defaults
81
%dir %{_sysconfdir}/chilli
82
%{_sysconfdir}/init.d/chilli
83
%{_sysconfdir}/chilli/wwwsh
84
%{_sysconfdir}/chilli/functions
85
%{_sysconfdir}/chilli/*.sh
86
%{_mandir}/man1/*.1*
87
%{_mandir}/man5/*.5*
88
%{_mandir}/man8/*.8*
89
%exclude %{_sysconfdir}/chilli/www/*
90
%exclude %{_sysconfdir}/chilli/wpad.dat
91
%exclude %{_includedir}/chilli*
92
%exclude %{_libdir}/*.la*
93
%exclude %{_libdir}/python/CoovaChilliLib.py*
94
 
95
%changelog
96
* Sun Mar 15 2026 Richard REY (aka Rexy) - 1.8-0.mga9
97
- 1.8 release for Mageia9
98
* Mon Jun 17 2024 Richard REY (aka Rexy) - 1.6-2.mga9
99
- 1.6 release for Mageia9 (master branch - last commits on Apr 1, 2023)
100
* Fri Oct 14 2022 Paul BAESKENS (aka StaringCat) - 1.6-1.mga8
101
- Add SHA256 in PAP protocol
102
* Sat Jul 23 2022 Richard REY (aka Rexy) - 1.6-1.mga8
103
- 1.6 release for Mageia8
104
* Wed Feb 24 2021 Richard REY (aka Rexy) - 1.6-1.mga7
105
- 1.6 release for Mageia7
106
* Fri May 22 2020 Richard REY (aka Rexy) - 1.5-1.mga7
107
- 1.5 release for Mageia7
108
* Mon May 22 2017 Tom Houdayer - 1.4-3.mga5
109
- Add mDNS support
110
* Sat May 06 2017 Tom Houdayer - 1.4-2.mga5
111
- Add OpenSSL support
112
* Mon Dec 19 2016 Rexy for ALCASAR project
113
- 1.4-1 release for Mageia5
114
* Sun Nov 13 2016 Rexy for ALCASAR project
115
- 1.3.2-2 release (including the code resolving IPSEC bug #255 & #301)
116
* Tue Oct 25 2016 Rexy for ALCASAR project
117
- 1.3.2-1 release
118
* Thu Jun 2 2016 Rexy for ALCASAR project
119
- 1.3.1.4 release
120
* Sun Apr 3 2016 Rexy for ALCASAR project
121
- 1.3.1.3 release
122
* Tue May 14 2013 Crox for ALCASAR project
123
- 1.3.0 release
124
* Mon Jun 18 2012 Rexy for ALCASAR project
125
- 1.2.9-1 release
126
* Wed Jan 18 2012 Rexy for ALCASAR project
127
- 1.2.9 release
128
* Sun Jul 11 2011 Rexy for ALCASAR project
129
- 1.2.8 release
130
* Sat Feb 12 2011 Rexy for Alcasar project
131
+ revision: 433
132
+ add _disable_ld_no_undefined 1
133
- 1.2.6 release
134
* Sat Nov 20 2010 Rexy for Alcasar project
135
+ revision: 394
136
- 1.2.5 release
137
* Sat Jan 2 2010 <david@coova.com>
138
- 1.2.0 release
139
* Thu Sep 30 2007 <david@coova.com>
140
- 1.0.8 release
141
* Thu Aug 20 2007 <david@coova.com>
142
- 1.0-coova.7 release
143
* Thu Jun 7 2007 <david@coova.com>
144
- 1.0-coova.6 release
145
* Wed May 16 2007  <david@coova.com>
146
- 1.0-coova.5 release
147
* Wed Feb 07 2007  <david@coova.com>
148
- 1.0-coova.4 release
149
* Wed Nov 15 2006  <david@coova.com>
150
- 1.0-coova.3 release
151
* Thu Mar 25 2004  <support@chillispot.org>
152
- Initial release.