summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2019-10-04 05:36:42 +0200
committerGuillem Jover <guillem@debian.org>2019-11-26 02:42:44 +0100
commit6115b4d35c8c927e42e4d51c82d023a5049c3c6c (patch)
tree7376670eaca8ae5d961502fa718d11231014194d
parentebbb81b5329f567f89ca576279bdeabafd291253 (diff)
downloaddpkg-6115b4d35c8c927e42e4d51c82d023a5049c3c6c.tar.gz
man: Describe the SONAME formats supported in deb-shlibs
-rw-r--r--debian/changelog1
-rw-r--r--man/deb-shlibs.man14
2 files changed, 13 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 3ebde1ef3..a2ade4b79 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -50,6 +50,7 @@ dpkg (1.20.0) UNRELEASED; urgency=medium
Reported by Felix Lechner <felix.lechner@lease-up.com>.
- man: Globally adjust left and disable hyphenation.
- man: Split dselect(1) --color from --colour option items.
+ - man: Describe the SONAME formats supported in deb-shlibs(5).
* Code internals:
- Dpkg::Source::Package: Refactor original tarball handling.
- perl: Use File::Copy instead of spawning mv/cp commands.
diff --git a/man/deb-shlibs.man b/man/deb-shlibs.man
index 26ba5f0b3..7c023e015 100644
--- a/man/deb-shlibs.man
+++ b/man/deb-shlibs.man
@@ -26,7 +26,7 @@ deb\-shlibs \- Debian shared library information file
.PP
.B shlibs
files map shared library names and versions
-.RI ( sonames )
+.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.
@@ -44,13 +44,23 @@ but the \fIdependencies\fP field extends to the end of the line. The
The \fIdependencies\fP field has the same syntax as the \fBDepends\fP
field in a binary control file, see \fBdeb\-control\fP(5).
.
+.SH SONAME FORMATS
+The SONAME formats supported are:
+
+ \fIname\fP.so.\fIversion\fP
+
+and
+
+ \fIname\fP-\fIversion\fP.so
+
+where \fIname\fP is usually prefixed by \fBlib\fP.
.SH EXAMPLES
.PP
The
.B shlibs
file for a typical library package, named
.IR libcrunch1 ,
-that provides one library whose soname is
+that provides one library whose SONAME is
.IR libcrunch.so.1 ,
might read
.IP