Browse Source

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>
lilik-openwrt-22.03
Jonas Gorski 9 years ago
parent
commit
d77bf6f1f4
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      net/znc/Makefile
  2. +2
    -0
      net/znc/files/znc.init

+ 1
- 1
net/znc/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=znc
PKG_VERSION:=1.6.0
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://znc.in/releases \


+ 2
- 0
net/znc/files/znc.init View File

@ -38,6 +38,7 @@ add_network() {
config_get name "$network" name
echo " <Network $name>" >> $ZNC_CONFIG
config_list_foreach "$network" server "add_param \" Server\""
config_list_foreach "$network" fingerprint "add_param \" trustedserverfingerprint\""
config_list_foreach "$network" channel "add_chan"
echo " </Network>" >> $ZNC_CONFIG
}
@ -143,6 +144,7 @@ add_user() {
if [ "$server" ]; then
echo " <Network Default>" >> $ZNC_CONFIG
config_list_foreach "$user" server "add_param \" Server\""
config_list_foreach "$user" fingerprint "add_param \" trustedserverfingerprint\""
config_list_foreach "$user" channel "add_chan"
echo " </Network>" >> $ZNC_CONFIG
fi


Loading…
Cancel
Save