1 |
commit: f796c4b04dfb770b7829d839d1a57df050a2f682 |
2 |
Author: Nils Freydank <holgersson <AT> posteo <DOT> de> |
3 |
AuthorDate: Tue Feb 13 15:39:11 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 13 16:00:53 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f796c4b0 |
7 |
|
8 |
games-fps/urbanterror: Cleanup old version. |
9 |
|
10 |
There was a potential security issue. For details see |
11 |
upstream git commit 41425855eba78b31dde895116c4db2e8ce77a2b8. |
12 |
|
13 |
Closes: https://github.com/gentoo/gentoo/pull/7173 |
14 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
15 |
|
16 |
games-fps/urbanterror/Manifest | 1 - |
17 |
.../urbanterror/urbanterror-4.3.2_p20180206.ebuild | 166 --------------------- |
18 |
2 files changed, 167 deletions(-) |
19 |
|
20 |
diff --git a/games-fps/urbanterror/Manifest b/games-fps/urbanterror/Manifest |
21 |
index 624b5bf0267..f59343886fe 100644 |
22 |
--- a/games-fps/urbanterror/Manifest |
23 |
+++ b/games-fps/urbanterror/Manifest |
24 |
@@ -1,2 +1 @@ |
25 |
-DIST urbanterror-4.3.2_p20180206.tar.gz 10071986 BLAKE2B b809793f8bc1d878a97d882f60eef80124cff63ca5754f9178cdf9067acc2c6b52478362b8799c7b3718484d1a680ca932df8d97ebb34e35fc90eb2ae17582d6 SHA512 e4fcc53f9a7b8db1f5bc069acce5265db7009acc0588b29fff2a2b19b05d09f42cdb2c3f1811920221c75b6d3fc5f2e67fbb0f8476ee50644d8db9dd4f0b7c63 |
26 |
DIST urbanterror-4.3.2_p20180211.tar.gz 10071334 BLAKE2B 43bdbb59c7f4d7a02e87035d446d4e9dc91a2b8d2299afb97b09aa91f4062b732a71e9d624058d947dc5005f911b60f5ad7242b75b96d7e6fe750a01bc4a5494 SHA512 f55052f3fe5984af7d75aad95dc0673398839f8f79ed9d2a74865072f700712c9968c51e13e8e12d5b4c6b508a0a51b830d8c0afa159b88dba8200f7854f3da6 |
27 |
|
28 |
diff --git a/games-fps/urbanterror/urbanterror-4.3.2_p20180206.ebuild b/games-fps/urbanterror/urbanterror-4.3.2_p20180206.ebuild |
29 |
deleted file mode 100644 |
30 |
index 93dc5736a99..00000000000 |
31 |
--- a/games-fps/urbanterror/urbanterror-4.3.2_p20180206.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,166 +0,0 @@ |
34 |
-# Copyright 1999-2018 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI="6" |
38 |
-inherit eapi7-ver flag-o-matic toolchain-funcs xdg-utils |
39 |
- |
40 |
-DESCRIPTION="Hollywood tactical shooter based on the ioquake3 engine" |
41 |
-HOMEPAGE="http://urbanterror.info https://github.com/mickael9/ioq3" |
42 |
- |
43 |
-if [[ ${PV} == *9999 ]]; then |
44 |
- inherit git-r3 |
45 |
- EGIT_REPO_URI="https://github.com/mickael9/ioq3.git" |
46 |
- EGIT_BRANCH="urt" |
47 |
-else |
48 |
- COMMIT_ID="11a2b7462574a913e8960014cfc504f37903a3d6" |
49 |
- SRC_URI="https://github.com/mickael9/ioq3/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" |
50 |
- S="${WORKDIR}/ioq3-${COMMIT_ID}" |
51 |
- KEYWORDS="~amd64 ~x86" |
52 |
-fi |
53 |
- |
54 |
-LICENSE="GPL-2" |
55 |
-SLOT="0" |
56 |
-IUSE="+altgamma +client +curl debug mumble openal +opus server +skeetshootmod voip vorbis" |
57 |
-REQUIRED_USE=" || ( client server )" |
58 |
- |
59 |
-PATCHES=( "${FILESDIR}"/${PN}-4.3-fix-build_system.patch ) |
60 |
-RDEPEND=" |
61 |
- client? ( |
62 |
- media-libs/libsdl2:=[X,sound,joystick,opengl,video] |
63 |
- mumble? ( media-sound/mumble:= ) |
64 |
- openal? ( media-libs/openal:= ) |
65 |
- opus? ( media-libs/opusfile:= ) |
66 |
- vorbis? ( |
67 |
- media-libs/libogg:= |
68 |
- media-libs/libvorbis:= |
69 |
- ) |
70 |
- ) |
71 |
- curl? ( net-misc/curl ) |
72 |
- ~games-fps/urbanterror-data-4.3.2 |
73 |
- sys-libs/zlib:=[minizip] |
74 |
- virtual/jpeg:0 |
75 |
-" |
76 |
- |
77 |
-DEPEND="${RDEPEND}" |
78 |
- |
79 |
-pkg_pretend() { |
80 |
- if use client; then |
81 |
- if ! use openal && ! use opus && ! use vorbis; then |
82 |
- ewarn |
83 |
- ewarn "No sound implementation selected. Enable 'openal', 'opus' or 'vorbis' USE flag to get sound!" |
84 |
- fi |
85 |
- fi |
86 |
-} |
87 |
- |
88 |
-src_configure() { |
89 |
- default |
90 |
- |
91 |
- tc-export CC |
92 |
-} |
93 |
- |
94 |
-src_compile() { |
95 |
- # Workaround for used zlib macro, which got renamed in Gentoo |
96 |
- # wrt bug #449510 |
97 |
- append-cppflags "-DOF=_Z_OF" |
98 |
- |
99 |
- local my_arch=$(usex amd64 "x86_64" "i386") |
100 |
- |
101 |
- emake \ |
102 |
- ARCH=${my_arch} \ |
103 |
- DEFAULT_BASEDIR="/usr/share/urbanterror" \ |
104 |
- BUILD_CLIENT=$(usex "client" 1 0) \ |
105 |
- BUILD_SERVER=$(usex "server" 1 0) \ |
106 |
- BUILD_BASEGAME=1 \ |
107 |
- BUILD_MISSIONPACK=0 \ |
108 |
- BUILD_GAME_SO=0 \ |
109 |
- BUILD_GAME_QVM=0 \ |
110 |
- BUILD_STANDALONE=1 \ |
111 |
- SERVERBIN="Quake3-UrT-Ded" \ |
112 |
- CLIENTBIN="Quake3-UrT" \ |
113 |
- USE_RENDERER_DLOPEN=0 \ |
114 |
- USE_YACC=0 \ |
115 |
- BASEGAME="q3ut4"\ |
116 |
- BASEGAME_CFLAGS="${CFLAGS}" \ |
117 |
- USE_OPENAL=$(usex "openal" 1 0) \ |
118 |
- USE_OPENAL_DLOPEN=$(usex "openal" 1 0) \ |
119 |
- USE_CURL=$(usex "curl" 1 0) \ |
120 |
- USE_CURL_DLOPEN=$(usex "curl" 1 0) \ |
121 |
- USE_CODEC_VORBIS=$(usex "vorbis" 1 0) \ |
122 |
- USE_CODEC_OPUS=$(usex "opus" 1 0) \ |
123 |
- USE_MUMBLE=$(usex "mumble" 1 0) \ |
124 |
- USE_SKEETMOD=$(usex "skeetshootmod" 1 0) \ |
125 |
- USE_VOIP=$(usex "mumble" 1 0) \ |
126 |
- USE_INTERNAL_LIBS=0 \ |
127 |
- USE_LOCAL_HEADERS=0 \ |
128 |
- USE_ALTGAMMA=$(usex "altgamma" 1 0) |
129 |
-} |
130 |
- |
131 |
-src_install() { |
132 |
- local my_arch=$(usex amd64 "x86_64" "i386") |
133 |
- # docs from ioq3, not from UrbanTerror ZIP file |
134 |
- dodoc ChangeLog README.md README.ioq3.md md4-readme.txt |
135 |
- |
136 |
- if use client; then |
137 |
- newbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT.${my_arch} ${PN} |
138 |
- # Shooter as defined in https://specifications.freedesktop.org/menu-spec/latest/apas02.html |
139 |
- make_desktop_entry ${PN} "UrbanTerror" ${PN} |
140 |
- fi |
141 |
- |
142 |
- if use server && ! use client; then |
143 |
- # dedicated server only |
144 |
- newbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT-Ded.${my_arch} ${PN}-ded |
145 |
- fi |
146 |
-} |
147 |
- |
148 |
-pkg_postinst() { |
149 |
- use client && xdg_desktop_database_update |
150 |
- |
151 |
- if [[ -z "${REPLACING_VERSIONS}" ]]; then |
152 |
- # This is a new installation |
153 |
- if use openal; then |
154 |
- elog "" |
155 |
- elog "You might need to set:" |
156 |
- elog " seta s_useopenal \"1\"" |
157 |
- elog "in your ~/.q3a/q3ut4/q3config.cfg for openal to work." |
158 |
- fi |
159 |
- |
160 |
- if use altgamma; then |
161 |
- elog "" |
162 |
- elog "You might need to set:" |
163 |
- elog " seta r_altgamma \"1\"" |
164 |
- elog "in your ~/.q3a/q3ut4/q3config.cfg for altgamma to work." |
165 |
- elog "Be aware that altgamme works on a global scale, so external" |
166 |
- elog "applications like redshift can cause trouble. Disabling" |
167 |
- elog "these while playing is a usable workaround." |
168 |
- fi |
169 |
- |
170 |
- if ! use altgamma; then |
171 |
- elog "" |
172 |
- elog "If you are using a modesetting graphics driver you might" |
173 |
- elog "consider setting USE=\"altgamma\"." |
174 |
- elog "For details take a look at:" |
175 |
- elog "https://bugs.freedesktop.org/show_bug.cgi?id=27222" |
176 |
- fi |
177 |
- |
178 |
- if ! use client; then |
179 |
- elog "" |
180 |
- elog "You disabled client support. You won't be able to connect" |
181 |
- elog "to any servers and play. If you want to do so, enable" |
182 |
- elog "USE=\"client\"." |
183 |
- fi |
184 |
- fi |
185 |
- |
186 |
- if ver_test -ge 4.3.2_p20171105; then |
187 |
- # Yippee, new features! |
188 |
- if use skeetshootmod; then |
189 |
- elog "" |
190 |
- elog "You might need to set:" |
191 |
- elog " seta sv_skeetshoot \"1\"" |
192 |
- elog "in your ~/.q3a/q3ut4/q3config.cfg to use the skeetshoot mod." |
193 |
- fi |
194 |
- fi |
195 |
-} |
196 |
- |
197 |
-pkg_postrm() { |
198 |
- use client && xdg_desktop_database_update |
199 |
-} |