From ed032dcadfb52bed9bfc5fe2e4dfde1f8e034b34 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 12 Nov 2000 21:31:01 +0000 Subject: [PATCH] r388: * Ok, I tihnk we have a db3 fix that will really work now. --- debian/changelog | 8 +++++++- dh_makeshlibs | 7 ++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index a90362e..72a698e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,15 @@ +debhelper (2.1.25) unstable; urgency=low + + * Ok, I tihnk we have a db3 fix that will really work now. + + -- Joey Hess Sun, 12 Nov 2000 13:29:59 -0800 + debhelper (2.1.24) unstable; urgency=low * I retract 2.1.23, the hack doesn't help make dpkg-shlibdeps work; db3 is broken upstream. - -- Joey Hess Sat, 11 Nov 2000 17:35:34 -0800 + -- Joey Hess Sun, 12 Nov 2000 13:29:57 -0800 debhelper (2.1.23) unstable; urgency=low diff --git a/dh_makeshlibs b/dh_makeshlibs index a977071..6c708e8 100755 --- a/dh_makeshlibs +++ b/dh_makeshlibs @@ -15,7 +15,12 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { open (FIND, "find $TMP -xtype f -name '*.so.*' |"); while () { chomp; - ($library, $major)=m#.*/(.*)\.so\.(\d*)\.?#; + # The second evil regexp is for db3, whose author should + # be shot. + if (m#.*/(.*)\.so\.(\d*)\.?# || m#.*/(.*)-(\S+)\.so$#) { + $library = $1; + $major = $2; + } if (defined($dh{M_PARAMS}) && $dh{M_PARAMS} ne '') { $major=$dh{M_PARAMS}; } -- 2.39.2