From: Zack Weinberg Date: Sun, 17 Feb 2008 16:33:07 +0000 (+0100) Subject: deb-shlibs.5: Be a little more elaborate and helpful X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1655bc27b2a41f863baf10507c7a33e7fa8f4dc0;p=dpkg deb-shlibs.5: Be a little more elaborate and helpful [Committed the original patch with some formatting changes -- Frank Lichtenheld] --- diff --git a/debian/changelog b/debian/changelog index ba9f6bd5..5dca07a1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -40,6 +40,7 @@ dpkg (1.14.17) UNRELEASED; urgency=low * Add a warning in dpkg-buildpackage if the build-dependencies are not satisfied during -S. Closes: #445552 * Add a missing space in the German scripts translation. Closes: #463398 + * Add improved deb-shlibs.5 manual page by Zack Weinberg. Closes: #466135 [ Updated dpkg translations ] * Korean (Changwoo Ryu). diff --git a/man/ChangeLog b/man/ChangeLog index d4a8b617..99f438be 100644 --- a/man/ChangeLog +++ b/man/ChangeLog @@ -1,3 +1,8 @@ +2008-02-17 Zack Weinberg + + * deb-shlibs.5: Make this manual page a bit + more elaborate and helpful. + 2008-01-22 Peter Karlsson * po/sv.po: Updated to 1422t. diff --git a/man/deb-shlibs.5 b/man/deb-shlibs.5 index b7f9494b..998bc6ed 100644 --- a/man/deb-shlibs.5 +++ b/man/deb-shlibs.5 @@ -1,4 +1,5 @@ -.\" This manpage is copyright (C) 1996 Michael Shields . +.\" Copyright (C) 1996 Michael Shields +.\" Copyright (C) 2008 Zack Weinberg .\" .\" This is free software; you may redistribute it and/or modify .\" it under the terms of the GNU General Public License as @@ -13,18 +14,51 @@ .\" You should have received a copy of the GNU General Public .\" License along with dpkg; if not, write to the Free Software .\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -.TH deb\-shlibs 5 "2007-03-08" "Debian Project" "dpkg utilities" +.TH deb\-shlibs 5 "2008-02-17" "Debian Project" "dpkg utilities" .SH NAME deb\-shlibs \- Debian shared library information file . -.SH SYNOPSIS -shlibs -. .SH DESCRIPTION -The format for a shared library dependency information entry in these -files is (see the Debian Policy Manual for details): .PP - +.B shlibs +files map shared library names and versions +.RI ( sonames ) +to dependencies suitable for a package control file. There is one +entry per line. Blank lines are \fBnot\fP allowed. Lines beginning +with an \fB#\fP character are considered commentary, and are ignored. +All other lines must have the format +.IP +.RI [ tag: ] +.I library +.I version +.I dependencies +.PP +The \fIlibrary\fP and \fIversion\fP fields are whitespace-delimited, +but the \fIdependencies\fP field extends to the end of the line. The +\fItag\fP field is optional and normally not needed. +.PP +See the Debian Policy Manual for further details. +. +.SH EXAMPLES +.PP +The +.B shlibs +file for a typical library package, named +.IR libcrunch1 , +that provides one library whose soname is +.IR libcrunch.so.1 , +might read +.IP +libcrunch 1 libcrunch1 (>= 1.2-1) +.PP +The \fIdependencies\fP +must mention the most recent version of the package that added new +symbols to the library: in the above example, new symbols were added to +version 1.2 of +.IR libcrunch . +This is not the only reason the dependencies might need to be +tightened; again, see the Debian Policy Manual for details. . .SH SEE ALSO -.BR dpkg\-shlibdeps (1). +.BR dpkg\-shlibdeps (1), +.BR deb\-symbols (5).