nginx: Support APK versioning 25335/head
authorRyan Keane <the.ra2.ifv@gmail.com>
Wed, 13 Nov 2024 12:31:44 +0000 (04:31 -0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 13 Nov 2024 14:20:58 +0000 (15:20 +0100)
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>
net/nginx/Makefile

index d119b43773c73348faf6c736fbbde81171c9d8df..a3fea34d2960d7a55c55b9a2c761b914a13057bf 100644 (file)
@@ -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