openwrt-packages/devel
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
..
autoconf autoconf: fix shebang 2021-09-12 10:57:29 -07:00
automake automake: update to 1.16.3 2020-11-24 22:36:47 -08:00
bison treewide: remove AUTORELEASE 2023-04-21 22:46:58 +02:00
delve treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16 2023-04-08 08:38:54 +02:00
diffutils treewide: remove AUTORELEASE 2023-04-21 22:46:58 +02:00
flex treewide: remove AUTORELEASE 2023-04-21 22:46:58 +02:00
gcc gcc: limit postinst and postrm only with INCLUDE_STATIC_LINK_SPEC 2023-01-11 22:49:27 +01:00
gitlab-runner treewide: remove AUTORELEASE 2023-04-21 22:46:58 +02:00
libtool-bin treewide: add PKG_CPE_ID for better cvescanner coverage 2019-09-17 12:40:26 +02:00
lpc21isp lpc21isp: fix build on macos 2022-01-18 18:03:44 -08:00
lttng-modules lttng: replace SUBDIRS with M in package recipe 2020-03-11 00:47:14 +01:00
lttng-tools treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16 2023-04-08 08:38:54 +02:00
m4 treewide: remove AUTORELEASE 2023-04-21 22:46:58 +02:00
make make: update to 4.3 2020-05-28 12:41:32 -07:00
nasm nasm: new package 2023-01-22 18:03:07 +02:00
packr treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16 2023-04-08 08:38:54 +02:00
patch patch: do not patch automake Makefile template 2022-09-09 15:20:58 -07:00
pkg-config pkg-config: Add CONFLICTS for pkgconf 2019-11-02 11:14:50 -07:00
pkgconf treewide: remove AUTORELEASE 2023-04-21 22:46:58 +02:00
scons scons: update to 4.0.1 2020-08-05 00:53:13 -07:00