From fd04307cc78686f1bff349f1153b3bc6c07b0ebb Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Wed, 9 Apr 2008 17:09:43 +0000 Subject: Fix permissions on executables, bug #217034 (Portage version: 2.1.5_rc2, RepoMan options: --force) --- games-sports/racer-bin/ChangeLog | 8 +++- games-sports/racer-bin/racer-bin-0.5.0-r1.ebuild | 59 ------------------------ games-sports/racer-bin/racer-bin-0.5.0-r2.ebuild | 59 ++++++++++++++++++++++++ 3 files changed, 66 insertions(+), 60 deletions(-) delete mode 100644 games-sports/racer-bin/racer-bin-0.5.0-r1.ebuild create mode 100644 games-sports/racer-bin/racer-bin-0.5.0-r2.ebuild (limited to 'games-sports/racer-bin') diff --git a/games-sports/racer-bin/ChangeLog b/games-sports/racer-bin/ChangeLog index 9053e42a4232..9a9dd5aef9b0 100644 --- a/games-sports/racer-bin/ChangeLog +++ b/games-sports/racer-bin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-sports/racer-bin # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/racer-bin/ChangeLog,v 1.8 2008/02/08 08:07:48 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/racer-bin/ChangeLog,v 1.9 2008/04/09 17:09:43 nyhm Exp $ + +*racer-bin-0.5.0-r2 (09 Apr 2008) + + 09 Apr 2008; Tristan Heaven -racer-bin-0.5.0-r1.ebuild, + +racer-bin-0.5.0-r2.ebuild: + Fix permissions on executables, bug #217034 08 Feb 2008; Michael Sterrett racer-bin-0.5.0-r1.ebuild: diff --git a/games-sports/racer-bin/racer-bin-0.5.0-r1.ebuild b/games-sports/racer-bin/racer-bin-0.5.0-r1.ebuild deleted file mode 100644 index 00919ea2b612..000000000000 --- a/games-sports/racer-bin/racer-bin-0.5.0-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/racer-bin/racer-bin-0.5.0-r1.ebuild,v 1.9 2008/02/08 08:07:47 mr_bones_ Exp $ - -inherit eutils games - -DESCRIPTION="A car simulation game focusing on realism, in the style of Grand Prix Legends" -HOMEPAGE="http://www.racer.nl/" -SRC_URI="http://download.tdconline.dk/pub/boomtown/racesimcentral/rr_data${PV}.tgz - http://download.tdconline.dk/pub/boomtown/racesimcentral/rr_bin_linux${PV}.tgz" - -LICENSE="Racer" -SLOT="0" -KEYWORDS="-* x86" -RESTRICT="strip" -IUSE="" -QA_TEXTRELS=${GAMES_PREFIX_OPT:1}/${PN}/data/plugins/motion/move.so - -DEPEND="=media-libs/fmod-3*" -RDEPEND="${DEPEND} - virtual/opengl - virtual/glu - media-libs/libsdl - sys-libs/lib-compat" - -S=${WORKDIR}/racer${PV} - -src_install() { - local dir=${GAMES_PREFIX_OPT}/${PN} - local f - - dodoc *.txt || die "dodoc failed" - rm -f *.txt - - # Enable sound - sed -i '222 s/0/1/' racer.ini || die "sed failed" - - insinto "${dir}" - doins -r * || die "doins failed" - - for f in bin/* ; do - games_make_wrapper ${f#*/} ${f} "${dir}" "${dir}"/bin - fperms 770 "${dir}"/${f} || die "fperms ${f} failed" - done - - local libfmod=$(find /usr/lib -maxdepth 1 -name 'libfmod-*so' -type f) - dosym ${libfmod} "${dir}"/bin/libfmod-3.61.so - dosym ${libfmod} "${dir}"/bin/libfmod-3.5.so - - # Fix up some permissions for bug 31694 - for f in racer.ini data/drivers/default/driver.ini \ - data/tracks/carlswood_nt/bestlaps.ini - do - fperms 660 "${dir}"/${f} || die "fperms ${f} failed" - done - - make_desktop_entry racer Racer - prepgamesdirs -} diff --git a/games-sports/racer-bin/racer-bin-0.5.0-r2.ebuild b/games-sports/racer-bin/racer-bin-0.5.0-r2.ebuild new file mode 100644 index 000000000000..09a412cd618e --- /dev/null +++ b/games-sports/racer-bin/racer-bin-0.5.0-r2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/racer-bin/racer-bin-0.5.0-r2.ebuild,v 1.1 2008/04/09 17:09:43 nyhm Exp $ + +inherit eutils games + +DESCRIPTION="A car simulation game focusing on realism, in the style of Grand Prix Legends" +HOMEPAGE="http://www.racer.nl/" +SRC_URI="http://download.tdconline.dk/pub/boomtown/racesimcentral/rr_data${PV}.tgz + http://download.tdconline.dk/pub/boomtown/racesimcentral/rr_bin_linux${PV}.tgz" + +LICENSE="Racer" +SLOT="0" +KEYWORDS="-* x86" +RESTRICT="strip" +IUSE="" +QA_TEXTRELS=${GAMES_PREFIX_OPT:1}/${PN}/data/plugins/motion/move.so + +DEPEND="=media-libs/fmod-3*" +RDEPEND="${DEPEND} + virtual/opengl + virtual/glu + media-libs/libsdl + sys-libs/lib-compat" + +S=${WORKDIR}/racer${PV} + +src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN} + local f + + dodoc *.txt || die "dodoc failed" + rm -f *.txt + + # Enable sound + sed -i '222 s/0/1/' racer.ini || die "sed failed" + + insinto "${dir}" + doins -r * || die "doins failed" + + for f in bin/* ; do + games_make_wrapper ${f#*/} ${f} "${dir}" "${dir}"/bin + fperms 750 "${dir}"/${f} || die "fperms ${f} failed" + done + + local libfmod=$(find /usr/lib -maxdepth 1 -name 'libfmod-*so' -type f) + dosym ${libfmod} "${dir}"/bin/libfmod-3.61.so + dosym ${libfmod} "${dir}"/bin/libfmod-3.5.so + + # Fix up some permissions for bug 31694 + for f in racer.ini data/drivers/default/driver.ini \ + data/tracks/carlswood_nt/bestlaps.ini + do + fperms 660 "${dir}"/${f} || die "fperms ${f} failed" + done + + make_desktop_entry racer Racer + prepgamesdirs +} -- cgit v1.2.3-65-gdbad