Commit Graph

49 Commits

Author SHA1 Message Date
Jonas Gorski c5fcfc0c1e znc: update to 1.9.0
Update ZNC to 1.9.0 with the following changes:

* drop all patches:
  * 101-Reduce_rebuild_time.patch was only applicable for the old
    autoconf build, which was dropped in 1.9 and we didn't use anymore
    anyway
  * 104-disable-empty-modules-check.patch not needed anymore since ZNC
    now requires the new corecaps module on startup
  * 120-openssl-deprecated.patch was applied upstream
* disable libargon2 support explicitly to avoid non-deterministic builds
  if it gets added
* package new module corecaps with znc base, as this is a required
  module
* reorder CMAKE_OPTIONS alphabetically

No new modules were introduced or removed besides the new corecaps
module.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2024-05-12 14:42:43 +02:00
Christian Marangi 0d8fc4124c
znc: add push external module
Add push external module. This is very useful for an IRC Bounder as this
module permits to register various services and receive a push
notification on the registered service.

One example is attaching a telegram bot and receive notification on your
phone when an user tags you in one of the connected channels.

Bump and drop AUTORELEASE from PKG_RELEASE since we are adding a new
module.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-04-17 18:52:16 +02:00
Christian Marangi b1d68f3c97
znc: drop playback patch and reference from github repository
We currently inclde the playback external module with a separate patch.
This is ugly and can be better handled.

Add required changes to download the external module from his own github
repository. Then create a link in the znc modules to reference the cpp
source.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-04-17 18:52:12 +02:00
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev 8a5f23ee0b znc: fix compilation without deprecated OpenSSL APIs
Patch was wrongly removed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-20 17:39:28 -07:00
Rosen Penev b92f2c2bee znc: update to 1.8.2
Switch to CMake + Ninja to fix parallel compilation.

Switched PKG_BUILD_DIR to use PKG_INSTALL_DIR for easier readability.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-06 20:04:43 -08:00
Pavel Demkovich 2f5f520971 znc: Add support for many configurable listeners
Function add_listener called from /etc/init.d/znc, but not implemented

Signed-off-by: Pavel Demkovich <finn@finnix.servebeer.com>
2020-10-20 21:06:05 +03:00
Pavel Demkovich dd586837e8 znc: Add support for many configurable listeners for znc
Function add_listener called from /etc/init.d/znc, but not implemented

Signed-off-by: Pavel Demkovich <finn@finnix.servebeer.com>
2020-10-13 15:40:11 +03:00
Rosen Penev 41112ff9eb
znc: Update to 1.7.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-14 00:13:52 -08:00
Jonas Gorski 9063c9a601 znc: update to 1.7.4
Fixes CVE-2019-12816.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2019-06-24 14:45:36 +02:00
Rosen Penev 27cf721a35
znc: Clean up Makefile and fix compilation on PPC
Some of these hacks were needed when uClibc++ was used. Now that it is not
we can remove them.

Remove libpthread dependency. Not only is it unneeded, package-defaults
already specifies it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-22 18:39:18 -07:00
Rosen Penev e0d392f5b7
znc: Update deprecated API patch
ENGINE_cleanup is unavailable when deprecated APIs and ENGINE support are
disabled. The cleanup functions are unnecessary with OpenSSL 1.1.

The getm functions use a faulty if directive. Work around it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-02 21:36:05 -07:00
Jonas Gorski f10c4af208 znc: update to 1.7.3
Fixes CVE-2019-9917 (only affects modpython)

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2019-04-01 11:29:10 +02:00
Jonas Gorski e4ab7b4fec znc: fix patches applying
git is hard. :-(

Reported-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Fixes: 4629f043e0 ("znc: update to 1.7.2")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2019-02-06 20:09:59 +01:00
Jonas Gorski 4629f043e0 znc: update to 1.7.2
Includes minor bugfixes, translation updates and most of the OpenSSL
compilation patch.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2019-02-06 12:51:58 +01:00
Rosen Penev dd941fbc48 znc: Update deprecated patch to include OpenSSL 1.1
Previous was only for 1.0.2.

Added PKG_CPE_ID for proper CVE tracking.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-23 18:50:25 -08:00
Rosen Penev 96e1853812 znc: Fix compilation without deprecated APIs in OpenSSL 1.0.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
[correct configure flag from enable-ssl to enable-openssl]
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-11-08 19:36:03 +00:00
Jonas Gorski 8f52298397 znc: revert cmake build artifacts from makefile
Revert some cmake stuff that accidentially made it into the Makefile to
unbreak the build.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2018-07-27 21:42:04 +02:00
Jonas Gorski 6c0de5b93b znc: update my email address
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2018-07-27 15:10:49 +02:00
Jonas Gorski a9051ca918 znc: drop unneeded root check patch
We don't run znc as root anymore, so no need to do the root check after
loading the config.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2018-07-27 15:10:42 +02:00
Rosen Penev cb202c0acb znc: Update to 1.7.1
Notable Changes:
 * New IRCv3.2 capabilities support on client and server side
 * Increased max line lengths
 * support for stripping color control codes
 * various bug fixes

Signed-off-by: Rosen Penev <rosenp@gmail.com>
[jonas.gorski: add notable changes, switch to 1.7.1]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2018-07-27 15:09:41 +02:00
Rosen Penev a74ca8b698 znc: Update to 1.6.6 + HTTPS.
Fixed links and switched to HTTPS as the site defaults to it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-04-08 16:51:34 +08: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
Jonas Gorski abffc0aa89 znc: update to 1.6.5
Changelog:

 * Fixed a regression of 1.6.4 which caused a crash in modperl/modpython
   (not packaged)
 * Fixed the behavior of verbose command in the sasl module.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2017-04-10 10:52:36 +02:00
Jonas Gorski 93c9a92d56 znc: update to 1.6.4
Fixes a few potential segfauls and includes OpenSSL 1.1 compatibilty.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2017-02-10 12:01:09 +01:00
Jonas Gorski 6fccd8801e znc: allow running without modules
Now that we don't ship any modules by default, znc might be started
without any modules. Unfortunately znc refuses to start without any
modules, so patch out the appropriate check.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2016-12-03 17:52:28 +01:00
Jonas Gorski c5d465a53c Merge pull request #3508 from kdarbyshirebryant/zncplayback
znc: add advanced playback module
2016-12-03 17:47:07 +01:00
Kevin Darbyshire-Bryant a6715c17ff znc: run as user znc & use procd
Create & run znc as a specific user rather than nobody.  Converted to
use procd, removing dependencies on znc's 'droproot' module & 'su'

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2016-11-17 10:28:43 +00:00
Kevin Darbyshire-Bryant 8de1538419 znc: add advanced playback module
The advanced playback module makes it possible for IRC clients to avoid
undesired repetitive buffer playback. IRC clients may request the module
to send a partial buffer playback starting from and ending to a certain
point of time.

Particularly useful with (supporting) mobile clients such as Mutter,
Colloquy & others.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>

---

Unfortunately playback.cpp is not included as part of the standard ZNC
modules and so has been added as a patch.
2016-11-13 09:11:43 +00:00
Jonas Gorski 69be3d82ef znc: fix compilation without ssl compression
Update Csocket to a newer version with compile fixes for OpenSSL with
disabled compression support. Since we don't get zlib as an transitive
dependency anymore, also add zlib as an explicit dependency.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2016-08-14 23:03:20 +02:00
Xotic750 234a211a74 znc: Added support for ICU through menu configuration
Signed-off-by: Graham Fairweather <xotic750@gmail.com>
2016-06-07 01:16:26 +02:00
Jonas Gorski 601d06dca4 Merge pull request #2787 from Xotic750/znc-runas-shell
znc: Added RUNAS_SHELL variable to assist when using external configuration
2016-06-05 13:27:48 +02:00
Xotic750 00c5191e3c znc: Added RUNAS_SHELL variable to assist when using external configuration
Signed-off-by: Graham Fairweather <xotic750@gmail.com>
2016-06-03 14:56:02 +02:00
Xotic750 0b52f7d4ec znc: Bump to v1.6.3
Signed-off-by: Graham Fairweather <xotic750@gmail.com>
2016-06-03 14:13:07 +02:00
Hannu Nyman f9f3a364b9 Merge pull request #2587 from stweil/master
net: Fix typos (found by codespell)
2016-04-13 15:15:36 +03:00
Stefan Weil 6d2c0fd06f net: Fix typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-04-10 12:51:10 +02:00
Yousong Zhou 92b0575e28 Drop the redundant -r option to $(CP)
$(CP) was defined as `cp -fpR' since the very begining of OpenWrt build
system (2006-06-22).  The -R option should be enough and base packages
use only $(CP) for the same purposes just fine and BSD manual of cp also
discourages the use of `-r' option.  So let's just tidy up the usage now.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-03-12 01:23:28 +08:00
Jonas Gorski 2f4ed5c3a2 znc: update to 1.6.2
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
2016-01-08 11:49:05 +01:00
Jonas Gorski b1a2b9d1ea znc: enable features/support explicitly
Don't let znc autodetect library presence to avoid random missing
dependencies popping up.

Closes #2193.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
2016-01-08 11:48:47 +01:00
Jonas Gorski 2e91dc6bb7 znc: drop GCC dependencies
OpenWrt trunk's lowest supported GCC version is 4.8, so we don't need
to depend on specific versions anymore. Fixes visibility with GCC 5,
the current default.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
2015-11-26 13:00:31 +01:00
Jonas Gorski a94f520bcd znc: update to 1.6.1
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
2015-08-20 12:17:23 +02:00
Jonas Gorski d77bf6f1f4 znc: allow setting ssl fingerprints
ZNC 1.6.0 now verifies SSL certificates on connect, and some Servers
do not use a valid one (e.g. freenode).

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
2015-07-01 12:31:48 +02:00
Jonas Gorski d665caa851 znc: close Network tags
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
2015-07-01 12:27:49 +02:00
Jonas Gorski e49e86e036 znc: update to 1.6.0
Fixes compilation with musl.

Requires GCC 4.7 or newer, so broken for octeon.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
2015-06-19 13:10:19 +02:00
Jonas Gorski fe25f00fb6 znc: disable mips16
Using mips16 seems to make znc randomly crash.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
2015-04-12 14:06:35 +02:00
Jonas Gorski 1197194832 znc: link to libstdc++ to fix performance issues on channel join
ZNC uses a map to cache channel memebers on join. Unfortunately uclibc++
uses a naive linked-list implementation with horrible performance, which
can cause joins to take a few minutes on popular channels.

Therefore Switch to libstdc++ which uses a much more performant hashmap.
ZNC by itself is already rather large, so the added footprint of
libstd++ vs uclibc++ does not matter that much anyway.

Should fix #11778.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
2014-11-21 13:30:07 +01:00
Jonas Gorski 272014632f znc: update to 1.4
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
2014-07-19 17:20:36 +02:00
Jonas Gorski 6a9cdf5d93 znc: copy from old packages and add PKG_LICENSE
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
2014-07-19 17:20:24 +02:00