#5596 Port C extension modules to Python to allow noarch python-ipalib packages
Closed: Fixed Opened by jcholast.

Currently FreeIPA ships with two C extension modules, both of which can be ported to Python:

  • default_encoding_utf8: This module sets the default encoding to UTF-8. It can be replaced with:

{{{#!python
reload(sys)
sys.setdefaultencoding('utf-8')

  • _ipap11helper: This is a support module for ipapython.p11helper, which calls functions from libcrypto, libp11-kit and a PKCS!#11 module. The libcrypto calls can be replaced with python-cryptography code, the rest can be called using python-cffi.

Once we get rid of these, we can package python-ipalib as noarch.


master:

  • 7e56b4bbd79d9d42af23babc7496dd15d85d28ea ipapython: remove default_encoding_utf8

ipa-4-3:

  • 1cf005679d9c27e57ee3507e574f11b6a20f4450 ipapython: remove default_encoding_utf8

master:

  • 500ee7e2b1fdaa9669cf136a380907cfe4f0f225 ipapython: port p11helper C code to Python
  • b808376e2f516297dfb8311e514e31f2933bce01 ipapython: use python-cryptography instead of libcrypto in p11helper

ipa-4-3:

  • 666ffccec6b461f587c578b36c0d790408cdb364 ipapython: port p11helper C code to Python
  • 5cfb95355353f040b38dabe957a1f453e4318900 ipapython: use python-cryptography instead of libcrypto in p11helper

What is missing? Can this be closed?

Spec file update. Patch is on the list.

master:

  • 6896035af2c5ba7468fdab183a385c4a88a1ab77 spec file: package python-ipalib as noarch

ipa-4-3:

  • 385693a30862bf370e32e1d66e5efa2f5a641ebb spec file: package python-ipalib as noarch

ipa-4-3:

  • 212c4cb671bec5a3d6fe320284136c87a81228ae daemons: remove unused erroneous _ipap11helper import

Metadata Update from @jcholast:
- Issue assigned to jcholast
- Issue set to the milestone: FreeIPA 4.3.1

Metadata