Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2013 14:40:31 GMT
From:      Florent Le Coz <louiz@louiz.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183841: www/nginx accept-language module tarball mismatch
Message-ID:  <201311101440.rAAEeVpS074638@oldred.freebsd.org>
Resent-Message-ID: <201311101450.rAAEo0FZ065942@freefall.freebsd.org>

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

>Number:         183841
>Category:       ports
>Synopsis:       www/nginx accept-language module tarball mismatch
>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:   Sun Nov 10 14:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Florent Le Coz
>Release:        9.2
>Organization:
>Environment:
>Description:
The www/nginx port fails to build if configured with the HTTP_ACCEPT_LANGUAGE module.

The file giom-nginx_accept_language_module-02262ce.tar.gz is absent from FreeBSD’s FTP server, and the one on github is not the intended one:

> fetch: https://github.com/giom/nginx_accept_language_module/tarball/master/giom-nginx_accept_language_module-02262ce.tar.gz: size mismatch: expected 3398, actual 3399

The issue seems to be that someone messed (I don’t know how github works for the tarballs it provides) with the tar file on github, and inserted a different revision into it (if extracted, the archive actually contains the 2f69842 git revision instead of 02262ce), leading to the mismatch when trying to build it using FreeBSD’s port.

>How-To-Repeat:
make config # Enable HTTP_ACCEPT_LANGUAGE
make build
>Fix:
The makefile and distinfo should probably be updated to use a sane github tarball, for example:

https://github.com/giom/nginx_accept_language_module/tarball/master/giom-nginx_accept_language_module-2f69842.tar.gz

That’s what I did on my machine to work around the problem.

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



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