]> git.donarmstrong.com Git - debhelper.git/commitdiff
r44: Initial Import
authorjoey <joey>
Tue, 17 Aug 1999 04:41:40 +0000 (04:41 +0000)
committerjoey <joey>
Tue, 17 Aug 1999 04:41:40 +0000 (04:41 +0000)
12 files changed:
debian/changelog
dh_installdirs
dh_installdocs
dh_installdocs.1
dh_installexamples
dh_installexamples.1
dh_installinit.1
dh_makeshlibs
dh_makeshlibs.1
dh_suidregister.1
dh_undocumented
dh_undocumented.1

index a1139e5b75da5db235ecde0129407c01fd9fad59..75e03daedd29c18df1cb98d09637fa7a1620439b 100644 (file)
@@ -1,8 +1,35 @@
+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
index b5480851159da447ed817b449f5060c59c5ce91b..51ef2ce7082762a2c61f806265df99add0fa3832 100755 (executable)
@@ -19,7 +19,7 @@ for PACKAGE in $DH_DOPACKAGES; do
                dirs=`tr "\n" " " < debian/${EXT}dirs`
        fi
 
-       if [ "$PACKAGE" = "$MAINPACKAGE" -a "$*" ]; then
+       if [ "$PACKAGE" = "$DH_FIRSTPACKAGE" -a "$*" ]; then
                dirs="$* $dirs"
        fi
 
index a1da8aa9545649a2dd2cb910f6ffc177dfe259c4..11014229621363a72c035cdaded36928e20d42ce 100755 (executable)
@@ -20,7 +20,7 @@ for PACKAGE in $DH_DOPACKAGES; do
                docs=`tr "\n" " " < debian/${EXT}docs`
        fi
 
-       if [ "$PACKAGE" = "$MAINPACKAGE" -a "$*" ]; then
+       if [ "$PACKAGE" = "$DH_FIRSTPACKAGE" -a "$*" ]; then
                docs="$* $docs"
        fi
 
index 9724635edeead7729720ec54ebd3ad98f1229b67..86195b795fb67b223ca6275a30d569ffaa627757 100644 (file)
@@ -9,14 +9,19 @@ dh_installdocs is a debhelper program that is responsible for installing
 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
@@ -39,8 +44,7 @@ Install files for the package named "package".
 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
index bc16991aae9808974e5aa33389f31ff1a3ba1ca4..98a752df107350804cf75073b2c451e3fbe2cb81 100755 (executable)
@@ -16,7 +16,7 @@ for PACKAGE in $DH_DOPACKAGES; do
                examples=`tr "\n" " " < debian/${EXT}examples`
        fi
 
-       if [ "$PACKAGE" = "$MAINPACKAGE" -a "$*" ]; then
+       if [ "$PACKAGE" = "$DH_FIRSTPACKAGE" -a "$*" ]; then
                examples="$* $examples"
        fi
 
index c940d25634eb1a2ef0a9ea538758d37314de814f..f70b98ceb640375c04502ca70e2cbe7f0655afe8 100644 (file)
@@ -8,9 +8,10 @@ dh_installexamples \- install example files into package build directories
 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
@@ -33,8 +34,7 @@ Install files for the package named "package".
 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
index e0daac426636d1f61ee4e43d582e1ac3c56f52d8..13f875495a1fcbfd640f9fb893e9e04c4ba7136c 100644 (file)
@@ -60,6 +60,13 @@ and
 .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
index 0943ba57aa0e2ee71459cc10affa300755b317bc..6cf9c80344427831395a607bdf9a877754337851 100755 (executable)
@@ -15,8 +15,12 @@ for PACKAGE in $DH_DOPACKAGES; do
        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
index 0b7df35378ab0525c2adb0069de0bb1dd17d2ab9..02c7ea8ae503df2aa180c8a4c3c15583781c880c 100644 (file)
@@ -3,7 +3,7 @@
 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.
@@ -26,6 +26,10 @@ Generate shlibs file for the package named "package".
 .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
@@ -44,7 +48,9 @@ Enables verbose mode
 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>
index b66c21405f0f299d6bdbe9b258784cb12065d774..d374a4c17411f1f3aa8b8db09d2e1b58aa1e944e 100644 (file)
@@ -11,8 +11,10 @@ with
 .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 
@@ -43,8 +45,7 @@ Register files for the package named "package".
 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
index d0a8febd28a7c30efeabdf470ec0f652f0a66d35..e8ca0e010a1fd2d05c1f90463890038b16748e5d 100755 (executable)
@@ -19,7 +19,7 @@ for PACKAGE in $DH_DOPACKAGES; do
                undoc=`tr "\n" " " < debian/${EXT}undocumented`
        fi
 
-       if [ "$PACKAGE" = "$MAINPACKAGE" -a "$*" ]; then
+       if [ "$PACKAGE" = "$DH_FIRSTPACKAGE" -a "$*" ]; then
                undoc="$* $undoc"
        fi
 
index 3f55498902b7fb1444126f99025a4b6392cdf587..2bbf24a1bdbdaba3dd7f953db96195a7636e3a64 100644 (file)
@@ -22,10 +22,12 @@ generates the necessary symlinks to
 .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
@@ -47,8 +49,7 @@ Use "tmpdir" for package build directory.
 .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