On Wed, 25 Mar 2009, Nils Rennebarth wrote: > Raphael Hertzog wrote: > > On Tue, 24 Mar 2009, Raphael Hertzog wrote: > > So I guess the request is that dpkg-deb doesn't complain about > > X-* fields created with XB-X-* in debian/control. > > > > That looks reasonable indeed. Should that be documented somewhere ? > I'd suggest section 5.7 "User-defined fields" of the debian policy manual. > Something like the following: > > Usually, unknown fields are iggnored by the debian packaging system. To > avoid conflicts of user defined fields with field that may be used by > debian in the future, we suggest to use field names starting with X- (so > you need to put X[BCS]-X-foo into the control file) which are guaranteed > to never conflict with future official fields. That has the added bonus > that dpkg-gencontrol will not issue warnings about user defined fields > at package build time.
s/dpkg-gencontrol/dpkg-deb/ but yes it looks a good idea, can you submit it as bug against the debian-policy package ? > It may be documented in the dpkg-gencontrol manpage as well, because it > has the -D option to include or change fields of the control file. Hum, dpkg-gencontrol needs to be expanded yes, but that warning change is of no interest there. Anyway, your patch is applied in the git repo. Cheers, -- Raphaël Hertzog Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny : http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

