Bug 169722 - [patch] Update games/bzflag to 2.4.0
[patch] Update games/bzflag to 2.4.0
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Wesley Shields
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-08 22:10 UTC by Kevin Zheng
Modified: 2012-08-10 18:30 UTC (History)
0 users

See Also:


Attachments
file.diff (7.11 KB, patch)
2012-07-08 22:10 UTC, Kevin Zheng
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Zheng 2012-07-08 22:10:03 UTC
BZFlag is a free online multiplayer 3D tank battle game. The existing version in ports is 2.0.16, while the current version is 2.4.0. The existing version is also incompatible with 2.4.0 servers.

Fix: Apply the attached patch.

Patch attached with submission follows:
How-To-Repeat: Install games/bzflag from ports. This version is out of date, and cannot connect to the latest servers.
Comment 1 Edwin Groothuis freebsd_committer 2012-07-08 22:10:11 UTC
Maintainer of games/bzflag,

Please note that PR ports/169722 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/169722

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer 2012-07-08 22:10:13 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Wesley Shields freebsd_committer 2012-08-10 16:56:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wxs

I'll take it.
Comment 4 dfilter freebsd_committer 2012-08-10 18:24:28 UTC
Author: wxs
Date: Fri Aug 10 17:24:12 2012
New Revision: 302393
URL: http://svn.freebsd.org/changeset/ports/302393

Log:
  Update to 2.4.0 and cleanup pkg-descr.
  Loosen dependency on curl library.
  Reset maintainer as old one was bouncing.
  
  PR:		ports/169722
  Submitted by:	Kevin Zheng <kevinz5000@gmail.com>

Deleted:
  head/games/bzflag/files/
Modified:
  head/games/bzflag/Makefile   (contents, props changed)
  head/games/bzflag/distinfo   (contents, props changed)
  head/games/bzflag/pkg-descr   (contents, props changed)
  head/games/bzflag/pkg-plist   (contents, props changed)

Modified: head/games/bzflag/Makefile
==============================================================================
--- head/games/bzflag/Makefile	Fri Aug 10 16:09:20 2012	(r302392)
+++ head/games/bzflag/Makefile	Fri Aug 10 17:24:12 2012	(r302393)
@@ -6,15 +6,14 @@
 #
 
 PORTNAME=	bzflag
-PORTVERSION=	2.0.16
-PORTREVISION=	1
+PORTVERSION=	2.4.0
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20source/${PORTVERSION}
 
-MAINTAINER=	chuck@pkix.net
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A multiplayer 3D tank battle game
 
-LIB_DEPENDS=	curl.6:${PORTSDIR}/ftp/curl
+LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl
 
 USE_BZIP2=	yes
 USE_SDL=	yes
@@ -22,16 +21,10 @@ USE_GL=		yes
 USE_GMAKE=	yes
 USE_PERL5_BUILD=yes
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	${PTHREAD_CFLAGS}
+CPPFLAGS+=	${PTHREAD_CFLAGS} -I ${LOCALBASE}/include
 LDFLAGS+=	${PTHREAD_LIBS}
-MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
-		AUTOHEADER="${TRUE}"
 
 MAN5=	bzw.5
-MAN6=	bzadmin.6 bzflag.6 bzfquery.6 bzfs.6
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|@LINUX_TRUE@||g ; \
-		 s|@LINUX_FALSE@|#|g' ${WRKSRC}/src/platform/Makefile.in
+MAN6=	bzadmin.6 bzflag.6 bzfs.6
 
 .include <bsd.port.mk>

Modified: head/games/bzflag/distinfo
==============================================================================
--- head/games/bzflag/distinfo	Fri Aug 10 16:09:20 2012	(r302392)
+++ head/games/bzflag/distinfo	Fri Aug 10 17:24:12 2012	(r302393)
@@ -1,2 +1,2 @@
-SHA256 (bzflag-2.0.16.tar.bz2) = fe6fa0b89e7f950950111b118ee8534cd54917d2c7f9215c1f3215ece38a608f
-SIZE (bzflag-2.0.16.tar.bz2) = 11495082
+SHA256 (bzflag-2.4.0.tar.bz2) = 424cec6fe2b23ce88a9975612799c0e3831bbe85f0b1524faadfb93e7c0ad452
+SIZE (bzflag-2.4.0.tar.bz2) = 15045931

