Skip to content

Instantly share code, notes, and snippets.

@InBetweenNames
Created January 17, 2020 02:58
Show Gist options
  • Save InBetweenNames/4ed32fddc257203930fc9af47a221020 to your computer and use it in GitHub Desktop.
Save InBetweenNames/4ed32fddc257203930fc9af47a221020 to your computer and use it in GitHub Desktop.
Brotli patch
diff --git a/net/nginx/Makefile b/net/nginx/Makefile
index d558bfdd6..308ef1aa3 100644
--- a/net/nginx/Makefile
+++ b/net/nginx/Makefile
@@ -438,18 +438,18 @@ endif
ifeq ($(CONFIG_NGINX_HTTP_BROTLI),y)
define Download/nginx-brotli
- VERSION:=dc37f658ccb5a51d090dc09d1a2aca2f24309869
+ VERSION:=e26248ee361c04e25f581b92b85d95681bdffb39
SUBDIR:=nginx-brotli
- FILE:=ngx-brotli-module-$$(VERSION).tar.xz
+ FILE:=ngx-brotli-module-$$(VERSION).tar.gz
URL:=https://github.com/eustas/ngx_brotli.git
- MIRROR_HASH:=6bc0c40ff24f6e0ac616dfddc803bdc7fcf54764ba9dc4f9cecb3a68beedcdaf
+ MIRROR_HASH:=76b891ba49f82f0cfbc9cba875646e26ee986b522373e0aa2698a9923a4adcdb
PROTO:=git
endef
$(eval $(call Download,nginx-brotli))
define Prepare/nginx-brotli
$(eval $(Download/nginx-brotli))
- xzcat $(DL_DIR)/$(FILE) | tar -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
+ gzip -dc $(DL_DIR)/$(FILE) | tar -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
endef
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment