Bug 169722 - [patch] Update games/bzflag to 2.4.0
Summary: [patch] Update games/bzflag to 2.4.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wesley Shields
Depends on:
Reported: 2012-07-08 22:10 UTC by Kevin Zheng
Modified: 2012-08-10 18:30 UTC (History)
0 users

See Also:

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:

Edwin Groothuis via the GNATS Auto Assign Tool
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 service 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

  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>

  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
-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
 MAN5=	bzw.5
-MAN6=	bzadmin.6 bzflag.6 bzfquery.6 bzfs.6
-	@${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
+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
+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 @@
@@ -33,6 +30,7 @@ bin/bzfs
@@ -67,7 +65,6 @@ bin/bzfs
@@ -79,6 +76,9 @@ bin/bzfs
@@ -112,10 +112,13 @@ bin/bzfs
@@ -145,6 +148,7 @@ bin/bzfs
@@ -159,9 +163,66 @@ bin/bzfs
-@dirrm %%DATADIR%%/l10n
 @dirrm %%DATADIR%%/fonts
+@dirrm %%DATADIR%%/l10n
 @dirrm %%DATADIR%%
+@dirrm lib/bzflag
svn-ports-all@freebsd.org mailing list
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.