Commit Graph

37 Commits (059a5303296cd8a56aa6777ef5c9a61bef5dd48a)

Author SHA1 Message Date
Pierre Parent 61ba390b65 coova-chilli: fix libxt-coova not loading properly from iptables ( openwrt/packages#23092 )
Signed-off-by: Pierre Parent <m@pierre-parent.fr>
2024-02-22 16:03:04 -08:00
John Thomson 778ce3c977 coova-chilli: fix kernel >= 5.17 compile
Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
2023-06-29 17:44:08 -07:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Petr Štetiar 845d81ca09 treewide: fix security issues by bumping all packages using libwolfssl
As wolfSSL is having hard time maintaining ABI compatibility between
releases, we need to manually force rebuild of packages depending on
libwolfssl and thus force their upgrade. Otherwise due to the ABI
handling we would endup with possibly two libwolfssl libraries in the
system, including the patched libwolfssl-5.5.1, but still have
vulnerable services running using the vulnerable libwolfssl-5.4.0.

So in order to propagate update of libwolfssl to latest stable release
done in commit ec8fb542ec3e4 ("wolfssl: fix TLSv1.3 RCE in uhttpd by
using 5.5.1-stable (CVE-2022-39173)") which fixes several remotely
exploitable vulnerabilities, we need to bump PKG_RELEASE of all packages
using wolfSSL library.

Same bump has been done in buildroot in commit f1b7e1434f66 ("treewide:
fix security issues by bumping all packages using libwolfssl").

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-10-04 00:58:29 -07:00
Thibaut VARÈNE 385923321b coova-chilli: remove kmod dep on binary package
There is no reason for the kmod to depend on the binary package
itself, neither for building nor for installing.

That dependency prevents phase1 from building the kmod even though
support is enabled in the binary.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2022-03-08 21:57:48 -08:00
Thibaut VARÈNE a3e125267c coova-chilli: remove hotplug call
This hotplug trigger unconditionaly restarts coova-chilli when the "wan"
interface sees action "ifup", without checking whether or not the
service is disabled or the upstream interface is actually called "wan".

This hotplug could be replaced by a suitable service trigger instead.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2022-01-29 21:02:28 -08:00
Rosen Penev c05077a499
coova-chilli: update to 1.6
Remove usptreamed patches.

Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-22 16:35:46 -08:00
Rosen Penev 687dc0cc95
coova-chili: fix compilation with glibc
Disable Werror as it errors on pointless stuff.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-30 16:34:30 -08:00
Dylan Bourdon 2986f4c24c
coova-chilli: Update pkg_release
Signed-off-by: Dylan Bourdon <dbourdon@student.42.fr>
2020-05-26 17:51:26 -04:00
Dylan Bourdon 740cf4fb18
coova-chilli: Add json interface build option
Signed-off-by: Dylan Bourdon <dbourdon@student.42.fr>
2020-05-26 17:44:44 -04:00
Sungbo Eo 532088818a coova-chilli: add dependency for miniportal
If miniportal option is enabled, some haserl scripts are provided which
present a simple login web page. To make it functional haserl is required.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2020-01-03 20:49:00 +09:00
Sungbo Eo 2c71fb2065 coova-chilli: clean up Makefile
- add missing configs to PKG_CONFIG_DEPENDS and sort it
- remove redundant INSTALL_DIR

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2020-01-03 20:48:48 +09:00
Sungbo Eo 95954b84f5 coova-chilli: remove dnslog option
dnslog feature has been removed since v1.4.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2020-01-03 20:48:35 +09:00
Rosen Penev df20377ee9
coova-chili: Fix version
Upstream was sloppy when cutting the release.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-31 21:12:13 -08:00
Rosen Penev 68b5a71883
coova-chilli: Update to 1.5
Remove upstreamed patches.

Added patch to fix compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-11 19:39:21 -08:00
Petr Štetiar dd39acba55 coova-chilli: Fix debug flag config example and synchronize bool options
debug is boolean option/flag so setting it to 9 doesn't work, while at
it I've synchronized boolean options from source code and sorted it
alphabeticaly with following command:

  grep flag src/cmdline.ggo | cut -d \" -f2 | sort | tr '\n' '|'

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-09-25 13:00:22 +02:00
Eneas U de Queiroz 4ca57ae9c2
coova-chilli: disable parallel build
Parallel building is causing a failure because it executes some
commands, such as patch, more than once.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-07-04 09:01:52 -03:00
Rosen Penev 266b0ba9d9 coova-chili: Fix compilation with newer GCC
Added -Wno-error to fix.

Also added patch to fix compilation without deprecated OpenSSL APIs.

Added PKG_BUILD_PARALLEL for faster compilation.

Switched libcyassl to libwolfssl.

Reorganized makefile for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-28 10:34:27 -07:00
Jaehoon You 1dc8f8f251
coova-chilli: fix build error
This commit removes that copy command to fix build error.

Signed-off-by: Jaehoon You <teslamint@gmail.com>
2019-03-27 19:23:53 +09:00
Rosen Penev 6b76b1310e
coova-chilli: Bump PKG 2019-03-26 19:06:54 -07:00
Jaehoon You a7b2eee228
coova-chilli: honor CONFIG_IPv6 option
This fixes #7120.

Signed-off-by: Jaehoon You <teslamint@gmail.com>
2018-10-17 08:36:59 +09:00
Rosen Penev a67193e2ca coova-chilli: Update to 1.4
Switch to codeload for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-07-29 20:06:04 -07:00
Jaehoon You 82b67e3363 coova-chilli: change PKG_MAINTAINER
Signed-off-by: Jaehoon You <teslamint@gmail.com>
2018-04-23 13:34:44 +08:00
Jaehoon You 258cbcdb89 coova-chilli: switch to procd
Signed-off-by: Jaehoon You <teslamint@gmail.com>
2018-04-23 13:34:44 +08:00
Hannu Nyman b5fbdd7fef coova-chilli: remove matrixssl dependency
matrixssl is still in the oldpackages repo,
so coova-chilli should not depend on it.

Remove the config option for selecting matrixssl lib
and the dependency declaration.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-01-20 16:44:08 +02:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Rajan Vaja ea24eb2409 coova-chilli: Fix removal of old files
Before starting chilli instance, it first removes generated
files (/var/run/chilli*) for the instance. While deleting
generated files, it doesn't match full instance name.

Thus if coova-chilli config file (/etc/config/chilli) has
instances wlan11 and wlan1 in order,
when creating coova-chilli instance for wlan1, it is removing
files generated for wlan11 instances also (as it uses wlan1*
in remove command).

Fix issue by matching full instance name while removing old files.

Signed-off-by: Rajan Vaja <rajan.vaja@gmail.com>
Signed-off-by: Bhargav Patel <br13patel@gmail.com>
2016-08-04 16:53:14 +05:30
Rajan Vaja bc5561b3e4 coova-chilli: Fix UCI parse error
UCI commands report errors in parsing coova-chilli
sample configuration file. Fix this issue by using
proper format in configuration.

Signed-off-by: Rajan Vaja <rajan.vaja@gmail.com>
2016-07-11 11:59:39 +05:30
Jaehoon You c14e55e452 coova-chilli: fix stat failed error when compile without kmod
This patch fixes #1261.

Signed-off-by: Jaehoon You <teslamint@gmail.com>
2015-05-18 13:52:12 +09:00
Jaehoon You 3346bfd27b coova-chilli: fix compile error that cannot copy netfilter extension library
Signed-off-by: Jaehoon You <teslamint@gmail.com>
2015-04-29 00:24:38 +09:00
Imre Kaloz 45e0e2a0b9 coova-chilli: add uci configuration file, init.d and firewall script 2015-04-28 15:08:15 +02:00
Imre Kaloz 8e2807532c Merge pull request #1123 from teslamint/patch-2
coova-chilli: add netfilter kernel module package with patches
2015-04-28 14:59:21 +02:00
Jaehoon You ca9d3f24cf coova-chilli: add netfilter kernel module package with patches
Signed-off-by: Jaehoon You <teslamint@gmail.com>
2015-04-07 15:31:35 +09:00
Jaehoon You a001565a10 coova-chilli: fix typo prevents compile with cyassl
Signed-off-by: Jaehoon You <teslamint@gmail.com>
2015-03-17 10:30:50 +09:00
Ted Hess 8b5421f699 misc: Correct tag spelling PKG_LICENSE_FILES
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-12-09 11:38:38 -05:00
Ramanathan Sivagurunathan 86e005dd99 Coova-chilli: Adding Menu option for enabling chilli proxy.
Chilli proxy is used when one does not want to setup AAA server
but want to handle AAA through http.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or

(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or

(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.

(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Signed-off-by: Ramanathan Sivagurunathan ramzthecoder@gmail.com
2014-12-04 17:45:06 +11:00
Imre Kaloz 34b96ab26e coova-chilli: move to github
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
2014-11-30 01:13:43 +01:00