Commit Graph

13 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 b2418547c5 check: update to 0.15.2
Switch to AUTORELEASE for simplicity.

Switch to building with ninja for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-14 16:51:10 -07:00
Eduardo Abinader 884f8fe04f check: bump 0.15.0
Compiled and run in x86_64.

Changes:
        -Define CK_ATTRIBUTE_FORMAT for GCC >= 2.95.3, to make use of ‘gnu_printf’ format attribute
        -Refactor tests to fix signed - unsigned conversions
        -Refactor some Check internals to use proper interger types
Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
2020-06-30 16:58:50 +02:00
Eduardo Abinader 13aa2f1a0d check: bump 0.14.0
Compiled and run in x86_64.

This release adds support for CMake's FetchContent.

Changes:

    -Add support for FetchContent in CMake
    -Rename CMake project from 'check' to 'Check'
    -Fix for checking for wrong tool when building docs in Autotools
    -Fix compiler warning with printf format

Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
2020-02-06 22:40:34 +01:00
Rosen Penev 26771c14f8 check: Update to 0.13.0
Switch to CMake. Allows to simplify the Makefile.

Replaced InstallDev section with CMAKE_INSTALL.

Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-29 19:59:06 -07:00
Sven Eckelmann bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Eduardo Abinader 2fb9ccdbc9 libs/check: update to 0.12.0
Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
2017-10-22 20:00:06 +02:00
Eduardo Abinader ba9e8e9d37 check: use sha256 checksum
Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
2017-02-13 16:12:55 +01:00
Eduardo Abinader 2c543903ac check: changing Maintainer
As agreed on https://github.com/openwrt/packages/pull/3238

Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
2017-02-13 10:53:12 +01:00
Eduardo Abinader d53d85655b check: bump to 0.11.0
updated new package url and solved some issues:
https://github.com/libcheck/check/releases/tag/0.11.0

Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
2017-02-13 10:51:13 +01:00
Jo-Philipp Wich 72a483f759 check: fix fortify source compatibility
Let `./configure` assume C99 compliant `snprintf()` and `vsnprintf()` functions
by passing the required cache variables via `CONFIGURE_VARS`.

Fixes fortify-source related undeclared function errors when compiling the
`tests/` directory.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-30 10:59:28 +02:00
Nicolas Thill 3b1bb08f97 check: import from old packages feed
- update to latest version (v0.9.14)
 - add license info
 - add myself as maintainer

Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-07 11:21:39 +01:00