mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
nginx-util: fix PROVIDES and issue #6905
nginx-ssl-util and nginx-ssl-util-nopcre are replacements for each other, but cannot replace nginx-util (instead conflict with it). The hard coded [::1] could lead to a nginx error if build without IPv6. So, get the loopback addresses dynamically. Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
This commit is contained in:
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=nginx-util
|
||||
PKG_VERSION:=1.1
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/cmake.mk
|
||||
@@ -13,13 +13,14 @@ define Package/nginx-util
|
||||
SUBMENU:=Web Servers/Proxies
|
||||
TITLE:=Builder of LAN listen directives for Nginx
|
||||
DEPENDS:=+libstdcpp +libubus +libubox +libpthread
|
||||
PROVIDES:=nginx-util
|
||||
endef
|
||||
|
||||
define Package/nginx-ssl-util/default
|
||||
$(Package/nginx-util)
|
||||
TITLE+= and manager of its SSL certificates
|
||||
DEPENDS+=+libopenssl
|
||||
DEPENDS+= +libopenssl
|
||||
CONFLICTS:=nginx-util
|
||||
PROVIDES:=nginx-ssl-util
|
||||
endef
|
||||
|
||||
define Package/nginx-ssl-util-nopcre
|
||||
@@ -30,7 +31,7 @@ endef
|
||||
define Package/nginx-ssl-util
|
||||
$(Package/nginx-ssl-util/default)
|
||||
TITLE+= (using PCRE)
|
||||
DEPENDS+=+libpcre
|
||||
DEPENDS+= +libpcre
|
||||
endef
|
||||
|
||||
define Package/nginx-util/description
|
||||
|
||||
Reference in New Issue
Block a user