Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2013 23:07:55 +0100 (CET)
From:      Geoffroy Desvernay <dgeo@centrale-marseille.fr>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        osa@FreeBSD.org
Subject:   ports/184153: [PATCH] www/nginx: fix accept_language module
Message-ID:  <20131121220755.F0A101CCCF@dgeo.sysadm.ec-m.fr>
Resent-Message-ID: <201311212210.rALMA01J084908@freefall.freebsd.org>

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

>Number:         184153
>Category:       ports
>Synopsis:       [PATCH] www/nginx: fix accept_language module
>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:   Thu Nov 21 22:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Geoffroy Desvernay
>Release:        FreeBSD 10.0-BETA3 amd64
>Organization:
Ecole Centrale de Marseille
>Environment:
System: FreeBSD dgeo.sysadm.ec-m.fr 10.0-BETA3 FreeBSD 10.0-BETA3 #0: Thu Nov 14 11:50:51 CET 2013
>Description:
Actual source for the module doesn't match distinfo (why?)

This patch matches last commit from upstream.

Port maintainer (osa@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
>How-To-Repeat:
Try to build nginx with accept_language module and see this error:
=> Attempting to fetch https://github.com/giom/nginx_accept_language_module/tarball/master/giom-nginx_accept_language_module-02262ce.tar.gz
fetch: https://github.com/giom/nginx_accept_language_module/tarball/master/giom-nginx_accept_language_module-02262ce.tar.gz: size unknown
fetch: https://github.com/giom/nginx_accept_language_module/tarball/master/giom-nginx_accept_language_module-02262ce.tar.gz: size of remote file is not known
giom-nginx_accept_language_module-02262ce.tar.gz          -1  B    0  Bps
=> Fetched file size mismatch (expected 3398, actual 3399)
=> Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/giom-nginx_accept_language_module-02262ce.tar.gz
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/giom-nginx_accept_language_module-02262ce.tar.gz: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /distfiles/ and try again.
*** [do-fetch] Error code 1

>Fix:
Attached :)

--- nginx-1.4.4,1.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 334526)
+++ Makefile	(working copy)
@@ -264,7 +264,7 @@
 		--http-log-path=${NGINX_ACCESSLOG}
 
 .if ${PORT_OPTIONS:MHTTP_ACCEPT_LANGUAGE}
-GIT_ACCEPT_LANGUAGE_VERSION=	02262ce
+GIT_ACCEPT_LANGUAGE_VERSION=	2f69842
 FETCH_ARGS=	-pRr
 MASTER_SITES+=	https://github.com/giom/nginx_accept_language_module/tarball/master/:accept_language
 DISTFILES+=	giom-nginx_accept_language_module-${GIT_ACCEPT_LANGUAGE_VERSION}.tar.gz:accept_language
Index: distinfo
===================================================================
--- distinfo	(revision 334526)
+++ distinfo	(working copy)
@@ -1,7 +1,7 @@
 SHA256 (nginx-1.4.4.tar.gz) = 7c989a58e5408c9593da0bebcd0e4ffc3d892d1316ba5042ddb0be5b0b4102b9
 SIZE (nginx-1.4.4.tar.gz) = 768217
-SHA256 (giom-nginx_accept_language_module-02262ce.tar.gz) = 3191f4caa70d9a8942c4f10b6abaaa96af451991d4b5e1e3d7b991376b00bf0c
-SIZE (giom-nginx_accept_language_module-02262ce.tar.gz) = 3398
+SHA256 (giom-nginx_accept_language_module-2f69842.tar.gz) = fbcdf792160a1eff7b9549aeb5209d6e76716ff8e86b05e42c90b2d2f858e011
+SIZE (giom-nginx_accept_language_module-2f69842.tar.gz) = 3399
 SHA256 (nginx-accesskey-2.0.3.tar.gz) = d9e94321e78a02de16c57f3e048fd31059fd8116ed03d6de7180f435c52502b1
 SIZE (nginx-accesskey-2.0.3.tar.gz) = 2632
 SHA256 (samizdatco-nginx-http-auth-digest-bd1c86a.tar.gz) = e223f55fd97e56425e232d8698e024707d1b2ed3714eff7d91a4d1ca76b4cbee
--- nginx-1.4.4,1.patch ends here ---

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



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