mbox series

[meta-security,00/10] sssd: fix python3 support

Message ID 20241025082239.3468351-1-gael.portay+rtone@gmail.com
Headers show
Series sssd: fix python3 support | expand

Message

Gaël PORTAY Oct. 25, 2024, 8:22 a.m. UTC
Dear Maintainers,

This patch series brings several fixes to enable the support for python3
to the recipe sssd.

I have tested the build on the branch master with following change to
enable python3:

	PACKAGECONFIG:append:pn-sssd = " python3"

The command below runs successfully since then.

	$ bitbake sssd

The patch series creates the new target package sssd-python; tell me if
is not misnamed (thinking about python-sssd?) or if the python script
and its modules should be part of the target package sssd instead.

Important: I am no expert in python packaging at all, so I have probably
made not-the-right choices in the first commit! Sorry...

Note: This patch serie follows up the one for the kirkstone branch[1].

[1]: https://patchwork.yoctoproject.org/project/yocto/cover/20240626133913.790145-1-gael.portay@rtone.fr/

Changes since kirkstone:
 - add missing python3-core and python3-logging run-time dependency to
   package
 - set python3dir= to install the sss_analyze python3 files to the
   correct directory /usr/lib/python3.12/site-packages/

Kind Regards,
Gaël PORTAY (10):
  sssd: add whitespace after ?= operator
  sssd: fix missing python3-core run-time dependency
  sssd: fix missing python3-logging run-time dependency
  sssd: fix installation sss_analyze python3 files
  sssd: fix ac_cv_prog_HAVE_PYTHON3 value
  sssd: fix missing python3.X-config script
  sssd: fix issue if build machine is Debian
  sssd: fix missing python3-setuptools-native dependency
  sssd: fix shipping python script and modules
  sssd: fix path to python3 interpreter

 .../recipes-security/sssd/sssd_2.9.2.bb       | 33 +++++++++++++------
 1 file changed, 23 insertions(+), 10 deletions(-)