From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 0/9 v5] package/apparmor: new package (branch yem/apparmor)
Date: Sun, 29 Mar 2020 16:01:42 +0200 [thread overview]
Message-ID: <cover.1585490494.git.yann.morin.1998@free.fr> (raw)
Hello All!
This series is reworked of the previous work from Angelo:
http://lists.busybox.net/pipermail/buildroot/2020-March/278308.html
http://lists.busybox.net/pipermail/buildroot/2020-March/278307.html
Fundamentally, (almost) all the code is from Angelo, and it has jsut
been spread across two packages.
The way the apparmor package is laid out is not very amenable at doing a
single package that builds everything: all the tools and utils depend on
libapparmor, and that is better installed before the build of the tools
is attempted.
So, we split the packaging in two:
- libapparmor, which is siolely responsible for installing
libapparmor and its python3 bindings,
- apparmor per-se, which is responsible for installing all the tools
and utilities.
To be noted: most of the tools' Makefiles hard-code linking to the
static libapparmor (without explanations), so rather than go against the
tide, we just enforce building the static library (note also that we do
not forbid building the shared one).
The only major part that was dropped from the initial series, is support
for writign the cache on read-write filesystems. The codition was based
on BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW, but that does not prevent
building an actually read-only filesystem at all (e.g. squashfs). So,
more thoughts will have to be poured into this caching feature in a
subsequent series.
Chage v4 -> v5: (adopted by Yann)
- split in two packages, one for the lib, ione for the utils
- reword all the commit logs
- fix dependencies (threads, mmu...)
- re-organise the conditions to install utils (python3 vs others)
- drop the cache writing for read-write filesystems
Regards,
Yann E. MORIN.
The following changes since commit d0f5a5551ab86f6272f13deaa16dcdf4b07a524f
package/sysstat: bump to version 12.2.1 (2020-03-29 15:50:36 +0200)
are available in the git repository at:
git://git.buildroot.org/~ymorin/git/buildroot.git
for you to fetch changes up to 8b4415dad37fa81cf2d4adb09b27119b233bcd8a
package/apparmor: enable apache integration (2020-03-29 16:01:18 +0200)
----------------------------------------------------------------
Angelo Compagnucci (4):
package/libapparmor: new package
linux: enable AppArmor-related options if needed
package/apparmor: new package
package/apparmor: add option to install binutils
Yann E. MORIN (5):
package/apparmor: add options to install utils
package/apparmor: add option to install generic profiles
package/libapparmor: enable python bindings
package/apparmor: enable PAM integration
package/apparmor: enable apache integration
DEVELOPERS | 1 +
linux/linux.mk | 5 ++
package/Config.in | 2 +
package/apparmor/Config.in | 71 ++++++++++++++++
package/apparmor/apparmor.hash | 4 +
package/apparmor/apparmor.mk | 81 ++++++++++++++++++
...n_devel-fixing-for-crosscompiling-environ.patch | 96 ++++++++++++++++++++++
...-fixing-setup.py-call-when-crosscompiling.patch | 30 +++++++
package/libapparmor/Config.in | 16 ++++
package/libapparmor/libapparmor.hash | 4 +
package/libapparmor/libapparmor.mk | 41 +++++++++
11 files changed, 351 insertions(+)
create mode 100644 package/apparmor/Config.in
create mode 100644 package/apparmor/apparmor.hash
create mode 100644 package/apparmor/apparmor.mk
create mode 100644 package/libapparmor/0001-m4-ac_python_devel-fixing-for-crosscompiling-environ.patch
create mode 100644 package/libapparmor/0002-libapparmor-fixing-setup.py-call-when-crosscompiling.patch
create mode 100644 package/libapparmor/Config.in
create mode 100644 package/libapparmor/libapparmor.hash
create mode 100644 package/libapparmor/libapparmor.mk
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next reply other threads:[~2020-03-29 14:01 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-29 14:01 Yann E. MORIN [this message]
2020-03-29 14:01 ` [Buildroot] [PATCH 1/9 v5] package/libapparmor: new package Yann E. MORIN
2020-04-17 21:25 ` Angelo Compagnucci
2020-03-29 14:01 ` [Buildroot] [PATCH 2/9 v5] linux: enable AppArmor-related options if needed Yann E. MORIN
2020-04-17 21:25 ` Angelo Compagnucci
2020-03-29 14:01 ` [Buildroot] [PATCH 3/9 v5] package/apparmor: new package Yann E. MORIN
2020-04-17 21:25 ` Angelo Compagnucci
2020-03-29 14:01 ` [Buildroot] [PATCH 4/9 v5] package/apparmor: add option to install binutils Yann E. MORIN
2020-04-17 21:26 ` Angelo Compagnucci
2020-03-29 14:01 ` [Buildroot] [PATCH 5/9 v5] package/apparmor: add options to install utils Yann E. MORIN
2020-04-17 21:27 ` Angelo Compagnucci
2020-03-29 14:01 ` [Buildroot] [PATCH 6/9 v5] package/apparmor: add option to install generic profiles Yann E. MORIN
2020-04-17 21:27 ` Angelo Compagnucci
2020-03-29 14:01 ` [Buildroot] [PATCH 7/9 v5] package/libapparmor: enable python bindings Yann E. MORIN
2020-04-17 21:28 ` Angelo Compagnucci
2020-03-29 14:01 ` [Buildroot] [PATCH 8/9 v5] package/apparmor: enable PAM integration Yann E. MORIN
2020-04-17 21:28 ` Angelo Compagnucci
2020-03-29 14:01 ` [Buildroot] [PATCH 9/9 v5] package/apparmor: enable apache integration Yann E. MORIN
2020-04-17 21:28 ` Angelo Compagnucci
2020-04-04 11:40 ` [Buildroot] [PATCH 0/9 v5] package/apparmor: new package (branch yem/apparmor) Yann E. MORIN
2020-04-20 9:34 ` Yann E. MORIN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1585490494.git.yann.morin.1998@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox