Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2012 12:32:56 GMT
From:      Oliver Heesakkers <dev2@heesakkers.info>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/173295: [patch] graphics/tesseract incorrect distinfo
Message-ID:  <201211021232.qA2CWuHs041906@red.freebsd.org>
Resent-Message-ID: <201211021240.qA2Ce1s2017532@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173295
>Category:       ports
>Synopsis:       [patch] graphics/tesseract incorrect distinfo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 02 12:40:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Heesakkers
>Release:        FreeBSD 9.0-RELEASE-p3 amd64
>Organization:
>Environment:
>Description:
The port graphics/tesseract fails to download the new distfile for version 3.02.02 as the size on the server mismatches the size in distinfo

`make makesum` actually failed for me as a result of the documentation distfile being in that separate .if/.endif construct which tests for the use of make makesum (sha256: tesseract/tesseract-ocr-3.02.02-doc-html.tar.gz: No such file or directory)

I temporarily copied the DISTFILE+= line to line 13 which made `make makesum` complete succesfully.
>How-To-Repeat:

>Fix:
The attached patch provides SIZEs and SHA256 checksums as they are currently offered on tesseracts project page.

Patch attached with submission follows:

diff -ruN tesseract.orig/distinfo tesseract/distinfo
--- tesseract.orig/distinfo	2012-11-01 14:55:03.000000000 +0100
+++ tesseract/distinfo	2012-11-02 13:29:23.000000000 +0100
@@ -1,4 +1,2 @@
-SHA256 (tesseract/tesseract-ocr-3.02.02.tar.gz) = c15cd55325b1ecbc9d6e7a732f44ff790d3bd1131bcbf99e70fb7edd644dcc44
-SIZE (tesseract/tesseract-ocr-3.02.02.tar.gz) = 3750747
-SHA256 (tesseract/tesseract-ocr-3.02.02-doc-html.tar.gz) = 553c77079ad8bb4ad70ebb669c47c6a461b51bcd0a13a2ac89ceabe0a09de798
-SIZE (tesseract/tesseract-ocr-3.02.02-doc-html.tar.gz) = 11305421
+SHA256 (tesseract/tesseract-ocr-3.02.02.tar.gz) = 26cd39cb3f2a6f6f1bf4050d1cc0aae35edee49eb49a92df3cb7f9487caa013d
+SIZE (tesseract/tesseract-ocr-3.02.02.tar.gz) = 3890393


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211021232.qA2CWuHs041906>