[Pkg-openldap-devel] Bug#724518: openldap: Patch to allow bootstrapping without heimdal-dev

Ryan Tandy ryan at nardis.ca
Tue Aug 25 19:51:56 UTC 2015


On Tue, Aug 25, 2015 at 11:53:00AM -0700, Daniel Schepler wrote:
>The new (much simpler) equivalent would be putting "Build-Profiles:
><!stage1>" into the slapd-smbk5pwd debian/control stanza.

Great, that seems to work nicely.

>I would definitely want to exclude that package from the stage1 profile 
>build as otherwise it might not provide all expected functionality of 
>the package.

OK. I should have read the wiki first. I see it recommends against 
varying package functionality across profiles.

>I don't see the point in building the addon if it's not going to be
>packaged in the stage1 profile anyway

I had been thinking "build the same package, but with reduced features". 
Since we're not doing that, then:

>- so I would just update to
>
>ifeq (,$(filter stage1,$(DEB_BUILD_PROFILES)))
>        $(MAKE) -C contrib/slapd-modules/smbk5pwd
>endif

is fine and makes me happy. :)

>>I think we also want a debian/control hunk, right? Is the 
>>build-profiles syntax supported for uploading to the archive these 
>>days?
>>
>
>Yup, for example nss and util-linux are already using it.

Great!

>I'm at work at the moment so I don't have time to look at it in detail
>right now - I'll try to look at it this evening.

No hurry. Revised patch attached... I think it's correct, but would 
appreciate a thumbs-up when you have time. Thanks a lot for your help!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Omit-smbk5pwd-from-stage1-build-724518.patch
Type: text/x-diff
Size: 2319 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20150825/5d153ff8/attachment.patch>


More information about the Pkg-openldap-devel mailing list