[Freeipa-devel] [PATCH] Allow pkinit functionality to be hidden in production version

Jan Zelený jzeleny at redhat.com
Mon Jan 31 13:27:38 UTC 2011


This patch adds python config file ipaconfig.py, which can contain
various configuration directives for ipalib and other python code. These
directives can be detected at build time.

The first config directive in use is enable_pkinit, which can be set by
running (in 'install' subdirectory)
./configure --enable-pkinit or ./configure --disable-pkinit

When pkinit is disabled, classes in pkinit plugin are not registered to
API and the whole functionality is hidden in installation scripts.

https://fedorahosted.org/freeipa/ticket/616

I'm primarily interested about the concept. This is the best one I came up 
with. If you have any suggestion how to make this differently, let me know.

-- 
Thank you
Jan Zeleny

Red Hat Software Engineer
Brno, Czech Republic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jzeleny-freeipa-0032-Allow-pkinit-functionality-to-be-hidden-in-productio.patch
Type: text/x-patch
Size: 13778 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110131/b6e435dd/attachment.bin>


More information about the Freeipa-devel mailing list