Subversion Repositories ALCASAR

Rev

Details | Last modification | View Log

Rev Author Line No. Line
3336 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.9
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 https://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
* Thu Jun 04 2026 Richard REY (aka Rexy) - 1.9-0.mga9
97
- 1.9 release for Mageia9
98
* Sun Mar 15 2026 Richard REY (aka Rexy) - 1.8-0.mga9
99
- 1.8 release for Mageia9
100
* Mon Jun 17 2024 Richard REY (aka Rexy) - 1.6-2.mga9
101
- 1.6 release for Mageia9 (master branch - last commits on Apr 1, 2023)
102
* Fri Oct 14 2022 Paul BAESKENS (aka StaringCat) - 1.6-1.mga8
103
- Add SHA256 in PAP protocol
104
* Sat Jul 23 2022 Richard REY (aka Rexy) - 1.6-1.mga8
105
- 1.6 release for Mageia8
106
* Wed Feb 24 2021 Richard REY (aka Rexy) - 1.6-1.mga7
107
- 1.6 release for Mageia7
108
* Fri May 22 2020 Richard REY (aka Rexy) - 1.5-1.mga7
109
- 1.5 release for Mageia7
110
* Mon May 22 2017 Tom Houdayer - 1.4-3.mga5
111
- Add mDNS support
112
* Sat May 06 2017 Tom Houdayer - 1.4-2.mga5
113
- Add OpenSSL support
114
* Mon Dec 19 2016 Rexy for ALCASAR project
115
- 1.4-1 release for Mageia5
116
* Sun Nov 13 2016 Rexy for ALCASAR project
117
- 1.3.2-2 release (including the code resolving IPSEC bug #255 & #301)
118
* Tue Oct 25 2016 Rexy for ALCASAR project
119
- 1.3.2-1 release
120
* Thu Jun 2 2016 Rexy for ALCASAR project
121
- 1.3.1.4 release
122
* Sun Apr 3 2016 Rexy for ALCASAR project
123
- 1.3.1.3 release
124
* Tue May 14 2013 Crox for ALCASAR project
125
- 1.3.0 release
126
* Mon Jun 18 2012 Rexy for ALCASAR project
127
- 1.2.9-1 release
128
* Wed Jan 18 2012 Rexy for ALCASAR project
129
- 1.2.9 release
130
* Sun Jul 11 2011 Rexy for ALCASAR project
131
- 1.2.8 release
132
* Sat Feb 12 2011 Rexy for Alcasar project
133
+ revision: 433
134
+ add _disable_ld_no_undefined 1
135
- 1.2.6 release
136
* Sat Nov 20 2010 Rexy for Alcasar project
137
+ revision: 394
138
- 1.2.5 release
139
* Sat Jan 2 2010 <david@coova.com>
140
- 1.2.0 release
141
* Thu Sep 30 2007 <david@coova.com>
142
- 1.0.8 release
143
* Thu Aug 20 2007 <david@coova.com>
144
- 1.0-coova.7 release
145
* Thu Jun 7 2007 <david@coova.com>
146
- 1.0-coova.6 release
147
* Wed May 16 2007  <david@coova.com>
148
- 1.0-coova.5 release
149
* Wed Feb 07 2007  <david@coova.com>
150
- 1.0-coova.4 release
151
* Wed Nov 15 2006  <david@coova.com>
152
- 1.0-coova.3 release
153
* Thu Mar 25 2004  <support@chillispot.org>
154
- Initial release.