diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-10-25 00:38:03 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-10-25 00:38:03 +0000 |
commit | 964499aac3ac86a158ba923e6b0ee429f02c2dea (patch) | |
tree | 61c6a780991bcaef2297d89a61a2cff17a850710 /games-fps/quake3-bin | |
parent | +move games-fps/quake3 games-fps/quake3-bin (diff) | |
download | gentoo-2-964499aac3ac86a158ba923e6b0ee429f02c2dea.tar.gz gentoo-2-964499aac3ac86a158ba923e6b0ee429f02c2dea.tar.bz2 gentoo-2-964499aac3ac86a158ba923e6b0ee429f02c2dea.zip |
move binary quake3 to quake3-bin
Diffstat (limited to 'games-fps/quake3-bin')
-rw-r--r-- | games-fps/quake3-bin/ChangeLog | 107 | ||||
-rw-r--r-- | games-fps/quake3-bin/Manifest | 9 | ||||
-rw-r--r-- | games-fps/quake3-bin/files/digest-quake3-bin-1.31 | 1 | ||||
-rw-r--r-- | games-fps/quake3-bin/files/digest-quake3-bin-1.32b-r3 | 1 | ||||
-rw-r--r-- | games-fps/quake3-bin/files/digest-quake3-bin-1.32b-r4 | 1 | ||||
-rw-r--r-- | games-fps/quake3-bin/files/q3ded.conf.d | 6 | ||||
-rw-r--r-- | games-fps/quake3-bin/files/q3ded.rc | 35 | ||||
-rw-r--r-- | games-fps/quake3-bin/metadata.xml | 18 | ||||
-rw-r--r-- | games-fps/quake3-bin/quake3-bin-1.31.ebuild | 79 | ||||
-rw-r--r-- | games-fps/quake3-bin/quake3-bin-1.32b-r3.ebuild | 86 | ||||
-rw-r--r-- | games-fps/quake3-bin/quake3-bin-1.32b-r4.ebuild | 97 |
11 files changed, 440 insertions, 0 deletions
diff --git a/games-fps/quake3-bin/ChangeLog b/games-fps/quake3-bin/ChangeLog new file mode 100644 index 000000000000..c117e57a9e67 --- /dev/null +++ b/games-fps/quake3-bin/ChangeLog @@ -0,0 +1,107 @@ +# ChangeLog for games-fps/quake3 +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-bin/ChangeLog,v 1.1 2005/10/25 00:38:03 vapier Exp $ + + 21 Oct 2005; Chris Gianelloni <wolf31o2@gentoo.org> quake3-1.31.ebuild, + quake3-1.32b-r3.ebuild: + Added addition dir variable to games_make_wrapper for bug #109793. + + 21 Sep 2005; Chris Gianelloni <wolf31o2@gentoo.org> quake3-1.31.ebuild, + quake3-1.32b-r3.ebuild: + Changed check_license to explicitly list license to check. + + 03 Sep 2005; Jeremy Huddleston <eradicator@gentoo.org> quake3-1.31.ebuild, + quake3-1.32b-r3.ebuild: + Removed reference to emul-linux-x86-nvidia. + + 12 May 2005; Chris Gianelloni <wolf31o2@gentoo.org> quake3-1.31.ebuild, + quake3-1.32b-r3.ebuild: + Fixing warning about bug #82149. + + 20 Apr 2005; Chris Gianelloni <wolf31o2@gentoo.org> quake3-1.31.ebuild, + quake3-1.32b-r3.ebuild: + Added warning about bug #82149. + + 23 Jan 2005; Chris Gianelloni <wolf31o2@gentoo.org> quake3-1.31.ebuild: + Removing whitespace. + + 23 Jan 2005; Chris Gianelloni <wolf31o2@gentoo.org> quake3-1.31.ebuild, + quake3-1.32b-r3.ebuild: + Added ati-drivers >=8.8.25-r1 to list of components to fill opengl + requirements. + + 20 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org> quake3-1.31.ebuild, + quake3-1.32b-r3.ebuild: + Adding emul depend back in so it works when people do 'USE=-multilib emerge + <something that requires multilib>'. + + 19 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org> quake3-1.31.ebuild, + quake3-1.32b-r3.ebuild: + Removing nvidia emul libs from DEPEND as it is not needed if you don't have + an nvidia card, and it is brought in with nvidia-glx. + + 27 Dec 2004; Mike Frysinger <vapier@gentoo.org> quake3-1.31.ebuild: + Add install fixes by Erdroh Moshan #66437. + + 01 Sep 2004; Chris Gianelloni <wolf31o2@gentoo.org> files/q3ded.rc: + Changing dedicated server user to games from games-ded. + + 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> quake3-1.31.ebuild, + quake3-1.32b-r3.ebuild: + virtual/glibc -> virtual/libc + + 12 May 2004; Chris Gianelloni <wolf31o2@gentoo.org> +files/quake3.png, + quake3-1.32b-r3.ebuild: + Adding PNG icon and closing bug #50806. + + 10 May 2004; Chris Gianelloni <wolf31o2@gentoo.org> quake3-1.32b-r3.ebuild: + Moving dir variable to global context. + + 10 May 2004; Michael Sterrett <mr_bones_@gentoo.org> quake3-1.32b-r3.ebuild: + make dir non-local (bug #50614) + + 19 Apr 2004; Chris Gianelloni <wolf31o2@gentoo.org> quake3-1.32b-r3.ebuild: + Marking stable on amd64 (no bugs in 135 days). + +*quake3-1.32b-r3 (06 Dec 2003) + + 06 Dec 2003; Chris Gianelloni <wolf31o2@gentoo.org> quake3-1.32b-r3.ebuild: + Bumped version to newest revision. Closing Bug #35178. + + 05 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> quake3-1.32b.ebuild: + Updated to use games user, make a desktop entry, and added to description + +*quake3-1.32b (31 Dec 2002) + + 31 Dec 2002; Mike Frysinger <vapier@gentoo.org> : + Version bump #12847. + +*quake3-1.32 (29 Nov 2002) + + 29 Nov 2002; Mike Frysinger <vapier@gentoo.org> : + Added games.eclass support + +*quake3-1.31-r1 (15 Jul 2002) + + 29 Nov 2002; Mike Frysinger <vapier@gentoo.org> : + Added games.eclass support + + 07 Sep 2002; J.Alberto S.L. <bass@gentoo.org> quake3-1.31-r1.ebuild: + LICENSE changed to Q3AEULA. + + 06 Aug 2002; Mark Guertin <gerk@gentoo.org> : + Added -ppc -sparc -sparc64 to keywords + + 15 Jul 2002; J.Alberto S.L. <bass@gentoo.org> quake3-1.31-r1.ebuild + Really fixed perms. + + 15 Jul 2002; Brandon Low <lostlogic@gentoo.org> quake3-1.31-r1.ebuild: + Fix a few other dumbnesses in the ebuild. Nothing terribly important. + +*quake3-1.31 (25 Jun 2002) + + 25 Jun 2002; J.Alberto S.L. <bass@gentoo.org> quake3-1.31.ebuild: + Fixed a problem with perms on bin files. + + 25 Jun 2002; J.Alberto S.L. <bass@gentoo.org> quake3-1.31.ebuild: + First relase by Alexander Gretencord <arutha@gmx.de>. diff --git a/games-fps/quake3-bin/Manifest b/games-fps/quake3-bin/Manifest new file mode 100644 index 000000000000..4dde9bb75b98 --- /dev/null +++ b/games-fps/quake3-bin/Manifest @@ -0,0 +1,9 @@ +MD5 310af2969c24e6006b74e10aee8386c4 ChangeLog 3934 +MD5 aa25102bc1d29a9d3cef6ccb88b87833 files/digest-quake3-1.31 73 +MD5 ac0eeb5bcea4995d27e0c6575b8f4dbb files/digest-quake3-1.32b-r3 76 +MD5 ccfdb942c238488a3626c63a53574485 files/q3ded.conf.d 305 +MD5 398efeaa7e416ad1a58e334d37b5ac26 files/q3ded.rc 817 +MD5 2d4f86497a3ba63bc01677f8c306cea5 files/quake3.png 2170 +MD5 0a25a9c85ee385ef578cb770a957756d metadata.xml 954 +MD5 ffb926658e17a7f7d84cf5c49c43f1c5 quake3-1.31.ebuild 2161 +MD5 f326d66638d0e88ea71175219962fc99 quake3-1.32b-r3.ebuild 2345 diff --git a/games-fps/quake3-bin/files/digest-quake3-bin-1.31 b/games-fps/quake3-bin/files/digest-quake3-bin-1.31 new file mode 100644 index 000000000000..29ea96f1e338 --- /dev/null +++ b/games-fps/quake3-bin/files/digest-quake3-bin-1.31 @@ -0,0 +1 @@ +MD5 2620b9eefb6d0775f766b6570870157a linuxq3apoint-1.31.x86.run 28415127 diff --git a/games-fps/quake3-bin/files/digest-quake3-bin-1.32b-r3 b/games-fps/quake3-bin/files/digest-quake3-bin-1.32b-r3 new file mode 100644 index 000000000000..9a97af6bbece --- /dev/null +++ b/games-fps/quake3-bin/files/digest-quake3-bin-1.32b-r3 @@ -0,0 +1 @@ +MD5 c71fdddccb20e8fc393d846e9c61d685 linuxq3apoint-1.32b-3.x86.run 30923961 diff --git a/games-fps/quake3-bin/files/digest-quake3-bin-1.32b-r4 b/games-fps/quake3-bin/files/digest-quake3-bin-1.32b-r4 new file mode 100644 index 000000000000..9a97af6bbece --- /dev/null +++ b/games-fps/quake3-bin/files/digest-quake3-bin-1.32b-r4 @@ -0,0 +1 @@ +MD5 c71fdddccb20e8fc393d846e9c61d685 linuxq3apoint-1.32b-3.x86.run 30923961 diff --git a/games-fps/quake3-bin/files/q3ded.conf.d b/games-fps/quake3-bin/files/q3ded.conf.d new file mode 100644 index 000000000000..14301a14e9fa --- /dev/null +++ b/games-fps/quake3-bin/files/q3ded.conf.d @@ -0,0 +1,6 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-bin/files/q3ded.conf.d,v 1.1 2005/10/25 00:38:03 vapier Exp $ + +q3_OPTS="+set com_hunkmegs 24 +set dedicated 1 +set net_port 27960 +map q3tourney2" + diff --git a/games-fps/quake3-bin/files/q3ded.rc b/games-fps/quake3-bin/files/q3ded.rc new file mode 100644 index 000000000000..ee02531f6aa4 --- /dev/null +++ b/games-fps/quake3-bin/files/q3ded.rc @@ -0,0 +1,35 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-bin/files/q3ded.rc,v 1.1 2005/10/25 00:38:03 vapier Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting Quake3 dedicated server" + screen -A -m -d -S q3ded-bin su - games -c "q3ded-bin ${q3_OPTS}" + eend $? +} + +stop() { + ebegin "Stopping Quake3 dedicated server" + local pid=`screen -list | grep q3ded-bin | awk -F . '{print $1}' | sed -e s/.//` + if [ -z "${pid}" ] ; then + eend 1 "Lost screen session" + else + pid=`pstree -p ${pid} | sed -e 's:^.*q3ded-bin::'` + pid=${pid:1:${#pid}-2} + if [ -z "${pid}" ] ; then + eend 1 "Lost q3ded-bin session" + else + kill ${pid} + eend $? "Could not kill q3ded-bin" + fi + fi +} + +status() { + screen -list | grep q3ded-bin +} diff --git a/games-fps/quake3-bin/metadata.xml b/games-fps/quake3-bin/metadata.xml new file mode 100644 index 000000000000..f4f43499c2b3 --- /dev/null +++ b/games-fps/quake3-bin/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<longdescription> +Quake III Arena is the third installment of the extremely popular and +successful Quake series by id software. The game was released by id +software for both Windows and Linux. The Linux version of the game was +maintained and sold by the now defunct Loki Entertainment. The powerful +Quake III engine is the basis for many other commercial games, as id's +major source of revenue is licensing their game engines. The engine +allows for user-contributed modifications to be made, allowing the game +to be extensible and expandable. This game is commercial software, and +requires the data from a retail copy of the game to play. If you're +interested in checking out the technology behind Quake III, then +"emerge quake3-demo" to get the playable demo. +</longdescription> +</pkgmetadata> diff --git a/games-fps/quake3-bin/quake3-bin-1.31.ebuild b/games-fps/quake3-bin/quake3-bin-1.31.ebuild new file mode 100644 index 000000000000..1352a81c4113 --- /dev/null +++ b/games-fps/quake3-bin/quake3-bin-1.31.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-bin/quake3-bin-1.31.ebuild,v 1.1 2005/10/25 00:38:03 vapier Exp $ + +inherit eutils games + +DESCRIPTION="Quake III Arena - 3rd installment of the classic id 3D first-person shooter" +HOMEPAGE="http://www.idsoftware.com/" +SRC_URI="ftp://ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-${PV}.x86.run" + +LICENSE="Q3AEULA" +SLOT="0" +KEYWORDS="-* amd64 x86" +IUSE="dedicated opengl" +RESTRICT="nostrip" + +RDEPEND="sys-libs/glibc + opengl? ( virtual/opengl + virtual/x11 ) + dedicated? ( app-misc/screen ) + amd64? ( + app-emulation/emul-linux-x86-baselibs + opengl? ( + app-emulation/emul-linux-x86-xlibs + || ( >=media-video/nvidia-glx-1.0.6629-r3 + >=media-video/ati-drivers-8.8.25-r1 ) ) )" + +S=${WORKDIR} +dir=${GAMES_PREFIX_OPT}/quake3 +Ddir=${D}/${dir} + +pkg_setup() { + check_license Q3AEULA + games_pkg_setup +} + +src_unpack() { + unpack_makeself +} + +src_install() { + insinto ${dir}/baseq3 + doins baseq3/*.pk3 + mv Help ${Ddir} + insinto ${dir}/missionpack + doins missionpack/*.pk3 + + exeinto ${dir} + insinto ${dir} + doexe bin/x86/{quake3.x86,q3ded} || die "doexe" + doins quake3.xpm README* Q3A_EULA.txt + games_make_wrapper quake3-bin ./quake3.x86 "${dir}" "${dir}" + games_make_wrapper q3ded-bin ./q3ded "${dir}" "${dir}" + + newinitd "${FILESDIR}"/q3ded.rc q3ded + newconfd "${FILESDIR}"/q3ded.conf.d q3ded + doicon quake3.xpm + + prepgamesdirs + make_desktop_entry quake3-bin "Quake III Arena (binary)" quake3.xpm +} + +pkg_postinst() { + games_pkg_postinst + echo + ewarn "There are two possible security bugs in this package, both causing a denial" + ewarn "of service. One affects the game when running a server, the other when running" + ewarn "as a client. For more information, see bug #82149." + echo + einfo "You need to copy pak0.pk3 from your Quake3 CD into ${dir}/baseq3." + einfo "Or if you have got a Window installation of Q3 make a symlink to save space." + echo + if use dedicated; then + einfo "To start a dedicated server, run" + einfo "\t/etc/init.d/q3ded start" + echo + einfo "The dedicated server is started under the ${GAMES_USER_DED} user account." + fi +} diff --git a/games-fps/quake3-bin/quake3-bin-1.32b-r3.ebuild b/games-fps/quake3-bin/quake3-bin-1.32b-r3.ebuild new file mode 100644 index 000000000000..f5c66625faa2 --- /dev/null +++ b/games-fps/quake3-bin/quake3-bin-1.32b-r3.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-bin/quake3-bin-1.32b-r3.ebuild,v 1.1 2005/10/25 00:38:03 vapier Exp $ + +inherit eutils games + +DESCRIPTION="Quake III Arena - 3rd installment of the classic id 3D first-person shooter" +HOMEPAGE="http://www.idsoftware.com/" +SRC_URI="ftp://ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-${PV}-3.x86.run" + +LICENSE="Q3AEULA" +SLOT="0" +KEYWORDS="-* amd64 x86" +IUSE="dedicated opengl" +RESTRICT="nostrip" + +RDEPEND="sys-libs/glibc + opengl? ( virtual/opengl + virtual/x11 ) + dedicated? ( app-misc/screen ) + amd64? ( + app-emulation/emul-linux-x86-baselibs + opengl? ( + app-emulation/emul-linux-x86-xlibs + || ( >=media-video/nvidia-glx-1.0.6629-r3 + >=media-video/ati-drivers-8.8.25-r1 ) ) )" + +S=${WORKDIR} +dir=${GAMES_PREFIX_OPT}/quake3 +Ddir=${D}/${dir} + +pkg_setup() { + check_license Q3AEULA + games_pkg_setup +} + +src_unpack() { + unpack_makeself +} + +src_install() { + insinto ${dir}/baseq3 + doins baseq3/*.pk3 + mv Docs ${Ddir}/ + insinto ${dir}/missionpack + doins missionpack/*.pk3 + mv pb ${Ddir}/ + + exeinto ${dir} + insinto ${dir} + doexe bin/Linux/x86/{quake3.x86,q3ded} + doins quake3.xpm README* Q3A_EULA.txt + games_make_wrapper quake3-bin ./quake3.x86 "${dir}" "${dir}" + games_make_wrapper q3ded-bin ./q3ded "${dir}" "${dir}" + + newinitd ${FILESDIR}/q3ded.rc q3ded + newconfd ${FILESDIR}/q3ded.conf.d q3ded + doicon quake3.xpm + + prepgamesdirs + make_desktop_entry quake3-bin "Quake III Arena (binary)" quake3.xpm +} + +pkg_postinst() { + games_pkg_postinst + echo + ewarn "There are two possible security bugs in this package, both causing a denial" + ewarn "of service. One affects the game when running a server, the other when running" + ewarn "as a client. For more information, see bug #82149." + echo + einfo "You need to copy pak0.pk3 from your Quake3 CD into ${dir}/baseq3." + einfo "Or if you have got a Window installation of Q3 make a symlink to save space." + if use dedicated; then + echo + einfo "To start a dedicated server, run" + einfo " /etc/init.d/q3ded start" + echo + einfo "The dedicated server is started under the ${GAMES_USER_DED} user account." + fi + + # IA32 Emulation required for amd64 + if use amd64 ; then + echo + ewarn "NOTE: IA32 Emulation must be compiled into your kernel for Quake3 to run." + fi +} diff --git a/games-fps/quake3-bin/quake3-bin-1.32b-r4.ebuild b/games-fps/quake3-bin/quake3-bin-1.32b-r4.ebuild new file mode 100644 index 000000000000..33b6212f7863 --- /dev/null +++ b/games-fps/quake3-bin/quake3-bin-1.32b-r4.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-bin/quake3-bin-1.32b-r4.ebuild,v 1.1 2005/10/25 00:38:03 vapier Exp $ + +inherit eutils games + +DESCRIPTION="Quake III Arena - 3rd installment of the classic id 3D first-person shooter" +HOMEPAGE="http://www.idsoftware.com/" +SRC_URI="ftp://ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-${PV}-3.x86.run" + +LICENSE="Q3AEULA" +SLOT="0" +KEYWORDS="-* amd64 x86" +IUSE="cdinstall dedicated opengl" +RESTRICT="nostrip" + +RDEPEND="sys-libs/glibc + opengl? ( virtual/opengl + virtual/x11 ) + dedicated? ( app-misc/screen ) + amd64? ( + app-emulation/emul-linux-x86-baselibs + opengl? ( + app-emulation/emul-linux-x86-xlibs + || ( >=media-video/nvidia-glx-1.0.6629-r3 + >=media-video/ati-drivers-8.8.25-r1 ) ) ) + cdinstall? ( games-fps/quake3-data )" + +S=${WORKDIR} +dir=${GAMES_PREFIX_OPT}/quake3 +Ddir=${D}/${dir} + +pkg_setup() { + check_license Q3AEULA + games_pkg_setup +} + +src_unpack() { + unpack_makeself +} + +src_install() { + if use cdinstall ; then + dodir ${dir}/{baseq3,missionpack} + for pk3 in baseq3/*.pk3 missionpack/*.pk3 ; do + dosym ${GAMES_DATADIR}/quake3/${pk3} ${dir}/${pk3} + done + else + insinto ${dir}/baseq3 + doins baseq3/*.pk3 || die "ins baseq3" + insinto ${dir}/missionpack + doins missionpack/*.pk3 || die "ins missionpack" + fi + + insinto ${dir} + doins -r Docs pb || die "ins docs/pb" + + exeinto ${dir} + insinto ${dir} + doexe bin/Linux/x86/{quake3.x86,q3ded} || die "doexe" + doins quake3.xpm README* Q3A_EULA.txt + games_make_wrapper quake3-bin ./quake3.x86 "${dir}" "${dir}" + games_make_wrapper q3ded-bin ./q3ded "${dir}" "${dir}" + + newinitd "${FILESDIR}"/q3ded.rc q3ded + newconfd "${FILESDIR}"/q3ded.conf.d q3ded + newicon quake3.xpm quake3-bin.xpm + + prepgamesdirs + make_desktop_entry quake3-bin "Quake III Arena (binary)" quake3-bin.xpm +} + +pkg_postinst() { + games_pkg_postinst + echo + ewarn "There are two possible security bugs in this package, both causing a denial" + ewarn "of service. One affects the game when running a server, the other when running" + ewarn "as a client. For more information, see bug #82149." + if ! use cdinstall ; then + echo + einfo "You need to copy pak0.pk3 from your Quake3 CD into ${dir}/baseq3." + einfo "Or if you have got a Window installation of Q3 make a symlink to save space." + fi + if use dedicated; then + echo + einfo "To start a dedicated server, run" + einfo " /etc/init.d/q3ded start" + echo + einfo "The dedicated server is started under the ${GAMES_USER_DED} user account." + fi + + # IA32 Emulation required for amd64 + if use amd64 ; then + echo + ewarn "NOTE: IA32 Emulation must be compiled into your kernel for Quake3 to run." + fi +} |