The current port fetches the distfile from a site where an older version has been repackaged. Repackaging is odd enough, but recently the company has changed their master content servers, rendering the current, repackaged version unusable. >How-To-Repeat: Attempt to install the port. Fix: Changed the MASTER_SITES listing to fetch the binary from its real master site. Updated the description files to more correctly explain what the software does and how to use it. Listed myself as the maintainer. --- linux-steam.shar ends here -----NdxK7huqQc3T62wib7eGydDpDJAfY26ec5n6gw8crd6wuqnD Content-Type: text/plain; name="linux-steam.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="linux-steam.diff" diff -ruN /usr/ports/games/linux-steam/Makefile new-linux-steam/Makefile --- /usr/ports/games/linux-steam/Makefile 2009-03-19 13:28:39.000000000 -0400 +++ new-linux-steam/Makefile 2009-04-29 11:08:32.000000000 -0400 @@ -6,37 +6,40 @@ # PORTNAME= steam -PORTVERSION= 1.0 -PORTREVISOIN= 2 +PORTVERSION= 1.1 CATEGORIES= games linux -MASTER_SITES= http://www.coreblack.com/files/ +MASTER_SITES= http://storefront.steampowered.com/download/ PKGNAMEPREFIX= linux- +DISTFILES= hldsupdatetool.bin -MAINTAINER= ports@FreeBSD.org -COMMENT= Half Life dedicated server running on steam +MAINTAINER= chris@easymac.org +COMMENT= Half Life and Source dedicated server using steam BUILD_DEPENDS= ${LINUX_BASE_PORT} IS_INTERACTIVE= yes USE_LINUX= yes USE_LINUX_APPS= xorglibs -PKGMESSAGE= ${WRKDIR}/pkg-message INSTALLDIR?= steam +EXTRACT_ONLY= +SUB_FILES= pkg-message +SUB_LIST= INSTALLDIR=${PREFIX}/${INSTALLDIR} PLIST_SUB+= INSTALLDIR=${INSTALLDIR} pre-everything:: - @ ${ECHO_MSG} "You can use the INSTALLDIR option to change the install dir" + @${ECHO_MSG} "You can use the INSTALLDIR option to change the install directory." do-build: - @ ${BRANDELF} -t Linux ${WRKDIR}/hldsupdatetool.bin - @ ${CHMOD} +x ${WRKDIR}/hldsupdatetool.bin && cd ${WRKDIR} && ./hldsupdatetool.bin - @ ${CAT} pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE} + @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR} + @${BRANDELF} -t Linux ${WRKDIR}/${DISTFILES} + @${CHMOD} +x ${WRKDIR}/${DISTFILES} && cd ${WRKDIR} && ./${DISTFILES} + @${CAT} pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE} do-install: - @ ${MKDIR} ${PREFIX}/${INSTALLDIR} - @ ${CP} ${WRKDIR}/${PORTNAME} ${PREFIX}/${INSTALLDIR}/ - @ ${CAT} ${PKGMESSAGE} + @${MKDIR} ${PREFIX}/${INSTALLDIR} + @${CP} ${WRKDIR}/${PORTNAME} ${PREFIX}/${INSTALLDIR}/ + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff -ruN /usr/ports/games/linux-steam/distinfo new-linux-steam/distinfo --- /usr/ports/games/linux-steam/distinfo 2005-11-24 14:27:37.000000000 -0500 +++ new-linux-steam/distinfo 2009-04-28 17:34:43.000000000 -0400 @@ -1,3 +1,3 @@ -MD5 (steam-1.0.tar.gz) = 3d32775d1cf34ff8c9c938312e5128b8 -SHA256 (steam-1.0.tar.gz) = ffe005259eb85fa78f0699afe8b45335b969d67c3f95a93140ce0f6f5ac04df3 -SIZE (steam-1.0.tar.gz) = 2586017 +MD5 (hldsupdatetool.bin) = 3d92b54b74387e3881b35b92d09d8e16 +SHA256 (hldsupdatetool.bin) = dda8786ac0ce755acc3f307989641482a19de4b28801289b910a3bbcd097a6db +SIZE (hldsupdatetool.bin) = 3513408 diff -ruN /usr/ports/games/linux-steam/files/pkg-message.in new-linux-steam/files/pkg-message.in --- /usr/ports/games/linux-steam/files/pkg-message.in 1969-12-31 19:00:00.000000000 -0500 +++ new-linux-steam/files/pkg-message.in 2009-04-28 18:35:10.000000000 -0400 @@ -0,0 +1,21 @@ +------------------------------------------------------------------------ +Linux HLDS Update Tool has been successfully installed! + +To get started: + cd %%INSTALLDIR%% + ./steam -command update -game [name] -dir . + +Steam will then begin downloading the game content to your system. Once +complete you may start your server by: + + ./hlds_run -game [name] +map [mapname] -maxplayers [#] \ + -autoupdate + + OR + + ./srcds_run -game [name] +map [mapname] -maxplayers [#] \ + -autoupdate + + +NOTE: Steam no longer requires login information. +------------------------------------------------------------------------ diff -ruN /usr/ports/games/linux-steam/pkg-descr new-linux-steam/pkg-descr --- /usr/ports/games/linux-steam/pkg-descr 2004-08-25 09:36:43.000000000 -0400 +++ new-linux-steam/pkg-descr 2009-04-28 18:23:42.000000000 -0400 @@ -1,19 +1,11 @@ -Steam is Valve's new way of getting games into your hands ASAP. Games like -Half-Life, Counter-Strike, and Counter-Strike Condition Zero -are all being made available through Steam. +HLDS Update Tool (more truthfully named Steam): -Steam games are automatically kept up-to-date with the latest content -and revisions. Steam also includes an instant-message client which -even works while you're in-game. +Steam allows you to download the game content necessary to run a +Half-Life Dedicated Server or Source Dedicated Server. The downloaded +content can also be updated to the newest revisions and patches +automatically with the use of Steam. -At its core, Steam is a distributed file system and shared set of technology -components that can be implemented into any software application. - -With Steam, developers are given integrated tools for direct-content -publishing, flexible billing, ensured-version -control, anti-cheating, anti-piracy, and more. +This port installs the Linux version of Steam, as no FreeBSD version +exists. WWW: http://www.steampowered.com/ - -- Hideki -hido@coreblack.com diff -ruN /usr/ports/games/linux-steam/pkg-message new-linux-steam/pkg-message --- /usr/ports/games/linux-steam/pkg-message 2004-04-10 07:31:15.000000000 -0400 +++ new-linux-steam/pkg-message 1969-12-31 19:00:00.000000000 -0500 @@ -1,29 +0,0 @@ -################################################################## -# To get started goto %%PREFIX%%/%%INSTALLDIR%% # -# and type the following to create a steam-user. # -# ./steam -command create -username <username> \ # -# -email <emailaddress> -password <password> \ # -# -question <question> -answer <answer> # -# # -# Example # -# ./steam -command create -username johndoe \ # -# -email johndoe@mydomain.com -password 12345678 \ # -# -question nameofmygun -answer M4A1 # -# # -# Once you have a steam-user account or if you have a registered # -# account already type the following to start updating your HLDS # -# ./steam -command update -game <game> -dir <steamdir> \ # -# -username <username> -password <password> -remember_password # -# # -# Example # -# ./steam -command update -game cstrike -dir %%PREFIX%%/steam \ # -# -username johndoe -password 12345678 -remember_password # -# # -# Once your server has been updated type the following # -# to test your server. # -# ./hlds_run -game cstrike +map de_dust -maxplayers 16 # -# # -# For instructions on configuring your server goto # -# http://server.counter-strike.net # -# # -##################################################################
Responsible Changed From-To: freebsd-ports-bugs->wxs I'll take it.
wxs 2009-05-03 22:47:01 UTC FreeBSD ports repository Modified files: games/linux-steam Makefile distinfo pkg-descr Added files: games/linux-steam/files pkg-message.in Removed files: games/linux-steam pkg-message Log: - Update to 1.1. - Use the real MASTER_SITES. - Assign maintainer to submitter. - Whitespace cleanups. PR: ports/134096 Submitted by: Christopher J. Umina <chris@easymac.org> Revision Changes Path 1.11 +17 -13 ports/games/linux-steam/Makefile 1.4 +3 -3 ports/games/linux-steam/distinfo 1.1 +21 -0 ports/games/linux-steam/files/pkg-message.in (new) 1.3 +7 -15 ports/games/linux-steam/pkg-descr 1.3 +0 -29 ports/games/linux-steam/pkg-message (dead) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks!