+debhelper (0.50) unstable; urgency=low
+
+ * dh_makeshlibs: added -m parameter, which can force the major number
+ of the shared library if it is guessed incorrectly.
+ * Added dh_testversion to let your package depend on a certian version of
+ debhelper to build.
+ * dh_{installdirs,installdocs,installexamples,suidregieter,undocumented}:
+ behavior modification - any files/directories specified on the command
+ line now apply to the first package acted on. This may not be the
+ first package listed in debian/control, if you use -p to make it act on
+ a given package, or -i or -a.
+ * If you take advantage of the above new behavior, I suggest you add
+ "dh_testversion 0.50" to your debian/rules.
+ * Display a warning message in cases where the above behavior is triggered,
+ and debhelper's behavior has altered.
+ * I have grepped debian's source packages, and I'm quite sure this
+ is not going to affect any packages currently in debian.
+ * dh_lib: isnative() now caches its return value, which should optimize
+ away several more calls to dpkg-parsechangelog.
+ * README: explain a way to embed debhelper generated shell script into a
+ perl script.
+ * dh_installinit: A hack to work around the problem in getopt(1) that
+ led to bug report #16229: Any text specified on the command line that is
+ not a flag will be presumed to be part of the -u flag. Yuck.
+
+ -- Joey Hess <joeyh@master.debian.org> Sat, 3 Jan 1998 14:36:15 -0500
+
debhelper (0.37) unstable; urgency=low
* dh_du: Fixed hardcoded debian/tmp.
* This change got lost by accident, redid it: Optimized out most of the
- slowdown caused byusing dpkg-parsechangelog - now it's only called by
+ slowdown caused by using dpkg-parsechangelog - now it's only called by
2 dh_* programs.
-- Joey Hess <joeyh@master.debian.org> Sun, 28 Dec 1997 20:45:22 -0500
dirs=`tr "\n" " " < debian/${EXT}dirs`
fi
- if [ "$PACKAGE" = "$MAINPACKAGE" -a "$*" ]; then
+ if [ "$PACKAGE" = "$DH_FIRSTPACKAGE" -a "$*" ]; then
dirs="$* $dirs"
fi
docs=`tr "\n" " " < debian/${EXT}docs`
fi
- if [ "$PACKAGE" = "$MAINPACKAGE" -a "$*" ]; then
+ if [ "$PACKAGE" = "$DH_FIRSTPACKAGE" -a "$*" ]; then
docs="$* $docs"
fi
documentation into usr/doc/package in package build directories.
.P
dh_installdocs automatically installs debian/copyright if it exists. If
-dh_installdocs is acting on multiple packages, debian/copyright files will be
+dh_installdocs is acting on multiple packages, debian/copyright files will be
installed into all packages.
.P
-Any filenames specified as parameters, as well as debian/README.Debian (or
-debian/README.debian) and debian/TODO, if they exist, will be installed into
-the first binary package listed in debian/control, if dh_installdocs is acting
-on that package. Note that debian/TODO will be installed named TODO.Debian,
-if the package is not a debian native package.
+Any filenames specified as parameters will be installed into the first
+package dh_installdocs is told to act on. By default, this is the first
+binary package in debian/control, but if you use -p, -i, or -a flags, it
+will be the first package specified by those flags.
+.P
+Also, debian/README.Debian (or debian/README.debian) and debian/TODO, if
+they exist, will be installed into the first binary package listed in
+debian/control, if dh_installdocs is acting on that package. Note that
+debian/TODO will be installed named TODO.Debian, if the package is not a
+debian native package.
.P
A file named debian/docs (for the first binary package in debian/control),
or debian/package.docs (for each additional package in debian/control) can
Use "tmpdir" for package build directory.
.TP
.B file ...
-Install these files as documentation into the first binary package listed in
-debian/control, if we are acting on that package.
+Install these files as documentation into the first package acted on.
.SH NOTES
The
.B \-a
examples=`tr "\n" " " < debian/${EXT}examples`
fi
- if [ "$PACKAGE" = "$MAINPACKAGE" -a "$*" ]; then
+ if [ "$PACKAGE" = "$DH_FIRSTPACKAGE" -a "$*" ]; then
examples="$* $examples"
fi
dh_installexamples is a debhelper program that is responsible for installing
examples into usr/doc/package/examples in package build directories.
.P
-Any filenames specified as parameters will be installed into the first
-binary package listed in debian/control, if dh_installexamples is acting on
-that package.
+Any file names specified as parameters will be installed into the first
+package dh_installdirs is told to act on. By default, this is the first
+binary package in debian/control, but if you use -p, -i, or -a flags, it
+will be the first package specified by those flags.
.P
A file named debian/examples (for the first binary package in debian/control),
or debian/package.examples (for each additional package in debian/control) can
Use "tmpdir" for package build directory.
.TP
.B file ...
-Install these files as documentation into the first binary package listed in
-debian/control, if we are acting on that package.
+Install these files as examples into the first package acted on.
.SH NOTES
The
.B \-a
.B \-p
arguments are cumulative. If none are specified, then all packages listed in
the control file will be effected.
+.P
+Due to a bug in
+.BR getopt (1)
+, you cannot really text with spaces in it to the -u flag. However, this bug
+has been worked around, and it should appear to work. What it's really doing
+is looking at any parameters passed that are not known flags, and appending
+that text onto the end of the text specified by the -u flag.
.SH ENVIRONMENT
.TP
.I DH_VERBOSE
for file in `find $TMP -type f -name "*.so*" | tr "\n" " "` ; do
LIBRARY=`expr $file : ".*/\(.*\)\.so\..*"` || true
VERSION=`expr $file : ".*/.*\.so\.\(.*\)"` || true
- MAJOR=`expr $VERSION : "\([0-9]*\)\."` || true
- LIBSTUB=`expr $file : "\(.*\/.*\.so\)\..*"` || true
+ if [ -z "$DH_M_PARAMS" ]; then
+ MAJOR=`expr $VERSION : "\([0-9]*\)\."` || true
+ else
+ MAJOR="$DH_M_PARAMS"
+ fi
+# LIBSTUB=`expr $file : "\(.*\/.*\.so\)\..*"` || true
if [ ! -d "$TMP/DEBIAN" ] ; then
doit "install -d $TMP/DEBIAN"
fi
dh_makeshlibs \- automatically create shlibs file
.SH SYNOPSIS
.B dh_makeshlibs
-.I "[-v] [-a] [-i] [-Ptmpdir] [-ppackage]"
+.I "[-v] [-a] [-i] [-mmajor] [-Ptmpdir] [-ppackage]"
.SH "DESCRIPTION"
dh_makeshlibs is a debhelper program that automatically scans for shared
libraries, and generates a shlibs file for the libraries it finds.
.TP
.B \-Ptmpdir
Use "tmpdir" for package build directory.
+.TP
+.B \-mmajor
+Instead of trying to guess the major number of the library from the filename
+of the library, use the major number specified after the -m parameter.
.SH NOTES
The
.B \-a
There is no guarantee that the program will get the shlibs file right. For
example, it may not correctly guess the major number of your package. In
cases like these (and perhaps in general, just to be safe), it is better to
-create a debian/shlibs file by hand.
+create a debian/shlibs file by hand, or force it to use the correct major
+number by specifying the -m parameter.
+.P
This is a "do what I Mean" type program - you have been warned!
.SH AUTHOR
Joey Hess <joeyh@master.debian.org>
.BR suidregister (1)
when it is installed.
.P
-Any files specified as parameters will be registered, if dh_suidregister is
-acting on the first binary package listed in debian/control.
+Any filenames specified as parameters will be registered in the first
+package dh_installdocs is told to act on. By default, this is the first
+binary package in debian/control, but if you use -p, -i, or -a flags,
+it will be the first package specified by those flags.
.P
The files debian/suid (for the first binary package in debian/control) or
debian/package.suid (for each additional package in debian/control) can
Use "tmpdir" for package build directory.
.TP
.B file ...
-Register these files in the first binary package listed in debian/control,
-if we are acting on that package.
+Register these files in the first package acted on.
.SH NOTES
The
.B \-a
undoc=`tr "\n" " " < debian/${EXT}undocumented`
fi
- if [ "$PACKAGE" = "$MAINPACKAGE" -a "$*" ]; then
+ if [ "$PACKAGE" = "$DH_FIRSTPACKAGE" -a "$*" ]; then
undoc="$* $undoc"
fi
.P
The lists of man pages that need
.BR undocumented (7)
-symlinks can be specified in two ways. Any man page names specified as
-parameters will be set up in the first binary package listed in
-debian/control, if dh_installdocs is acting on that package.
-Also, if a file named debian/undocumented (for the first binary package in
+symlinks can be specified in two ways. Any man page names specified as
+parameters will be set up in the first package dh_undocumented is told
+to act on. By default, this is the first binary package in debian/control,
+but if you use -p, -i, or -a flags, it will be the first package specified
+by those flags.
+Also, a file named debian/undocumented (for the first binary package in
debian/control), or debian/package.undocumented (for each additional package
in debian/control) can list other man page names to set up.
.SH OPTIONS
.TP
.B manpage ...
Install undocumented man page symlinks for each of these man pages
-into the first binary package listed in debian/control, if we are acting on
-that package.
+into the first package acted on.
.SH NOTES
The
.B \-a