diff options
author | Aaron Bauman <bman@gentoo.org> | 2019-12-08 16:26:36 -0500 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2019-12-08 16:27:54 -0500 |
commit | 4203956ca175dab36cde87b104806e09410f7fbd (patch) | |
tree | 03d2ca97e489bdabc1f89688c08883ef1d52aef2 /games-fps | |
parent | games-server/ut2004-ded: drop vulnerable package (diff) | |
download | gentoo-4203956ca175dab36cde87b104806e09410f7fbd.tar.gz gentoo-4203956ca175dab36cde87b104806e09410f7fbd.tar.bz2 gentoo-4203956ca175dab36cde87b104806e09410f7fbd.zip |
games-fps/{enemy-territory,rtcw}: drop vulnerable pkgs
Closes: https://bugs.gentoo.org/135645
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/enemy-territory-omnibot/Manifest | 2 | ||||
-rw-r--r-- | games-fps/enemy-territory-omnibot/enemy-territory-omnibot-0.85.ebuild | 20 | ||||
-rw-r--r-- | games-fps/enemy-territory-omnibot/metadata.xml | 12 | ||||
-rw-r--r-- | games-fps/enemy-territory-truecombat/Manifest | 2 | ||||
-rw-r--r-- | games-fps/enemy-territory-truecombat/enemy-territory-truecombat-0.49b.ebuild | 36 | ||||
-rw-r--r-- | games-fps/enemy-territory-truecombat/metadata.xml | 8 | ||||
-rw-r--r-- | games-fps/enemy-territory/Manifest | 3 | ||||
-rw-r--r-- | games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild | 124 | ||||
-rw-r--r-- | games-fps/enemy-territory/metadata.xml | 11 | ||||
-rw-r--r-- | games-fps/rtcwmp-demo/Manifest | 1 | ||||
-rw-r--r-- | games-fps/rtcwmp-demo/files/rtcwmp-demo-ded.rc | 24 | ||||
-rw-r--r-- | games-fps/rtcwmp-demo/metadata.xml | 11 | ||||
-rw-r--r-- | games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r2.ebuild | 68 | ||||
-rw-r--r-- | games-fps/rtcwsp-demo/Manifest | 1 | ||||
-rw-r--r-- | games-fps/rtcwsp-demo/metadata.xml | 12 | ||||
-rw-r--r-- | games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild | 55 |
16 files changed, 0 insertions, 390 deletions
diff --git a/games-fps/enemy-territory-omnibot/Manifest b/games-fps/enemy-territory-omnibot/Manifest deleted file mode 100644 index 6511d280b3aa..000000000000 --- a/games-fps/enemy-territory-omnibot/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST omni-bot_0_85_ET_linux.zip 19662449 BLAKE2B c4327be6a60e23982569f84243736cbc9068948b0dc1d113057d750194e6ab0b516e2305f24091b970f2ce3274e612ca9ffef70c6eef5c18d7a1080c2f7d910f SHA512 83ca166556cbbae26ab8d498437b5922e1db5ad4e7be3718a6ccc158af8f143550b159bcc01b48e7c82901285edc3cbde02e59f7bb3d068d016c2fe5e0728b93 -DIST omni-bot_0_85_ET_waypoint_mod.zip 4344830 BLAKE2B cb37d4f4ef5be155b45ff40ea3d1813fdb723e15301140e57397f3f0f8940f0073f06324b2e21913d92e5d4a3a4a17999d52ccdcadb54fbea4f8c565d3142805 SHA512 e63eb693879a4e85add3ac3def6698aa1a08c3293c2180664903adfede8aa6df682afb8ed8f549d573d3baee236d5eefe50a4f1142798cf1ac13e75b80b99558 diff --git a/games-fps/enemy-territory-omnibot/enemy-territory-omnibot-0.85.ebuild b/games-fps/enemy-territory-omnibot/enemy-territory-omnibot-0.85.ebuild deleted file mode 100644 index 8b8d1f40b82d..000000000000 --- a/games-fps/enemy-territory-omnibot/enemy-territory-omnibot-0.85.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -GAME="enemy-territory" -MOD_DESC="Bots for Ennemy Territory" -MOD_NAME="Omnibot" -MOD_DIR="omnibot" - -inherit games games-mods - -HOMEPAGE="https://jswigart.github.io/omni-bot/" -MY_PV="${PV//./_}" -SRC_URI="http://omni-bot.invisionzone.com/index.php?/files/getdownload/208-omni-bot-enemy-territory -> omni-bot_${MY_PV}_ET_linux.zip - http://omni-bot.invisionzone.com/index.php?/files/getdownload/207-omni-bot-enemy-territory -> omni-bot_${MY_PV}_ET_waypoint_mod.zip" - -LICENSE="all-rights-reserved" -KEYWORDS="~amd64 ~x86" -RESTRICT="mirror strip" diff --git a/games-fps/enemy-territory-omnibot/metadata.xml b/games-fps/enemy-territory-omnibot/metadata.xml deleted file mode 100644 index 907a3f30fd04..000000000000 --- a/games-fps/enemy-territory-omnibot/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>junghans@gentoo.org</email> - <name>Christoph Junghans</name> - </maintainer> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - </pkgmetadata> diff --git a/games-fps/enemy-territory-truecombat/Manifest b/games-fps/enemy-territory-truecombat/Manifest deleted file mode 100644 index 9f8bcb3e76e9..000000000000 --- a/games-fps/enemy-territory-truecombat/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST tce049b_all_os_fixed.zip 6795533 BLAKE2B e2dc54e031d6d0e6f67a965ef2a92808af08305b9a9a14f46d374bc16b761f557a99182a86a09bd3993b733a84a980fc82665911442d3388f00375789efc0304 SHA512 8814f193437551c29edf88087229ee813317df10e264c3a0200942ef7c1e876aacff4d985d28bd59d1b3bd9589c86ad034d59a8f434cb443a31e07db9b0562da -DIST tcetest049.zip 472749193 BLAKE2B da9ac999c282540a2dd022d4a77a0b5e2f9ccd5da01384e52e7dfdaa4997ed791152a9f480bce8804729dcf4742b8b64b5a89e06b577a76c1bc91c9787fc5f37 SHA512 9c5dfaad2f427b4fdc3fa0d5ed7b88e68776167049e0fa75e72a84a6735ff1e97926dfd0d5c290351ac0eb3123018afc1f478d8c0506b4c8ddfa39cc22474985 diff --git a/games-fps/enemy-territory-truecombat/enemy-territory-truecombat-0.49b.ebuild b/games-fps/enemy-territory-truecombat/enemy-territory-truecombat-0.49b.ebuild deleted file mode 100644 index ec5f4920f712..000000000000 --- a/games-fps/enemy-territory-truecombat/enemy-territory-truecombat-0.49b.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -GAME="enemy-territory" -MOD_DESC="a team-based realism modification" -MOD_NAME="True Combat" -MOD_DIR="tcetest" -MOD_ICON="tce_icon_pc.ico" - -inherit games games-mods - -MY_PV=${PV/.} -HOMEPAGE="http://www.truecombatelite.com/" -SRC_URI="http://dragons-perch.net/tce/tcetest049.zip - http://freeserver.name/files/installer/linux/tcetest049.zip - http://mirror.rosvosektori.net/tcetest049.zip - http://dragons-perch.net/tce/tce${MY_PV}_all_os_fixed.zip" - -LICENSE="freedist" -KEYWORDS="~amd64 ~x86" -IUSE="dedicated opengl" - -RDEPEND="~virtual/libstdc++-3.3" - -QA_PREBUILT="${INS_DIR:1}/${MOD_DIR}/*.so" - -src_unpack() { - unpack tcetest049.zip - cd ${MOD_DIR} || die - unpack tce${MY_PV}_all_os_fixed.zip -} - -src_prepare() { - rm -rf ${MOD_DIR}/Mac* -} diff --git a/games-fps/enemy-territory-truecombat/metadata.xml b/games-fps/enemy-territory-truecombat/metadata.xml deleted file mode 100644 index 78274e0fa550..000000000000 --- a/games-fps/enemy-territory-truecombat/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> -</maintainer> -</pkgmetadata> diff --git a/games-fps/enemy-territory/Manifest b/games-fps/enemy-territory/Manifest deleted file mode 100644 index f29b8e4ceb6b..000000000000 --- a/games-fps/enemy-territory/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST ET-2.60b.zip 4143401 BLAKE2B d7af97b7d5c30feeef46ec47e159120be50d276013b0627152ad503e62f17513350d7920cab42fa6082dada262b2a460ff1510de20f178626eebfd046cbb9daa SHA512 f86d0d172a170cd894f1c60a817d2159768bf7d03cb0146f3470edd54828096a62e890c24bac80a5851adc9356cb2716d5f0c756fab063a9c0eb561b72825b84 -DIST enemy-territory-all-0.1.tar.bz2 876 BLAKE2B fa144dee1768266841a77b6dab9bc27db3846f6697bb923c1e9d688a33422afdbdaa0c3c9a699e54bd8513f20aec9b2173e583c66604b3b2e783fc86769866cf SHA512 7e00ac4a30ebbbc5db646e0edf6683d8e4d99756c1010922ccfd16a3dc27c0a5b23a91c9f3adb3e120bfcd5f9a3302a466a86888ff1496dda29a3b09e87eacb2 -DIST et-linux-2.60.x86.run 270965248 BLAKE2B c774c8ccd4dc72e0b6afcd779dfc0dfad0c7f4fb208b549b04aa2fa1f9b2fd6c884a928a70b23adcd4789b7c446051a7b1fa88f4d87278b04f5461fbc3dd2869 SHA512 7321a3d831dd375c49aff81f30098c5201880e9fc783a25dd7dee3bd2211372e0e07a482e6c78982bc1f27d62bceb769dffc30f820c3144b4a64268fd9ef5cfe diff --git a/games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild b/games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild deleted file mode 100644 index be9ee9b576fb..000000000000 --- a/games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils unpacker games - -DESCRIPTION="standalone multi-player game based on Return to Castle Wolfenstein" -HOMEPAGE="http://www.idsoftware.com/" -SRC_URI="mirror://idsoftware/et/linux/et-linux-2.60.x86.run - mirror://idsoftware/et/ET-${PV}.zip - dedicated? ( - https://dev.gentoo.org/~wolf31o2/sources/dump/${PN}-all-0.1.tar.bz2 - mirror://gentoo/${PN}-all-0.1.tar.bz2 - )" - -LICENSE="RTCW-ETEULA" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="dedicated" -RESTRICT="bindist mirror strip" - -DEPEND="app-arch/unzip" -RDEPEND="sys-libs/glibc - amd64? ( sys-libs/glibc[multilib] ) - dedicated? ( app-misc/screen ) - !dedicated? ( - virtual/opengl[abi_x86_32(-)] - x11-libs/libX11[abi_x86_32(-)] - x11-libs/libXext[abi_x86_32(-)] - )" - -S=${WORKDIR} - -dir=${GAMES_PREFIX_OPT}/${PN} -Ddir=${D}/${dir} - -QA_PREBUILT=" - ${dir:1}/et.x86 - ${dir:1}/etded.x86 - ${dir:1}/etmain/cgame.mp.i386.so - ${dir:1}/etmain/qagame.mp.i386.so - ${dir:1}/etmain/ui.mp.i386.so - ${dir:1}/pb/pbag.so - ${dir:1}/pb/pbags.so - ${dir:1}/pb/pbcl.so - ${dir:1}/pb/pbcls.so - ${dir:1}/pb/pbsv.so - ${dir:1}/pb/pbweb.x86" - -src_unpack() { - unpack_makeself et-linux-2.60.x86.run - if use dedicated; then - unpack ${PN}-all-0.1.tar.bz2 - fi - unpack ET-${PV}.zip -} - -src_prepare() { - if use dedicated ; then - sed 's@/sbin/runscript@/sbin/openrc-run@' \ - -i et-ded.rc || die - fi -} - -src_install() { - exeinto "${dir}" - doexe openurl.sh - - insinto "${dir}" - dodoc CHANGES README - - cp -r Docs pb etmain "${Ddir}" || die - chmod og+x "${Ddir}"/pb/pbweb.x86 || die - - if ! use dedicated ; then - doicon ET.xpm - doexe "Enemy Territory 2.60b"/linux/et.x86 - games_make_wrapper et ./et.x86 "${dir}" "${dir}" - make_desktop_entry et "Enemy Territory" ET - else - doexe "Enemy Territory 2.60b"/linux/etded.x86 - games_make_wrapper et-ded ./etded.x86 "${dir}" - newinitd "${S}"/et-ded.rc et-ded - sed -i \ - -e "s:GAMES_USER_DED:${GAMES_USER_DED}:" \ - -e "s:GENTOO_DIR:${GAMES_BINDIR}:" \ - "${D}"/etc/init.d/et-ded || die - newconfd "${S}"/et-ded.conf.d et-ded - # TODO: move this to /var/ perhaps ? - keepdir "${dir}/etwolf-homedir" - chmod g+rw "${Ddir}/etwolf-homedir" - dosym "${dir}/etwolf-homedir" "${GAMES_PREFIX}/.etwolf" - fi - - prepgamesdirs - chmod g+rw "${Ddir}" "${Ddir}/etmain" -} - -pkg_postinst() { - games_pkg_postinst - ewarn "There are two possible security bugs in this package, both causing a" - ewarn "denial of service. One affects the game when running a server, the" - ewarn "other when running as a client." - ewarn "For more information, see bug #82149." - echo - if ! use dedicated; then - elog "To play the game run:" - elog " et" - echo - else - elog "To start a dedicated server run:" - elog " /etc/init.d/et-ded start" - echo - elog "To run the dedicated server at boot, type:" - elog " rc-update add et-ded default" - echo - elog "The dedicated server is started under the ${GAMES_USER_DED} user account." - echo - ewarn "Store your configurations under ${dir}/etwolf-homedir or they" - ewarn "will be erased on the next upgrade." - ewarn "See bug #132795 for more info." - echo - fi -} diff --git a/games-fps/enemy-territory/metadata.xml b/games-fps/enemy-territory/metadata.xml deleted file mode 100644 index 8ab2e0c01fff..000000000000 --- a/games-fps/enemy-territory/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> -</maintainer> -<longdescription> -Enemy Territory is a first-person 3-D shooter based loosely on the original Wolfenstein series by id software. The game takes place in North Africa and Europe during World War II and allows you to play as either the Axis or the Allies. There are several classes of characters you can play, each with their own special abilities and weapon choices. You can also gain proficiency in your specialties and increase your abilities by performing your class's specialized duties, which helps promote teamwork. Enemy Territory was originally to be a single and milti-player add-on for Return to Castle Wofenstein, but John Carmack and company were not happy with the progress they had made on it, so instead, they released it as a multi-player stand-alone game. -</longdescription> -</pkgmetadata> diff --git a/games-fps/rtcwmp-demo/Manifest b/games-fps/rtcwmp-demo/Manifest deleted file mode 100644 index 53d2855ccd4b..000000000000 --- a/games-fps/rtcwmp-demo/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST wolfmpdemo-linux-1.1-MP.x86.run 69650634 BLAKE2B e1ee7e204622eb6dcc708db8a84d50fc1638a1412957111d6e4fb69dc0bd09ec2b53ac3f785d2120e35e4d87315c7d5687b59aa2b8d8671250c8611fac8433c9 SHA512 2e497ca8cb0552dfbc90bfd10544b44f0dca2b7dc74ad6428041fd9885926a03cfdae72d6e5ccbd61b0d0c5b051355c567a9101746838110ebeb0f3fdcaf3ad5 diff --git a/games-fps/rtcwmp-demo/files/rtcwmp-demo-ded.rc b/games-fps/rtcwmp-demo/files/rtcwmp-demo-ded.rc deleted file mode 100644 index 7d711d08acee..000000000000 --- a/games-fps/rtcwmp-demo/files/rtcwmp-demo-ded.rc +++ /dev/null @@ -1,24 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net -} - -start() { - ebegin "Starting RTCW demo dedicated server..." - screen -A -m -d -S rtcwdemo su - dedicated -c GENTOO_DIR/startrtcwded - eend $? -} - -stop() { - ebegin "Stopping RTCW demo dedicated server..." - kill `screen -list | grep rtcwdemo | awk -F . '{ print $1 }' | sed -e s/.//` - eend $? - -} - -status() { - screen -list | grep rtcwdemoded -} diff --git a/games-fps/rtcwmp-demo/metadata.xml b/games-fps/rtcwmp-demo/metadata.xml deleted file mode 100644 index d1a52b2afdce..000000000000 --- a/games-fps/rtcwmp-demo/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> -</maintainer> -<longdescription> -The sequel to id Software's classic Wolfenstein 3-D. This version of the demo is only for multi-player. -</longdescription> -</pkgmetadata> diff --git a/games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r2.ebuild b/games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r2.ebuild deleted file mode 100644 index 0589352ee9e6..000000000000 --- a/games-fps/rtcwmp-demo/rtcwmp-demo-1.1-r2.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit eutils unpacker - -MY_P="wolfmpdemo-linux-${PV}-MP.x86.run" - -DESCRIPTION="Return to Castle Wolfenstein - Multi-player demo" -HOMEPAGE="http://games.activision.com/games/wolfenstein/" -SRC_URI="mirror://idsoftware/wolf/linux/old/${MY_P}" - -LICENSE="RTCW GPL-2" # gpl for init script bug #425946 -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="dedicated" -RESTRICT="bindist strip mirror" - -RDEPEND="sys-libs/glibc - amd64? ( sys-libs/glibc[multilib] ) - dedicated? ( app-misc/screen ) - !dedicated? ( - virtual/opengl - x11-libs/libX11 - x11-libs/libXext - )" - -QA_PREBUILT="/opt/${PN}/* - /opt/${PN}/demomain/*" - -S=${WORKDIR} - -dir="/opt/${PN}" - -src_install() { - insinto "${dir}" - doins -r demomain Docs - doins WolfMP.xpm - dodoc CHANGES QUICKSTART - - exeinto "${dir}" - doexe bin/x86/wolfded.x86 openurl.sh - make_wrapper rtcwmp-demo-ded ./wolfded.x86 "${dir}" "${dir}" - newinitd "${FILESDIR}"/rtcwmp-demo-ded.rc rtcwmp-demo-ded - sed "s:GENTOO_DIR:${dir}:" "${ED}"/etc/init.d/rtcwmp-demo-ded || die - - if ! use dedicated; then - doexe bin/x86/wolf.x86 - make_wrapper rtcwmp-demo ./wolf.x86 "${dir}" "${dir}" - newicon WolfMP.xpm rtcwmp-demo.xpm - make_desktop_entry rtcwmp-demo "Return to Castle Wolfenstein (MP demo)" \ - rtcwmp-demo.xpm - fi -} - -pkg_postinst() { - elog "Install 'rtcwsp-demo' for single-player" - elog - if ! use dedicated; then - elog "Run 'rtcwmp-demo' for multi-player" - elog - fi - elog "Start a dedicated server with" - elog "'/etc/init.d/rtcwmp-demo-ded start'" - elog - elog "Start the server at boot with" - elog "'rc-update add rtcwmp-demo-ded default'" -} diff --git a/games-fps/rtcwsp-demo/Manifest b/games-fps/rtcwsp-demo/Manifest deleted file mode 100644 index 3f3b49246a20..000000000000 --- a/games-fps/rtcwsp-demo/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST wolfspdemo-linux-1.1b.x86.run 117813349 BLAKE2B bb5ee4bddc7bc11a093a383bf750717ca435facc5cc314a3465bea4e04bfa186012088a7cd36156c49bbc43647e8603db10f3929aaad033084eb510b65534112 SHA512 3fc540c8721780747e14fe66d634c1347ab0cbc09eb795edfad0802663caa63393ac5a224792fd3e423e725b66cc2738877324c86a08698e0d7b6f2f804b7392 diff --git a/games-fps/rtcwsp-demo/metadata.xml b/games-fps/rtcwsp-demo/metadata.xml deleted file mode 100644 index 5b9fbad7c313..000000000000 --- a/games-fps/rtcwsp-demo/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> -</maintainer> -<longdescription> -The sequel to id Software's classic Wolfenstein 3-D. This version of the demo -is only for single-player. -</longdescription> -</pkgmetadata> diff --git a/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild b/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild deleted file mode 100644 index e1522d043f67..000000000000 --- a/games-fps/rtcwsp-demo/rtcwsp-demo-1.1b-r2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit eutils unpacker - -MY_P="wolfspdemo-linux-${PV}.x86.run" - -DESCRIPTION="Return to Castle Wolfenstein - Single-player demo" -HOMEPAGE="http://games.activision.com/games/wolfenstein/" -SRC_URI="mirror://idsoftware/wolf/linux/old/${MY_P}" - -LICENSE="RTCW" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" -RESTRICT="bindist strip mirror" - -RDEPEND="sys-libs/glibc - amd64? ( sys-libs/glibc[multilib] ) - virtual/opengl[abi_x86_32(-)] - x11-libs/libX11[abi_x86_32(-)] - x11-libs/libXext[abi_x86_32(-)]" - -S=${WORKDIR} - -dir="/opt/${PN}" -#Ddir=${D}/${dir} - -src_install() { - insinto "${dir}" - doins -r demomain Docs - - exeinto "${dir}" - doexe bin/x86/wolfsp.x86 openurl.sh || die "copying exe" - - make_wrapper ${PN} ./wolfsp.x86 "${dir}" "${dir}" - - # fix buffer overflow - sed -i -e '/^exec/i \ -export MESA_EXTENSION_MAX_YEAR=2003 \ -export __GL_ExtensionStringVersion=17700' "${ED}/usr/bin/${PN}" - - doins WolfSP.xpm CHANGES - newicon WolfSP.xpm ${PN}.xpm - - make_desktop_entry ${PN} "Return to Castle Wolfenstein (SP demo)" \ - ${PN}.xpm -} - -pkg_postinst() { - elog "Install 'rtcwmp-demo' for multi-player" - elog - elog "Run '${PN}' for single-player" -} |