+debhelper (1.2.68) unstable; urgency=low
+
+ * doc/README: updated example of using #DEBHELPER# in a perl script, with
+ help from Julian Gilbey.
+ * dh_link: generate absolute symlinks where appropriate. The links
+ generated before were wrong simetimes (#37774)
+ * Started writing a regression test suite for debhelper. Currently covers
+ only the above bugfix and a few more dh_link tests.
+ * Tossed Test.pm into the package (for regression tests) until we get perl
+ 5.005 which contains that package. That file is licenced the same as perl.
+ * dh_installchangelogs: force all installed files to be owned by root
+ (#37655).
+
+ -- Joey Hess <joeyh@master.debian.org> Sun, 16 May 1999 17:18:44 -0700
+
debhelper (1.2.67) unstable; urgency=low
* dh_installmodules: fixed type that made the program not work.
export DH_VERBOSE=1
build:
-# Nothing to do.
+ # Run regression tests.
+ $(MAKE) test
clean:
./dh_testdir
./dh_testroot
./dh_clean
+test:
+ ./dh_clean
+ perl -MTest::Harness -e 'runtests @ARGV' t/*
+ -rm -rf debian/tmp
+
# Build architecture-dependent files here.
binary-arch: build
# Nothing to do.
}
$src=~s:/$::;
}
+ else {
+ # Make sure it's properly absolute.
+ $src="/$src";
+ }
doit("ln","-sf",$src,"$TMP/$dest");
}
package in debian/control, but if you use -p, -i, or -a flags, it will be
the first package specified by those flags.
.P
-Be sure to only use file names relative to the package build
-directory. Ie, "/usr/bin/foo" should not be used, use "usr/bin/foo" instead.
-Also, be sure you
+Be sure you
.B do
specify the full filename to both the source and destination files (unlike
you would do if you were using something like
.BR ln (1)
-)
+).
.P
dh_link will generate symlinks that comply with debian policy - absolute
when policy says they should be absolute, and relative links with as short a
they might have; still it would be nice to check them too, just to make
debhelper more flexible.) One easy fix is to add umask 022 to dh_lib,
however, there may be unforeseen ramifications of such a change.
+* All programs should also make sure the files they install are owned by
+ root.root. Situation is currently the same as with permissions above, plus
+ dh_installchangelogs is fixed.
* something should add ldconfig calls properly to the postinst of packages
that contain shared libraries. maybe dh_makeshlibs? But it wasn't designed
to do that originally, and even worse, it is often run after