diff options
author | joey <joey> | 1999-08-17 05:04:52 +0000 |
---|---|---|
committer | joey <joey> | 1999-08-17 05:04:52 +0000 |
commit | d66756072ecd58a965f726bad6e0173142f6b4db (patch) | |
tree | 42e9641c01eac58e3baaf73a5a8210783e8a79f5 | |
parent | 2498b1b9d483d1b79883677a72689e76acee3b9d (diff) | |
download | debhelper-d66756072ecd58a965f726bad6e0173142f6b4db.tar.gz |
r147: Initial Import
-rw-r--r-- | debian/changelog | 10 | ||||
-rwxr-xr-x | dh_suidregister | 5 | ||||
-rwxr-xr-x | examples/rules | 2 | ||||
-rwxr-xr-x | examples/rules.multi | 2 |
4 files changed, 16 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog index b93b1471..09eea311 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +debhelper (1.2.12) unstable; urgency=low + + * examples/*: moved dh_makeshlibs call to before dh_installdeb call. + (#29762). This is just so if you replace dh_makeshlibs with something + that generates debian/shlibs, it still gets installed properly. + * dh_suidregister: use names instead of uid's and gid's, at request of + suidregister maintainer (#29802). + + -- Joey Hess <joeyh@master.debian.org> Sat, 21 Nov 1998 13:13:10 -0800 + debhelper (1.2.11) unstable; urgency=low * dh_movefiles: if given absolute filenames to move (note that that is diff --git a/dh_suidregister b/dh_suidregister index 86188cd4..d5b10ebd 100755 --- a/dh_suidregister +++ b/dh_suidregister @@ -47,8 +47,11 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { # fill in the blanks in the autoscript files. # Fill with the owner, group, and perms of the file. (undef,undef,$mode,undef,$uid,$gid,undef) = stat("$TMP/$file"); + # Now come up with the user and group names for the uid and gid. + $user=getpwuid($uid); + $group=getgrgid($gid); # Note that I have to print mode in ocal, stripping file type. - $sedstr=sprintf("s:#FILE#:$file:;s/#PACKAGE#/$PACKAGE/;s/#OWNER#/$uid/;s/#GROUP#/$gid/;s/#PERMS#/%#o/", + $sedstr=sprintf("s:#FILE#:$file:;s/#PACKAGE#/$PACKAGE/;s/#OWNER#/$user/;s/#GROUP#/$group/;s/#PERMS#/%#o/", $mode & 07777); autoscript($PACKAGE,"postinst","postinst-suid",$sedstr); diff --git a/examples/rules b/examples/rules index e1a9c260..091a67a6 100755 --- a/examples/rules +++ b/examples/rules @@ -61,8 +61,8 @@ binary-arch: build install dh_suidregister dh_installdeb dh_shlibdeps - dh_gencontrol # dh_makeshlibs + dh_gencontrol dh_md5sums dh_builddeb diff --git a/examples/rules.multi b/examples/rules.multi index c4302007..c7426b2e 100755 --- a/examples/rules.multi +++ b/examples/rules.multi @@ -84,8 +84,8 @@ binary-arch: build install dh_suidregister -a dh_installdeb -a dh_shlibdeps -a - dh_gencontrol -a # dh_makeshlibs -a + dh_gencontrol -a dh_md5sums -a dh_builddeb -a |