[Pkg-openldap-devel] Bug#794999: openldap: include pbkdf2 contrib module into Debian's openldap packages

Peter Marschall peter at adpm.de
Sun Aug 9 08:10:59 UTC 2015


Source: openldap
Version: 2.4.41+dfsg-1
Severity: wishlist
Tags: upstream patch

Hi,

please include the pbkdf2 contrib module in Debian's openldap packages.

The attacked patch does this:

* It starts by preparing contrib/password/pbkdf2/pw-pdkdf2.c to work with nettle
  * debian/patches/TS8198-0001-fix-an-always-true-check.patch
    patch is taken from upstream ITS#8198
  * ITS8198-0002-optionally-use-libnettle-instead-of-openssl-for-crypto.patch

* Then it adapts contrib/password/pbkdf2/Makefile to follow Debian's rules
  * pbkdf2-makefile-use-dpkg-buildflags
  * pbkdf2-makefile

* Of course it doesn't forget to add a manual page
  (derived from a patch I sent upstream as a part of ITS#8205)
  * pbkdf2-makefile-manpage

* Finally it updates debian/rules to make sure the module's files get compiled
  and installed

I have this patch included in my private packaging of openldap.

When creating the patch, I tried to
* avoid changing existing patches
  That's the reason for the 'pbkdf2-makefile-use-dpkg-buildflags' patch file.
  Feel free to merge it into 'contrib-modules-use-dpkg-buildflags'
* adhere to existing patch naming logic
  e.g. 'pbkdf2-makefile'
  
Thanks for your work on openldap in Debian!

Best
Peter

PS: support for getting ITS#8198 and ITS#8205 included upstream is very welcome


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-build-and-install-pw-pbkdf2.patch
Type: text/x-diff
Size: 20259 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20150809/cac75e11/attachment.patch>


More information about the Pkg-openldap-devel mailing list