diff options
author | linimon <linimon@FreeBSD.org> | 2004-11-29 05:15:12 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2004-11-29 05:15:12 +0800 |
commit | e89282c56e6807ce594a5f1c4ae06d61c75e9036 (patch) | |
tree | c2ac38f044e7fd8e83b635aa0bc96c81a1fbccab | |
parent | 3cb05d5660b0b5f836396b29d236d6f8e2de51aa (diff) | |
download | freebsd-ports-gnome-e89282c56e6807ce594a5f1c4ae06d61c75e9036.tar.gz freebsd-ports-gnome-e89282c56e6807ce594a5f1c4ae06d61c75e9036.tar.zst freebsd-ports-gnome-e89282c56e6807ce594a5f1c4ae06d61c75e9036.zip |
As previously announced, remove games/quakeserver. It used an unregistered
UID, and in addition the original distfiles were no longer available.
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/quakeserver/Makefile | 67 | ||||
-rw-r--r-- | games/quakeserver/distinfo | 4 | ||||
-rw-r--r-- | games/quakeserver/files/qserver.sh | 39 | ||||
-rw-r--r-- | games/quakeserver/files/quakeserver.sh | 21 | ||||
-rw-r--r-- | games/quakeserver/files/readme.port | 58 | ||||
-rw-r--r-- | games/quakeserver/files/stopserver.sh | 11 | ||||
-rw-r--r-- | games/quakeserver/pkg-descr | 24 | ||||
-rw-r--r-- | games/quakeserver/pkg-install | 11 | ||||
-rw-r--r-- | games/quakeserver/pkg-plist | 18 |
10 files changed, 0 insertions, 254 deletions
diff --git a/games/Makefile b/games/Makefile index 6470a374d5f3..042058da50dd 100644 --- a/games/Makefile +++ b/games/Makefile @@ -385,7 +385,6 @@ SUBDIR += quake2forge SUBDIR += quake2lnx SUBDIR += quakeforge - SUBDIR += quakeserver SUBDIR += quit SUBDIR += qwdtools SUBDIR += race diff --git a/games/quakeserver/Makefile b/games/quakeserver/Makefile deleted file mode 100644 index 9c337f53e8aa..000000000000 --- a/games/quakeserver/Makefile +++ /dev/null @@ -1,67 +0,0 @@ -# New ports collection makefile for: quakeserver -# Date created: October 26th 1996 -# Whom: jfitz@FreeBSD.org -# -# $FreeBSD$ -# - -PORTNAME= quakeserver -PORTVERSION= 1.0 -CATEGORIES= games -MASTER_SITES= ftp://ftp.sunet.se/pub/pc/games/idgames2/planetquake/threewave/unix/ \ - ftp://ftp.idsoftware.com/idstuff/quake/ -DISTFILES= unixded-${PORTVERSION}-i386-unknown-bsdi3.0.tar.gz \ - quake106.zip - -MAINTAINER= ports@FreeBSD.org -COMMENT= A server to host Quake network games under FreeBSD - -IGNORE= uses an unregistered uid. -EXPIRATION_DATE=2004-08-20 -DEPRECATED= ${IGNORE} - -EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip \ - lha:${PORTSDIR}/archivers/lha - -NO_WRKSUBDIR= YES -NO_BUILD= YES -NO_CDROM= "This software is shareware" -USE_REINPLACE= yes - -do-extract: - @ ${RM} -rf ${WRKDIR} - @ ${MKDIR} ${WRKDIR} - @ unzip -q -o ${DISTDIR}/quake106.zip -d ${WRKDIR} resource.* - @ ${CAT} ${WRKDIR}/resource.dat ${WRKDIR}/resource.1 > ${WRKDIR}/resource.exe - @ cd ${WRKDIR}; lha xfq resource.exe id1/pak0.pak - @ cd ${WRKDIR}; ${TAR} zxf ${DISTDIR}/unixded-${PORTVERSION}-i386-unknown-bsdi3.0.tar.gz - -do-configure: - @ ${CP} ${FILESDIR}/readme.port ${WRKSRC} - @ ${CP} ${FILESDIR}/quakeserver.sh ${WRKSRC} - @ ${CP} ${FILESDIR}/qserver.sh ${WRKSRC} - @ ${CP} ${FILESDIR}/stopserver.sh ${WRKSRC} - @ ${SETENV} ${MAKE_ENV} ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/readme.port ${WRKSRC}/quakeserver.sh ${WRKSRC}/qserver.sh ${WRKSRC}/stopserver.sh - -pre-install: - @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - -do-install: - @ ${MKDIR} ${PREFIX}/quakeserver - @ ${MKDIR} ${PREFIX}/quakeserver/id1 - ${INSTALL_DATA} ${WRKSRC}/id1/pak0.pak ${PREFIX}/quakeserver/id1 - ${INSTALL} -c -g quakerun -m 0510 ${WRKSRC}/unixded ${PREFIX}/quakeserver - ${INSTALL_DATA} ${WRKSRC}/readme.unixded ${PREFIX}/quakeserver - ${INSTALL_DATA} ${WRKSRC}/readme.port ${PREFIX}/quakeserver - ${INSTALL_SCRIPT} -m 0755 ${WRKSRC}/quakeserver.sh ${PREFIX}/etc/rc.d - ${INSTALL} -c -m 0755 ${WRKSRC}/qserver.sh ${PREFIX}/quakeserver - ${INSTALL} -c -m 0755 ${WRKSRC}/stopserver.sh ${PREFIX}/quakeserver - ${TOUCH} ${PREFIX}/quakeserver/quakeserver.log - ${CHOWN} :quakerun ${PREFIX}/quakeserver/quakeserver.log - ${CHMOD} 660 ${PREFIX}/quakeserver/quakeserver.log - @ ${RM} -f ${PREFIX}/quakeserver/quakeserver.in - /usr/bin/mkfifo ${PREFIX}/quakeserver/quakeserver.in - @ ${CHMOD} 660 ${PREFIX}/quakeserver/quakeserver.in - @ ${CHOWN} :quakerun ${PREFIX}/quakeserver/quakeserver.in - -.include <bsd.port.mk> diff --git a/games/quakeserver/distinfo b/games/quakeserver/distinfo deleted file mode 100644 index a225d69dbb21..000000000000 --- a/games/quakeserver/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -MD5 (unixded-1.0-i386-unknown-bsdi3.0.tar.gz) = 147e4091f9ed37721fb38fca6cd77d86 -SIZE (unixded-1.0-i386-unknown-bsdi3.0.tar.gz) = 259735 -MD5 (quake106.zip) = 8cee4d03ee092909fdb6a4f84f0c1357 -SIZE (quake106.zip) = 9094045 diff --git a/games/quakeserver/files/qserver.sh b/games/quakeserver/files/qserver.sh deleted file mode 100644 index d4da0f148244..000000000000 --- a/games/quakeserver/files/qserver.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -QSERVER=%%PREFIX%%/quakeserver/unixded -QPIPE=%%PREFIX%%/quakeserver/quakeserver.in -LOG=%%PREFIX%%/quakeserver/quakeserver.log - -cd %%PREFIX%%/quakeserver - -# This runs the standard quakeserver game, suitable for LAN play -QARGS= - -# A few other ideas/options: - -# To run a game better suited for modem play: -#QARGS= +sys_ticrate 0.1 - -# To run a registered game (assuming that you've put the registered *.pak -# files into %%PREFIX%%/quakeserver/reg/ -#QARGS= -game reg - -# To force the server to bind to just one IP address (to run multiple -# servers on the same machine) -#QARGS= -ip x.x.x.x - -# For more ideas, look at %%PREFIX%%/quakeserver/readme.unixded as well as -# the documentation that comes with Quake. - -# This actually runs the server -$QSERVER $QARGS < $QPIPE >> $LOG & - -# Put commands you want to stuff into the console here, each being -# redirected into %%PREFIX%%/quakeserver/quakeserver.in -echo "map e1m1" > $QPIPE - -# -# EOF diff --git a/games/quakeserver/files/quakeserver.sh b/games/quakeserver/files/quakeserver.sh deleted file mode 100644 index 3b138d6b916e..000000000000 --- a/games/quakeserver/files/quakeserver.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -# - -case "$1" in -start) - if [ -x %%PREFIX%%/quakeserver/unixded ] - then - echo %%PREFIX%%/quakeserver/qserver.sh | su -m quakerun \ - && echo -n ' quakeserver' - fi - ;; -stop) - echo killall unixded | su -m quakerun && echo -n ' quakeserver' - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - exit 64 - ;; -esac - -exit 0 diff --git a/games/quakeserver/files/readme.port b/games/quakeserver/files/readme.port deleted file mode 100644 index 6ec778f5b7be..000000000000 --- a/games/quakeserver/files/readme.port +++ /dev/null @@ -1,58 +0,0 @@ -README for Quake Server port ----------------------------- - -NOTE: For those who used my old port of quakeserver (v1.01), this is radically -different. It now uses the BSD/OS unix dedicated binary, which eliminates -the need for the Linux emulation and improves stability. - - -This port, as installed, contains the following directory structure - -%%PREFIX%%/quakeserver/readme.port this file -%%PREFIX%%/quakeserver/readme.unixded unix server readme -%%PREFIX%%/quakeserver/qserver.sh shell script to run the - server -%%PREFIX%%/quakeserver/unixded server binary -%%PREFIX%%/quakeserver/quakeserver.log server logfile -%%PREFIX%%/quakeserver/quakeserver.in server console named pipe -%%PREFIX%%/quakeserver/id1/pak0.pak quake shareware datafile - -This will run a shareware Quake server on UDP port 26000, binding to all -addresses on the machine. For server options, read the readme.unixded file -and look at the suggestions in qserver.sh. - -The startup procedure for the server is: - -%%PREFIX%%/etc/rc.d/quakeserver.sh runs the server as user 'quakerun'. -Input is redirected from the named pipe - -%%PREFIX%%/quakeserver/quakeserver.in - -and output is redirected to - -%%PREFIX%%/quakeserver/quakeserver.log. - -You can see the output of the console by viewing quakeserver.log, and feed -commands to the server by echoing them into quakeserver.in. - -One of the frequently asked questions about this port is how to run a -registered server. It's pretty simple. If you want to run just a shareware -server, copy the files from the ID1/ subdirectory of an installed copy of -Quake into %%PREFIX%%/quakeserver/id1/. Remember to make all filenames -lowercase. - -If you want to run a shareware and registered server in tandem, you will -need to have a machine with multiple IP addresses (using aliasing or other -methods). Copy the files from the ID1/ subdirectory to a new directory -under %%PREFIX%%/quakeserver/ (such as reg/), and run two servers. -Presuming that your machine has two addresses 10.10.10.10 and 10.10.10.11, -the lines to launch the server would be : - -%%PREFIX%%/quakeserver/unixded -ip 10.10.10.10 -%%PREFIX%%/quakeserver/unixded -ip 10.10.10.11 -game reg - -Which would give you a shareware game on 10.10.10.10 and a registered game -on 10.10.10.11. - --- -j. diff --git a/games/quakeserver/files/stopserver.sh b/games/quakeserver/files/stopserver.sh deleted file mode 100644 index 9d19272d1008..000000000000 --- a/games/quakeserver/files/stopserver.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -QPIPE=%%PREFIX%%/quakeserver/quakeserver.in - -echo "quit" > $QPIPE - -# -# EOF
\ No newline at end of file diff --git a/games/quakeserver/pkg-descr b/games/quakeserver/pkg-descr deleted file mode 100644 index 21e19efaf4ab..000000000000 --- a/games/quakeserver/pkg-descr +++ /dev/null @@ -1,24 +0,0 @@ - Ok, this one definitely falls into the "I had some time one Sunday -afternoon..." category. - This port allows you to host Quake network games on a FreeBSD machine. - This installs the v1.01 shareware version of Quake, and the required -files to automate a server. If you have purchased the registered version of -Quake and wish to host a registered server, take the files from the ID1/ -subdirectory of your installed version of Quake, and put them into -/usr/local/quakeserver/id1. Be sure to make the filenames lowercase. - Note: I'm not sure how this will work with the v1.06 version of -registered quake. Currently, I can't get the intel loader to work with the 1.06 -game files, so I'm not optimistic. YMMV. - Credits to iD for creating a great game, and to Dan Nelson -<dnelson@emsphone.com> for creating the expect script that wraps around the -server in case it crashes. - Note that this port can technically be used to play Quake under X, but I -don't recommend it. It's slow, small, and prone to crashing. If you want to -host a very fast and responsive Quake game, use this. If you want to play it, -run DOS. - Shameless plug: I've also ported qcc, the QuakeC compiler to let server -ops make their own quake games. You do need registered Quake to do this, but -it's well worth it. Look for qcc in the games collection of FreeBSD's ports -repository. --- -j. diff --git a/games/quakeserver/pkg-install b/games/quakeserver/pkg-install deleted file mode 100644 index fa62938f7ca1..000000000000 --- a/games/quakeserver/pkg-install +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -case "$2" in - PRE-INSTALL) - if ! pw user show quakerun >/dev/null 2>&1 - then - echo "===> Creating user quakerun" - pw add user quakerun -s /sbin/nologin -c "QuakeServer User" -d /nonexistent - fi - ;; -esac diff --git a/games/quakeserver/pkg-plist b/games/quakeserver/pkg-plist deleted file mode 100644 index 6e7cdfa32642..000000000000 --- a/games/quakeserver/pkg-plist +++ /dev/null @@ -1,18 +0,0 @@ -etc/rc.d/quakeserver.sh -quakeserver/id1/pak0.pak -quakeserver/unixded -@exec chown quakerun:quakerun %D/quakeserver/unixded -quakeserver/readme.unixded -quakeserver/readme.port -quakeserver/qserver.sh -quakeserver/stopserver.sh -quakeserver/quakeserver.log -@exec chown quakerun:quakerun %D/quakeserver/quakeserver.log -@exec chmod 664 %D/quakeserver/quakeserver.log -@exec mkfifo %D/quakeserver/quakeserver.in -@exec chown quakerun:quakerun %D/quakeserver/quakeserver.in -@exec chmod 660 %D/quakeserver/quakeserver.in -@unexec rm -f %D/quakeserver/quakeserver.in %D/quakeserver/quakeserver.log -@dirrm quakeserver/id1 -@dirrm quakeserver -@unexec pw user del quakerun |