From cf296155206ce50da2b8fdff3c06415a82c582ec Mon Sep 17 00:00:00 2001 From: joey Date: Fri, 25 Jan 2002 04:42:41 +0000 Subject: [PATCH] * Support ancient (bo-era) debs with upper-case field names. Closes: #130736 --- Alien/Package/Deb.pm | 4 +++- README | 4 ++++ debian/changelog | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Alien/Package/Deb.pm b/Alien/Package/Deb.pm index 41d0295..e2738bb 100644 --- a/Alien/Package/Deb.pm +++ b/Alien/Package/Deb.pm @@ -146,7 +146,9 @@ sub scan { $_ = $control[$i]; chomp; if (/^(\w.*?):\s+(.*)/) { - $field=$1; + # Really old debs might have oddly capitalized + # field names. + $field=ucfirst(lc($1)); if (exists $fieldtrans{$field}) { $field=$fieldtrans{$field}; $this->$field($2); diff --git a/README b/README index 8aa981a..d64cdd9 100644 --- a/README +++ b/README @@ -42,6 +42,10 @@ Other things you'll need: The Stampede version is at ftp://ykbsb2.yk.psu.edu/pub/alien/alien-extra.slp + Solaris users can find pkg's of much of the above software, + at http://mah.everybody.org/hacks/os/solaris/ , thanks to Mark + A. Hershberger . + Note: Alien is really designed to be used to convert from alien file formats to diff --git a/debian/changelog b/debian/changelog index 5ffaddf..55c6328 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +alien (7.32) unstable; urgency=low + + * Support ancient (bo-era) debs with upper-case field names. Closes: #130736 + + -- Joey Hess Thu, 24 Jan 2002 23:38:57 -0500 + alien (7.31) unstable; urgency=low * Use --target noarch instead of --target=noarch when building rpms.