Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-fps/unreal-tournament: unreal-tournament-451.ebuild ChangeLog
Date: Mon, 29 Jun 2009 16:41:19
Message-Id: E1MLJuv-0005jS-T1@stork.gentoo.org
1 mr_bones_ 09/06/29 16:41:17
2
3 Modified: unreal-tournament-451.ebuild ChangeLog
4 Log:
5 more quoting (bug #275839)
6 (Portage version: 2.1.6.13/cvs/Linux i686)
7
8 Revision Changes Path
9 1.26 games-fps/unreal-tournament/unreal-tournament-451.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/unreal-tournament/unreal-tournament-451.ebuild?rev=1.26&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/unreal-tournament/unreal-tournament-451.ebuild?rev=1.26&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/unreal-tournament/unreal-tournament-451.ebuild?r1=1.25&r2=1.26
14
15 Index: unreal-tournament-451.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament/unreal-tournament-451.ebuild,v
18 retrieving revision 1.25
19 retrieving revision 1.26
20 diff -u -r1.25 -r1.26
21 --- unreal-tournament-451.ebuild 29 Feb 2008 19:20:21 -0000 1.25
22 +++ unreal-tournament-451.ebuild 29 Jun 2009 16:41:17 -0000 1.26
23 @@ -1,6 +1,6 @@
24 -# Copyright 1999-2008 Gentoo Foundation
25 +# Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament/unreal-tournament-451.ebuild,v 1.25 2008/02/29 19:20:21 carlo Exp $
28 +# $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 $
29
30 inherit eutils games
31
32 @@ -40,33 +40,33 @@
33 src_install() {
34 local dir=${GAMES_PREFIX_OPT}/${PN}
35 local Ddir=${D}/${dir}
36 - dodir ${dir}
37 + dodir "${dir}"
38
39 # Help, Logs, Music, Textures, Web
40 - cp -rf ${CDROM_ROOT}/{Help,Logs,Music,Textures,Web} ${Ddir}/ || die "copy Help, Logs, Music, Textures, Web"
41 - tar -zxf Credits.tar.gz -C ${Ddir} || die "extract credits texture"
42 + cp -rf "${CDROM_ROOT}"/{Help,Logs,Music,Textures,Web} "${Ddir}/" || die "copy Help, Logs, Music, Textures, Web"
43 + tar -zxf Credits.tar.gz -C "${Ddir}" || die "extract credits texture"
44 # NetGamesUSA.com
45 - tar -zxf NetGamesUSA.com.tar.gz -C ${Ddir}/ || die "extract NetGamesUSA.com"
46 + tar -zxf NetGamesUSA.com.tar.gz -C "${Ddir}/" || die "extract NetGamesUSA.com"
47 # Sounds
48 - dodir ${dir}/Sounds
49 - cp -rf ${CDROM_ROOT}/Sounds/*.uax ${Ddir}/Sounds/ || die "copy Sounds"
50 + dodir "${dir}"/Sounds
51 + cp -rf "${CDROM_ROOT}"/Sounds/*.uax "${Ddir}"/Sounds/ || die "copy Sounds"
52
53 # System
54 if use 3dfx ; then
55 - tar -zxf Glide.ini.tar.gz -C ${Ddir} || die "install Glide ini"
56 + tar -zxf Glide.ini.tar.gz -C "${Ddir}" || die "install Glide ini"
57 else
58 - tar -zxf OpenGL.ini.tar.gz -C ${Ddir} || die "install OpenGL ini"
59 + tar -zxf OpenGL.ini.tar.gz -C "${Ddir}" || die "install OpenGL ini"
60 fi
61 - tar -zxf data.tar.gz -C ${Ddir} || die "extract System data"
62 - cp ${CDROM_ROOT}/System/*.u ${Ddir}/System/ || die "copy System data"
63 + tar -zxf data.tar.gz -C "${Ddir}" || die "extract System data"
64 + cp "${CDROM_ROOT}"/System/*.u "${Ddir}"/System/ || die "copy System data"
65
66 # the most important things, ucc & ut :)
67 - exeinto ${dir}
68 + exeinto "${dir}"
69 doexe bin/x86/{ucc,ut} || die "install ucc/ut"
70 - dosed "s:\`FindPath \$0\`:${dir}:" ${dir}/ucc
71 + dosed "s:\`FindPath \$0\`:${dir}:" "${dir}"/ucc
72
73 # install a few random files
74 - insinto ${dir}
75 + insinto "${dir}"
76 doins README icon.{bmp,xpm} || die "installing random files"
77
78 # install a menu item (closes bug #27542)
79 @@ -76,34 +76,34 @@
80
81 # first apply any patch remaints loki has for us
82 cd setup.data
83 - ./bin/Linux/x86/loki_patch patch.dat ${Ddir} >& /dev/null
84 + ./bin/Linux/x86/loki_patch patch.dat "${Ddir}" >& /dev/null
85 cd "${S}"
86
87 # finally, unleash the UTPG patch
88 - cp -rf UTPG/* ${Ddir}/
89 + cp -rf UTPG/* "${Ddir}/"
90 # fix a small bug until next official release
91 - dosed "/^LoadClassMismatch/s:%s.%s:%s:" ${dir}/System/Core.int
92 + dosed "/^LoadClassMismatch/s:%s.%s:%s:" "${dir}"/System/Core.int
93
94 # now we uncompress the maps (GOTY edition installs maps as .uz)
95 einfo "Uncompressing Maps ... this may take some time"
96 - dodir ${dir}/Maps
97 - cd ${Ddir}
98 + dodir "${dir}"/Maps
99 + cd "${Ddir}"
100 export HOME=${T}
101 export UT_DATA_PATH=${Ddir}/System
102 - for f in $(find ${CDROM_ROOT}/Maps/ -name '*.uz' -printf '%f ') ; do
103 - ./ucc decompress ${CDROM_ROOT}/Maps/${f} -nohomedir || die "uncompressing map ${f}"
104 - mv System/${f:0:${#f}-3} Maps/ || die "copy map ${f}"
105 + for f in $(find "${CDROM_ROOT}"/Maps/ -name '*.uz' -printf '%f ') ; do
106 + ./ucc decompress "${CDROM_ROOT}"/Maps/"${f}" -nohomedir || die "uncompressing map ${f}"
107 + mv "System/${f:0:${#f}-3}" Maps/ || die "copy map ${f}"
108 done
109 - cp -rf ${CDROM_ROOT}/Maps/*.unr ${Ddir}/Maps/ # some cd's have uncompressed maps ??
110 + cp -rf "${CDROM_ROOT}"/Maps/*.unr "${Ddir}"/Maps/ # some cd's have uncompressed maps ??
111
112 # now, since these files are coming off a cd, the times/sizes/md5sums wont
113 # be different ... that means portage will try to unmerge some files (!)
114 # we run touch on ${D} so as to make sure portage doesnt do any such thing
115 - find ${Ddir} -exec touch '{}' \;
116 + find "${Ddir}" -exec touch '{}' +
117
118 # export some symlinks so ppl can run
119 - dodir ${GAMES_BINDIR}
120 - dosym ${dir}/ut ${GAMES_BINDIR}/ut
121 + dodir "${GAMES_BINDIR}"
122 + dosym "${dir}/ut" "${GAMES_BINDIR}/ut"
123
124 prepgamesdirs
125 }
126
127
128
129 1.19 games-fps/unreal-tournament/ChangeLog
130
131 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/unreal-tournament/ChangeLog?rev=1.19&view=markup
132 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/unreal-tournament/ChangeLog?rev=1.19&content-type=text/plain
133 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/unreal-tournament/ChangeLog?r1=1.18&r2=1.19
134
135 Index: ChangeLog
136 ===================================================================
137 RCS file: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament/ChangeLog,v
138 retrieving revision 1.18
139 retrieving revision 1.19
140 diff -u -r1.18 -r1.19
141 --- ChangeLog 29 Feb 2008 19:20:21 -0000 1.18
142 +++ ChangeLog 29 Jun 2009 16:41:17 -0000 1.19
143 @@ -1,6 +1,10 @@
144 # ChangeLog for games-fps/unreal-tournament
145 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
146 -# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament/ChangeLog,v 1.18 2008/02/29 19:20:21 carlo Exp $
147 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
148 +# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament/ChangeLog,v 1.19 2009/06/29 16:41:17 mr_bones_ Exp $
149 +
150 + 29 Jun 2009; Michael Sterrett <mr_bones_@g.o>
151 + unreal-tournament-451.ebuild:
152 + more quoting (bug #275839)
153
154 29 Feb 2008; Carsten Lohrke <carlo@g.o>
155 unreal-tournament-451.ebuild: