diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-06-29 16:41:17 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-06-29 16:41:17 +0000 |
commit | bd1a89c8b445968eab0744fd23475ea8ac89d601 (patch) | |
tree | 6db2e4ffa5e3f280038d581fa96b5fc495b36990 /games-fps | |
parent | add icu use dep (bug #264971) (diff) | |
download | historical-bd1a89c8b445968eab0744fd23475ea8ac89d601.tar.gz historical-bd1a89c8b445968eab0744fd23475ea8ac89d601.tar.bz2 historical-bd1a89c8b445968eab0744fd23475ea8ac89d601.zip |
more quoting (bug #275839)
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/unreal-tournament/ChangeLog | 8 | ||||
-rw-r--r-- | games-fps/unreal-tournament/Manifest | 4 | ||||
-rw-r--r-- | games-fps/unreal-tournament/unreal-tournament-451.ebuild | 54 |
3 files changed, 35 insertions, 31 deletions
diff --git a/games-fps/unreal-tournament/ChangeLog b/games-fps/unreal-tournament/ChangeLog index b46a78ef9be4..062fbdd31250 100644 --- a/games-fps/unreal-tournament/ChangeLog +++ b/games-fps/unreal-tournament/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-fps/unreal-tournament -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament/ChangeLog,v 1.18 2008/02/29 19:20:21 carlo Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament/ChangeLog,v 1.19 2009/06/29 16:41:17 mr_bones_ Exp $ + + 29 Jun 2009; Michael Sterrett <mr_bones_@gentoo.org> + unreal-tournament-451.ebuild: + more quoting (bug #275839) 29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> unreal-tournament-451.ebuild: diff --git a/games-fps/unreal-tournament/Manifest b/games-fps/unreal-tournament/Manifest index 08993affb447..6e28863fcccc 100644 --- a/games-fps/unreal-tournament/Manifest +++ b/games-fps/unreal-tournament/Manifest @@ -1,5 +1,5 @@ DIST UTPGPatch451.tar.bz2 3064473 RMD160 6d1d54bfb67a0ab5996a809f7b5050925141f703 SHA1 b41da146dd67d7f60f1c8b52ed829c84b99207d2 SHA256 31a07fb289841ceba36ca707fafd8180f48e462a53a62a2b34d5bc0f61c2481d DIST ut-install-436.run 6225010 RMD160 e57436c9bb5615ac4c152cce1d022878468fce16 SHA1 da91bc746ea098455f01b0122f85c85c04c0519d SHA256 4008c7501a530c1fb5b8143b8e92baee59ef769c0bffa26c09e9bbb2673bc377 -EBUILD unreal-tournament-451.ebuild 3707 RMD160 d12610117002c26801de2fc8be3337caae44c60c SHA1 9c0a8417e37fbb609d4043e44481e60cf8bc9815 SHA256 4f1afd0d79fe080984ec9010fe8412e76e5c29de8389360f6bf311b231d7110a -MISC ChangeLog 3352 RMD160 27e26c599fb394b0a7c1106d05b70984f5b2cf1a SHA1 d34f8c5230412d78aaea52dc487835419043952a SHA256 c62f7389de7e5e0cf3b2b9055e0e71352e9977c82bf3160c3f437734cf8127cd +EBUILD unreal-tournament-451.ebuild 3772 RMD160 a2906888e090b50b02e1f86ccc6ee371e82a2f89 SHA1 83e30128105658bdc6402c9ce9b67494cc2b6400 SHA256 2c9c7b05ede6e857fcd8d37adc9d5be8353cf69cb31f8d44bb239d8bda0766a1 +MISC ChangeLog 3473 RMD160 bb76a0a9bef82ff1974c090b1e7e5235e9966a23 SHA1 f14db85ecfd19bd511cdd9489a1f31e4416f4b83 SHA256 09852110b81838080b34ab36b36fcd508206aaf58010e6ad58e3998b5aeeccfa MISC metadata.xml 1566 RMD160 46ace31ab3718d3bce7d867b83a549083c3411b4 SHA1 cd1c7adc5b65111e4edbfc294d271ee92ed4e786 SHA256 a3e70b56f973953c49c104a7d0936f597a8a250d731725769b7bc3d60ce219f9 diff --git a/games-fps/unreal-tournament/unreal-tournament-451.ebuild b/games-fps/unreal-tournament/unreal-tournament-451.ebuild index d2bd9bd87296..587bcb730082 100644 --- a/games-fps/unreal-tournament/unreal-tournament-451.ebuild +++ b/games-fps/unreal-tournament/unreal-tournament-451.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament/unreal-tournament-451.ebuild,v 1.25 2008/02/29 19:20:21 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament/unreal-tournament-451.ebuild,v 1.26 2009/06/29 16:41:17 mr_bones_ Exp $ inherit eutils games @@ -40,33 +40,33 @@ src_unpack() { src_install() { local dir=${GAMES_PREFIX_OPT}/${PN} local Ddir=${D}/${dir} - dodir ${dir} + dodir "${dir}" # Help, Logs, Music, Textures, Web - cp -rf ${CDROM_ROOT}/{Help,Logs,Music,Textures,Web} ${Ddir}/ || die "copy Help, Logs, Music, Textures, Web" - tar -zxf Credits.tar.gz -C ${Ddir} || die "extract credits texture" + cp -rf "${CDROM_ROOT}"/{Help,Logs,Music,Textures,Web} "${Ddir}/" || die "copy Help, Logs, Music, Textures, Web" + tar -zxf Credits.tar.gz -C "${Ddir}" || die "extract credits texture" # NetGamesUSA.com - tar -zxf NetGamesUSA.com.tar.gz -C ${Ddir}/ || die "extract NetGamesUSA.com" + tar -zxf NetGamesUSA.com.tar.gz -C "${Ddir}/" || die "extract NetGamesUSA.com" # Sounds - dodir ${dir}/Sounds - cp -rf ${CDROM_ROOT}/Sounds/*.uax ${Ddir}/Sounds/ || die "copy Sounds" + dodir "${dir}"/Sounds + cp -rf "${CDROM_ROOT}"/Sounds/*.uax "${Ddir}"/Sounds/ || die "copy Sounds" # System if use 3dfx ; then - tar -zxf Glide.ini.tar.gz -C ${Ddir} || die "install Glide ini" + tar -zxf Glide.ini.tar.gz -C "${Ddir}" || die "install Glide ini" else - tar -zxf OpenGL.ini.tar.gz -C ${Ddir} || die "install OpenGL ini" + tar -zxf OpenGL.ini.tar.gz -C "${Ddir}" || die "install OpenGL ini" fi - tar -zxf data.tar.gz -C ${Ddir} || die "extract System data" - cp ${CDROM_ROOT}/System/*.u ${Ddir}/System/ || die "copy System data" + tar -zxf data.tar.gz -C "${Ddir}" || die "extract System data" + cp "${CDROM_ROOT}"/System/*.u "${Ddir}"/System/ || die "copy System data" # the most important things, ucc & ut :) - exeinto ${dir} + exeinto "${dir}" doexe bin/x86/{ucc,ut} || die "install ucc/ut" - dosed "s:\`FindPath \$0\`:${dir}:" ${dir}/ucc + dosed "s:\`FindPath \$0\`:${dir}:" "${dir}"/ucc # install a few random files - insinto ${dir} + insinto "${dir}" doins README icon.{bmp,xpm} || die "installing random files" # install a menu item (closes bug #27542) @@ -76,34 +76,34 @@ src_install() { # first apply any patch remaints loki has for us cd setup.data - ./bin/Linux/x86/loki_patch patch.dat ${Ddir} >& /dev/null + ./bin/Linux/x86/loki_patch patch.dat "${Ddir}" >& /dev/null cd "${S}" # finally, unleash the UTPG patch - cp -rf UTPG/* ${Ddir}/ + cp -rf UTPG/* "${Ddir}/" # fix a small bug until next official release - dosed "/^LoadClassMismatch/s:%s.%s:%s:" ${dir}/System/Core.int + dosed "/^LoadClassMismatch/s:%s.%s:%s:" "${dir}"/System/Core.int # now we uncompress the maps (GOTY edition installs maps as .uz) einfo "Uncompressing Maps ... this may take some time" - dodir ${dir}/Maps - cd ${Ddir} + dodir "${dir}"/Maps + cd "${Ddir}" export HOME=${T} export UT_DATA_PATH=${Ddir}/System - for f in $(find ${CDROM_ROOT}/Maps/ -name '*.uz' -printf '%f ') ; do - ./ucc decompress ${CDROM_ROOT}/Maps/${f} -nohomedir || die "uncompressing map ${f}" - mv System/${f:0:${#f}-3} Maps/ || die "copy map ${f}" + for f in $(find "${CDROM_ROOT}"/Maps/ -name '*.uz' -printf '%f ') ; do + ./ucc decompress "${CDROM_ROOT}"/Maps/"${f}" -nohomedir || die "uncompressing map ${f}" + mv "System/${f:0:${#f}-3}" Maps/ || die "copy map ${f}" done - cp -rf ${CDROM_ROOT}/Maps/*.unr ${Ddir}/Maps/ # some cd's have uncompressed maps ?? + cp -rf "${CDROM_ROOT}"/Maps/*.unr "${Ddir}"/Maps/ # some cd's have uncompressed maps ?? # now, since these files are coming off a cd, the times/sizes/md5sums wont # be different ... that means portage will try to unmerge some files (!) # we run touch on ${D} so as to make sure portage doesnt do any such thing - find ${Ddir} -exec touch '{}' \; + find "${Ddir}" -exec touch '{}' + # export some symlinks so ppl can run - dodir ${GAMES_BINDIR} - dosym ${dir}/ut ${GAMES_BINDIR}/ut + dodir "${GAMES_BINDIR}" + dosym "${dir}/ut" "${GAMES_BINDIR}/ut" prepgamesdirs } |