Bug 184153 - [PATCH] www/nginx: fix accept_language module
[PATCH] www/nginx: fix accept_language module
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Sergey A. Osokin
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-21 22:10 UTC by geoffroy desvernay
Modified: 2013-12-04 05:10 UTC (History)
1 user (show)

See Also:


Attachments
nginx-1.4.4,1.patch (1.45 KB, patch)
2013-11-21 22:10 UTC, geoffroy desvernay
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description geoffroy desvernay 2013-11-21 22:10:00 UTC
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)

Fix: Attached :)
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
Comment 1 Edwin Groothuis freebsd_committer 2013-11-21 22:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->osa

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter freebsd_committer 2013-12-04 05:06:24 UTC
Author: osa
Date: Wed Dec  4 05:06:15 2013
New Revision: 335603
URL: http://svnweb.freebsd.org/changeset/ports/335603

Log:
  Make third-party accept_language module fetchable by update to latest version.
  
  PR:	ports/184153

Modified:
  head/www/nginx-devel/Makefile
  head/www/nginx-devel/distinfo
  head/www/nginx/Makefile
  head/www/nginx/distinfo

Modified: head/www/nginx-devel/Makefile
==============================================================================
--- head/www/nginx-devel/Makefile	Wed Dec  4 03:40:10 2013	(r335602)
+++ head/www/nginx-devel/Makefile	Wed Dec  4 05:06:15 2013	(r335603)
@@ -264,7 +264,7 @@ CONFIGURE_ARGS+=--http-client-body-temp-
 		--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

Modified: head/www/nginx-devel/distinfo
==============================================================================
--- head/www/nginx-devel/distinfo	Wed Dec  4 03:40:10 2013	(r335602)
+++ head/www/nginx-devel/distinfo	Wed Dec  4 05:06:15 2013	(r335603)
@@ -1,7 +1,7 @@
 SHA256 (nginx-1.5.7.tar.gz) = 96a5ac866323e4fef502e774d098b445dd898e44cdaea6afa68a68ab5de2e7f1
 SIZE (nginx-1.5.7.tar.gz) = 779985
-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

Modified: head/www/nginx/Makefile
==============================================================================
--- head/www/nginx/Makefile	Wed Dec  4 03:40:10 2013	(r335602)
+++ head/www/nginx/Makefile	Wed Dec  4 05:06:15 2013	(r335603)
@@ -265,7 +265,7 @@ CONFIGURE_ARGS+=--http-client-body-temp-
 		--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

Modified: head/www/nginx/distinfo
==============================================================================
--- head/www/nginx/distinfo	Wed Dec  4 03:40:10 2013	(r335602)
+++ head/www/nginx/distinfo	Wed Dec  4 05:06:15 2013	(r335603)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Sergey A. Osokin freebsd_committer 2013-12-04 05:06:30 UTC
State Changed
From-To: open->closed

Committed, thanks.