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>
This commit is contained in:
parent
d665caa851
commit
d77bf6f1f4
2 changed files with 3 additions and 1 deletions
|
@ -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 \
|
||||
|
|
|
@ -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…
Reference in a new issue