Modified: head/games/bzflag/pkg-descr
==============================================================================
--- head/games/bzflag/pkg-descr	Fri Aug 10 16:09:20 2012	(r302392)
+++ head/games/bzflag/pkg-descr	Fri Aug 10 17:24:12 2012	(r302393)
@@ -1,18 +1,10 @@
-BZFlag is a 3D multi-player tank battle game that allows users to play
-against each other in a networked environment. There are five teams:
-red, green, blue, purple and rogue (rogue tanks are black). Destroying a
-player on another team scores a win, while being destroyed or destroying
-a teammate scores a loss. Rogues have no teammates (not even other
-rogues), so they cannot shoot teammates and they do not have a team
-score. 
+BZFlag is a free online multiplayer 3D tank battle game. The name
+originates from "Battle Zone Capture The Flag". It runs on Windows,
+Mac OSX, Linux, BSD, and other platforms. It was one of the most
+popular games ever on Silicon Graphics machines and continues to
+be developed and improved to this day.
 
-There are two main styles of play: capture-the-flag and free-for-all. In
-capture-the-flag, each team (except rogues) has a team base and each
-team with at least one player has a team flag.  The object is to capture
-an enemy team's flag by bringing it to your team's base. This destroys
-every player on the captured team, subtracts one from that team's score,
-and adds one to your team's score. In free-for-all, there are no team
-flags or team bases. The object is simply to get as high a score as
-possible.
+At its heart, the game is a 3D first person tank simulation where
+opposing teams battle for dominance.
 
-WWW: http://BZFlag.org/
+WWW: http://bzflag.org/

Modified: head/games/bzflag/pkg-plist
==============================================================================
--- head/games/bzflag/pkg-plist	Fri Aug 10 16:09:20 2012	(r302392)
+++ head/games/bzflag/pkg-plist	Fri Aug 10 17:24:12 2012	(r302393)
@@ -1,6 +1,3 @@
-bin/bzadmin
-bin/bzflag
-bin/bzfs
 %%DATADIR%%/automatic_icon.png
 %%DATADIR%%/blend_flash.png
 %%DATADIR%%/blue_basetop.png
@@ -33,6 +30,7 @@ bin/bzfs
 %%DATADIR%%/flag_lost.wav
 %%DATADIR%%/flag_won.wav
 %%DATADIR%%/flap.wav
+%%DATADIR%%/fonts/DejaVu.License
 %%DATADIR%%/fonts/DejaVuSansCondensedBold_12.fmt
 %%DATADIR%%/fonts/DejaVuSansCondensedBold_12.png
 %%DATADIR%%/fonts/DejaVuSansCondensedBold_16.fmt
@@ -67,7 +65,6 @@ bin/bzfs
 %%DATADIR%%/fonts/DejaVuSerifBold_6.png
 %%DATADIR%%/fonts/DejaVuSerifBold_8.fmt
 %%DATADIR%%/fonts/DejaVuSerifBold_8.png
-%%DATADIR%%/fonts/DejaVu.License
 %%DATADIR%%/fonts/readme
 %%DATADIR%%/frog.png
 %%DATADIR%%/green_basetop.png
@@ -79,6 +76,9 @@ bin/bzfs
 %%DATADIR%%/green_tank.png
 %%DATADIR%%/hunt.wav
 %%DATADIR%%/hunt_select.wav
+%%DATADIR%%/hunter_bolt.png
+%%DATADIR%%/hunter_laser.png
+%%DATADIR%%/hunter_super_bolt.png
 %%DATADIR%%/hunter_tank.png
 %%DATADIR%%/jump.wav
 %%DATADIR%%/jumpjets.png
@@ -112,10 +112,13 @@ bin/bzfs
 %%DATADIR%%/mountain1.png
 %%DATADIR%%/mountain2.png
 %%DATADIR%%/mountain3.png
