Community maintained packages for difos.
Find a file
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
.circleci circleci: Revert switch to CDN due to breakage 2019-11-22 23:19:56 +01:00
.github CI: revert adding of *depending* packages 2021-03-25 23:28:52 -10:00
.keys build: move gpg keys into .keys directory 2018-04-30 13:14:25 -07:00
admin netdata: disable shared memory totals by default 2021-04-11 09:57:51 +02:00
devel meson: fix compilation with at least spice 2021-04-05 15:31:59 -07:00
fonts/dejavu-fonts-ttf [dejavu-fonts] add license info and myself as maintainer 2017-02-22 18:39:54 +01:00
ipv6 treewide: Run refresh on all packages 2021-02-20 16:02:15 -08:00
kernel ksmbd: update to 3.3.8 2021-04-07 00:46:54 -07:00
lang node: #14983 NODEJS_ICU_SMALL is default 2021-04-11 13:39:24 +02:00
libs Revert "libseccomp: don't build on ARC" 2021-04-11 21:21:48 -03:00
mail exim: fix compilation without deprecated OpenSSL APIs 2021-03-26 13:14:18 -07:00
multimedia gerbera: update to 1.8.0 2021-04-10 17:05:18 -07:00
net Merge pull request #15382 from cotequeiroz/strongswan 2021-04-11 17:10:58 -06:00
sound mpd: run mpd as a non-root user 2021-03-29 09:16:13 +02:00
utils crun: Don't build on arc 2021-04-11 21:21:14 -03:00
CONTRIBUTING.md CONTRIBUTING: add CI information 2020-09-30 10:47:12 -10:00
LICENSE Add GPLv2 pro-forma license 2014-06-16 08:14:04 +02:00
README.md Update the SDK URL in the README. 2020-05-24 14:50:30 -07:00

OpenWrt packages feed

Description

This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.

Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update packages
./scripts/feeds install -a -p packages

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.