owsd: update for lws-3.1.0, make one vhost per origin

This commit is contained in:
Jakob Olsson 2020-04-22 12:36:40 +02:00
parent ec443bbb91
commit bd65c9a666
2 changed files with 6 additions and 6 deletions

View file

@ -10,7 +10,7 @@ PKG_RELEASE:=1
PKG_SOURCE_PROTO=git PKG_SOURCE_PROTO=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/owsd.git PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/owsd.git
PKG_SOURCE_VERSION:=1c6efa76a23b9a8236a8f6d3b43349cf1e23655a PKG_SOURCE_VERSION:=a479a50e354986aac6ec94dad7baedadad1347fd
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=${PKG_NAME}-${PKG_VERSION} PKG_SOURCE_SUBDIR:=${PKG_NAME}-${PKG_VERSION}
PKG_INSTALL:=1 PKG_INSTALL:=1

View file

@ -203,12 +203,12 @@ parse_owsd_iface() {
config_list_foreach "$1" "origin" append_str config_list_foreach "$1" "origin" append_str
# uncomment code below when implementing one vhost per origin fix # uncomment code below when implementing one vhost per origin fix
#[ -n "$2" ] && whitelist_all_origins=1 [ -n "$2" ] && whitelist_all_origins=1
#if [ "$whitelist_all_origins" -eq 1 ]; then if [ "$whitelist_all_origins" -eq 1 ]; then
# whitelist_dhcp_domains=1 whitelist_dhcp_domains=1
# whitelist_interface_as_origin=1 whitelist_interface_as_origin=1
#fi fi
if [ "$whitelist_dhcp_domains" -eq 1 ]; then if [ "$whitelist_dhcp_domains" -eq 1 ]; then
for domain in $DHCP_DOMAINS; do for domain in $DHCP_DOMAINS; do