Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 2013 17:53:54 GMT
From:      Gautam Mani <execve@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182769: [maintenance] [patch] Update games/stockfish to version 4
Message-ID:  <201310061753.r96HrsAZ040137@oldred.freebsd.org>
Resent-Message-ID: <201310061800.r96I01pH033160@freefall.freebsd.org>

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

>Number:         182769
>Category:       ports
>Synopsis:       [maintenance] [patch] Update games/stockfish to version 4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 06 18:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Gautam Mani
>Release:        9-STABLE
>Organization:
NA
>Environment:
FreeBSD mellon 9.2-STABLE FreeBSD 9.2-STABLE #12 bed3aba: Thu Oct  3 21:01:07 IST 2013     root@mellon:/usr/obj/usr/src/sys/MYKERNEL  amd64
>Description:
Here is the maintenance patch update to update games/stockfish to version 4.

Patch is included.
Book-2.3.1 version is compatible with version4, so no update required there.

>How-To-Repeat:
NA
>Fix:
Patch is attached.

Patch attached with submission follows:

diff --git a/ports/stockfish/Makefile b/ports/stockfish/Makefile
index 8d71945..1a87055 100644
--- a/ports/stockfish/Makefile
+++ b/ports/stockfish/Makefile
@@ -2,14 +2,14 @@
 # $FreeBSD: games/stockfish/Makefile 327730 2013-09-20 17:36:33Z bapt $
 
 PORTNAME=	stockfish
-PORTVERSION=	3
+PORTVERSION=	4
 CATEGORIES=	games
-MASTER_SITES=	http://cl.ly/2n1O3h2d3u2W/download/:src \
+MASTER_SITES=	https://s3.amazonaws.com/stockfish/:src \
 		http://www.execve.net/sf/:src \
 		http://cl.ly/3x333m0G173F/download/:book \
 		http://www.execve.net/sf/:book
-DISTNAME=	stockfish-${PORTVERSION:S/.//g}-linux
-DISTFILES=	stockfish-${PORTVERSION:S/.//g}-linux.zip:src \
+DISTNAME=	stockfish-${PORTVERSION:S/.//g}-win
+DISTFILES=	stockfish-${PORTVERSION:S/.//g}-win.zip:src \
 		stockfish-231-book.zip:book
 
 MAINTAINER=	execve@gmail.com
@@ -22,7 +22,7 @@ WRKSRC=		${WRKDIR}/${DISTNAME}/src
 USES=		gmake
 MYARCH=		${ARCH}
 BOOKDIR=	.
-PORTDOCS=	Readme.txt polyglot.ini
+PORTDOCS=	Readme.md polyglot.ini
 PORTDATA=	Book.bin
 FETCH_ARGS=	-Fpr
 
@@ -83,7 +83,7 @@ do-install:
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/Readme.txt ${DOCSDIR}
+	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/Readme.md ${DOCSDIR}
 	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/polyglot.ini ${DOCSDIR}
 .endif
 .if !defined(NOPORTDATA)
diff --git a/ports/stockfish/distinfo b/ports/stockfish/distinfo
index 14e6922..3d8d45f 100644
--- a/ports/stockfish/distinfo
+++ b/ports/stockfish/distinfo
@@ -1,4 +1,4 @@
-SHA256 (stockfish-3-linux.zip) = ccae1ae491eba86f02e10891f4b110007bd97f5e2a71871ca895f309d5031019
-SIZE (stockfish-3-linux.zip) = 807403
+SHA256 (stockfish-4-win.zip) = dcd66a81c21380f18623d54f966fc69476a86c8d5ab667e2b138aa2e4ebb3487
+SIZE (stockfish-4-win.zip) = 1839577
 SHA256 (stockfish-231-book.zip) = 07ee06bcd3fe1c5e0d90a2d0aede8bac2dd31d52fb4e1c9bc477bb5a8939e414
 SIZE (stockfish-231-book.zip) = 3479786


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



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