+%%DATADIR%%/mountain4.png
+%%DATADIR%%/mountain5.png
 %%DATADIR%%/observer_icon.png
 %%DATADIR%%/phantom.wav
 %%DATADIR%%/pop.wav
 %%DATADIR%%/puddle.png
+%%DATADIR%%/puffs.png
 %%DATADIR%%/purple_basetop.png
 %%DATADIR%%/purple_basewall.png
 %%DATADIR%%/purple_bolt.png
@@ -145,6 +148,7 @@ bin/bzfs
 %%DATADIR%%/rogue_tank.png
 %%DATADIR%%/roof.png
 %%DATADIR%%/shock.wav
+%%DATADIR%%/shot_tail.png
 %%DATADIR%%/snowflake.png
 %%DATADIR%%/spree1.wav
 %%DATADIR%%/spree2.wav
@@ -159,9 +163,66 @@ bin/bzfs
 %%DATADIR%%/thief.png
 %%DATADIR%%/thief.wav
 %%DATADIR%%/title.png
+%%DATADIR%%/treads.png
 %%DATADIR%%/wall.png
 %%DATADIR%%/water.png
 %%DATADIR%%/zone_ground.png
-@dirrm %%DATADIR%%/l10n
+bin/bzadmin
+bin/bzflag
+bin/bzfs
+lib/bzflag/HoldTheFlag.la
+lib/bzflag/HoldTheFlag.so
+lib/bzflag/Phoenix.la
+lib/bzflag/Phoenix.so
+lib/bzflag/RogueGenocide.la
+lib/bzflag/RogueGenocide.so
+lib/bzflag/SAMPLE_PLUGIN.la
+lib/bzflag/SAMPLE_PLUGIN.so
+lib/bzflag/TimeLimit.la
+lib/bzflag/TimeLimit.so
+lib/bzflag/airspawn.la
+lib/bzflag/airspawn.so
+lib/bzflag/chathistory.la
+lib/bzflag/chathistory.so
+lib/bzflag/customflagsample.la
+lib/bzflag/customflagsample.so
+lib/bzflag/flagStay.la
+lib/bzflag/flagStay.so
+lib/bzflag/hiddenAdmin.la
+lib/bzflag/hiddenAdmin.so
+lib/bzflag/keepaway.la
+lib/bzflag/keepaway.so
+lib/bzflag/killall.la
+lib/bzflag/killall.so
+lib/bzflag/koth.la
+lib/bzflag/koth.so
+lib/bzflag/logDetail.la
+lib/bzflag/logDetail.so
+lib/bzflag/nagware.la
+lib/bzflag/nagware.so
+lib/bzflag/playHistoryTracker.la
+lib/bzflag/playHistoryTracker.so
+lib/bzflag/pushstats.la
+lib/bzflag/pushstats.so
+lib/bzflag/rabbitTimer.la
+lib/bzflag/rabbitTimer.so
+lib/bzflag/rabidRabbit.la
+lib/bzflag/rabidRabbit.so
+lib/bzflag/recordmatch.la
+lib/bzflag/recordmatch.so
+lib/bzflag/regFlag.la
+lib/bzflag/regFlag.so
+lib/bzflag/serverControl.la
+lib/bzflag/serverControl.so
+lib/bzflag/shockwaveDeath.la
+lib/bzflag/shockwaveDeath.so
+lib/bzflag/teamflagreset.la
+lib/bzflag/teamflagreset.so
+lib/bzflag/timedctf.la
+lib/bzflag/timedctf.so
+lib/bzflag/wwzones.la
+lib/bzflag/wwzones.so
 @dirrm %%DATADIR%%/fonts
+@dirrm %%DATADIR%%/l10n
 @dirrm %%DATADIR%%
+@dirrm lib/bzflag
_______________________________________________
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 5 Wesley Shields freebsd_committer 2012-08-10 18:24:50 UTC
State Changed
From-To: feedback->closed

Committed. Thanks! I had to reset the maintainer as it was bouncing. 
Please let me know if you would like to maintain this port.