]> git.donarmstrong.com Git - debhelper.git/commitdiff
r480: * Revert change of 3.0.30. This broke too much stuff. Maybe I'll
authorjoey <joey>
Mon, 18 Jun 2001 18:11:07 +0000 (18:11 +0000)
committerjoey <joey>
Mon, 18 Jun 2001 18:11:07 +0000 (18:11 +0000)
     change it in debhelper v4..

debian/changelog
dh_clean
dh_fixperms
dh_gencontrol
dh_shlibdeps

index b4087547ad1a863da0ad340a29ac74c18254a6df..a9ebf7675ac231d69c13a802968dd7462167c3db 100644 (file)
@@ -1,3 +1,10 @@
+debhelper (3.0.35) unstable; urgency=low
+
+  * Revert change of 3.0.30. This broke too much stuff. Maybe I'll
+    change it in debhelper v4..
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 18 Jun 2001 13:56:35 -0400
+
 debhelper (3.0.34) unstable; urgency=low
 
   * Unimportant spelling fix. Closes: #100666
 debhelper (3.0.34) unstable; urgency=low
 
   * Unimportant spelling fix. Closes: #100666
index bd3b72cac5a15f98f664ab1626e2182f187a9911..d86743a5ab775ea614ded0b112832902d8fccc70 100755 (executable)
--- a/dh_clean
+++ b/dh_clean
@@ -62,7 +62,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        my $ext=pkgext($package);
 
        if (! $dh{D_FLAG}) {
        my $ext=pkgext($package);
 
        if (! $dh{D_FLAG}) {
-               doit("rm","-f","debian/${ext}substvars.debhelper",
+               doit("rm","-f","debian/${ext}substvars",
                        "debian/${ext}postinst.debhelper",
                        "debian/${ext}postrm.debhelper",
                        "debian/${ext}preinst.debhelper",
                        "debian/${ext}postinst.debhelper",
                        "debian/${ext}postrm.debhelper",
                        "debian/${ext}preinst.debhelper",
index 28315c383f6ef3b2109c0085f9157a118ae196d9..5d982ad331cd880544bffcc2f0d862c6c86267c3 100755 (executable)
@@ -30,7 +30,7 @@ it removes the setuid and setgid bits from all files in the package.
 
 =over 4
 
 
 =over 4
 
-=item B<-X>I<item>, B<--exclude>I<item>
+=item B<-X>I<item>, B<--exclude> I<item>
 
 Exclude files that contain "item" anywhere in their filename from having
 their permissions changed. You may use this option multiple times to build
 
 Exclude files that contain "item" anywhere in their filename from having
 their permissions changed. You may use this option multiple times to build
index 99923cf4465c48f0341dce26ea2f8cabe923efe3..ae8605a6c7d30160db647717191546381d228c3a 100755 (executable)
@@ -23,14 +23,6 @@ This program is merely a wrapper around L<dpkg-gencontrol(1)>, which calls
 it once for each package being acted on, and passes in some additional
 useful flags including "-isp". 
 
 it once for each package being acted on, and passes in some additional
 useful flags including "-isp". 
 
-Note that L<dpkg-gencontrol(1)> expands certian substirution variables
-when generating the control file (for details, see its man page). Those
-variables are typically generated by L<dh_shlibdeps(1)> and like programs.
-However, if you want to specify some of your own manually, you may do so,
-by creating files named debian/package.substvars (where package is the
-package these variables apply to). The files should be of the same form
-output by L<dpkg-shlibdeps(1)>
-
 =head1 OPTIONS
 
 =over 4
 =head1 OPTIONS
 
 =over 4
@@ -60,17 +52,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                doit("install","-o",0,"-g",0,"-d","$tmp/DEBIAN");
        }
 
                doit("install","-o",0,"-g",0,"-d","$tmp/DEBIAN");
        }
 
-       # Merge in user-specified substvars file with debhelper generated
-       # one.
-       my $substvars=pkgfile($package,"substvars");
-       if ($substvars) {
-               complex_doit("cat $substvars >> debian/${ext}substvars.debhelper");
-       }
-
        # Generate and install control file.
        doit("dpkg-gencontrol","-l$changelog","-isp","-p$package",
        # Generate and install control file.
        doit("dpkg-gencontrol","-l$changelog","-isp","-p$package",
-                    "-Tdebian/${ext}substvars.debhelper",
-                    "-P$tmp",@{$dh{U_PARAMS}});
+                    "-Tdebian/${ext}substvars", "-P$tmp",@{$dh{U_PARAMS}});
 
        # This chmod is only necessary if the user sets the umask to
        # something odd.
 
        # This chmod is only necessary if the user sets the umask to
        # something odd.
index f9199c3f46f2bb48df15333c7a0fdbaa78b29f0a..744aa5bfdd29159cb039f53972b8cee015d9d10e 100755 (executable)
@@ -97,7 +97,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        }
 
        if (@filelist) {
        }
 
        if (@filelist) {
-               doit("dpkg-shlibdeps","-Tdebian/${ext}substvars.debhelper",@{$dh{U_PARAMS}},'-dDepends',@filelist);
+               doit("dpkg-shlibdeps","-Tdebian/${ext}substvars",@{$dh{U_PARAMS}},'-dDepends',@filelist);
        }
 }
 
        }
 }