From owner-freebsd-ports@FreeBSD.ORG Mon Jan 12 12:56:52 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A29C316A4DA for ; Mon, 12 Jan 2004 12:56:52 -0800 (PST) Received: from lakemtao03.cox.net (lakemtao03.cox.net [68.1.17.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13D1943D75 for ; Mon, 12 Jan 2004 12:56:09 -0800 (PST) (envelope-from A.J.Caines@halplant.com) Received: from mail.halplant.com ([68.100.162.49]) by lakemtao03.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040112205609.UMYN2192.lakemtao03.cox.net@mail.halplant.com> for ; Mon, 12 Jan 2004 15:56:09 -0500 Received: by mail.halplant.com (Postfix, from userid 1001) id CF385100; Mon, 12 Jan 2004 15:56:07 -0500 (EST) Date: Mon, 12 Jan 2004 15:56:07 -0500 From: Andrew J Caines To: ports@freebsd.org Message-ID: <20040112205607.GD96641@hal9000.halplant.com> Mail-Followup-To: ports@freebsd.org References: <009b01c3d93f$2c7ea450$d037630a@nic.target.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <009b01c3d93f$2c7ea450$d037630a@nic.target.com> Organization: H.A.L. Plant X-PGP-Fingerprint: C59A 2F74 1139 9432 B457 0B61 DDF2 AA61 67C3 18A1 X-Powered-by: FreeBSD 4.9-STABLE X-URL: http://halplant.com:88/ X-Yahoo-Profile: AJ_Z0 X-ICQ: 283813972 Importance: Normal User-Agent: Mutt/1.5.5.1i Subject: Re: Crafty upgrade from 19.1 -> 19.9 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew J Caines List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2004 20:56:52 -0000 Thomas, > Crafty in ports is still at version 19.1, but the source is already up to > 19.9 with significant enhancements. What would it take to get the port > upgraded to version 19.9? Someone, such as yourself, to update the port and send a PR. The way I have done it for simple ports, which I suspect many or most others also do, is something like... # cd /usr/ports/games/crafty # make clean # Remove build debris # cd .. # tar -cf crafty.tar crafty # mv crafty crafty-19.1 # tar -xvf crafty.tar # cd crafty # vi Makefile # Update versions and other relevant details # make fetch # Get distfile(s) # make makesum # Update distinfo with new MD5 checksums Check the patches in files/ to see if you think they're still likely to be needed. Leave if uncertain. Check pkg-descr and any pkg-message files for sanity and correctness. # make extract # Unnecessary, but worth testing # make patch # Fix/remove patches as appropriate. make clean and repeat. # make # Fix any build issues. make clean and repeat. Once you've got the new version building cleanly... # sudo pkgrm crafty-19.1 # portlint -a -c # Check the port for correctness (devel/portlint) # sudo make install Make sure it runs properly. # pkg_delete crafty-19.9 Make sure it is removed cleanly. Check pkg-plist if not. # make clean # cd .. # diff -ruN crafty-19.1 crafty # Make the patch to send in the PR # send-pr ..or.. # gtk-send-pr # mv crafty crafty-19.9 # Protection against the next cvsup I think that's about it, apart from the feedback, fixes, pleading on the list(s) and bribing committers. In case of porting questions, RTFM[1], STFW and see the ten thousand or so examples right next to you for hints. Eternal fame and glory (or possibly flame and gory) await! [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html -Andrew- -- _______________________________________________________________________ | -Andrew J. Caines- Unix Systems Engineer A.J.Caines@halplant.com | | "They that can give up essential liberty to obtain a little temporary | | safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 |