Bug 1101404 - file detects the "GPL+ or Artistic" license files as Pascal source
Summary: file detects the "GPL+ or Artistic" license files as Pascal source
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: file
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Jan Kaluža
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-27 06:47 UTC by Petr Šabata
Modified: 2014-09-23 04:33 UTC (History)
1 user (show)

Fixed In Version: file-5.19-6.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-09 22:10:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
An example LICENSE file (17.92 KB, text/plain)
2014-05-27 06:47 UTC, Petr Šabata
no flags Details

Description Petr Šabata 2014-05-27 06:47:01 UTC
Created attachment 899392 [details]
An example LICENSE file

The file utility incorrectly reports the LICENSE files with "GPL+ or Artistic" license terms (common in perl packages) as "Pascal source".

Affected version:
file-5.14-20.fc20.x86_64

Comment 1 Jan Kaluža 2014-05-27 07:25:06 UTC
This is caused by following regex:

0	regex		\^program	Pascal source text

Comment 2 Jan Kaluža 2014-09-03 06:58:32 UTC
This has been "fixed" upstream in https://github.com/file/file/commit/d9e9aa9f06757947a1e51f80925445b2f18a6fc3

Comment 3 Fedora Update System 2014-09-03 11:00:32 UTC
file-5.19-6.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/file-5.19-6.fc21

Comment 4 Fedora Update System 2014-09-03 11:12:23 UTC
file-5.19-6.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/file-5.19-6.fc20

Comment 5 Fedora Update System 2014-09-06 01:02:33 UTC
Package file-5.19-6.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing file-5.19-6.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-10254/file-5.19-6.fc21
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-09-09 22:10:13 UTC
file-5.19-6.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2014-09-23 04:33:26 UTC
file-5.19-6.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.