mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
nginx: Support APK versioning
Modify EXTRA_DEPENDS in package section to meet APK packaging requirements. Signed-off-by: Ryan Keane <the.ra2.ifv@gmail.com> [ fix dependency also for nginx-full ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
committed by
Christian Marangi
parent
1137da20e8
commit
ea5536c14c
@@ -117,7 +117,7 @@ define Package/nginx-ssl
|
||||
DEPENDS+= +NGINX_PCRE:libpcre2 \
|
||||
+NGINX_PCRE:nginx-ssl-util +!NGINX_PCRE:nginx-ssl-util-nopcre \
|
||||
+NGINX_HTTP_GZIP:zlib +NGINX_DAV:libxml2
|
||||
EXTRA_DEPENDS:=nginx-ssl-util$(if $(CONFIG_NGINX_PCRE),,-nopcre) (>=1.5-1)
|
||||
EXTRA_DEPENDS:=nginx-ssl-util$(if $(CONFIG_NGINX_PCRE),,-nopcre) (>=1.5-r1)
|
||||
CONFLICTS:=nginx-full
|
||||
endef
|
||||
|
||||
@@ -165,7 +165,7 @@ define Package/nginx-full
|
||||
$(Package/nginx/default)
|
||||
TITLE += with ALL config selected
|
||||
DEPENDS+=+libpcre2 +nginx-ssl-util +zlib +libxml2
|
||||
EXTRA_DEPENDS:=nginx-ssl-util (>=1.5-1)
|
||||
EXTRA_DEPENDS:=nginx-ssl-util (>=1.5-r1)
|
||||
VARIANT:=full
|
||||
PROVIDES += nginx-ssl
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user