From 48ed07bc0b94b930d369baf911014bedd5bf6a7e Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Wed, 17 May 2023 21:08:40 +0800 Subject: treewide: replace AUTORELEASE with real PKG_RELEASE Based on Paul Fertser 's guidance: Change AUTORELEASE in rules.mk to: ``` AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile)) ``` then update all affected packages by: ``` for i in $(git grep -l PKG_RELEASE:=.*AUTORELEASE | sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/clean done ``` Signed-off-by: Tianling Shen --- package/libs/libnftnl/Makefile | 2 +- package/libs/libusb/Makefile | 2 +- package/libs/nettle/Makefile | 2 +- package/libs/wolfssl/Makefile | 2 +- package/libs/zlib/Makefile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'package/libs') diff --git a/package/libs/libnftnl/Makefile b/package/libs/libnftnl/Makefile index 8d8c8c25e3..05437d020b 100644 --- a/package/libs/libnftnl/Makefile +++ b/package/libs/libnftnl/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libnftnl PKG_CPE_ID:=cpe:/a:netfilter:libnftnl PKG_VERSION:=1.2.5 -PKG_RELEASE:=$(AUTORELEASE) +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://netfilter.org/projects/$(PKG_NAME)/files diff --git a/package/libs/libusb/Makefile b/package/libs/libusb/Makefile index 65c624409d..0c6de7cb61 100644 --- a/package/libs/libusb/Makefile +++ b/package/libs/libusb/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libusb PKG_VERSION:=1.0.26 -PKG_RELEASE:=$(AUTORELEASE) +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=\ diff --git a/package/libs/nettle/Makefile b/package/libs/nettle/Makefile index 87eff5a1ec..0cec4a5d33 100644 --- a/package/libs/nettle/Makefile +++ b/package/libs/nettle/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nettle PKG_VERSION:=3.8.1 -PKG_RELEASE:=$(AUTORELEASE) +PKG_RELEASE:=3 PKG_BUILD_FLAGS:=no-mips16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz diff --git a/package/libs/wolfssl/Makefile b/package/libs/wolfssl/Makefile index 04d9d3ef66..260335c34f 100644 --- a/package/libs/wolfssl/Makefile +++ b/package/libs/wolfssl/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wolfssl PKG_VERSION:=5.5.4-stable -PKG_RELEASE:=$(AUTORELEASE) +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/wolfSSL/wolfssl/archive/v$(PKG_VERSION) diff --git a/package/libs/zlib/Makefile b/package/libs/zlib/Makefile index 092443ab0e..7031bc974f 100644 --- a/package/libs/zlib/Makefile +++ b/package/libs/zlib/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=zlib PKG_VERSION:=1.2.13 -PKG_RELEASE:=$(AUTORELEASE) +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://github.com/madler/zlib/releases/download/v$(PKG_VERSION) -- cgit v1.2.3