Your message dated Mon, 03 Dec 2007 07:17:02 +0000 with message-id <E1Iz5Y6-00044w-Qb@ries.debian.org> and subject line Bug#363133: fixed in debian-policy 3.7.3.0 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.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: [PROPOSAL] Document support of package types in shlibs files
- From: Frans Pop <aragorn@tiscali.nl>
- Date: Mon, 17 Apr 2006 21:51:07 +0200
- Message-id: <200604172151.08155.aragorn@tiscali.nl>
Package: debian-policy Version: 3.6.2.2 Severity: wishlist With version 1.13.12, dpkg-dev gained support for different package types in shlibs files. This was necessary to make it possible to automatically generate correct dependencies for udebs (as used by Debian Installer). For background, see http://bugs.debian.org/345475. The attached patch to the current section 8.6 that covers shlibs documents this new feature. Basically, an shlibs file can now contain two lines for a single library: libz 1 zlib1g (>= 1:1.2.1) udeb: libz 1 zlib1g-udeb (>= 1:1.2.1) If the -t<type> option is added to dpkg-shlibdeps, it will look first for a line starting with <type>: and, if not found, fall back to the "normal" line. The only <type> currently in use is "udeb". In the debhelper (>= 5.0.22) suite, both dh_makeshlibs and dh_shlibdeps have support for package types in shlibs files. A majority of library packages that have a udeb and udebs using them has already been adapted to use the new feature. See [1] for an overview. [1] http://wiki.debian.org/DebianInstaller/LibraryUdebs--- policy.sgml.orig 2006-04-17 01:54:04.000000000 +0200 +++ policy.sgml 2006-04-17 02:05:19.416457719 +0200 @@ -4866,6 +4866,19 @@ </p> <p> + If you are creating a udeb for use in Debian Installer, you will + need to specify that <prgn>dpkg-shlibdeps</prgn> should use the + dependency line of type <tt>udeb</tt> by adding <tt>-tudeb</tt> + as option<footnote> + <prgn>dh_shlibdeps</prgn> from the <tt>debhelper</tt> suite + will automatically add this option if it knows it is + processing a udeb. + </footnote>. If there is no dependency line of type <tt>udeb</tt> + in the <file>shlibs</file> file, <prgn>dpkg-shlibdeps</prgn> will + fall back to the regular dependency line. + </p> + + <p> For more details on dpkg-shlibdeps, please see <ref id="pkg-dpkg-shlibdeps"> and <manref name="dpkg-shlibdeps" section="1">. @@ -4880,7 +4893,7 @@ beginning with <tt>#</tt> are considered to be comments and are ignored. Each line is of the form: <example compact="compact"> -<var>library-name</var> <var>soname-version-number</var> <var>dependencies ...</var> +<var>[type:]</var> <var>library-name</var> <var>soname-version-number</var> <var>dependencies ...</var> </example> </p> @@ -4891,6 +4904,12 @@ </p> <p> + <var>type:</var> is an optional element that indicates the type + of package for which the line is valid. The only type currently + in use is <tt>udeb</tt>. The colon after the type is required. + </p> + + <p> <var>library-name</var> is the name of the shared library, in this case <tt>libz</tt>. (This must match the name part of the soname, see below.) @@ -4932,6 +4951,14 @@ the dynamic linker about using older shared libraries with newer binaries. </p> + + <p> + As zlib1g also provides a udeb containing the shared library, + there would also be a second line: + <example compact="compact"> +udeb: libz 1 zlib1g (>= 1:1.1.3) + </example> + </p> </sect1> <sect1> @@ -4956,7 +4983,10 @@ <file>debian/rules</file> without using a <file>debian/shlibs</file> file at all,<footnote> This is what <prgn>dh_makeshlibs</prgn> in the - <tt>debhelper</tt> suite does. + <tt>debhelper</tt> suite does. If your package also has a udeb + that provides a shared library, <prgn>dh_makeshlibs</prgn> can + automatically generate the <tt>udeb:</tt> lines if you specify + the name of the udeb with the <tt>--add-udeb</tt> option. </footnote> since the <file>debian/shlibs</file> file itself is ignored by <prgn>dpkg-shlibdeps</prgn>.Attachment: pgpEOClUCcLWg.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---
- To: 363133-close@bugs.debian.org
- Subject: Bug#363133: fixed in debian-policy 3.7.3.0
- From: Russ Allbery <rra@debian.org>
- Date: Mon, 03 Dec 2007 07:17:02 +0000
- Message-id: <E1Iz5Y6-00044w-Qb@ries.debian.org>
Source: debian-policy Source-Version: 3.7.3.0 We believe that the bug you reported is fixed in the latest version of debian-policy, which is due to be installed in the Debian FTP archive: debian-policy_3.7.3.0.dsc to pool/main/d/debian-policy/debian-policy_3.7.3.0.dsc debian-policy_3.7.3.0.tar.gz to pool/main/d/debian-policy/debian-policy_3.7.3.0.tar.gz debian-policy_3.7.3.0_all.deb to pool/main/d/debian-policy/debian-policy_3.7.3.0_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 363133@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Russ Allbery <rra@debian.org> (supplier of updated debian-policy package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Sun, 02 Dec 2007 22:33:55 -0800 Source: debian-policy Binary: debian-policy Architecture: source all Version: 3.7.3.0 Distribution: unstable Urgency: low Maintainer: Debian Policy List <debian-policy@lists.debian.org> Changed-By: Russ Allbery <rra@debian.org> Description: debian-policy - Debian Policy Manual and related documents Closes: 294962 361418 363133 382612 392594 402975 412634 413575 418444 420701 424212 431813 435207 440931 448035 Changes: debian-policy (3.7.3.0) unstable; urgency=low . * Bug fix: "FTBFS if built twice in a row" (Closes: #424212). * Bug fix: "[PROPOSAL] Document ~ behavior in version numbers", thanks to Nicolas François and Marc Brockschmidt (Closes: #382612). * Bug fix: "Please add 'local' to list of supra-POSIX features that /bin/sh can be expected to offer". Also add test -a/-o binary logical operators and change references from POSIX to SUSv3 (Closes: #294962). * Bug fix: "[Proposal] new Debian menu structure", thanks to Bill Allombert (Closes: #361418). * Bug fix: "typo: "must not be not world-writable"", thanks to Sam Hocevar (Closes: #392594). * Bug fix: "debian-policy: recommend binary:Version substvar instead", thanks to Guillem Jover (Closes: #418444). * Bug fix: "New virtual package: dictd-dictionary", thanks to Tatsuya Kinoshita (Closes: #413575). * The virtual package in use is inet-superserver, not inetd-superserver. Adjust the virtual package list to match. Thanks, Tatsuya Kinoshita and Marco d'Itri. * Wrapped, cleaned up trailing whitespace, and alphabetized the list of virtual packages. * Bug fix: "Small spelling errors and erratic sentences in debian-policy", thanks to Michiel de Boer. (Closes: #435207). * Bug fix: "Source field of .changes files may contain a version number" (Closes: #431813). * Bug fix: "822-date is deprecated (use date -R instead)" (Closes: #448035). * Bug fix: "5.6.17 (Urgency) should list emergency, maybe a normative list?" (Closes: #412634). * Bug fix: "[PROPOSAL] Document support of package types in shlibs files", thanks to Franz Pop and Raphaël Hertzog (Closes: #363133). * Bug fix: "Introduce a requirement for internationalisation of debconf templates", thanks to Christian Perrier (Closes: #402975). * Bug fix: "GFDL is now in common-licenses". Also add the rest of the specific license versions and the GPLv3 (Closes: #420701). * Bug fix: "Virtual package for Japanese font packages (ttf-japanese-mincho and ttf-japanese-gothic)", thanks to Nobuhiro Iwamatsu (Closes: #440931). * Drop unsupported docbook-xml format from the doc-base file for the debconf specification. * Remove inactive uploaders and add Russ Allbery. * Update Standards-Version to 3.7.3 (no changes required). Files: 483848c51ce80749d34a6a83f07dc48e 765 doc optional debian-policy_3.7.3.0.dsc e8b9c137483d3441fbb8fd0e9078f475 643340 doc optional debian-policy_3.7.3.0.tar.gz 6ada9e31cf531c7ec52e7f4fe974c924 1509794 doc optional debian-policy_3.7.3.0_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHU6kB+YXjQAr8dHYRAocMAJ97ZCJeXLMeCuKya5lLcjVWAQnX6QCeMfdt xZO4TwfKPlY/6Ij/+XD+llo= =OXbB -----END PGP SIGNATURE-----
--- End Message ---