Commit Graph

23 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
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Rosen Penev 15bfba27e2 libseccomp: update to 2.5.4
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-05 01:29:22 -07:00
Rosen Penev 17d2f61c7b libseccomp: update to 2.5.2
Use AUTORELEASE for simplicity.

Add libtool patch to fix compilation under some platforms.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-26 22:35:50 -07:00
Eneas U de Queiroz 013b1895ed
Revert "libseccomp: don't build on ARC"
This reverts commit b29e609701.

Adding DEPENDS+=@!arc will cause a circular dependency, because some
packages select libseccomp based on a build option.

Commit e29483d7e ("libseccomp: workaround a recursive dependency") added
a workaround that was not properly documented, so I'll explain here.

The problem arises when libseccomp is selected depending on some config
option:

define Pakcage/foo
  DEPENDS=+FOO_SECCOMP:libseccomp

Even if the condition is correctly defined, excluding arc, such as:

define Package/foo/config
  config FOO_SECCOMP
    depends on !arc

the config generator will parse libseccomp's DEPENDS variable and
generate menuconfig statements like these:

config PACKAGE_foo
   select PACKAGE_libseccomp if FOO_SECCOMP
   depends on !FOO_SECCOMP || !arc

The last condition is always true because FOO_SECCOMP will always be
be false when arc is true.  The config generator is not able to
simplify/optimize the condition.

The circular dependecy occurs because FOO_SECCOMP depends on
PACKAGE_foo, and the redundant, always true line will make PACKAGE_foo
depend on FOO_SECCOMP.

As a workaround, we can add the 'depends on !arc' line to
Package/libseccomp/config, outside of the DEPENDS variable, so that the
redundant depends line line does not get generated.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Cc: Daniel Golle <daniel@makrotopia.org>
2021-04-11 21:21:48 -03:00
Daniel Golle b29e609701 libseccomp: don't build on ARC
ARC architecture is not yet supported by libseccomp.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-30 00:21:29 +01:00
Rosen Penev b57c36ad27
libseccomp: update to 2.5.1
Add license information.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-23 19:36:20 -08:00
Rosen Penev e8b78a2641
libseccomp: update to 2.4.3
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-15 11:59:01 -07:00
Stijn Tintel c01462dcba libseccomp: install missing header file
As of version 2.4.2, libseccomp ships a new header file
seccomp-syscalls.h. Install it in InstallDev.

Fixes: 71b663b335 ("libseccomp: update to version 2.4.2")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Rosen Penev <rosenp@gmail.com>
2020-01-17 00:55:42 +02:00
Josef Schlehofer 71b663b335
libseccomp: update to version 2.4.2
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-01-12 12:28:43 +01:00
Jan Pavlinec ceadbcbb64
treewide: add PKG_CPE_ID for cvescanner
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-24 13:51:22 +02:00
Eneas U de Queiroz e29483d7e2
libseccomp: workaround a recursive dependency
DEPENDS:=@!arc is causing a recursive dependency because of the optional
selection of libseccomp by util/lxc.  The workaround hides the package
in Package/libseccomp/config instead.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-15 10:42:08 -03:00
Jan Pavlinec c60624de45
libseccomp: update to version 2.4.1
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-05-14 09:22:12 +02:00
Jan Pavlinec 353f5f46e7
libseccomp: update to version 2.4.0
Changes:
add scmp_sys_resolver utility for syscall resolving

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-03-15 14:52:16 +01:00
Rosen Penev c91ee4ea2d libseccomp: Update to 2.3.3
Added PKG_BUILD_PARALLEL for faster compilation.

Removed PKG_FORMAT_SECURITY as it's not needed to be disabled anymore.

Removed patch as musl has been updated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-08 10:46:00 -07:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Nikos Mavrogiannopoulos 8b22db13d2 libseccomp: corrected typo in patch
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-15 00:22:40 +02:00
Daniel Golle e1a1eed25f libseccomp: work-around prctl.h mess
musl doesn't allow including both, sys/prctl.h and linux/prctl.h.
Thus include linux/prctl.h only on GLIBC systems (that includes
uClibc which defines __GLIBC__)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-04 14:44:40 +02:00
Nikos Mavrogiannopoulos 21645ec347 libseccomp: updated to 2.2.1
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-05-17 20:10:37 +02:00
Nikos Mavrogiannopoulos 522e047be2 removed Build/Configure part
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-03-12 18:50:19 +01:00
Nikos Mavrogiannopoulos e3199d1ffe seccomp: depends on CONFIG_KERNEL_SECCOMP
Resolves #935

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-03-12 18:29:54 +01:00
Nikos Mavrogiannopoulos 095ae50d35 libseccomp: remove legacy cruft
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-02-27 17:28:44 +01:00
Nikos Mavrogiannopoulos 47d01047a6 libseccomp: added package
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-02-14 13:31:03 +01:00