On 2/2/07, Frank Küster <frank@kuesterei.ch> wrote:
tags 409335 patch thanks Steve Langasek <vorlon@debian.org> wrote: > The change requested in 408154 is a policy violation. Packages are not > allowed to ship any directories under the /usr/local heirarchy; they must be > created in the postinst and removed in the prerm. > > This bug now blocks getting the fix for RC bug 403703 into etch, so please > revert the change. Instead of just reverting, you could also apply this simple patch: + + * Use dh_usrlocal to install files in /usr/local in the maintainer + scripts, instead of shipping them in the deb
Unless I misunderstood the man page, dh_usrlocal is meant for software that builds into /usr/local, which we don't. We're only adding a local directory in case others need it to install their own PPD. We probably should not ship any directory in /usr/local or /opt anyhow. It should be up to the third-party or local applications that actually supply the PPD to create them. Even worse, those PPD directories are not only used by CUPS; other PostScript applications and printer daemons use them too. The proper solution would be to add those directories to the filesystem skeleton used by debian-installer and to the FHS specs. -- Martin-Éric Racine http://q-funk.iki.fi