Package: devscripts Version: 2.9.20 Severity: normal Tags: patch Hi,
The included patch makes nmudiff handle broken and old changelogs better, by skipping the call to dpkg-parsechangelog and simply parsing it by itself; dpkg-parsechangelog gives us almost nothing anyway, the real change is to replace dpkg-parsechangelog by cat and remove the leaidng space in the sed regex. :-) --- nmudiff.sh 2006-02-07 20:00:51.000000000 +0100 +++ /usr/bin/nmudiff 2006-06-21 09:53:18.000000000 +0200 @@ -9,8 +9,8 @@ SOURCE=$( dpkg-parsechangelog | grep ^Source: | cut -d" " -f2 ) VERSION=$( dpkg-parsechangelog | grep ^Version: | cut -d" " -f2 ) -OLDVERSION=$( dpkg-parsechangelog -v~ \ - | sed -n "s/^ [^ .][^ ]* (\(.*\)).*$/\1/p" | head -2 | tail -1 ) +OLDVERSION=$( sed -n "s/^[^ .][^ ]* (\(.*\)).*$/\1/p" debian/changelog \ + | head -2 | tail -1 ) VERSION_NO_EPOCH=$( echo "$VERSION" | sed "s/^[0-9]\+://" ) OLDVERSION_NO_EPOCH=$( echo "$OLDVERSION" | sed "s/^[0-9]\+://" ) -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16trofastxen Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8) Versions of packages devscripts depends on: ii debianutils 2.16.1 Miscellaneous utilities specific t ii dpkg-dev 1.13.21 package building tools for Debian ii libc6 2.3.6-15 GNU C Library: Shared libraries ii perl 5.8.8-6 Larry Wall's Practical Extraction ii sed 4.1.5-1 The GNU sed stream editor Versions of packages devscripts recommends: ii fakeroot 1.5.8 Gives a fake root environment -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]