Commit Graph

10 Commits

Author SHA1 Message Date
Oskari Rauta 0e34107963 apparmor: gcc 13 compatibility fix
when built with gcc 13, fixes following error:

capability.h:46:6: error: variable or field '__debug_capabilities' declared void
   46 | void __debug_capabilities(uint64_t capset, const char *name);
      |      ^~~~~~~~~~~~~~~~~~~~
capability.h:46:27: error: 'uint64_t' was not declared in this scope

patch is back ported from upstream patch at
64a64be7ff.patch

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-05-28 09:30:11 +03:00
Jeffery To 3ee4e7297c
python-setuptools-scm: Add new host-only package
The host build replaces the use of the host pip requirements file. This
also updates the dependants of setuptools-scm to depend on the host
build.

This also removes the toml host pip requirements file as toml is not
used by any other package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:35 +08:00
Jeffery To 2f81f907c2 python3: Add Py3Build/InstallBuildDepends recipe
This adds a recipe, Py3Build/InstallBuildDepends, that installs the
requirements listed in HOST_PYTHON3_PACKAGE_BUILD_DEPENDS. This allows
other (non-Python) packages to install host Python packages by calling
this recipe, without having to know the internals of python3-package.mk.

This also updates apparmor to call this recipe.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-17 11:38:19 -07:00
Michal Vasilek aae551544b
apparmor: cleanup
* replace 020-fix-ss-path.patch with an upstream patch 020-remove-which-dep.patch
* remove 030-remove-pynotify2-dep.patch and do not install aa-notify
* simplify 060-openwrt-dnsmasq-profile.patch
* add two upstream patches for Python 3.10 compatibility
* add an upstream patch to move from deprecated distutils which broke
  the build with Python 3.10+

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-01-13 11:59:58 +01:00
Eneas U de Queiroz 17dd2f1774
apparmor: use $(PYTHON3_VERSION)
Instead of hardcoding the current python version, use PYTHON3_VERSION
from the python package.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-11-25 16:49:46 -03:00
Rosen Penev 332644f47a apparmor: update to 3.0.3
Fix compilation under Fedora. There's some weird systemd target. Just
remove it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-21 16:07:16 -07:00
Michal Vasilek a7537834ef
apparmor: fix include path
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-09-22 13:50:41 +02:00
Oskari Rauta 18cf9866d0 apparmor: add missing parser.conf
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-07-06 03:38:44 +03:00
Vincent Wiemann dcd72a7d84 apparmor: fix packaging
Removes the BUILDONLY flag as otherwise no packages will be created.

Signed-off-by: Vincent Wiemann <vincent.wiemann@ironai.com>
2021-06-17 00:14:19 +02:00
Oskari Rauta 3ba2a3411d apparmor: add package
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-06-10 18:11:57 +02:00