Package: openldap Version: 2.4.50+dfsg-1 Severity: normal Dear Maintainer,
slapd in debian sets the WHOWHERE value in d/p/set-maintainer-name to "Debian OpenLDAP Maintainers <pkg-openldap-de...@lists.alioth.debian.org>". It occurred to me that in ubuntu we have that same value, which is incorrect. I propose a dynamic way to set it: --- a/debian/patches/set-maintainer-name +++ b/debian/patches/set-maintainer-name @@ -10,7 +10,7 @@ -else - WHOWHERE="$USER@$(uname -n):$(pwd)" -fi -+WHOWHERE="Debian OpenLDAP Maintainers <pkg-openldap-de...@lists.alioth.debian.org>" ++WHOWHERE="$(grep ^Maintainer: debian/control | sed 's,Maintainer: ,,')" cat << __EOF__ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. This parses d/control to fetch the email address of the maintainer, so it will be correct for both the Ubuntu and Debian packages. If you prefer another way, like a conditional on ubuntu and debian, and use hardcoded values instead of blindly taking whatever is in d/control, let me know. I looked for some tooling to parse d/control, but this simple parsing seems ok.