* Support ancient (bo-era) debs with upper-case field names. Closes: #130736

This commit is contained in:
joey
2002-01-25 04:42:41 +00:00
parent ea55014024
commit cf29615520
3 changed files with 13 additions and 1 deletions

View File

@@ -146,7 +146,9 @@ sub scan {
$_ = $control[$i]; $_ = $control[$i];
chomp; chomp;
if (/^(\w.*?):\s+(.*)/) { if (/^(\w.*?):\s+(.*)/) {
$field=$1; # Really old debs might have oddly capitalized
# field names.
$field=ucfirst(lc($1));
if (exists $fieldtrans{$field}) { if (exists $fieldtrans{$field}) {
$field=$fieldtrans{$field}; $field=$fieldtrans{$field};
$this->$field($2); $this->$field($2);

4
README
View File

@@ -42,6 +42,10 @@ Other things you'll need:
The Stampede version is at The Stampede version is at
ftp://ykbsb2.yk.psu.edu/pub/alien/alien-extra.slp 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 <mah@everybody.org>.
Note: Note:
Alien is really designed to be used to convert from alien file formats to Alien is really designed to be used to convert from alien file formats to

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
alien (7.32) unstable; urgency=low
* Support ancient (bo-era) debs with upper-case field names. Closes: #130736
-- Joey Hess <joeyh@debian.org> Thu, 24 Jan 2002 23:38:57 -0500
alien (7.31) unstable; urgency=low alien (7.31) unstable; urgency=low
* Use --target noarch instead of --target=noarch when building rpms. * Use --target noarch instead of --target=noarch when building rpms.