Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  1 May 2008 09:12:05 -0600 (MDT)
From:      Jonathan Shoemaker <shoemaker@bluebottle.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/123302: [Maintainter Update] games/crafty -> 22.1 + new features
Message-ID:  <20080501151205.9CDF724B8E@dakar.lan>
Resent-Message-ID: <200805011520.m41FK11c055232@freefall.freebsd.org>

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

>Number:         123302
>Category:       ports
>Synopsis:       [Maintainter Update] games/crafty -> 22.1 + new features
>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:   Thu May 01 15:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Shoemaker
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD dakar.lan 7.0-STABLE FreeBSD 7.0-STABLE #0: Sun Apr 20 09:53:26 MDT 2008 root@dakar.lan:/var/tmp/obj/usr/src/sys/GENERIC i386


	
>Description:
	Update to newest version and add support for new skill feature
which allows crafty to be "dumbed down."

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	crafty.patch
#
echo x - crafty.patch
sed 's/^X//' >crafty.patch << 'END-of-crafty.patch'
Xdiff -urN crafty-old/Makefile crafty/Makefile
X--- crafty-old/Makefile	2008-04-25 09:24:32.000000000 -0600
X+++ crafty/Makefile	2008-05-01 09:01:48.000000000 -0600
X@@ -6,7 +6,7 @@
X #
X 
X PORTNAME=	crafty
X-PORTVERSION=	22.0
X+PORTVERSION=	22.1
X CATEGORIES=	games
X MASTER_SITES=	ftp://ftp.cis.uab.edu/pub/hyatt/pgn/:data \
X 		ftp://ftp.cis.uab.edu/pub/hyatt/documentation/:doc \
X@@ -51,7 +51,7 @@
X 		-DLOGDIR=\\\"${WITH_LOGDIR}\\\" \
X 		-DRCDIR=\\\"${WITH_RCDIR}\\\" \
X 		-DTBDIR=\\\"${WITH_TBDIR}\\\" \
X-		-DPERSDIR=\\\"${WITH_PERSDIR}\\\"
X+		-DPERSDIR=\\\"${WITH_PERSDIR}\\\" -DSKILL
X 
X .include <bsd.port.pre.mk>
X 
Xdiff -urN crafty-old/distinfo crafty/distinfo
X--- crafty-old/distinfo	2008-04-15 10:23:12.000000000 -0600
X+++ crafty/distinfo	2008-05-01 08:36:43.000000000 -0600
X@@ -1,6 +1,6 @@
X-MD5 (crafty/crafty-22.0.zip) = da1890c572441dfd7687c392c4e897d0
X-SHA256 (crafty/crafty-22.0.zip) = 05772b0a63a07dd5dafc307bcf41df41df0212209a22907244652422bb302fa6
X-SIZE (crafty/crafty-22.0.zip) = 402797
X+MD5 (crafty/crafty-22.1.zip) = 44c983e96cd16bb0314484c5d7af91de
X+SHA256 (crafty/crafty-22.1.zip) = ec25063af97d079402f1daee99493cc7d7c9a9df6001f856f9d0584dd23894be
X+SIZE (crafty/crafty-22.1.zip) = 405169
X MD5 (crafty/start.pgn) = 98176af8ec13945a4ec60ad9b5959412
X SHA256 (crafty/start.pgn) = 750397385a67307bd3e565f7a86d69745476db5fed4735650af971cc94318021
X SIZE (crafty/start.pgn) = 1349
Xdiff -urN crafty-old/pkg-descr crafty/pkg-descr
X--- crafty-old/pkg-descr	2008-04-15 12:13:21.000000000 -0600
X+++ crafty/pkg-descr	2008-05-01 09:00:52.000000000 -0600
X@@ -1,14 +1,21 @@
X-Crafty is a rapidly developing chess engine with more and more features being
X-added regularly.  It can play, analyze, and even annotate games for you.  Crafty
X-can utilize tablebases; these are available for freebsd in the related ports.
X+Crafty is a rapidly developing chess engine with more and more features
X+being added regularly.  It can play, analyze, and even annotate games
X+for you.  Crafty can utilize tablebases; these are available for freebsd
X+in the related ports.
X 
X The files bitmaps.tgz and sound.tgz are available in your doc directory,
X-usually /usr/local/share/doc/crafty.  The bitmaps are for html annotations
X-performed by crafty - they should be unpacked into the directory you normally
X-analyze games into, and all should be fine...
X+usually /usr/local/share/doc/crafty.  The bitmaps are for html
X+annotations performed by crafty - they should be unpacked into the
X+directory you normally analyze games into, and all should be fine...
X 
X The sounds are for move announcements.  Unpack the archive somewhere,
X and have a look at the 'speak' script to customize for your use, if
X desired.
X 
X+22.1 -> New "skill" command that can be used to "dumb down" crafty.
X+"skill <n>" where n is a number between 1 and 100.  100 is max (default)
X+skill.  Skill 70 will drop the playing Elo by about 200 points.  Skill
X+50 will drop it about 400 points.  The curve is not linear, and the
X+closer you get to 1, the lower the rating.
X+
X // J Shoemaker
Xdiff -urN crafty-old/pkg-message crafty/pkg-message
X--- crafty-old/pkg-message	2008-04-15 11:59:30.000000000 -0600
X+++ crafty/pkg-message	2008-05-01 08:59:40.000000000 -0600
X@@ -1,17 +1,9 @@
X-
X This package is set to allow per-user config files, and a shared books
X directory.  To accomplish this, crafty is setgid nobody, and the books
X and learning information are owned by the user 'nobody.'
X 
X The location values are tunable, see message when make is issued.
X 
X-		** IMPORTANT **
X-
X-IF YOU ARE UPGRADING TO THIS VERSION, YOU WILL NEED TO DE-INSTALL ANY
X-OPENING BOOKS YOU HAVE AS THE FORMATS HAVE CHANGED.  SIMPLY UNINSTALL
X-AND REBUILD FROM THE PORT (NOT PACKAGE) AND THEY'LL BE REBUILT BY THE
X-ENGINE IN THE NEW FORMAT.
X-
X If you have an SMP system, add a line to your ~/.craftyrc file to the
X effect:
X 
X@@ -19,3 +11,9 @@
X 
X Do not set this higher than you really have, or performance will
X actually drop.
X+
X+New "skill" command that can be used to "dumb down" crafty.  "skill <n>"
X+where n is a number between 1 and 100.  100 is max (default) skill.
X+Skill 70 will drop the playing Elo by about 200 points.  Skill 50 will
X+drop it about 400 points.  The curve is not linear, and the closer you
X+get to 1, the lower the rating.
END-of-crafty.patch
exit

----------------------------------------------------------------------
Free pop3 email with a spam filter.
http://www.bluebottle.com/tag/5

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



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