summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2017-06-09 12:33:29 +0200
committerThomas Deutschmann <whissi@gentoo.org>2017-06-09 12:34:05 +0200
commitbee9c6050c05e972ed935abf908d595597bb0416 (patch)
tree5c6b71dfaf933754581145a16f2d4f4ab3089ca8 /games-fps/urbanterror
parentdev-ml/jbuilder: bump to 1.0 beta10 (diff)
downloadgentoo-bee9c6050c05e972ed935abf908d595597bb0416.tar.gz
gentoo-bee9c6050c05e972ed935abf908d595597bb0416.tar.bz2
gentoo-bee9c6050c05e972ed935abf908d595597bb0416.zip
games-fps/urbanterror: Security cleanup (bug #606702)
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'games-fps/urbanterror')
-rw-r--r--games-fps/urbanterror/Manifest4
-rw-r--r--games-fps/urbanterror/metadata.xml1
-rw-r--r--games-fps/urbanterror/urbanterror-4.2.023.ebuild158
3 files changed, 0 insertions, 163 deletions
diff --git a/games-fps/urbanterror/Manifest b/games-fps/urbanterror/Manifest
index 5ff4b23affe5..6264ada02b54 100644
--- a/games-fps/urbanterror/Manifest
+++ b/games-fps/urbanterror/Manifest
@@ -1,5 +1 @@
-DIST UrbanTerror-4.2.022-to-4.2.023.zip 15296685 SHA256 71d34f4245c264dd729d40cf76c1471c89606891f88fda28e007ebe6a052dde9 SHA512 2b35a34cf478939b850fd6f9b2f4a46f55259f32574799968ec4595c8e7c8930910ac6958bf03c99d63516cc4a41dbd6faaad4207326e42a19981561d25aff0e WHIRLPOOL bc13ec862ad829a5b417b114d50cc3f3dc1701b3c6fd136bafa0e2a68f0bbe44d03ea33a832e4882ab7cf63f3202b1ff6f62660bc69273542165d8e7f1e36d2f
-DIST UrbanTerror42_full022.zip 1924134151 SHA256 e8b0a2c3a7253c24cac4e5b24028a0c9841717ae867e74ae18a18fd9c7259fd6 SHA512 6da90696c8e0f2b5315bc2564e45e8d4ee708f5f42dc1ae26846a030798c1614ef938e0ed2028ceb69b7f5a59aa1a2310d73a20530f52be29e7c4e5819f6b290 WHIRLPOOL 9e428099bdfdad94cb554821dfd9128cd909c9c51c50b2009b8778aea69bb4be10be0c6a9299de76e60c9d5a22eb0dc06a1987f4851d360c718ed6f019554a36
-DIST urbanterror-4.2.023.tar.gz 12637911 SHA256 17c79f4ed1adc0859a20f0b19ab75f04e1e7ff518c882b5cd68199b44acff90f SHA512 c0b3fb0d53889561124ea034bd2b579c3b56489e751adf9479b86c54855b4f0917589a41caa7c1a534afee59983f77394a1c76dc92534dc84116a5566c19e8e5 WHIRLPOOL 68fa26a7a0ea19a1b7b3ced968515e1b326a9f7acabc30096b15880a772c4ca4faa764fb1fd4ab07d616718c550284af88cd03deeb8b11b7003b96336413d3ee
DIST urbanterror-4.3.2_p20170426.tar.gz 10058308 SHA256 8009516332e1f77eae3681b436e099fdd42ffa55d2691694eedc0ca94b194878 SHA512 e8107ab44fdb40bc14a548239185905a01120bbe960b8713e5959df18330fd845761350c5e8e5efd5fbfec10ad62ff9fef68420406cc4cfbe2af69ee66eff1f3 WHIRLPOOL 6aac15e44b0695501195ae172133f4b6788b9dffa5442af20d11626ad27ffd597c7f070c0fb95b0e0e8b8b3d6cf0e1bfc40b0a16abaa27c8f932ee90f19a1824
-DIST urbanterror.svg 1592 SHA256 0d7eb12a8fe8380e0d89199621414dd56ecdfe8a8b99eec5b95d925294521de9 SHA512 ff789b35d9b1a2282485495b0d1918c7169906aeac094e7a33c7d77cd51d4787733400e1b9851ce19b38e886508d5fdd09f6cfc96b37a5b41bd0cf403e456b98 WHIRLPOOL 281413cfeb881466c2d8b882d0aa4dcf19013630a462775345c69e78a0cb86c7efed14f5d22b453c89648da682ab5e98e3579a1c975994a8e90b9fb22c37892c
diff --git a/games-fps/urbanterror/metadata.xml b/games-fps/urbanterror/metadata.xml
index 8dcffcaca293..062f62f84665 100644
--- a/games-fps/urbanterror/metadata.xml
+++ b/games-fps/urbanterror/metadata.xml
@@ -18,7 +18,6 @@
<flag name="client">Build binary for client (includes code for non-dedicated server)</flag>
<flag name="opus">Use opus as sound codec</flag>
<flag name="mumble">Use Mumble for ingame VoIP (experimental)</flag>
- <flag name="pax_kernel">Triggers a paxmarking of the binary</flag>
<flag name="voip">Use ioq3 ingame VoIP (experimental)</flag>
<flag name="server">Build binary for dedicated server</flag>
</use>
diff --git a/games-fps/urbanterror/urbanterror-4.2.023.ebuild b/games-fps/urbanterror/urbanterror-4.2.023.ebuild
deleted file mode 100644
index a8975fa1ab41..000000000000
--- a/games-fps/urbanterror/urbanterror-4.2.023.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit check-reqs eutils gnome2-utils pax-utils games
-
-ENGINE_PV=${PV}
-FULL_P=UrbanTerror42_full022
-UPDATE_PV=${PV:0:3}.${FULL_P#*full}
-DESCRIPTION="Hollywood tactical shooter based on the ioquake3 engine"
-HOMEPAGE="http://www.urbanterror.info/home/"
-SRC_URI="http://up.barbatos.fr/urt/${FULL_P}.zip
- https://github.com/Barbatos/ioq3-for-UrbanTerror-4/archive/release-${ENGINE_PV}.tar.gz -> ${PN}-${ENGINE_PV}.tar.gz
- https://upload.wikimedia.org/wikipedia/commons/5/56/Urbanterror.svg -> ${PN}.svg"
-
-# fetch updates
-if [[ ${FULL_P#*full} != ${PV#*.} ]] ; then
- UPDATE_I=${UPDATE_PV:5:2}
- while [[ ${UPDATE_I} -lt ${PV:5:2} ]] ; do
- SRC_URI="${SRC_URI} http://up.barbatos.fr/urt/UrbanTerror-${PV:0:5}${UPDATE_I}-to-${PV:0:5}$(( ${UPDATE_I} + 1)).zip"
- UPDATE_I=$(( ${UPDATE_I} + 1))
- done
-fi
-unset UPDATE_I
-
-LICENSE="GPL-2 Q3AEULA-20000111 urbanterror-4.2-maps"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="+altgamma +curl debug dedicated openal pax_kernel +sdl server smp vorbis"
-RESTRICT="mirror"
-
-RDEPEND="
- !dedicated? (
- virtual/opengl
- curl? ( net-misc/curl )
- openal? ( media-libs/openal )
- sdl? ( media-libs/libsdl[X,sound,joystick,opengl,video] )
- !sdl? ( x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXxf86dga
- x11-libs/libXxf86vm )
- vorbis? ( media-libs/libogg
- media-libs/libvorbis )
- )"
-DEPEND="${RDEPEND}
- app-arch/unzip
- dedicated? ( curl? ( net-misc/curl ) )"
-
-S=${WORKDIR}/ioq3-for-UrbanTerror-4-release-${ENGINE_PV}
-S_DATA=${WORKDIR}/UrbanTerror42
-
-CHECKREQS_DISK_BUILD="3300M"
-CHECKREQS_DISK_USR="1550M"
-
-pkg_pretend() {
- check-reqs_pkg_pretend
-
- if ! use dedicated ; then
- if ! use sdl && ! use openal ; then
- ewarn
- ewarn "Sound support disabled. Enable 'sdl' or 'openal' useflag."
- ewarn
- fi
- fi
-}
-
-src_unpack() {
- local UPDATE_I
- default
- # apply updates
- if [[ ${FULL_P#*full} != ${PV##*.} ]] ; then
- UPDATE_I=${UPDATE_PV:5:2}
- while [[ ${UPDATE_I} -lt ${PV:5:2} ]] ; do
- cp -dRpf \
- "${WORKDIR}"/UrbanTerror-${PV:0:5}${UPDATE_I}-to-${PV:0:5}$((${UPDATE_I} + 1))/* \
- "${S_DATA}"/ || die
- UPDATE_I=$(( ${UPDATE_I} + 1))
- done
- fi
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-${ENGINE_PV}-build.patch \
- "${FILESDIR}"/${PN}-${ENGINE_PV}-nocurl.patch
-}
-
-src_compile() {
- buildit() { use $1 && echo 1 || echo 0 ; }
- nobuildit() { use $1 && echo 0 || echo 1 ; }
-
- emake \
- ARCH=$(usex amd64 "x86_64" "i386") \
- DEFAULT_BASEDIR="${GAMES_DATADIR}/${PN}" \
- BUILD_CLIENT=$(nobuildit dedicated) \
- BUILD_CLIENT_SMP=$(usex smp "$(nobuildit dedicated)" "0") \
- BUILD_SERVER=$(usex dedicated "1" "$(buildit server)") \
- USE_SDL=$(buildit sdl) \
- USE_OPENAL=$(buildit openal) \
- USE_OPENAL_DLOPEN=0 \
- USE_CURL=$(buildit curl) \
- USE_CURL_DLOPEN=0 \
- USE_CODEC_VORBIS=$(buildit vorbis) \
- USE_ALTGAMMA=$(buildit altgamma) \
- USE_LOCAL_HEADERS=0 \
- Q="" \
- $(usex debug "debug" "release")
-}
-
-src_install() {
- local my_arch=$(usex amd64 "x86_64" "i386")
-
- dodoc ChangeLog README md4-readme.txt
- dodoc "${S_DATA}"/q3ut4/readme42.txt
- insinto "${GAMES_DATADIR}"/${PN}/q3ut4
- doins "${S_DATA}"/q3ut4/*.pk3
-
- if use !dedicated ; then
- newgamesbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT$(usex smp "-smp" "").${my_arch} ${PN}
- doicon -s scalable "${DISTDIR}"/${PN}.svg
- make_desktop_entry ${PN} "UrbanTerror"
- fi
-
- if use dedicated || use server ; then
- newgamesbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT-Ded.${my_arch} ${PN}-dedicated
- docinto examples
- dodoc "${S_DATA}"/q3ut4/{server_example.cfg,mapcycle_example.txt}
- fi
-
- prepgamesdirs
-
- if use pax_kernel; then
- pax-mark m "${D}""${GAMES_BINDIR}"/${PN} || die
- fi
-
-}
-
-pkg_preinst() {
- games_pkg_preinst
- use dedicated || gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- use dedicated || gnome2_icon_cache_update
-
- if use openal && ! use dedicated ; then
- einfo
- elog "You might need to set:"
- elog " seta s_useopenal \"1\""
- elog "in your ~/.q3a/q3ut4/q3config.cfg for openal to work."
- einfo
- fi
-}
-
-pkg_postrm() {
- use dedicated || gnome2_icon_cache_update
-}