Commit Graph

8 Commits

Author SHA1 Message Date
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
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev 4e387996f0 libre2: update to 2021-02-02
Switch to AUTORELEASE for simplicity.

Switch to building with Ninja for faster compilation.

Remove libcxx hacks as it's gone now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-20 21:08:45 -07:00
Rosen Penev 57b2623d8b
re2: update to 2020-04-01
Massive cleanup of Makefile.

Remove inactive maintainer.

Remove completely unused host build.

Shorten title so that it shows under menuconfig.

Remove pointless static/shared choice.

Add C++17 patch as libcxx seems to need it with this package.

Add ABI_VERSION.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-14 16:19:18 -07:00
Yousong Zhou 9ac5ac81ab treewide: avoid deref symlinks when installing .so
This change is inspired by commit openwrt/openwrt@38b22b1e ("nghttp2:
deduplicate files in libnghttp2")

The packages in this commit are identified with the following command

	grep -rin -E 'INSTALL_(DATA|BIN)' | grep -F '.so' | grep -F '*'

Some of them do not have symlinks and are not affected, but the change
is still applied for consideration of best practices just in case

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-06-21 09:52:32 +08:00
Amol Bhave 59aadcf1b9 libre2: Update to 2019-06-01
Maintainer: me
Compile tested: nbg6817

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-06-05 04:48:20 -07:00
Amol Bhave 70d4a9a3b2 libre2: bump version to 2019-04-01
compile tested on nbg6817

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-04-30 13:08:00 -07:00
Amol Bhave 8155b4c395 libre2: add re2 package
RE2 is a fast, safe, thread-friendly alternative to backtracking regular
expression engines like those used in PCRE, Perl, and Python. It is a
C++ library.

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-04-02 17:21:53 -07:00