Your message dated Tue, 26 Oct 1999 01:12:11 +0100 (BST) with message-id <[EMAIL PROTECTED]> and subject line Bug#41729: [PROPOSAL] Modify dpkg-buildpackage to handle FHS move has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Darren Benham (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 21 Jul 1999 19:14:56 +0000 Received: (qmail 5658 invoked from network); 21 Jul 1999 19:14:56 -0000 Received: from serv1.is2.u-net.net (HELO mserv1b.u-net.net) (195.102.240.137) by master.debian.org with SMTP; 21 Jul 1999 19:14:56 -0000 Received: from [195.102.197.149] (helo=polya) by mserv1b.u-net.net with esmtp (Exim 2.10 #61) id 1171oQ-0003qz-00 for [EMAIL PROTECTED]; Wed, 21 Jul 1999 20:13:55 +0100 Received: from jdg by polya with local (Exim 2.05 #1 (Debian)) id 116yGO-00057Y-00; Wed, 21 Jul 1999 16:26:32 +0100 Subject: [PROPOSAL] Modify dpkg-buildpackage to handle FHS move To: [EMAIL PROTECTED] ( Debian bug reports) Date: Wed, 21 Jul 1999 16:26:32 +0100 (BST) X-Mailer: ELM [version 2.4ME+ PL48 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 2241 Message-Id: <[EMAIL PROTECTED]> From: Julian Gilbey <[EMAIL PROTECTED]> Package: debian-policy Version: 3.0.0.0 Severity: wishlist Manoj requested that I submit this as a separate proposal so that it doesn't get lost. The following was originally posted on the thread discussing the /usr/doc -> /usr/share/doc move and the problems associated with it. Julian ----- Original message ----- Maybe I can suggest an alternative which will - not require packages to add anything to their maintainer scripts - not break the majority of packages, and - not create a forest of symlinks (which might be problematic, as has been pointed out) The dpkg-buildpackage program (and maybe autobuilders as well?) could be modified so that after the .deb is built, before anything is signed or similar, something like the following is done (within any necessary fakeroot-type environment, of course): if dpkg -c ../$pva.deb | grep usr/doc/; then cat >&2 <<-EOF I see that you are using the old FSSTND /usr/doc directory. I will attempt to move /usr/doc to /usr/share/doc, but please modify your package in order to make it FHS compliant. EOF dpkg -x ../$pva.deb ${TMPDIR-/tmp}/$pva dpkg -e ../$pva.deb ${TMPDIR-/tmp}/$pva/DEBIAN mv ${TMPDIR-/tmp}/$pva/usr/doc ${TMPDIR-/tmp}/$pva/usr/share/doc dpkg --build ${TMPDIR-/tmp}/$pva .. fi This would therefore only require one package to be upgraded in order to handle most packages (even if it is dpkg!), and autobuilders could recompile most packages automatically. This would fail if any of the following happen: - the package contained any symlinks (relative or absolute) to /usr/doc, although the package would still build in such a case - the maintainer scripts made assumptions about /usr/doc existing; this will hopefully not affect too many packages. Using this, I could feasibly see all packages becoming /usr/share/doc using by the time potato is released, as the individual packages won't directly need modification in order to make them FHS compliant. Julian =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Julian Gilbey, Dept of Maths, QMW, Univ. of London. [EMAIL PROTECTED] Debian GNU/Linux Developer, see http://www.debian.org/~jdg ----- End of original message ----- --------------------------------------- Received: (at 41729-done) by bugs.debian.org; 26 Oct 1999 00:28:47 +0000 Received: (qmail 22488 invoked from network); 26 Oct 1999 00:28:41 -0000 Received: from mserv1b.u-net.net (195.102.240.137) by master.debian.org with SMTP; 26 Oct 1999 00:28:41 -0000 Received: from [195.102.196.30] (helo=polya) by mserv1b.u-net.net with esmtp (Exim 2.10 #63) id 11fuUe-0003C5-00 for [EMAIL PROTECTED]; Tue, 26 Oct 1999 01:29:40 +0100 Received: from jdg by polya with local (Exim 3.03 #1 (Debian)) id 11fuDj-0007Lf-00; Tue, 26 Oct 1999 01:12:11 +0100 Subject: Bug#41729: [PROPOSAL] Modify dpkg-buildpackage to handle FHS move To: [EMAIL PROTECTED] Date: Tue, 26 Oct 1999 01:12:11 +0100 (BST) X-Mailer: ELM [version 2.4ME+ PL60 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <[EMAIL PROTECTED]> From: Julian Gilbey <[EMAIL PROTECTED]> This was rejected. Julian =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Julian Gilbey, Dept of Maths, QMW, Univ. of London. [EMAIL PROTECTED] Debian GNU/Linux Developer, see http://www.debian.org/~jdg