Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2003 08:04:11 -0800 (PST)
From:      Hideki Machida <hido@neojapangz.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/60660: New port: <Content distribution system for valve>
Message-ID:  <200312281604.hBSG4B4J020800@www.freebsd.org>
Resent-Message-ID: <200312281610.hBSGAHje013209@freefall.freebsd.org>

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

>Number:         60660
>Category:       ports
>Synopsis:       New port: <Content distribution system for valve>
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 28 08:10:16 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Hideki Machida
>Release:        
>Organization:
Private
>Environment:
>Description:
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.

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.

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.

>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:
#
#	steam
#	steam/distinfo
#	steam/Makefile
#	steam/pkg-plist
#	steam/pkg-message
#	steam/pkg-descr
#
echo c - steam
mkdir -p steam > /dev/null 2>&1
echo x - steam/distinfo
sed 's/^X//' >steam/distinfo << 'END-of-steam/distinfo'
XMD5 (steam-1.0.tar.gz) = 3d32775d1cf34ff8c9c938312e5128b8
END-of-steam/distinfo
echo x - steam/Makefile
sed 's/^X//' >steam/Makefile << 'END-of-steam/Makefile'
X# New ports collection makefile for:   hlstats
X# Date created:        29 December 2003
X# Whom:                hideki
X#
X# $FreeBSD$
X#
X
XPORTNAME=	steam
XPORTVERSION=	1.0
XCATEGORIES=	games linux
XMASTER_SITES=	http://hlstats.neojapangz.com/files/
X
XMAINTAINER=	hido@neojapangz.com
XCOMMENT=	Half Life dedicated server running on steam
X
XNO_BUILD=	yes
XUSE_LINUX=	yes
X
Xdo-install:
X	@ ${CHMOD} +x ${WRKDIR}/hldsupdatetool.bin && cd ${WRKDIR} && ./hldsupdatetool.bin
X	@ ${MKDIR} ${LOCALBASE}/${PORTNAME}
X	@ ${CP} ${WRKDIR}/${PORTNAME} ${LOCALBASE}/${PORTNAME}/
X	@ ${ECHO_MSG} "###########################################"
X	@ ${ECHO_MSG} "# Files have been installed in            #"
X	@ ${ECHO_MSG} "# ${LOCALBASE}/${PORTNAME}                        #"
X	@ ${ECHO_MSG} "#                                         #"
X	@ ${ECHO_MSG} "###########################################"
X	@ ${ECHO_MSG} ""
X
Xpost-install:
X	@ ${ECHO_MSG} "##################################################################"
X	@ ${ECHO_MSG} "# To get started goto ${LOCALBASE}/${PORTNAME}/                          #"
X	@ ${ECHO_MSG} "# and type the following to create a steam-user.                 #"
X	@ ${ECHO_MSG} "# -create <username> <password> <question> <answer>              #"
X	@ ${ECHO_MSG} "# Example                                                        #"
X	@ ${ECHO_MSG} "# ./steam -create johndoe l337cr3w nameofmygun M4A1              #"
X	@ ${ECHO_MSG} "#                                                                #"
X	@ ${ECHO_MSG} "# Once you have a steam-user account or if you have a registered #"
X	@ ${ECHO_MSG} "# account already type the following to start updating your HLDS #"
X	@ ${ECHO_MSG} "# -update <game> <installdir> <username> [<password> [Y]]        #"
X	@ ${ECHO_MSG} "# example                                                        #"
X	@ ${ECHO_MSG} "# ./steam -update cstrike . johndoe l337cr3w Y                   #"
X	@ ${ECHO_MSG} "#                                                                #"
X	@ ${ECHO_MSG} "# Once your server has been updated type the following           #"
X	@ ${ECHO_MSG} "# to test your server.                                           #"
X	@ ${ECHO_MSG} "# ./hlds_run -game cstrike +maxplayers 10 +map de_dust           #"
X	@ ${ECHO_MSG} "#                                                                #"
X	@ ${ECHO_MSG} "# For instructions on configuring your server goto               #"
X	@ ${ECHO_MSG} "# http://server.counter-strike.net                               #"
X	@ ${ECHO_MSG} "#                                                                #"
X	@ ${ECHO_MSG} "##################################################################"
X	@ ${ECHO_MSG} ""
X	@ ${ECHO_MSG} "############################################################"
X	@ ${ECHO_MSG} "#                  ******WARNING******                     #"
X	@ ${ECHO_MSG} "# Make sure to run HLDS as another user, avoid using root. #"
X	@ ${ECHO_MSG} "#                                                          #"
X	@ ${ECHO_MSG} "############################################################"
X
X.include <bsd.port.mk>
END-of-steam/Makefile
echo x - steam/pkg-plist
sed 's/^X//' >steam/pkg-plist << 'END-of-steam/pkg-plist'
Xsteam/steam
X@dirrm steam
END-of-steam/pkg-plist
echo x - steam/pkg-message
sed 's/^X//' >steam/pkg-message << 'END-of-steam/pkg-message'
X##################################################################
X# To get started goto ${LOCALBASE}/steam                           #
X# and type the following to create a steam-user.                 #
X# -create <username> <password> <question> <answer>              #
X# Example                                                        #
X# ./steam -create johndoe l337cr3w nameofmygun M4A1              #
X#                                                                #
X# Once you have a steam-user account or if you have a registered #
X# account already type the following to start updating your HLDS #
X# -update <game> <installdir> <username> [<password> [Y]]        #
X# example                                                        #
X# ./steam -update cstrike . johndoe l337cr3w Y                   #
X#                                                                #
X# Once your server has been updated type the following           #
X# to test your server.                                           #
X# ./hlds_run -game cstrike +maxplayers 10 +map de_dust           #
X#                                                                #
X# For instructions on configuring your server goto               #
X# http://server.counter-strike.net                               #
X#                                                                #
X##################################################################
END-of-steam/pkg-message
echo x - steam/pkg-descr
sed 's/^X//' >steam/pkg-descr << 'END-of-steam/pkg-descr'
XSteam is Valve's new way of getting games into your hands ASAP. Games like
XHalf-Life, Counter-Strike, and Counter-Strike Condition Zero
Xare all being made available through Steam.
X
XSteam games are automatically kept up-to-date with the latest content
Xand revisions. Steam also includes an instant-message client which
Xeven works while you're in-game.
X
XAt its core, Steam is a distributed file system and shared set of technology
Xcomponents that can be implemented into any software application.
X
XWith Steam, developers are given integrated tools for direct-content
Xpublishing, flexible billing, ensured-version
Xcontrol, anti-cheating, anti-piracy, and more.
X
XWWW: http://www.steampowered.com/
X
X- Hideki
Xhido@neojapangz.com
END-of-steam/pkg-descr
exit


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



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