Guillem Jover: > Sure, there's also another bug report requesting builtin support for > this, the problem is about possible privacy issue, like leaks of user > information.
Are you talking about #138409 (opened 15 Mar 2002!)? > > We can currently easily add new fields there by using the `XC-` > > construct in `debian/control`. Unfortunately, `dpkg-genchanges` > > does currently not expand all substvars, limiting our abilities to > > experiment. > > For experimenting purposes there's already everything you need in > place, no need for patching, something like this would do: > > $ dpkg-buildpackage --changes-option="-DBuild-Env=VarA=foo VarB=bar" This has the downside that it needs a wrapper script, or modifications to existing ones (debuild, pbuilder, sbuild, …) but I guess we can cope with that in a first phase. > Expanding substvars “might” possibly only make sense for unknown fields, > the rest of the known fields should be deterministic from the source > package itself. And there's multiple fields that must not use them > at all, this includes the Changes field for example, or we'd get > expansions on changelog entries that mention substvars. I had not thought of the issue related to changelog entries. I think it would be worth documenting it, maybe close to the “Note: no substitution of variables” comment. > So in principle I'll be tagging this wontfix, and probably closing after > a bit, given that the original request can be already fulfilled by other > (nicer) means. Fair enough. -- Jérémy Bobbio .''`. lu...@debian.org : :Ⓐ : # apt-get install anarchism `. `'` `-
signature.asc
Description: Digital signature