The HTTP URL returns a 301 redirect. Therefore directly use the redirect location as URL.
Also adjust the license to X11, as it contains a no advertising clause. It doesn't quite match the X11 license, as it misses a trademark statement. The SPDX Online tool [1] suggests X11-distribute-modifications-variant, but as the COPYING file doesn't contain the "distibute with modification" grant, using X11 alone is the best choice. [1] https://tools.spdx.org/app/check_license/ Signed-off-by: Sven Püschel <[email protected]> --- rules/xcb-proto.make | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/rules/xcb-proto.make b/rules/xcb-proto.make index 54cb67220..e811690dc 100644 --- a/rules/xcb-proto.make +++ b/rules/xcb-proto.make @@ -15,14 +15,16 @@ PACKAGES-$(PTXCONF_XCB_PROTO) += xcb-proto # # Paths and names # -XCB_PROTO_VERSION := 1.16.0 -XCB_PROTO_MD5 := 92081b0faafd93f8262463c69829a482 +XCB_PROTO_VERSION := 1.17.0 +XCB_PROTO_MD5 := c415553d2ee1a8cea43c3234a079b53f XCB_PROTO := xcb-proto-$(XCB_PROTO_VERSION) XCB_PROTO_SUFFIX := tar.xz -XCB_PROTO_URL := http://xorg.freedesktop.org/archive/individual/proto/$(XCB_PROTO).$(XCB_PROTO_SUFFIX) +XCB_PROTO_URL := https://www.x.org/archive/individual/proto/$(XCB_PROTO).$(XCB_PROTO_SUFFIX) XCB_PROTO_SOURCE := $(SRCDIR)/$(XCB_PROTO).$(XCB_PROTO_SUFFIX) XCB_PROTO_DIR := $(BUILDDIR)/$(XCB_PROTO) -XCB_PROTO_LICENSE := MIT +XCB_PROTO_LICENSE := X11 +XCB_PROTO_LICENSE_FILES := \ + file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7 # ---------------------------------------------------------------------------- # Prepare -- 2.47.3
