summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2008-07-29 01:20:04 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2008-07-29 01:20:04 +0000
commit5efd8a1c0a7d829eab5a22be274c629b3d79ed21 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904
parentRemoving packages/ebuilds which are already in the tree or no longer necessary. (diff)
downloadwolf31o2-5efd8a1c0a7d829eab5a22be274c629b3d79ed21.tar.gz
wolf31o2-5efd8a1c0a7d829eab5a22be274c629b3d79ed21.tar.bz2
wolf31o2-5efd8a1c0a7d829eab5a22be274c629b3d79ed21.zip
Removing all files, since I've moved over to using Git on my own server.HEADmaster
svn path=/; revision=211
-rw-r--r--games-fps/mohaa/Manifest2
-rw-r--r--games-fps/mohaa/mohaa-1.11_beta3.ebuild90
-rw-r--r--games-fps/ut2004-data/Manifest2
-rw-r--r--games-fps/ut2004-data/ut2004-data-3186-r3.ebuild216
-rw-r--r--games-fps/ut2004-data/ut2004-data-3186-r4.ebuild476
-rw-r--r--games-fps/ut2004/Manifest4
-rw-r--r--games-fps/ut2004/files/ut2004.xml7
-rw-r--r--games-fps/ut2004/ut2004-3369-r4.ebuild161
-rw-r--r--games-fps/ut2004/ut2004-3369-r5.ebuild168
-rw-r--r--games-strategy/civctp/civctp-1.2a.ebuild184
-rw-r--r--games-strategy/civctp/metadata.xml5
-rw-r--r--media-gfx/maya/ChangeLog89
-rw-r--r--media-gfx/maya/Manifest16
-rw-r--r--media-gfx/maya/files/50maya4
-rw-r--r--media-gfx/maya/files/digest-maya-6.50
-rw-r--r--media-gfx/maya/files/maya-docs17
-rw-r--r--media-gfx/maya/maya-6.5.ebuild240
-rw-r--r--media-gfx/maya/maya-8.0.ebuild208
-rw-r--r--media-gfx/maya/metadata.xml9
-rw-r--r--net-misc/cisco-vpnclient-3des/ChangeLog9
-rw-r--r--net-misc/cisco-vpnclient-3des/Manifest5
-rw-r--r--net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.8.01.0640.ebuild103
-rw-r--r--net-misc/cisco-vpnclient-3des/files/4.8.01.0640-2.6.24.patch241
-rw-r--r--net-misc/cisco-vpnclient-3des/files/4.8.01.0640-amd64.patch116
-rw-r--r--profiles/categories5
-rw-r--r--profiles/repo_name1
-rw-r--r--sys-apps/lm_sensors/Manifest11
-rw-r--r--sys-apps/lm_sensors/files/fancontrol-init.d33
-rw-r--r--sys-apps/lm_sensors/files/lm_sensors-2.10.4-sensors-detect-gentoo.patch111
-rw-r--r--sys-apps/lm_sensors/files/lm_sensors-3-init.d105
-rw-r--r--sys-apps/lm_sensors/files/lm_sensors-3.0.1-sensors-detect-gentoo.patch116
-rw-r--r--sys-apps/lm_sensors/files/lm_sensors-init.d105
-rw-r--r--sys-apps/lm_sensors/files/sensord-conf.d3
-rw-r--r--sys-apps/lm_sensors/files/sensord-init.d33
-rw-r--r--sys-apps/lm_sensors/lm_sensors-2.10.6.ebuild148
-rw-r--r--sys-apps/lm_sensors/lm_sensors-3.0.1.ebuild117
36 files changed, 0 insertions, 3160 deletions
diff --git a/games-fps/mohaa/Manifest b/games-fps/mohaa/Manifest
deleted file mode 100644
index 2c62e2d..0000000
--- a/games-fps/mohaa/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST mohaa-lnx-1.11-beta3.run 15383094 RMD160 7f58e610e814184731af9924c106b0f7d2f33a68 SHA1 07fd96f9e729b4c882c5ba94309ffe8a34daad5c SHA256 4201ccf2e6a2bdc19298c0860494a9790fce94a1609d15a67640c527cfa62b0e
-EBUILD mohaa-1.11_beta3.ebuild 2544 RMD160 e407d566ee427155271358dbb58156cc9eefd28b SHA1 c25aebc9c773ae05a48975c0e9fbeaa0d949d52e SHA256 5ece4158097cf0fde0d1c0e083ce1da19e2920979a5da5f934848a79970a7de2
diff --git a/games-fps/mohaa/mohaa-1.11_beta3.ebuild b/games-fps/mohaa/mohaa-1.11_beta3.ebuild
deleted file mode 100644
index 50f4b4b..0000000
--- a/games-fps/mohaa/mohaa-1.11_beta3.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils games
-
-DESCRIPTION="Medal of Honor : Allied Assault"
-HOMEPAGE="http://icculus.org/betas/mohaa/"
-SRC_URI="http://icculus.org/~ravage/mohaa/donotlinktomyfiles/${PN}-lnx-1.11-beta3.run"
-
-BIN_FILE="mohaa-lnxclient-beta3.tar.bz2"
-
-LICENSE=""
-SLOT="0"
-KEYWORDS="~x86"
-RESTRICT="strip"
-IUSE="cdinstall"
-
-RDEPEND="virtual/opengl"
-DEPEND="${RDEPEND}
- app-arch/unshield"
-
-S=${WORKDIR}
-dir=${GAMES_PREFIX_OPT}/${PN}
-
-src_unpack() {
- unpack_makeself ${A} || die "unpack_makeself failed"
- mkdir patch
- tar xvjpf ${BIN_FILE} -C patch 1> /dev/null || die
- use cdinstall && cdrom_get_cds data2.cab data3.cab
- if use cdinstall ; then
- einfo "Copying files from first CD ..."
- cp "${CDROM_ROOT}/data1.cab" ./ || die
- cp "${CDROM_ROOT}/data1.hdr" ./ || die
- cp "${CDROM_ROOT}/data2.cab" ./ || die
- eend 0
- cdrom_load_next_cd
- einfo "Linking files from second CD ..."
- ln -s "${CDROM_ROOT}/data3.cab" ./ || die
- ln -s "${CDROM_ROOT}/main/Pak2.pk3" ./ || die
- eend 0
- einfo "Unpacking files from CDs ..."
- unshield x data1.cab 1> /dev/null || die
- eend 0
- rm data1.cab data1.hdr data2.cab data3.cab
- fi
-}
-
-src_install() {
- newicon mohaa.xpm ${PN}.xpm
- games_make_wrapper ${PN} ./${PN}_lnx "${dir}" "${dir}"
- make_desktop_entry ${PN} "Medal of Honor - Allied Assault" ${PN}.xpm
- einfo "Installing files ..."
- insinto "${dir}"
- cd patch
- doins cgame.so fgame.so libSDL-1.2.so.0 openal.so README || die "doinsfailed"
- exeinto "${dir}"
- doexe mohaa_lnx
- cd ..
- insinto ${dir}/main
- doins *.pk3 || die
- if use cdinstall ; then
- doins Data_Files_Minimal/* || die
- insinto ${dir}/main/sound/music
- doins Music_Files/* || die
- insinto ${dir}/main/sound/amb_stereo
- doins Sound_AmbStereo_Files/* || die
- insinto ${dir}/main/sound/amb
- doins Sound_Amb_Files/* || die
- insinto ${dir}/main/sound/dialogue
- doins -r Sound_Dialogue_Files/* || die
- insinto ${dir}/main/sound/mechanics
- doins Sound_Mechanics_Files/* || die
- insinto ${dir}/main/sound/vehicle
- doins Sound_Vehicle_Files/* || die
- insinto ${dir}/main/sound/weapons
- doins -r Sound_Weapons_Files/* || die
- insinto ${dir}/main/video
- doins Video_Files/* || die
- fi
- eend 0
- prepgamesdirs
-}
-
-pkg_postinst() {
- if ! use cdinstall ; then
- einfo "You need the data files from Medal of Honor in ${GAMES_PREFIX_OPT}/${PN}/main."
- fi
- games_pkg_postinst
-}
diff --git a/games-fps/ut2004-data/Manifest b/games-fps/ut2004-data/Manifest
deleted file mode 100644
index 2f8fce7..0000000
--- a/games-fps/ut2004-data/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-EBUILD ut2004-data-3186-r3.ebuild 7730 RMD160 5e27bfc1c27a38daf06b507266128bf826a3908b SHA1 d1a6a6a4c2697db37286b85db4ec183381a55861 SHA256 bf8a8feb9015adc86394174cac61a2c9d15a2dd85ddd95af46a9a756e890e24b
-EBUILD ut2004-data-3186-r4.ebuild 17893 RMD160 0437faa444baf119553b1899783d7aa286a6f63c SHA1 ff80ebc5a82f1db9bdccf0b87c2e314127943540 SHA256 6b37793a0f5f39fd7e051e730eef871e99fd08985f68007e34c4c0e9908ea4db
diff --git a/games-fps/ut2004-data/ut2004-data-3186-r3.ebuild b/games-fps/ut2004-data/ut2004-data-3186-r3.ebuild
deleted file mode 100644
index 8dc4de0..0000000
--- a/games-fps/ut2004-data/ut2004-data-3186-r3.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-data/ut2004-data-3186-r3.ebuild,v 1.12 2007/03/12 15:44:29 genone Exp $
-
-inherit eutils games games-ut2k4mod
-
-DESCRIPTION="Unreal Tournament 2004 - This is the data portion of UT2004"
-HOMEPAGE="http://www.unrealtournament2004.com/"
-SRC_URI=""
-
-LICENSE="ut2003"
-SLOT="0"
-KEYWORDS="amd64 x86"
-RESTRICT="strip"
-IUSE=""
-QA_TEXTRELS="${GAMES_PREFIX_OPT:1}/ut2004/System/libSDL-1.2.so.0"
-
-DEPEND="games-util/uz2unpack"
-PDEPEND="games-fps/ut2004"
-
-S=${WORKDIR}
-
-GAMES_LICENSE_CHECK="yes"
-dir=${GAMES_PREFIX_OPT}/ut2004
-Ddir=${D}/${dir}
-
-grabdirs() {
- local d srcdir
-
- for d in {Music,Sounds,Speech,StaticMeshes,Textures} ; do
- srcdir=${CDROM_ROOT}/$1${d}
- # Is flexible to handle CD_ROOT vs CD_ROOT_1 mixups
- [[ -d "${srcdir}" ]] || srcdir=${CDROM_ROOT}/${d}
- if [[ -d "${srcdir}" ]] ; then
- insinto "${dir}"
- doins -r "${srcdir}" || die "doins ${srcdir} failed"
- fi
- done
-}
-
-pkg_setup() {
- games_pkg_setup
- ewarn "This is a huge package. If you do not have at least 7GB of free"
- ewarn "disk space in ${PORTAGE_TMPDIR} and also in ${GAMES_PREFIX_OPT} then"
- ewarn "you should abort this installation now and free up some space."
-}
-
-src_unpack() {
- check_dvd
-
- if [[ "${USE_DVD}" -eq 1 ]]
- then
- DISK1="CD1/"
- DISK2="CD2/"
- DISK3="CD3/"
- DISK4="CD4/"
- DISK5="CD5/"
- DISK6="CD6/"
- if [[ "${USE_ECE_DVD}" -eq 1 ]]
- then
- cdrom_get_cds "${DISK1}"System/UT2004.ini \
- "${DISK2}"Textures/2K4Fonts.utx.uz2 \
- "${DISK3}"Textures/ONSDeadVehicles-TX.utx.uz2 \
- "${DISK4}"Textures/XGameShaders2004.utx.uz2 \
- "${DISK5}"Speech/ons.xml \
- "${DISK6}"/Sounds/TauntPack.det_uax.uz2
- else
- cdrom_get_cds "${DISK1}"/System/UT2004.ini \
- "${DISK2}"/Textures/2K4Fonts.utx.uz2 \
- "${DISK3}"/Textures/ONSDeadVehicles-TX.utx.uz2 \
- "${DISK4}"/StaticMeshes/AlienTech.usx.uz2 \
- "${DISK5}"/Speech/ons.xml \
- "${DISK6}"/Sounds/TauntPack.det_uax.uz2
- fi
- else
- cdrom_get_cds System/UT2004.ini \
- Textures/2K4Fonts.utx.uz2 \
- Textures/ONSDeadVehicles-TX.utx.uz2 \
- StaticMeshes/AlienTech.usx.uz2 \
- Speech/ons.xml \
- Sounds/TauntPack.det_uax.uz2
- fi
- unpack_makeself "${CDROM_ROOT}"/linux-installer.sh \
- || die "unpacking linux installer"
- use x86 && unpack ./linux-x86.tar
- use amd64 && unpack ./linux-amd64.tar
-}
-
-src_install() {
- local diskno srcdir varname j
-
- # Disk 1
- einfo "Copying files from Disk 1..."
- insinto "${dir}"
- doins -r "${CDROM_ROOT}/${DISK1}"{Animations,ForceFeedback,Help,KarmaData,Maps,Sounds,Web} \
- || die "copying directories"
- insinto "${dir}"/System
- doins -r "${CDROM_ROOT}/${DISK1}"System/{editorres,*.{bat,bmp,dat,det,est,frt,ini,int,itt,kot,md5,smt,tmt,u,ucl,upl,url}} \
- || die "copying System files"
- insinto "${dir}"/Manual
- doins "${CDROM_ROOT}/${DISK1}"Manual/Manual.pdf \
- || die "copying manual"
- insinto "${dir}"/Benchmark/Stuff
- doins -r "${CDROM_ROOT}/${DISK1}"Benchmark/Stuff/* \
- || die "copying Benchmark files"
- cdrom_load_next_cd
-
- for diskno in {2..5} ; do
- einfo "Copying files from Disk ${diskno}..."
- varname="DISK${diskno}"
- srcdir=${!varname}
- grabdirs "${srcdir}"
- cdrom_load_next_cd
- done
-
- # Disk 6
- einfo "Copying files from Disk 6..."
- grabdirs "${DISK6}"
-
- # Create empty files in Benchmark
- for j in {CSVs,Logs,Results}
- do
- keepdir "${dir}"/Benchmark/${j}
- done
-
- # Install extra help files
- insinto "${dir}"/Help
- doins Unreal.bmp
-
- # Install EULA
- insinto "${dir}"
- doins UT2004_EULA.txt
-
- # Installing documentation/icon
- doins README.linux ut2004.xpm || die "copying readme/icon"
- dodoc README.linux || die "dodoc README.linux"
- doicon ut2004.xpm
-
- # Install System.inis
- insinto "${dir}"/System
- doins ini-{det,est,frt,int,itt,kot,smt,tmt}.tar
-
- # Copy ut2004
- exeinto "${dir}"
- doexe bin/ut2004 || die "copying ut2004"
-
- exeinto "${dir}"/System
- # We install the provided libraries because upstream wants it that way.
- # If you want to use your own system binaries, then feel free to uncomment
- # the following. You will also want to comment the doexe line below that
- # installs the libraries.
-# newexe System/openal.so openal.so-binary
-# newexe System/libSDL-1.2.so.0 libSDL-1.2.so.0-binary
- doexe System/{libSDL-1.2.so.0,openal.so} \
- || die "copying libraries"
-
- # Uncompressing files
- einfo "Uncompressing files... this *will* take a while..."
- for j in {Animations,Maps,Sounds,StaticMeshes,Textures}
- do
- fperms -R u+w "${dir}"/${j} || die "fperms in uncompress"
- games_ut_unpack "${Ddir}"/${j}
- done
-
- # Removing unneccessary files
- rm -f "${Ddir}"/Help/{InstallerLogo.bmp,SAPI-EULA.txt,{Unreal,UnrealEd}.ico}
- rm -rf "${Ddir}"/Speech/Redist
- rm -f "${Ddir}"/System/*.tar
- rm -f "${Ddir}"/System/{{License,Manifest}.smt,{ucc,StdOut}.log}
- rm -f "${Ddir}"/System/{User,UT2004,Manifest}.ini
- rm -f "${Ddir}"/System/{Manifest.int,Packages.md5}
-
- # Removing file collisions with ut2004-3369-r4
- rm -f "${Ddir}"/Help/UT2004Logo.bmp
- rm -f "${Ddir}"/System/{ALAudio.kot,AS-{Convoy,FallenCity,Glacier}.kot,bonuspack.{det,est,frt},BonusPack.{int,itt,u}}
- rm -f "${Ddir}"/System/{Build.ini,CacheRecords.ucl,Core.{est,frt,int,itt,u},CTF-January.kot,D3DDrv.kot,DM-1on1-Squader.kot}
- rm -f "${Ddir}"/System/{Editor,Engine,Gameplay,GamePlay,UnrealGame,UT2k4Assault,XInterface,XPickups,xVoting,XVoting,XWeapons,XWebAdmin}.{det,est,frt,int,itt,u}
- rm -f "${Ddir}"/System/{Fire.u,IpDrv.u,License.int,ONS-ArcticStronghold.kot}
- rm -f "${Ddir}"/System/{OnslaughtFull,onslaughtfull,UT2k4AssaultFull}.{det,est,frt,itt,u}
- rm -f "${Ddir}"/System/{GUI2K4,Onslaught,skaarjpack,SkaarjPack,XGame}.{det,est,frt,int,itt,kot,u}
- rm -f "${Ddir}"/System/{Setup,Window}.{det,est,frt,int,itt,kot}
- rm -f "${Ddir}"/System/XPlayers.{det,est,frt,int,itt}
- rm -f "${Ddir}"/System/{UnrealEd.u,UTClassic.u,UTV2004c.u,UTV2004s.u,UWeb.u,Vehicles.kot,Vehicles.u,Xweapons.itt}
- rm -f "${Ddir}"/System/{XAdmin.kot,XAdmin.u,XMaps.det,XMaps.est}
- rm -f "${Ddir}"/Web/ServerAdmin/{admins_home.htm,current_bots.htm,ut2003.css}
- rm -f "${Ddir}"/Web/ServerAdmin/ClassicUT/current_bots.htm
- rm -f "${Ddir}"/Web/ServerAdmin/UnrealAdminPage/{adminsframe.htm,admins_home.htm,admins_menu.htm,current_bots.htm,currentframe.htm,current_menu.htm}
- rm -f "${Ddir}"/Web/ServerAdmin/UnrealAdminPage/{defaultsframe.htm,defaults_menu.htm,footer.inc,mainmenu.htm,mainmenu_itemd.inc,rootframe.htm,UnrealAdminPage.css}
- rm -f "${Ddir}"/Web/ServerAdmin/UT2K3Stats/{admins_home.htm,current_bots.htm,ut2003stats.css}
-
- # Removing file collisions with ut2004-bonuspack-ece
- rm -f "${Ddir}"/Animations/{MechaSkaarjAnims,MetalGuardAnim,NecrisAnim,ONSBPAnimations}.ukx
- rm -f "${Ddir}"/Help/BonusPackReadme.txt
- rm -f "${Ddir}"/Maps/ONS-{Adara,IslandHop,Tricky,Urban}.ut2
- rm -f "${Ddir}"/Sounds/{CicadaSnds,DistantBooms,ONSBPSounds}.uax
- rm -f "${Ddir}"/StaticMeshes/{BenMesh02,BenTropicalSM01,HourAdara,ONS-BPJW1,PC_UrbanStatic}.usx
- rm -f "${Ddir}"/System/{ONS-Adara.int,ONS-IslandHop.int,ONS-Tricky.int,ONS-Urban.int,OnslaughtBP.int,xaplayersl3.upl}
- rm -f "${Ddir}"/Textures/{AW-2k4XP,BenTex02,BenTropical01,BonusParticles,CicadaTex,Construction_S}.utx
- rm -f "${Ddir}"/Textures/{HourAdaraTexor,ONSBPTextures,ONSBP_DestroyedVehicles,PC_UrbanTex,UT2004ECEPlayerSkins}.utx
-
- # Now, since these files are coming off a CD, the times/sizes/md5sums won't
- # be different ... that means portage will try to unmerge some files (!)
- # We run touch on ${D} so as to make sure portage doesn't do any such thing
- find "${Ddir}" -exec touch '{}' \;
-
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
-
- echo
- elog "This is only the data portion of the game. To play UT2004, you"
- elog "still need to emerge ut2004."
- echo
-}
diff --git a/games-fps/ut2004-data/ut2004-data-3186-r4.ebuild b/games-fps/ut2004-data/ut2004-data-3186-r4.ebuild
deleted file mode 100644
index b379bd3..0000000
--- a/games-fps/ut2004-data/ut2004-data-3186-r4.ebuild
+++ /dev/null
@@ -1,476 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils multilib games games-ut2k4mod
-
-DESCRIPTION="Unreal Tournament 2004 - this is the data portion of UT2004"
-HOMEPAGE="http://www.unrealtournament2004.com/"
-SRC_URI=""
-
-LICENSE="ut2003"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="dynamic icon"
-RESTRICT="strip"
-
-# Must assume for Midway DVDs that openal, libsdl & unshield are needed.
-# Needs >=app-arch/unshield-0.5-r1 due to bug #149235.
-# Needs imagemagick to extract the icon from some Midway DVDs.
-RDEPEND="media-libs/openal
- media-libs/libsdl"
-DEPEND="${RDEPEND}
- games-util/uz2unpack
- >=app-arch/unshield-0.5-r1
- icon? ( media-gfx/imagemagick )"
-# Ideally, will be downloading ut2004 while installing ut2004-data
-PDEPEND="games-fps/ut2004"
-
-S=${WORKDIR}
-dir=${GAMES_PREFIX_OPT}/ut2004
-Ddir=${D}/${dir}
-
-QA_TEXTRELS="${dir:1}/System/libSDL-1.2.so.0"
-
-GAMES_LICENSE_CHECK="yes"
-
-grabdirs() {
- local d srcdir
-
- for d in {Music,Sounds,Speech,StaticMeshes,Textures} ; do
- srcdir=${CDROM_ROOT}/$1${d}
- # Is flexible to handle CD_ROOT vs CD_ROOT_1 mixups
- [[ -d "${srcdir}" ]] || srcdir=${CDROM_ROOT}/${d}
- if [[ -d "${srcdir}" ]] ; then
- insinto "${dir}"
- doins -r "${srcdir}" || die "doins ${srcdir} failed"
- fi
- done
-}
-
-pkg_setup() {
- games_pkg_setup
-
- ewarn "This is a huge package. If you do not have at least 7GB of free"
- ewarn "disk space in ${PORTAGE_TMPDIR} and also in ${GAMES_PREFIX_OPT}"
- ewarn "then you should abort this installation now and free up some space."
-}
-
-src_unpack() {
- check_dvd
-
- if [[ "${USE_DVD}" -eq 1 ]] ; then
- if [[ "${USE_MIDWAY_DVD}" -eq 1 ]] ; then
- # Is 1 DVD, either UT2004-only or Anthology
- if [[ "${USE_GERMAN_MIDWAY_DVD}" -eq 1 ]] ; then
- cdrom_get_cds autorund/unreal.ico
- else
- cdrom_get_cds AutoRunData/Unreal.ico
- fi
- else
- DISK1="CD1/"
- DISK2="CD2/"
- DISK3="CD3/"
- DISK4="CD4/"
- DISK5="CD5/"
- DISK6="CD6/"
- if [[ "${USE_ECE_DVD}" -eq 1 ]] ; then
- # Editor's Choice Edition DVD
- cdrom_get_cds "${DISK1}"System/UT2004.ini \
- "${DISK2}"Textures/2K4Fonts.utx.uz2 \
- "${DISK3}"Textures/ONSDeadVehicles-TX.utx.uz2 \
- "${DISK4}"Textures/XGameShaders2004.utx.uz2 \
- "${DISK5}"Speech/ons.xml \
- "${DISK6}"Sounds/TauntPack.det_uax.uz2
- else
- # Original DVD
- cdrom_get_cds "${DISK1}"System/UT2004.ini \
- "${DISK2}"Textures/2K4Fonts.utx.uz2 \
- "${DISK3}"Textures/ONSDeadVehicles-TX.utx.uz2 \
- "${DISK4}"StaticMeshes/AlienTech.usx.uz2 \
- "${DISK5}"Speech/ons.xml \
- "${DISK6}"Sounds/TauntPack.det_uax.uz2
- fi
- fi
- else
- # 6 CDs
- cdrom_get_cds System/UT2004.ini \
- Textures/2K4Fonts.utx.uz2 \
- Textures/ONSDeadVehicles-TX.utx.uz2 \
- StaticMeshes/AlienTech.usx.uz2 \
- Speech/ons.xml \
- Sounds/TauntPack.det_uax.uz2
- fi
-
- if [[ "${USE_MIDWAY_DVD}" -ne 1 ]] ; then
- unpack_makeself "${CDROM_ROOT}"/linux-installer.sh \
- || die "unpacking linux installer"
- use x86 && unpack ./linux-x86.tar
- use amd64 && unpack ./linux-amd64.tar
- fi
-}
-
-src_install() {
- local cabfile diskno srcdir varname j
-
- if [[ "${USE_MIDWAY_DVD}" -eq 1 ]] ; then
- einfo "Copying files from UT2004 Midway DVD."
-
- if [[ -e "${CDROM_ROOT}"/Manual/Manual.pdf ]] ; then
- insinto "${dir}"/Manual
- doins "${CDROM_ROOT}"/Manual/Manual.pdf \
- || die "copying Manual.pdf"
- elif [[ -e "${CDROM_ROOT}"/Manual.pdf ]] ; then
- insinto "${dir}"/Manual
- doins "${CDROM_ROOT}"/Manual.pdf \
- || die "copying Manual.pdf"
- fi
-
- # Symlinks for unshield. data1&2.cab are both in Disk1.
- # unshield needs data1.hdr
- if [[ "${USE_GERMAN_MIDWAY_DVD}" -eq 1 ]] ; then
- ln -sfn "${CDROM_ROOT}/disk1/data1.hdr" .
- ln -sfn "${CDROM_ROOT}/disk1/data1.cab" .
- ln -sfn "${CDROM_ROOT}/disk1/data2.cab" .
- ln -sfn "${CDROM_ROOT}/disk2/data3.cab" .
- ln -sfn "${CDROM_ROOT}/disk3/data4.cab" .
- ln -sfn "${CDROM_ROOT}/disk4/data5.cab" .
- ln -sfn "${CDROM_ROOT}/disk5/data6.cab" .
- ln -sfn "${CDROM_ROOT}/disk6/data7.cab" .
- ln -sfn "${CDROM_ROOT}/disk7/data8.cab" .
- else
- ln -sfn "${CDROM_ROOT}/Disk1/data1.hdr" .
- ln -sfn "${CDROM_ROOT}/Disk1/data1.cab" .
- ln -sfn "${CDROM_ROOT}/Disk1/data2.cab" .
- ln -sfn "${CDROM_ROOT}/Disk2/data3.cab" .
- ln -sfn "${CDROM_ROOT}/Disk3/data4.cab" .
- ln -sfn "${CDROM_ROOT}/Disk4/data5.cab" .
- ln -sfn "${CDROM_ROOT}/Disk5/data6.cab" .
- # The Midway Anthology DVD contains up to data9.cab
- if [[ -e "${CDROM_ROOT}/Disk8/data9.cab" ]] ; then
- ln -sfn "${CDROM_ROOT}/Disk6/data7.cab" .
- ln -sfn "${CDROM_ROOT}/Disk7/data8.cab" .
- ln -sfn "${CDROM_ROOT}/Disk8/data9.cab" .
- fi
- fi
-
- # The big extraction
- einfo "Extracting from CAB files - this will take several minutes."
- unshield x data1.cab || die "unshield data1.cab failed"
-
- # Useful debugging information
- ls -R > extract-filelist.txt
-
- if [[ -d 4_UT2004_Animations ]] ; then
- # Delete the other games on the Anthology DVD
- rm -rf {1,2,3}_Unreal* 4_UT2004_EXE Launcher_English OCXFiles
- # Rename directories to be same as Midway UT2004-only DVD,
- # i.e. rename "4_UT2004_Animations" to "Animations".
- for j in 4_UT2004_* ; do
- mv -f "${j}" "${j:9}" || die "mv ${j} failed"
- done
- fi
-
- # The "logging" subdirectory is created by unshield.
- rm -rf logging
- rm -f *.{cab,hdr}
-
- for j in Animations Benchmark ForceFeedback Help KarmaData \
- Manual Maps Music Sounds Speech StaticMeshes \
- System Textures Web ; do
- einfo "Collating ${j}"
-
- # UT2004-only DVD has "All_*" dirs, and Anthology DVD has "*_All"
- if [[ -d "All_${j}" ]] ; then
- if [[ -d "${j}" ]] ; then
- cp -rf "All_${j}"/* "${j}" || die "cp All_${j}"
- else
- mv -f "All_${j}" "${j}" || die "mv All_${j}"
- fi
- fi
- if [[ -d "${j}_All" ]] ; then
- if [[ -d "${j}" ]] ; then
- cp -rf "${j}_All"/* "${j}" || die "cp ${j}_All"
- else
- mv -f "${j}_All" "${j}" || die "mv ${j}_All"
- fi
- fi
-
- if [[ -d "English_${j}" ]] ; then
- if [[ -d "${j}" ]] ; then
- cp -rf "English_${j}"/* "${j}" || die "cp English_${j}"
- else
- mv -f "English_${j}" "${j}" || die "mv English_${j}"
- fi
- fi
- if [[ -d "${j}_English" ]] ; then
- if [[ -d "${j}" ]] ; then
- cp -rf "${j}_English"/* "${j}" || die "cp ${j}_English"
- else
- mv -f "${j}_English" "${j}" || die "mv ${j}_English"
- fi
- fi
-
- # Ensure that the directory exists
- mkdir -p "${j}" || die
- done
-
- # Rearrange directories
- if [[ -d English_Sounds_Speech_System_Help ]] ; then
- # http://utforums.epicgames.com/showthread.php?t=558146
- for j in Sounds Speech System Help ; do
- cp -rf English_Sounds_Speech_System_Help/"${j}"/* "${j}" \
- || die "cp English_Sounds_Speech_System_Help/${j}"
- done
- fi
-
- if [[ ! -d Benchmark/Stuff ]] ; then
- mkdir -p Benchmark/Stuff || die
- cp -f BenchmarkStuff/timedemo.txt Benchmark/Stuff || die
- fi
-
- if [[ ! -d System/editorres ]] ; then
- mkdir -p System/editorres || die
- cp -rf Systemeditorres/* System/editorres || die
- fi
-
- if [[ ! -d Web/images ]] ; then
- mkdir -p Web/{images,ServerAdmin,Src} || die
- cp -rf Webimages/* Web/images || die
- cp -rf WebServerAdmin/* Web/ServerAdmin || die
- cp -rf WebSrc/* Web/Src || die
- fi
-
- # Straggling file. Seems safe to ignore.
- #[[ -e US_License.int ]] && mv -f US_License.int System
-
- # Remove unnecessary directories
- rm -rf Benchmark{CSVs,Logs,Results,Stuff}
- rm -rf Systemeditorres Web{images,ServerAdmin,Src}
- rm -rf \<* \[* _* All_* English_* *_All *_English
-
- # These files are created later, for all installations
- find . -type f -name 'DO_NOT_DELETE.ME' -delete
-
- # Sanity checks
- [[ -d Animations ]] || die "Animations directory does not exist."
- [[ -d Music ]] || die "Music directory does not exist."
-
- if [[ ! -e ut2004.xpm ]] && use icon ; then
- # Create ut2004.xpm desktop icon if possible
- if [[ -e Help/Unreal.ico ]] ; then
- einfo "Creating icon from Help/Unreal.ico"
- # Uses imagemagick to convert the icon
- convert Help/Unreal.ico ut2004.xpm \
- || die "convert Unreal.ico failed"
- mv -f ut2004-6.xpm ut2004.xpm || die
- # Remove the other graphics files that were extracted
- rm -f ut2004-?.xpm
- elif [[ -e "${CDROM_ROOT}"/AutoRunData/Unreal.ico ]] ; then
- einfo "Creating icon from /AutoRunData/Unreal.ico on DVD"
- # Uses imagemagick to convert the icon
- convert "${CDROM_ROOT}"/AutoRunData/Unreal.ico ut2004.xpm \
- || die "convert Unreal.ico failed"
- mv -f ut2004-6.xpm ut2004.xpm || die
- # Remove the other graphics files that were extracted
- rm -f ut2004-?.xpm
- elif [[ -e Help/Unreal.bmp ]] ; then
- einfo "Creating icon from Help/Unreal.bmp"
- # Uses imagemagick to convert the icon
- convert -transparent 'rgb(255,0,255)' Help/Unreal.bmp \
- ut2004.xpm || die "convert Unreal.bmp failed"
- # Remove pink border from icon. A shadow remains.
- mogrify -transparent 'rgb(252,2,252)' ut2004.xpm || die
- mogrify -transparent 'rgb(217,14,217)' ut2004.xpm || die
- mogrify -transparent 'rgb(228,10,228)' ut2004.xpm || die
- mogrify -transparent 'rgb(237,11,236)' ut2004.xpm || die
- mogrify -transparent 'rgb(246,6,246)' ut2004.xpm || die
- mogrify -transparent 'rgb(207,21,206)' ut2004.xpm || die
- mogrify -transparent 'rgb(243,10,243)' ut2004.xpm || die
- mogrify -transparent 'rgb(211,35,210)' ut2004.xpm || die
- mogrify -transparent 'rgb(170,69,168)' ut2004.xpm || die
- mogrify -transparent 'rgb(227,23,227)' ut2004.xpm || die
- mogrify -transparent 'rgb(215,20,215)' ut2004.xpm || die
- mogrify -transparent 'rgb(216,32,215)' ut2004.xpm || die
- mogrify -transparent 'rgb(152,82,149)' ut2004.xpm || die
- mogrify -transparent 'rgb(220,29,219)' ut2004.xpm || die
- mogrify -transparent 'rgb(186,56,185)' ut2004.xpm || die
- mogrify -transparent 'rgb(231,19,231)' ut2004.xpm || die
- mogrify -transparent 'rgb(165,74,163)' ut2004.xpm || die
- mogrify -transparent 'rgb(142,93,140)' ut2004.xpm || die
- mogrify -transparent 'rgb(203,43,201)' ut2004.xpm || die
- mogrify -transparent 'rgb(150,86,147)' ut2004.xpm || die
- mogrify -transparent 'rgb(205,41,204)' ut2004.xpm || die
- mogrify -transparent 'rgb(133,99,131)' ut2004.xpm || die
- mogrify -transparent 'rgb(128,104,125)' ut2004.xpm || die
- mogrify -transparent 'rgb(176,65,174)' ut2004.xpm || die
- mogrify -transparent 'rgb(152,85,150)' ut2004.xpm || die
- mogrify -transparent 'rgb(138,96,135)' ut2004.xpm || die
- mogrify -transparent 'rgb(160,78,158)' ut2004.xpm || die
- fi
- fi
-
- # The big install
- einfo "Installing UT2004 directories..."
- insinto "${dir}"
- doins -r * || die "doins -r * failed"
-
- if [[ -e ut2004.xpm ]] ; then
- # Install icon
- doicon ut2004.xpm || die "doicon failed"
- fi
- else
- # Disk 1
- einfo "Copying files from Disk 1..."
- insinto "${dir}"
- doins -r "${CDROM_ROOT}/${DISK1}"{Animations,ForceFeedback,Help,KarmaData,Maps,Sounds,Web} \
- || die "copying directories"
- insinto "${dir}"/System
- doins -r "${CDROM_ROOT}/${DISK1}"System/{editorres,*.{bat,bmp,dat,det,est,frt,ini,int,itt,kot,md5,smt,tmt,u,ucl,upl,url}} \
- || die "copying System files"
- insinto "${dir}"/Manual
- doins "${CDROM_ROOT}/${DISK1}"Manual/Manual.pdf \
- || die "copying Manual.pdf"
- insinto "${dir}"/Benchmark/Stuff
- doins -r "${CDROM_ROOT}/${DISK1}"Benchmark/Stuff/* \
- || die "copying Benchmark files"
- cdrom_load_next_cd
-
- for diskno in {2..5} ; do
- einfo "Copying files from Disk ${diskno}..."
- varname="DISK${diskno}"
- srcdir=${!varname}
- grabdirs "${srcdir}"
- cdrom_load_next_cd
- done
-
- # Disk 6
- einfo "Copying files from Disk 6..."
- grabdirs "${DISK6}"
-
- # Install extra help files
- insinto "${dir}"/Help
- doins Unreal.bmp
-
- # Install EULA
- insinto "${dir}"
- doins UT2004_EULA.txt
-
- # Installing documentation/icon
- doins README.linux ut2004.xpm || die "copying readme/icon"
- dodoc README.linux || die "dodoc README.linux"
- doicon ut2004.xpm || die "doicon failed"
-
- # Install System.inis
- insinto "${dir}"/System
- doins ini-{det,est,frt,int,itt,kot,smt,tmt}.tar
-
- # Don't need a messy FindPath() script. This is replaced by
- # games_make_wrapper in the ut2004 ebuild.
- #exeinto "${dir}"
- #doexe bin/ut2004 || die "copying ut2004"
-
- exeinto "${dir}"/System
- doexe System/{libSDL-1.2.so.0,openal.so} \
- || die "copying libraries"
-
- # Uncompressing files
- einfo "Uncompressing files... this *will* take a while..."
- for j in Animations Maps Sounds StaticMeshes Textures ; do
- fperms -R u+w "${dir}/${j}" || die "fperms ${j} failed"
- games_ut_unpack "${Ddir}/${j}"
- done
- fi
-
- # Empty directories. "DO_NOT_DELETE.ME" is the original filename, so
- # is preferred to keepdir.
- for j in CSVs Logs Results ; do
- mkdir -p "${Ddir}/Benchmark/${j}"
- touch "${Ddir}/Benchmark/${j}/DO_NOT_DELETE.ME" || die "touch failed"
- done
-
- # Removing unneccessary files
- rm -f "${Ddir}"/*.{bat,exe,EXE,int}
- rm -f "${Ddir}"/Help/{InstallerLogo.bmp,SAPI-EULA.txt,{Unreal,UnrealEd}.ico}
- rm -f "${Ddir}"/Manual/*.exe
- rm -rf "${Ddir}"/Speech/Redist
- rm -f "${Ddir}"/System/*.{bat,dll,exe,tar}
- rm -f "${Ddir}"/System/{{License,Manifest}.smt,{ucc,StdOut}.log}
- rm -f "${Ddir}"/System/{User,UT2004}.ini
-
- # Removing file collisions with ut2004-3369-r4
- rm -f "${Ddir}"/Animations/ONSNewTank-A.ukx
- rm -f "${Ddir}"/Help/UT2004Logo.bmp
- rm -f "${Ddir}"/System/{ALAudio.kot,AS-{Convoy,FallenCity,Glacier}.kot,AS-{Convoy,FallenCity,Glacier,Junkyard,Mothership,RobotFactory}.int,bonuspack.{det,est,frt},BonusPack.{int,itt,u},BR-Serenity.int}
- rm -f "${Ddir}"/System/CTF-{AbsoluteZero,BridgeOfFate,DE-ElecFields,DoubleDammage,January,LostFaith}.int
- rm -f "${Ddir}"/System/DM-{1on1-Albatross,1on1-Desolation,1on1-Mixer,Corrugation,IronDeity,JunkYard}.int
- rm -f "${Ddir}"/System/{DOM-Atlantis.int,OnslaughtBP.{kot,u,ucl},OnslaughtFull.int}
- rm -f "${Ddir}"/System/{Build.ini,CacheRecords.ucl,Core.{est,frt,kot,int,itt,u},CTF-January.kot,D3DDrv.kot,DM-1on1-Squader.kot}
- rm -f "${Ddir}"/System/{Editor,Engine,Gameplay,GamePlay,UnrealGame,UT2k4Assault,XInterface,XPickups,xVoting,XVoting,XWeapons,XWebAdmin}.{det,est,frt,int,itt,u}
- rm -f "${Ddir}"/System/{Fire.u,IpDrv.u,License.int,ONS-ArcticStronghold.kot}
- rm -f "${Ddir}"/System/{OnslaughtFull,onslaughtfull,UT2k4AssaultFull}.{det,est,frt,itt,u}
- rm -f "${Ddir}"/System/{GUI2K4,Onslaught,skaarjpack,SkaarjPack,XGame}.{det,est,frt,int,itt,kot,u}
- rm -f "${Ddir}"/System/{Setup,Window}.{det,est,frt,int,itt,kot}
- rm -f "${Ddir}"/System/XPlayers.{det,est,frt,int,itt}
- rm -f "${Ddir}"/System/{UnrealEd.u,UTClassic.u,UTV2004c.u,UTV2004s.u,UWeb.u,Vehicles.kot,Vehicles.u,Xweapons.itt,UT2K4AssaultFull.int,UTV2004.kot,UTV2004s.kot}
- rm -f "${Ddir}"/System/{XAdmin.kot,XAdmin.u,XMaps.det,XMaps.est}
- rm -f "${Ddir}"/Textures/jwfasterfiles.utx
- rm -f "${Ddir}"/Web/ServerAdmin/{admins_home.htm,current_bots.htm,ut2003.css,current_bots_species_group.inc}
- rm -f "${Ddir}"/Web/ServerAdmin/ClassicUT/current_bots.htm
- rm -f "${Ddir}"/Web/ServerAdmin/UnrealAdminPage/{adminsframe.htm,admins_home.htm,admins_menu.htm,current_bots.htm,currentframe.htm,current_menu.htm}
- rm -f "${Ddir}"/Web/ServerAdmin/UnrealAdminPage/{defaultsframe.htm,defaults_menu.htm,footer.inc,mainmenu.htm,mainmenu_itemd.inc,rootframe.htm,UnrealAdminPage.css}
- rm -f "${Ddir}"/Web/ServerAdmin/UT2K3Stats/{admins_home.htm,current_bots.htm,ut2003stats.css}
-
- # Removing file collisions with ut2004-bonuspack-ece
- rm -f "${Ddir}"/Animations/{MechaSkaarjAnims,MetalGuardAnim,NecrisAnim,ONSBPAnimations}.ukx
- rm -f "${Ddir}"/Help/BonusPackReadme.txt
- rm -f "${Ddir}"/Maps/ONS-{Adara,IslandHop,Tricky,Urban}.ut2
- rm -f "${Ddir}"/Sounds/{CicadaSnds,DistantBooms,ONSBPSounds}.uax
- rm -f "${Ddir}"/StaticMeshes/{BenMesh02,BenTropicalSM01,HourAdara,ONS-BPJW1,PC_UrbanStatic}.usx
- rm -f "${Ddir}"/System/{ONS-Adara.int,ONS-IslandHop.int,ONS-Tricky.int,ONS-Urban.int,OnslaughtBP.int,xaplayersl3.upl}
- rm -f "${Ddir}"/Textures/{AW-2k4XP,BenTex02,BenTropical01,BonusParticles,CicadaTex,Construction_S}.utx
- rm -f "${Ddir}"/Textures/{HourAdaraTexor,ONSBPTextures,ONSBP_DestroyedVehicles,PC_UrbanTex,UT2004ECEPlayerSkins}.utx
-
- # Removing file collisions with ut2004-bonuspack-mega
- rm -f "${Ddir}"/Help/MegapackReadme.txt
- rm -f "${Ddir}"/Maps/{AS-BP2-Acatana,AS-BP2-Jumpship,AS-BP2-Outback,AS-BP2-SubRosa,AS-BP2-Thrust}.ut2
- rm -f "${Ddir}"/Maps/{CTF-BP2-Concentrate,CTF-BP2-Pistola,DM-BP2-Calandras,DM-BP2-GoopGod}.ut2
- rm -f "${Ddir}"/Music/APubWithNoBeer.ogg
- rm -f "${Ddir}"/Sounds/A_Announcer_BP2.uax
- rm -f "${Ddir}"/StaticMeshes/{JumpShipObjects,Ty_RocketSMeshes}.usx
- rm -f "${Ddir}"/System/{AssaultBP.u,Manifest.in{i,t},Packages.md5}
- rm -f "${Ddir}"/Textures/{JumpShipTextures,T_Epic2k4BP2,Ty_RocketTextures}.utx
-
- # Now, since these files are coming off a CD, the times/sizes/md5sums won't
- # be different ... that means portage will try to unmerge some files (!)
- # We run touch on ${D} so as to make sure portage doesn't do any such thing
- find "${Ddir}" -exec touch '{}' \;
-
- prepgamesdirs
-
- if [[ "${USE_MIDWAY_DVD}" -eq 1 ]] || use dynamic ; then
- # Done after prepgamesdirs because do not want to change perms.
- # Can improve performance, and remove pause when exiting game,
- # although upstream wants us to use the binary libs.
- # The binary libs are not even supplied with Midway DVDs anyway.
- [[ -e "${D}/${dir}"/System/libSDL-1.2.so.0 ]] \
- && rm -f "${D}/${dir}"/System/libSDL-1.2.so.0
- dosym /usr/"$(get_libdir)"/libSDL-1.2.so.0 \
- "${dir}"/System/libSDL-1.2.so.0 \
- || die "dosym libSDL-1.2.so.0 failed"
-
- [[ -e "${D}/${dir}"/System/openal.so ]] \
- && rm -f "${D}/${dir}"/System/openal.so
- dosym /usr/"$(get_libdir)"/libopenal.so "${dir}"/System/openal.so \
- || die "dosym openal.so failed"
- fi
-}
-
-pkg_postinst() {
- games_pkg_postinst
-
- echo
- elog "This is only the data portion of the game. To play UT2004,"
- elog "you still need to emerge ut2004."
- echo
-}
diff --git a/games-fps/ut2004/Manifest b/games-fps/ut2004/Manifest
deleted file mode 100644
index b567aab..0000000
--- a/games-fps/ut2004/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX ut2004.xml 370 RMD160 f54254f4af9422b72e93b9f4e2aa126b828c34f4 SHA1 53be0a7e6cd5ea1c5329fee791e527b9f8edf29a SHA256 69d2ad349f8b0464157979518ca3482b6b8bbc34f25d710668775f36581be34c
-DIST ut2004-lnxpatch3369-2.tar.bz2 22465217 RMD160 af632d8cd1f05e36e861eb3fab927ffc8ae3f59d SHA1 a8cc33877a02a0a09c288b5fc248efde282f7bdf SHA256 438b9b13a367d46f23cce12b065382a55afa2fc68add1f1dd3db03b015f60bb3
-EBUILD ut2004-3369-r4.ebuild 5231 RMD160 177c8a492778d27a068b319dad0b8416c40a37a5 SHA1 c7c8c8b67088b58bdf68322a45bef3eda196a200 SHA256 c68ba993ce55178f2cf1935d1c23c3a1a412781ed958c59842453c26eba61e23
-EBUILD ut2004-3369-r5.ebuild 4915 RMD160 b5e5f16dbd2cf6fb603a355d60d37367d3d1aaef SHA1 e35d482fc4adb65149e654505a48135d442d677b SHA256 335db326c4ffa65da261d0c24eeb7d319b009b8c945fd110f23f65aafc38d17d
diff --git a/games-fps/ut2004/files/ut2004.xml b/games-fps/ut2004/files/ut2004.xml
deleted file mode 100644
index f87f48c..0000000
--- a/games-fps/ut2004/files/ut2004.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0"?>
-<product name="ut2004" desc="Unreal Tournament 2004" xmlversion="1.6" root="GAMES_PREFIX_OPT/ut2004" update_url="http://unreal.epicgames.com/updates/ut2004/updates.txt">
- <component name="__CDKEY__" version="3369" default="yes">
- <option name="English"></option>
- <option name="__CDKEY__" tag="__CDKEY__"></option>
- </component>
-</product>
diff --git a/games-fps/ut2004/ut2004-3369-r4.ebuild b/games-fps/ut2004/ut2004-3369-r4.ebuild
deleted file mode 100644
index 8d99dc2..0000000
--- a/games-fps/ut2004/ut2004-3369-r4.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004/ut2004-3369-r4.ebuild,v 1.16 2007/02/17 08:54:50 nyhm Exp $
-
-# To use system libraries, uncomment the following line and comment the one
-# below it.
-#inherit eutils multilib games
-inherit eutils games
-
-MY_P="${PN}-lnxpatch${PV}-2.tar.bz2"
-DESCRIPTION="Editor's Choice Edition plus Mega Pack for the critically-acclaimed first-person shooter"
-HOMEPAGE="http://www.unrealtournament2004.com/"
-SRC_URI="mirror://3dgamers/unrealtourn2k4/${MY_P}
- http://speculum.twistedgamer.com/pub/0day.icculus.org/${PN}/${MY_P}
- http://treefort.icculus.org/${PN}/${MY_P}
- http://sonic-lux.net/data/mirror/ut2004/${MY_P}"
-
-LICENSE="ut2003"
-SLOT="0"
-KEYWORDS="amd64 x86"
-# The executable pages are required.
-QA_EXECSTACK_x86="${GAMES_PREFIX_OPT:1}/ut2004/System/ut2004-bin
- ${GAMES_PREFIX_OPT:1}/ut2004/System/ucc-bin"
-QA_EXECSTACK_amd64="${GAMES_PREFIX_OPT:1}/ut2004/System/ut2004-bin
- ${GAMES_PREFIX_OPT:1}/ut2004/System/ucc-bin"
-RESTRICT="mirror strip"
-IUSE="dedicated opengl"
-
-RDEPEND=">=games-fps/ut2004-data-3186-r2
- >=games-fps/ut2004-bonuspack-ece-1-r1
- >=games-fps/ut2004-bonuspack-mega-1-r1
- opengl? (
- virtual/opengl )
- =virtual/libstdc++-3.3
- x11-libs/libXext
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp"
- # If you wish to use your system libSDL/openal, then you will need to remove
- # the comments from the following two lines, along with the quotes above and
- # this comment text.
-# >=media-libs/libsdl-1.2
-# media-libs/openal"
-
-S=${WORKDIR}/UT2004-Patch
-
-GAMES_CHECK_LICENSE="yes"
-dir=${GAMES_PREFIX_OPT}/${PN}
-Ddir=${D}/${dir}
-
-src_install() {
- # These files are owned by ut2004-bonuspack-mega
- rm "${S}"/System/{Manifest.in{i,t},Packages.md5}
-
- # Installing patch files
- for p in {Animations,Help,Speech,System,Textures,Web}
- do
- dodir "${dir}/${p}"
- cp -r "${S}/${p}"/* "${Ddir}/${p}" \
- || die "copying ${p} from patch"
- done
-
- # To use system libraries, rather than binaries from ut2004-data, you will
- # need to uncomment these three lines, as well as ensure that you have both
- # libsdl and openal installed.
-# dosym /usr/$(get_libdir)/libopenal.so "${dir}"/System/openal.so || die
-# dosym /usr/$(get_libdir)/libSDL-1.2.so.0 "${dir}"/System/libSDL-1.2.so.0 \
-# || die
-
- use amd64 && rm "${Ddir}"/System/u{cc,t2004}-bin \
- && mv "${Ddir}"/System/ucc-bin-linux-amd64 "${Ddir}"/System/ucc-bin \
- && mv "${Ddir}"/System/ut2004-bin-linux-amd64 \
- "${Ddir}"/System/ut2004-bin \
- && chmod ug+x "${Ddir}"/System/ucc-bin "${Ddir}"/System/ut2004-bin
- use x86 && rm "${Ddir}"/System/ucc-bin-linux-amd64 \
- "${Ddir}"/System/ut2004-bin-linux-amd64
-
- # Creating .manifest files
- sed -e "s:GAMES_PREFIX_OPT:${GAMES_PREFIX_OPT}:" "${FILESDIR}"/${PN}.xml > \
- ${T}/${PN}.xml || die "sed failed"
- insinto "${dir}"/.manifest
- doins "${T}"/${PN}.xml
-
- # Creating .loki/installed links
- mkdir -p "${D}"/root/.loki/installed
- dosym "${dir}"/.manifest/${PN}.xml /root/.loki/installed/${PN}.xml
-
- games_make_wrapper ut2004 ./ut2004 "${dir}" "${dir}"
-
- prepgamesdirs
- make_desktop_entry ut2004 "Unreal Tournament 2004" ut2004.xpm
-}
-
-pkg_postinst() {
- games_pkg_postinst
-
- # Here is where we check for the existence of a cdkey...
- # If we don't find one, we ask the user for it
- if [[ -f "${dir}/System/cdkey" ]]
- then
- einfo "A cdkey file is already present in ${dir}/System"
- else
- ewarn "You MUST run this before playing the game:"
- ewarn "emerge --config =${CATEGORY}/${PF}"
- ewarn "That way you can [re]enter your cdkey."
- fi
- echo
- elog "Starting with 3369, the game supports render-to-texture. To enable"
- elog "it, you will need the Nvidia drivers of at least version 7676 and"
- elog "you should edit the following:"
- elog 'Set "UseRenderTargets=True" in the "[OpenGLDrv.OpenGLRenderDevice]"'
- elog 'section of your UT2004.ini/Default.ini and set "bPlayerShadows=True"'
- elog 'and "bBlobShadow=False" in the "[UnrealGame.UnrealPawn]" section of'
- elog 'your User.ini/DefUser.ini'
- echo
- if use x86
- then
- elog "The 32-bit version of UT2004 uses Pixomatic, which means it"
- elog "really does need an executable stack. It is safe to ignore any"
- elog "warnings from portage about this. See:"
- elog "http://bugs.gentoo.org/show_bug.cgi?id=114733"
- elog "for more information."
- echo
- fi
- elog "To play the game run:"
- elog " ut2004"
- echo
-}
-
-pkg_postrm() {
- ewarn "This package leaves a cdkey file in ${dir}/System that you need"
- ewarn "to remove to completely get rid of this game's files."
-}
-
-pkg_config() {
- ewarn "Your CD key is NOT checked for validity here."
- ewarn " Make sure you type it in correctly."
- eerror "If you CTRL+C out of this, the game will not run!"
- echo
- einfo "CD key format is: XXXXX-XXXXX-XXXXX-XXXXX"
- while true
- do
- einfo "Please enter your CD key:"
- read CDKEY1
- einfo "Please re-enter your CD key:"
- read CDKEY2
- if [[ "$CDKEY1" == "" ]]
- then
- echo "You entered a blank CD key. Try again."
- else
- if [[ "$CDKEY1" == "$CDKEY2" ]]
- then
- echo "$CDKEY1" | tr a-z A-Z > "${dir}"/System/cdkey
- einfo "Thank you!"
- break
- else
- eerror "Your CD key entries do not match. Try again."
- fi
- fi
- done
-}
diff --git a/games-fps/ut2004/ut2004-3369-r5.ebuild b/games-fps/ut2004/ut2004-3369-r5.ebuild
deleted file mode 100644
index f3515b5..0000000
--- a/games-fps/ut2004/ut2004-3369-r5.ebuild
+++ /dev/null
@@ -1,168 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils games
-
-MY_P="${PN}-lnxpatch${PV}-2.tar.bz2"
-
-DESCRIPTION="Editor's Choice Edition plus Mega Pack for the critically-acclaimed first-person shooter"
-HOMEPAGE="http://www.unrealtournament2004.com/"
-SRC_URI="mirror://3dgamers/unrealtourn2k4/${MY_P}
- http://speculum.twistedgamer.com/pub/0day.icculus.org/${PN}/${MY_P}
- http://treefort.icculus.org/${PN}/${MY_P}
- http://sonic-lux.net/data/mirror/ut2004/${MY_P}"
-
-LICENSE="ut2003"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="dedicated opengl"
-RESTRICT="mirror strip"
-
-RDEPEND=">=games-fps/ut2004-data-3186-r2
- >=games-fps/ut2004-bonuspack-ece-1-r1
- >=games-fps/ut2004-bonuspack-mega-1-r1
- opengl? ( virtual/opengl )
- =virtual/libstdc++-3.3
- x11-libs/libXext
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp"
-
-S=${WORKDIR}/UT2004-Patch
-dir=${GAMES_PREFIX_OPT}/${PN}
-
-QA_EXECSTACK="${dir:1}/System/ut2004-bin
- ${dir:1}/System/ucc-bin"
-
-GAMES_CHECK_LICENSE="yes"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Newbie check
- if [[ ! -e "${FILESDIR}/${PN}.xml" ]] ; then
- die "Missing: ${FILESDIR}/${PN}.xml"
- fi
-
- if use x86 ; then
- rm -f System/{ucc,ut2004}-bin-linux-amd64
- else
- mv -f System/ucc-bin-linux-amd64 System/ucc-bin || die
- mv -f System/ut2004-bin-linux-amd64 System/ut2004-bin || die
- fi
-}
-
-src_install() {
- # These files are owned by ut2004-bonuspack-mega
- rm -f System/{Manifest.in{i,t},Packages.md5}
-
- # Installing patch files
- local d
- for d in Animations Help Speech System Textures Web ; do
- insinto "${dir}"
- doins -r "${d}" || die "doins ${p} from patch"
- done
-
- rm -f "${D}/${dir}/System"/{ucc,ut2004}-bin
- exeinto "${dir}/System"
- doexe System/{ucc,ut2004}-bin || die "doexe failed"
-
- # Creating .manifest files
- sed -e "s:GAMES_PREFIX_OPT:${GAMES_PREFIX_OPT}:" "${FILESDIR}"/${PN}.xml > \
- "${T}"/${PN}.xml || die "sed ${PN}.xml failed"
- insinto "${dir}"/.manifest
- doins "${T}"/${PN}.xml
-
- # Creating .loki/installed links
- mkdir -p "${D}"/root/.loki/installed
- dosym "${dir}"/.manifest/${PN}.xml /root/.loki/installed/${PN}.xml
-
- # Replaces the /opt/ut2004/ut2004 script, which is not provided on
- # the Anthology DVD.
- # games-mods.eclass requires the /opt/ut2004/ut2004 script, for mods.
- games_make_wrapper ut2004 ./ut2004 "${dir}"
-
- echo -e "#!/bin/sh\ncd System\nif [[ \"\${LD_LIBRARY_PATH+set}\" = \"set\" ]] ; then\n\texport LD_LIBRARY_PATH=\"..:.\"\nelse\n\texport LD_LIBRARY_PATH=\"\${LD_LIBRARY_PATH}:..:.\"\nfi\nexec ./ut2004-bin \"\$@\"" \
- > ut2004 || die
- exeinto "${dir}"
- doexe ut2004 || die
-
- make_desktop_entry ut2004 "Unreal Tournament 2004" ut2004.xpm
-
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
-
- # Here is where we check for the existence of a CD key...
- # If we don't find one, we ask the user for it.
- if [[ -f "${dir}/System/cdkey" ]] ; then
- einfo "A CD key file is already present in ${dir}/System"
- else
- ewarn "You MUST run this before playing the game:"
- ewarn "emerge --config =${CATEGORY}/${PF}"
- ewarn "That way you can [re]enter your CD key."
- fi
- echo
- elog "Starting with 3369, the game supports render-to-texture. To enable"
- elog "it, you will need the Nvidia drivers of at least version 7676 and"
- elog "you should edit the following:"
- elog
- elog 'Set "UseRenderTargets=True" in the "[OpenGLDrv.OpenGLRenderDevice]"'
- elog 'section of your UT2004.ini/Default.ini and set "bPlayerShadows=True"'
- elog 'and "bBlobShadow=False" in the "[UnrealGame.UnrealPawn]" section of'
- elog 'your User.ini/DefUser.ini'
- if use x86 ; then
- elog
- elog "The 32-bit version of UT2004 uses Pixomatic, which means it"
- elog "really does need an executable stack. It is safe to ignore any"
- elog "warnings from Portage about this. See:"
- elog "http://bugs.gentoo.org/show_bug.cgi?id=114733"
- elog "for more information."
- fi
- elog
- elog "To play the game, run:"
- elog " ut2004"
- echo
-}
-
-pkg_postrm() {
- ewarn "This package leaves a CD key file that you"
- ewarn "need to remove, to completely get rid of this game's files:"
- ewarn "${dir}/System/cdkey"
-}
-
-pkg_config() {
- local cdkey1 cdkey2
-
- ewarn "Your CD key is NOT checked for validity here."
- ewarn "Make sure you type it in correctly."
- eerror "If you CTRL+C out of this, the game will not run!"
- echo
- einfo "CD key format is: XXXXX-XXXXX-XXXXX-XXXXX"
- while true ; do
- einfo "Please enter your CD key:"
- read cdkey1
- if [[ "${cdkey1}" == "" ]] ; then
- echo "You entered a blank CD key. Try again."
- continue
- fi
- einfo "Please re-enter your CD key:"
- read cdkey2
- if [[ "${cdkey2}" == "" ]] ; then
- echo "You entered a blank CD key. Try again."
- continue
- fi
-
- if [[ "${cdkey1}" == "${cdkey2}" ]] ; then
- echo "${cdkey1}" | tr a-z A-Z > "${dir}"/System/cdkey
- einfo "Thanks, created ${dir}/System/cdkey"
- break
- else
- eerror "Your CD key entries do not match. Try again."
- fi
- done
-}
diff --git a/games-strategy/civctp/civctp-1.2a.ebuild b/games-strategy/civctp/civctp-1.2a.ebuild
deleted file mode 100644
index 8559e3c..0000000
--- a/games-strategy/civctp/civctp-1.2a.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# [x] Base Install Required (+400MB)
-# [x] Videos (+225MB)
-# --------------------
-# Total 625MB
-
-inherit eutils games
-
-IUSE="langpatch nocd videos"
-DESCRIPTION="Civilization Call to Power"
-HOMEPAGE="http://www.lokigames.com/products/civctp/"
-KEYWORDS="x86"
-DEPEND="virtual/libc
- sys-apps/gawk
- games-util/loki_patch"
-
-# Since I do not have a PPC machine to test with, I will leave the PPC stuff in
-# here so someone else can stabilize loki_setupdb and loki_patch for PPC and
-# then KEYWORD this appropriately.
-CTP_LANGUAGES="english french german italian spanish"
-CTP_NO_LANG=${CTP_LANG:-y}
-CTP_LANG=${CTP_LANG:-english}
-
-SRC_URI="x86? (
- mirror://lokigames/${PN}/${P}-english-unified-x86.run
- linguas_fr? ( mirror://lokigames/${PN}/${P}-french-unified-x86.run )
- linguas_de? ( mirror://lokigames/${PN}/${P}-german-unified-x86.run )
- linguas_it? ( mirror://lokigames/${PN}/${P}-italian-unified-x86.run )
- linguas_es? ( mirror://lokigames/${PN}/${P}-spanish-unified-x86.run )
- )
- ppc? (
- mirror://lokigames/${PN}/${P}-english-unified-ppc.run
- linguas_fr? ( mirror://lokigames/${PN}/${P}-french-unified-ppc.run )
- linguas_de? ( mirror://lokigames/${PN}/${P}-german-unified-ppc.run )
- linguas_it? ( mirror://lokigames/${PN}/${P}-italian-unified-ppc.run )
- linguas_es? ( mirror://lokigames/${PN}/${P}-spanish-unified-ppc.run )
- )
- langpatch? (
- mirror://lokigames/${PN}/${P}-${CTP_LANG}.run
- )"
-
-LICENSE="LOKI-EULA"
-SLOT="0"
-RESTRICT="nostrip nomirror"
-
-S=${WORKDIR}
-
-dir=${GAMES_PREFIX_OPT}
-Ddir=${D}/${dir}
-
-check_ctp2_cd_version() {
- local CUR_LANG
- local LANG_CNT
- local MY_LANGS
- local USED_LANG
-
- cdrom_get_cds CivCTP-data.tar.gz
-
- MY_LANGS=${CTP_LANGUAGES// /|}
- USED_LANG=""
- test -f ${CDROM_ROOT}/.ctpcd || die "No .ctpcd file found.";
- CTP_VER=$(cat ${CDROM_ROOT}/.ctpcd)
- test -f ${CDROM_ROOT}/setup/tarball.list || die "No setup/tarball.list found."
- CTP_CD_LANG=$(awk -F/ "/\/ctp_data\/(${MY_LANGS})\/$/ { print \$3; }" ${CDROM_ROOT}/setup/tarball.list 2>/dev/null|head -n 1)
-
- if test -z "${CTP_CD_LANG}"; then
- die "Could not determine language of CtP-CD.";
- else
- einfo "Found CtP-CD version ${CTP_VER} in ${CTP_CD_LANG}."
- fi
- LANG_CNT=0
- for CUR_LANG in ${CTP_LANG_USE}; do
- if useq ${CUR_LANG}; then
- LANG_CNT=$((LANG_CNT+1))
- USED_LANG=${CUR_LANG}
- fi
- done
- if [ $LANG_CNT -eq 0 ]; then
- eerror ""
- eerror "You did not specify the language of your CivCTP cd."
- eerror ""
- eerror "I determined you have the ${CTP_CD_LANG} version of CivCTP."
- eerror "Please add civctp-${CTP_CD_LANG} to your USE-flags."
- eerror ""
- die "Language of CivCTP-CD not specified in USE-flags."
- elif [ $LANG_CNT -gt 1 ]; then
- eerror ""
- eerror "You specified more than one language for your CivCTP cd."
- eerror "Obviously, this cannot be true. I determined you have the"
- eerror "${CTP_CD_LANG} version of CivCTP."
- eerror "Please remove any other civctp-* flag from your USE-flags"
- eerror ""
- die "More than one language specified for CivCTP-CD"
- fi
- USED_LANG=${USED_LANG//civctp-/}
- if [ "${CTP_CD_LANG}" != "${USED_LANG}" ]; then
- eerror ""
- eerror "You specified you have the ${USED_LANG} version of CivCTP."
- eerror "However, i recognized the ${CTP_CD_LANG} version."
- eerror "Please replace civctp-${USED_LANG} by ${CTP_CD_LANG}"
- eerror "in your USE-flags."
- eerror ""
- die "Expected ${CTP_CD_LANG}, but got ${USED_LANG}."
- fi
-}
-
-pkg_setup() {
- check_license || die "License check failed"
- use nocd && ewarn "The full installation takes about 625 MB of space!"
-
- # The following is ugly, but we need to know the CTP version
- # _before_ we can download the updates
- check_ctp2_cd_version
-
- if useq langpatch; then
- if [ "${CTP_NO_LANG}" = "y" ]; then
- ewarn ""
- ewarn "You did not set the CTP_LANG variable to contain the language"
- ewarn "your CivCTP should be patched to."
- ewarn "Thus, i assume you want the ${CTP_LANG} version of CivCTP."
- ewarn ""
- fi
- fi
-
- games_pkg_setup
-}
-
-src_unpack() {
- local my_a
-
- # We patch in order of A=in order of SRC_URI
- for my_a in ${A} ; do
- mkdir -p ${S}/${my_a}.dir
- cd ${S}/${my_a}.dir
- unpack_makeself ${my_a}
- done
-}
-
-src_install() {
- local my_a
-
- einfo "Copying files... this may take a while..."
- dodir ${dir}
- exeinto ${dir}
- cd ${CDROM_ROOT} || die "Could not change directory to ${CDROM_ROOT}"
- /bin/sh ${CDROM_ROOT}/setup/unpack_data install ${Ddir} > /dev/null 2>&1 || die "unpack_data failed"
- if useq nocd; then
- /bin/sh ${CDROM_ROOT}/setup/unpack_videos install ${Ddir} > /dev/null 2>&1 || die "unpack_videos failed"
- elif useq videos; then
- /bin/sh ${CDROM_ROOT}/setup/unpack_videos install ${Ddir} > /dev/null 2>&1 || die "unpack_videos failed"
- fi
- cd ${S}
-
- for my_a in ${A}; do
- einfo "Applying patch from ${my_a}..."
- cd ${S}/${my_a}.dir || die "patch dir ${my_a}.dir does not exist in workdir."
- loki_patch --verify patch.dat || die "Verifying patch failed"
- loki_patch patch.dat ${Ddir}/CivCTP > /dev/null 2>&1 || die "Patching CivCTP to ${PV} failed."
- done
-
- games_make_wrapper civctp ./civctp ${dir}/CivCTP
-
- insinto /usr/share/pixmaps
- cp -p ${Ddir}/CivCTP/icon.xpm ${S}/civctp.xpm
- doins ${S}/civctp.xpm
-
- # 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 '{}' \;
-
- prepgamesdirs
- make_desktop_entry civctp "Civilization Call to Power" "civctp.xpm"
-}
-
-pkg_postinst() {
- einfo "To play the game run:"
- einfo " civctp"
-
- games_pkg_postinst
-}
diff --git a/games-strategy/civctp/metadata.xml b/games-strategy/civctp/metadata.xml
deleted file mode 100644
index d3c2cc9..0000000
--- a/games-strategy/civctp/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>
diff --git a/media-gfx/maya/ChangeLog b/media-gfx/maya/ChangeLog
deleted file mode 100644
index 20f8c0d..0000000
--- a/media-gfx/maya/ChangeLog
+++ /dev/null
@@ -1,89 +0,0 @@
-# ChangeLog for media-gfx/maya
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/maya/ChangeLog,v 1.22 2005/10/13 17:31:24 dang Exp $
-
- 13 Oct 2005; <dang@gentoo.org> maya-6.5.ebuild:
- Make maya use virtual/fam. Bug #67170
-
- 15 Aug 2005; Jeremy Huddleston <eradicator@gentoo.org>
- -files/maya-5.0.1.md5sum, -files/aw_flexlm, -files/aw_flexlm.conf.d,
- -maya-5.0.1-r1.ebuild:
- Removing old maya-5 from portage. If someone is still using that old verion,
- let me know, and I'll add 5.0 back. If someone needs 6.0, you'll need to get
- me a CD.
-
- 11 Aug 2005; Jeremy Huddleston <eradicator@gentoo.org> maya-6.5.ebuild:
- Don't install the aw_flexlm init script. Add support for installing the
- shader library.
-
- 11 Aug 2005; Jeremy Huddleston <eradicator@gentoo.org> maya-6.5.ebuild:
- Create /usr/aw symlink for compatibility and COM/bin/installKey runtime lib
- path.
-
-*maya-6.5 (02 Aug 2005)
-
- 02 Aug 2005; Jeremy Huddleston <eradicator@gentoo.org> +files/50maya,
- files/aw_flexlm, maya-5.0.1-r1.ebuild, +maya-6.5.ebuild:
- Version bump. Ebuild made by me with support from Depthvfx,
- http://www.depthvfx.com.
-
- 30 Jul 2005; Jeremy Huddleston <eradicator@gentoo.org>
- -files/maya-6.0.md5sum, files/aw_flexlm, files/aw_flexlm.conf.d,
- files/maya-docs, maya-5.0.1-r1.ebuild, -maya-6.0.ebuild:
- Cleaned up init scripts. Removed 6.0 since nobody ever gave me a CD to
- complete the ebuild with. 6.5 will be coming shortly.
-
- 06 May 2005; Sven Wegener <swegener@gentoo.org> maya-5.0.1-r1.ebuild,
- maya-6.0.ebuild:
- Removed * postfix from <, <=, >= and > dependencies.
-
- 19 Apr 2005; Simon Stelling <blubb@gentoo.org> maya-6.0.ebuild:
- added ~amd64
-
- 08 Aug 2004; Tom Martin <slarti@gentoo.org> maya-5.0.1-r1.ebuild,
- maya-6.0.ebuild:
- Typo in DESCRIPTION: Comercial -> Commercial. Bug 59717.
-
- 19 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-6.0.ebuild:
- Fix RDEPEND.
-
- 18 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> maya-5.0.1-r1.ebuild:
- fix RDEPEND
-
- 18 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-5.0.1-r1.ebuild,
- maya-6.0.ebuild:
- Preliminary amd64 support... Docs don't work right because of funky java.
-
-*maya-6.0 (07 Jun 2004)
-
- 07 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-6.0.ebuild,
- files/maya-6.0.md5sum:
- In-progress maya6 ebuild. Docs aren't working, but everything else is.
-
- 07 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-5.0.1-r1.ebuild:
- Fixed postinstall->postinst
-
- 30 May 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-5.0.1-r1.ebuild:
- Stable x86.
-
- 04 May 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-5.0.1-r1.ebuild:
- Now using cdrom_get_cds if MAYA_INSTALL_LOC is not set. Closes bug #49765.
-
-*maya-5.0.1-r1 (30 Apr 2004)
-
- 30 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-5.0.1-r1.ebuild,
- files/maya-5.0.1.md5sum:
- Better install-from-cd support. Thanks to Henti Smith <henti@geekware.co.za>
- for helping me test it out.
- app-shells/tcsh or csh RDEPEND for Render.
- /usr/aw/maya5.0/bin/maya symlink made to make Render work.
-
- 29 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-5.0.1.ebuild:
- Fixed permissions and RDEPEND statement
-
-*maya-5.0.1 (26 Apr 2004)
-
- 26 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-5.0.1.ebuild,
- metadata.xml, files/aw_flexlm, files/aw_flexlm.conf.d, files/maya-docs:
- Initial ebuild by me.
-
diff --git a/media-gfx/maya/Manifest b/media-gfx/maya/Manifest
deleted file mode 100644
index 4cb17db..0000000
--- a/media-gfx/maya/Manifest
+++ /dev/null
@@ -1,16 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 9cffffa1b1fdcc02103f0d9623de25b6 ChangeLog 3469
-MD5 9bd53be7de27bdf7b1964a15ed99b93d files/50maya 106
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-maya-6.5 0
-MD5 aa3d8c97154f1ce2d263a2a071811c28 files/maya-docs 314
-MD5 a9308ad8600c89224489d42c07a3e554 maya-6.5.ebuild 8663
-MD5 c1e212329f9083e2405b16dd382d6632 metadata.xml 259
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDTpoMomPajV0RnrERAj/eAJ91w9x2AhjVSifMk/jHUYs5wUV/ZQCePkPT
-8o6tuCde1x7zf2+t1QSUU7A=
-=u6yy
------END PGP SIGNATURE-----
diff --git a/media-gfx/maya/files/50maya b/media-gfx/maya/files/50maya
deleted file mode 100644
index b9e9a92..0000000
--- a/media-gfx/maya/files/50maya
+++ /dev/null
@@ -1,4 +0,0 @@
-AW_COMMON=/opt/aw
-MAYA_LOCATION=${AW_COMMON}/maya
-PATH=${MAYA_LOCATION}/bin
-ROOTPATH=${MAYA_LOCATION}/bin
diff --git a/media-gfx/maya/files/digest-maya-6.5 b/media-gfx/maya/files/digest-maya-6.5
deleted file mode 100644
index e69de29..0000000
--- a/media-gfx/maya/files/digest-maya-6.5
+++ /dev/null
diff --git a/media-gfx/maya/files/maya-docs b/media-gfx/maya/files/maya-docs
deleted file mode 100644
index 58f4fb2..0000000
--- a/media-gfx/maya/files/maya-docs
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting Maya Doc Server"
- start-stop-daemon --start --quiet --exec /opt/aw/maya/docs/startDocServer.sh
- eend $?
-}
-
-stop() {
- ebegin "Stopping Maya Doc Server"
- start-stop-daemon --start --quiet --exec /opt/aw/maya/docs/shutdownDocServer.sh
- eend $?
-}
diff --git a/media-gfx/maya/maya-6.5.ebuild b/media-gfx/maya/maya-6.5.ebuild
deleted file mode 100644
index 0629fca..0000000
--- a/media-gfx/maya/maya-6.5.ebuild
+++ /dev/null
@@ -1,240 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/maya/maya-6.5.ebuild,v 1.4 2005/10/13 17:31:24 dang Exp $
-
-inherit rpm eutils versionator
-
-# RPM versions within the tarballs which will get installed
-AWCOMMON_RPM="AWCommon-6.3-1.i686.rpm"
-AWCOMMON_SERVER_RPM="AWCommon-server-6.3-1.i686.rpm"
-MAYA_RPM="Maya6_5-6.5-253.i686.rpm"
-MAYA_DOCS_RPM="Maya6_5-docs-6.5-253.i686.rpm"
-
-DESCRIPTION="Commercial modeling and animation package"
-HOMEPAGE="http://www.alias.com/eng/products-services/maya/index.shtml"
-
-# Patches to download go into SRC_URI
-SRC_URI=""
-
-SLOT="$(get_version_component_range 1-2)"
-LICENSE="maya-5.0 mayadoc-5.0"
-KEYWORDS="~amd64 ~x86"
-# Still having trouble getting the docs working right.
-IUSE="bundled-libs maya-shaderlibrary doc"
-RESTRICT="fetch userpriv"
-
-DEPEND="app-arch/unzip"
-
-RDEPEND="|| ( app-shells/tcsh app-shells/csh )
- x86? ( virtual/fam
- !bundled-libs? ( =x11-libs/qt-3*
- =virtual/libstdc++-3.3*
- >=x11-libs/openmotif-2.2 ) )
- amd64? ( >=app-emulation/emul-linux-x86-baselibs-2.1.4
- app-emulation/emul-linux-x86-xlibs
- !bundled-libs? ( app-emulation/emul-linux-x86-qtlibs ) )
- doc? ( !bundled-libs? ( >=virtual/jre-1.4.2 ) )
- virtual/opengl"
-
-S="${WORKDIR}"
-
-AWDIR="/opt/aw"
-MAYADIR="${AWDIR}/maya${SLOT}"
-
-CDROM_NAME_1="Maya 6.5 Installation CD"
-
-pkg_nofetch() {
- einfo "Please place the required files in ${DISTDIR}:"
-# einfo
-# einfo "Downloads from Alias's support server:"
-# einfo "http://aliaswavefront.topdownloads.com/pub/bws/bws_107/myr_maya501_gold_linux_update.tgz"
-# einfo "http://aliaswavefront.topdownloads.com/pub/bws/bws_79/myr_TechDocs.zip"
-}
-
-src_unpack() {
- cdrom_get_cds AWCommon-${AWCOMMON_RPM}.rpm
-
- # Unpack downloaded tarballs containing RPMs
- #mkdir ${S}/RPMS
- #cd ${S}/RPMS
- #unpack myr_maya501_gold_linux_update.tgz
-
- # rpm_unpack unpacks in ${WORKDIR} no matter what we try... so get it out of the way...
- cd ${S}
- rpm_unpack ${CDROM_ROOT}/${AWCOMMON_RPM} || die
- rpm_unpack ${CDROM_ROOT}/${AWCOMMON_SERVER_RPM} || die
- rpm_unpack ${CDROM_ROOT}/${MAYA_RPM} || die
-
- if use doc ; then
- rpm_unpack ${CDROM_ROOT}/${MAYA_DOCS_RPM} || die
-
- if ! use bundled-libs; then
- rm -rf ${S}/usr/aw/maya6.5/docs/jre || die
- sed -i -e 's:JAVACMD=\./jre/bin/java:JAVACMD=java:g' ${S}/usr/aw/maya6.5/docs/startDocServer.sh || die
- fi
- fi
-
- if use maya-shaderlibrary ; then
- pushd ${CDROM_ROOT} >& /dev/null
- [[ -d shaderLibrary ]] || die "Could not locate shaderLibrary on Maya Installation CD."
-
- tar -c -f - shaderLibrary | (cd ${S}/usr/aw/maya${SLOT}; tar -x -f -) || die "Failed to copy over maya shader library"
-
- popd >& /dev/null
- fi
-
- # Use app-admin/flexlm
- rm -rf ${S}/usr/COM/{bin/lmutil,etc/lmgrd} || die
-
- # Don't need RedHat's init script
- rm -rf ${S}/etc || die
-
- mkdir ${S}/insroot || die
- mv ${S}/usr ${S}/insroot/opt || die
- rm -rf ${S}/insroot/opt/sbin || die
-
- cp -a ${CDROM_ROOT}/README.html ${S} || die
-
- # Remove unneeded libs (provided by RDEPEND).
- if ! use bundled-libs; then
- #rm -f ${S}/insroot/${AWDIR}/COM/lib/libXm.so.2.1 || die
- rm -f ${S}/insroot/${MAYADIR}/lib/libgcc_s.so.1 || die
- rm -f ${S}/insroot/${MAYADIR}/lib/libstdc++.so.5.0.6 || die
-
- # We keep this one because of possible C++ ABI changes...
- # Maya 6.5 was compiled with CXXABI_1.2 (libstdc++.so.5)
- # rm -f ${S}/insroot/${MAYADIR}/lib/libqt.so.3 || die
-
- rm -f ${S}/insroot/${MAYADIR}/lib/libXm.so.3 || die
- fi
-}
-
-src_install() {
- dohtml README.html
-
- cd ${S}/insroot
- cp -a . ${D} || die
-
- # We use our own Motif runtime unless USE=bundled-libs
- #if use bundled-libs; then
- dosym libXm.so.2.1 ${AWDIR}/COM/lib/libXm.so
- dosym libXm.so.2.1 ${AWDIR}/COM/lib/libXm.so.2
- #fi
-
- # SLOT the COM directory to avoid conflicts
- mv ${D}${AWDIR}/COM ${D}${AWDIR}/COM-${SLOT}
- dosym COM-${SLOT} ${AWDIR}/COM
- dosym COM ${AWDIR}/COM2
- # End rpm -qp --scripts AWCommon-6.3-1.i686.rpm
-
- # What follows is modified from rpm -qp --scripts Maya6_5-6.5-253.i686.rpm
- keepdir /var/flexlm
-
- dosym maya6.5 ${AWDIR}/maya
-
- # The RPM puts these in /usr/local/bin
- dosym Maya6.5 ${MAYADIR}/bin/maya
-
- dodir /usr/bin
- for mayaexec in Render fcheck imgcvt maya; do
- dosym ../../${AWDIR}/maya/bin/${mayaexec} /usr/bin/${mayaexec}
- done
-
- # links for pcw
- dosym libawcsprt.so.1 ${MAYADIR}/lib/libawcsprt.so
- dosym libpcw_opa.so.1 ${MAYADIR}/lib/libpcw_opa.so
- dosym libpcwfindkey.so.1 ${MAYADIR}/lib/libpcwfindkey.so
- dosym libpcwxml.so.1 ${MAYADIR}/lib/libpcwxml.so
-
- # We use our own gcc3 runtime unless USE=bundled-libs
- if use bundled-libs; then
- dosym libgcc_s.so.1 ${MAYADIR}/lib/libgcc_s.so
- dosym libstdc++.so.5.0.6 ${MAYADIR}/lib/libstdc++.so.5
- dosym libstdc++.so.5.0.6 ${MAYADIR}/lib/libstdc++.so
- fi
-
- # update the mental ray configuration files in place
- dosed "/\[PREFIX\]/s//\/opt/" ${MAYADIR}/mentalray/maya.rayrc
- dosed "/\[PREFIX\]/s//\/opt/" ${MAYADIR}/bin/mayarender_with_mr
- dosed "/\[PREFIX\]/s//\/opt/" ${MAYADIR}/bin/mayaexport_with_mr
- fperms 755 ${MAYADIR}/bin/mayarender_with_mr
-
- # End rpm -qp --scripts Maya6_5-6.5-253.i686.rpm
-
- doenvd ${FILESDIR}/50maya
-
- if use maya-shaderlibrary ; then
- echo "MAYA_SHADER_LIBRARY_PATH=\"${AWDIR}/maya/shaderLibrary/shaders\"" >> ${D}/etc/env.d/50maya
- fi
-
- # Fix permissions
- find ${D}${AWDIR} -type d -exec chmod 755 {} \;
-
- dosed 's:tail -1: tail -n 1:g' /opt/aw/maya${SLOT}/bin/Maya${SLOT}
-
- # For compatibility purposes. Also, COM/bin/installKey uses
- # /usr/aw/COM/lib as runtime lib path to find libXm.so.2
- dosym ../opt/aw /usr/aw
-}
-
-pkg_postinst() {
- # What follows is modified from rpm -qp --scripts Maya6_5-6.5-253.i686.rpm
- cp ${ROOT}/etc/services ${T}/services.maya_save
- awk '/mi-ray/ { found++; print ; next } {print} END {if (0==found) print "mi-ray 7003/tcp" }' ${T}/services.maya_save > ${ROOT}/etc/services
-
- cp ${ROOT}/etc/services ${T}/services.maya_save
- awk '/mi-raysat/ { found++; print ; next } {print} END {if (0==found) print "mi-raysat 7103/tcp" }' ${T}/services.maya_save > ${ROOT}/etc/services
-
- # update the magic file
- if [[ -e ${ROOT}/usr/share/magic ]]; then
- mv ${ROOT}/usr/share/magic ${T}/magic.rpmsave
- awk '/Alias.Wavefront Maya files. begin/ {p=1} /Alias.Wavefront Maya files. end/ {p=2} {if (p==2) { p=0} else if (p==0) print }' ${T}/magic.rpmsave > ${ROOT}/usr/share/magic
- cat ${ROOT}${MAYADIR}/.tmpdata/awmagic >> ${ROOT}/usr/share/magic;
- # get file to rebuild the cache
- file -C > /dev/null 2>&1
- rm -Rf ${ROOT}${MAYADIR}/.tmpdata/awmagic 2>&1 > /dev/null
- fi
- # End rpm -qp --scripts Maya6_5-6.5-253.i686.rpm
-
- einfo "There may be a more recent license for this workstation available on the"
- einfo "Alias|Wavefront web site. Please visit the following URL to check for"
- einfo "updated licenses:"
- einfo "http://www.aliaswavefront.com/en/Community/Special/keys/maya/"
- echo
- einfo "To install your key, either place aw.dat in /var/flexlm or run the following"
- einfo "command from an X session:"
- einfo "${AWDIR}/COM/bin/installKey -input ${MAYADIR}/license_data/maya_prekey_data"
- echo
- einfo "One init scripts has been installed:"
- einfo "maya-docs is for the document server (help system)."
- echo
- einfo "If you want to use the flexlm license server, emerge '>=app-admin/flexlm-9.5'"
- echo
-
- # GCC_3.0
- # GLIBC_2.1.3
- # GLIBC_2.0
- # GLIBCPP_3.2
- # CXXABI_1.2
- einfo "Maya 6.5 was compiled on the following system configuration:"
- einfo "Linux 2.4.7-10 (RedHat 7.2, glibc-2.2.4-13), i686, gcc3"
- einfo "If you intend to compile plugins for Maya, you will need to"
- einfo "'emerge \=sys-devel/gcc-3.3*' and use gcc-config to switch compilers."
- einfo "The Maya SDK headers are located in ${MAYADIR}/include, and libs"
- einfo "are in ${MAYADIR}/lib."
- echo
- # http://www.highend2d.com/boards/showthreaded.php?Cat=&Board=linuxforum&Number=174726&page=&view=&sb=&o=
- ewarn "You should disable klipper, xfce4-clipman, and any other clipboard"
- ewarn "utilities as they have been shown to cause maya-5.0.1 to crash."
- ewarn "Feedback on whether or not this is still true ion Maya 6.5 would be"
- ewarn "appreciated at http://bugs.gentoo.org"
-
- if use doc && [[ ! -x /usr/bin/mozilla ]] ; then
- echo
- ewarn "The Maya document system has been installed, but we have detected"
- ewarn "that you don't have Mozilla installed on your system. Maya"
- ewarn "launches mozilla to start the help program, so it is advised that"
- ewarn "you either install mozilla or place a stub executable at /usr/bin/mozilla"
- ewarn "which will launch another browser on your system."
- fi
-}
diff --git a/media-gfx/maya/maya-8.0.ebuild b/media-gfx/maya/maya-8.0.ebuild
deleted file mode 100644
index aabfa42..0000000
--- a/media-gfx/maya/maya-8.0.ebuild
+++ /dev/null
@@ -1,208 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/maya/maya-6.5.ebuild,v 1.4 2005/10/13 17:31:24 dang Exp $
-
-inherit rpm eutils versionator
-
-DESCRIPTION="Commercial modeling and animation package"
-HOMEPAGE="http://www.alias.com/eng/products-services/maya/index.shtml"
-# Patches to download go into SRC_URI
-SRC_URI=""
-
-SLOT="$(get_version_component_range 1-2)"
-LICENSE="maya-5.0 mayadoc-5.0"
-KEYWORDS="~amd64 ~x86"
-# Still having trouble getting the docs working right.
-IUSE="bundled-libs doc"
-RESTRICT="fetch strip"
-
-DEPEND="app-arch/unzip"
-
-RDEPEND="|| ( app-shells/tcsh app-shells/csh )
- x86? ( virtual/fam
- !bundled-libs? ( =x11-libs/qt-3*
- =virtual/libstdc++-3.3*
- >=x11-libs/openmotif-2.2 ) )
- amd64? ( >=app-emulation/emul-linux-x86-baselibs-2.1.4
- app-emulation/emul-linux-x86-xlibs
- !bundled-libs? ( app-emulation/emul-linux-x86-qtlibs ) )
- doc? ( !bundled-libs? ( >=virtual/jre-1.4.2 ) )
- virtual/opengl"
-
-S="${WORKDIR}"
-
-AWDIR="/usr/aw"
-MAYADIR="${AWDIR}/maya${SLOT}"
-
-pkg_nofetch() {
- einfo "Please place the required files in ${DISTDIR}:"
-# einfo
-# einfo "Downloads from Alias's support server:"
-# einfo "http://aliaswavefront.topdownloads.com/pub/bws/bws_107/myr_maya501_gold_linux_update.tgz"
-# einfo "http://aliaswavefront.topdownloads.com/pub/bws/bws_79/myr_TechDocs.zip"
-}
-
-src_unpack() {
- # We have two disks for Maya. CD1 is for x86, where CD2 is for AMD64.
- if use amd64
- then
- AWCOMMON_RPM="AWCommon-10.80-7.x86_64.rpm"
- AWCOMMON_SERVER_RPM="AWCommon-server-10.80-7.x86_64.rpm"
- MAYA_RPM="Maya8_0_64-8.0-179.x86_64.rpm"
- MAYA_DOCS_RPM="Maya8_0-docs_en_US-8.0-103.x86_64.rpm"
- CDROM_NAME_1="Maya 8.0 Installation CD (x86_64)"
- elif use x86
- then
- AWCOMMON_RPM="AWCommon-10.80-12.i686.rpm"
- AWCOMMON_SERVER_RPM="AWCommon-server-10.80-12.i686.rpm"
- MAYA_RPM="Maya8_0-8.0-163.i686.rpm"
- MAYA_DOCS_RPM="Maya8_0-docs_en_US-8.0-104.i686.rpm"
- CDROM_NAME_1="Maya 8.0 Installation CD"
- fi
-
- cdrom_get_cds ${AWCOMMON_RPM}
-
- cd "${S}"
- einfo "Unpacking RPM packages from ${CDROM_ROOT}..."
- rpm_unpack ${CDROM_ROOT}/${AWCOMMON_RPM} || die
- rpm_unpack ${CDROM_ROOT}/${AWCOMMON_SERVER_RPM} || die
- rpm_unpack ${CDROM_ROOT}/${MAYA_RPM} || die
-
- if use doc ; then
- rpm_unpack ${CDROM_ROOT}/${MAYA_DOCS_RPM} || die
- fi
-
- # Use app-admin/flexlm
- rm -rf ${S}/usr/aw/COM/{bin/lmutil,etc/lmgrd} || die
-
- cp -a ${CDROM_ROOT}/README.html ${S} || die
-
- # Remove unneeded libs (provided by RDEPEND).
- if ! use bundled-libs; then
- rm -f ${S}/insroot/${MAYADIR}/lib/libgcc_s.so* || die
- rm -f ${S}/insroot/${MAYADIR}/lib/libGLU.so* || die
- rm -f ${S}/insroot/${MAYADIR}/lib/libstdc++.so* || die
- rm -f ${S}/insroot/${MAYADIR}/lib/libXm.so* || die
-
- # We keep this one because of possible C++ ABI changes...
- rm -f ${S}/insroot/${MAYADIR}/lib/libqt-mt.so* || die
- fi
-}
-
-src_install() {
- dohtml README.html
- insinto "${AWDIR}"
-
- doins -r usr/aw/* || die
-
- ### Start rpm -qp --scripts AWCommon-10.80-12.i686.rpm
- keepdir /var/flexlm
- # We use our own Motif runtime unless USE=bundled-libs
- #if use bundled-libs; then
- dosym libXm.so.3 ${AWDIR}/COM/lib/libXm.so
- dosym libXm.so.3 ${AWDIR}/COM/lib/libXm.so.2
- #fi
-
- # SLOT the COM directory to avoid conflicts
- mv ${D}${AWDIR}/COM ${D}${AWDIR}/COM-${SLOT}
- dosym COM-${SLOT} ${AWDIR}/COM
- dosym COM ${AWDIR}/COM2
- # End rpm -qp --scripts AWCommon-10.80-12.i686.rpm
-
- # What follows is modified from rpm -qp --scripts Maya8_0-8.0-163.i686.rpm
- fperms 777 /var/flexlm
- dosym maya8.0 ${AWDIR}/maya
-
- # The RPM puts these in /usr/local/bin
- dosym Maya8.0 ${MAYADIR}/bin/maya
-
- dodir /usr/bin
- for mayaexec in Render fcheck imgcvt maya; do
- dosym ../../${AWDIR:1}/maya/bin/${mayaexec} /usr/bin/${mayaexec}
- done
-
- # links for pcw
- dosym libawcsprt.so.1 ${MAYADIR}/lib/libawcsprt.so
- dosym libpcw_opa.so.1 ${MAYADIR}/lib/libpcw_opa.so
- dosym libpcwfindkey.so.1 ${MAYADIR}/lib/libpcwfindkey.so
- dosym libpcwxml.so.1 ${MAYADIR}/lib/libpcwxml.so
-
- # We use our own gcc runtime unless USE=bundled-libs
- if use bundled-libs; then
- dosym libgcc_s.so.1 ${MAYADIR}/lib/libgcc_s.so
- dosym libstdc++.so.6.0.6 ${MAYADIR}/lib/libstdc++.so.6
- dosym libstdc++.so.6.0.6 ${MAYADIR}/lib/libstdc++.so
- dosym libGLU.so.1.3 ${MAYADIR}/lib/libGLU.so.1
- fi
-
- # update the mental ray configuration files in place
- dosed "/\[PREFIX\]/s//\/opt/" ${MAYADIR}/mentalray/maya.rayrc
- dosed "/\[PREFIX\]/s//\/opt/" ${MAYADIR}/bin/unsupported/mayarender_with_mr
- dosed "/\[PREFIX\]/s//\/opt/" ${MAYADIR}/bin/unsuppoered/mayaexport_with_mr
- fperms 755 ${MAYADIR}/bin/unsupported/mayarender_with_mr
- fperms 755 ${MAYADIR}/bin/unsupported/mayaexport_with_mr
- chmod -R +x ${D}/${AWDIR}
- ### End rpm -qp --scripts Maya8_0-8.0-163.i686.rpm
-
- doenvd ${FILESDIR}/50maya
-
- # Fix permissions
- find ${D} -type d -exec chmod 755 {} \;
-
- dosed 's:tail -1: tail -n 1:g' ${AWDIR}/maya${SLOT}/bin/Maya${SLOT}
-
- # For compatibility purposes. Also, COM/bin/installKey uses
- # /usr/aw/COM/lib as runtime lib path to find libXm.so.2
-# dosym ../opt/aw /usr/aw
-}
-
-pkg_postinst() {
- # What follows is modified from rpm -qp --scripts Maya8_0-8.0-163.i686.rpm
- cp ${ROOT}/etc/services ${T}/services.maya_save
- awk '/mi-ray3_2maya5_0/ { found++; print ; next } {print} END {if (0==found)
- print "mi-ray3_2maya5_0 7054/tcp" }' /tmp/services.maya_save > ${ROOT}/etc/services
-
- # update the magic file
- if [[ -e ${ROOT}/usr/share/magic ]]; then
- mv ${ROOT}/usr/share/magic ${T}/magic.rpmsave
- awk '/Alias.Wavefront Maya files. begin/ {p=1} /Alias.Wavefront Maya files. end/ {p=2} {if (p==2) { p=0} else if (p==0) print }' ${T}/magic.rpmsave > ${ROOT}/usr/share/magic
- cat ${ROOT}${MAYADIR}/.tmpdata/awmagic >> ${ROOT}/usr/share/magic;
- # get file to rebuild the cache
- file -C > /dev/null 2>&1
- rm -Rf ${ROOT}${MAYADIR}/.tmpdata/awmagic 2>&1 > /dev/null
- fi
- # End rpm -qp --scripts Maya8_0-8.0-163.i686.rpm
-
- einfo "There may be a more recent license for this workstation available on the"
- einfo "Autodesk web site. Please visit the following URL to check for"
- einfo "updated licenses:"
- einfo "http://www.autodesk.com/maya-webkey"
- echo
- einfo "To install your key, either place aw.dat in /var/flexlm or run the following"
- einfo "command from an X session:"
- einfo "${AWDIR}/COM/bin/installKey -input ${MAYADIR}/license_data/maya_prekey_data"
- echo
- einfo "One init scripts has been installed:"
- einfo "maya-docs is for the document server (help system)."
- echo
- einfo "If you want to use the flexlm license server, emerge '>=app-admin/flexlm-9.5'"
- echo
- einfo "The Maya SDK headers are located in ${MAYADIR}/include, and libs"
- einfo "are in ${MAYADIR}/lib."
- echo
- # http://www.highend2d.com/boards/showthreaded.php?Cat=&Board=linuxforum&Number=174726&page=&view=&sb=&o=
- ewarn "You should disable klipper, xfce4-clipman, and any other clipboard"
- ewarn "utilities as they have been shown to cause maya to crash."
- ewarn "Feedback on whether or not this is still true on Maya 8.0 would be"
- ewarn "appreciated at http://bugs.gentoo.org"
-
- if use doc && [[ ! -x /usr/bin/mozilla ]] ; then
- echo
- ewarn "The Maya document system has been installed, but we have detected"
- ewarn "that you don't have Mozilla installed on your system. Maya"
- ewarn "launches mozilla to start the help program, so it is advised that"
- ewarn "you either install mozilla or place a stub executable at /usr/bin/mozilla"
- ewarn "which will launch another browser on your system."
- fi
- echo
-}
diff --git a/media-gfx/maya/metadata.xml b/media-gfx/maya/metadata.xml
deleted file mode 100644
index b61685c..0000000
--- a/media-gfx/maya/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>no-herd</herd>
-<maintainer>
- <email>eradicator@gentoo.org</email>
- <name>Jeremy Huddleston</name>
-</maintainer>
-</pkgmetadata>
diff --git a/net-misc/cisco-vpnclient-3des/ChangeLog b/net-misc/cisco-vpnclient-3des/ChangeLog
deleted file mode 100644
index 1c70559..0000000
--- a/net-misc/cisco-vpnclient-3des/ChangeLog
+++ /dev/null
@@ -1,9 +0,0 @@
-# ChangeLog for net-misc/cisco-vpnclient-3des
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 02 Jun 2008; Chris Gianelloni <wolf31o2@gentoo.org>
- cisco-vpnclient-3des-4.8.01.0640.ebuild:
- Copy some fixes from the in-tree version of this ebuild and perform some
- general clean-up.
-
diff --git a/net-misc/cisco-vpnclient-3des/Manifest b/net-misc/cisco-vpnclient-3des/Manifest
deleted file mode 100644
index 3c2fda8..0000000
--- a/net-misc/cisco-vpnclient-3des/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX 4.8.01.0640-2.6.24.patch 7352 RMD160 7c198f8ad7a52bc126ca280d86cc4bf2befdb1e1 SHA1 700020b695afb4279bd6ca89679802bf674f6e94 SHA256 45afb8f72caaff7c79e39c9854780504a4dcd09cb3ae5ccdf230fc318d1067fb
-AUX 4.8.01.0640-amd64.patch 4402 RMD160 02589b600bf1005ebf52900ae184a49994557b8e SHA1 225ea3e7eec243581032041fba192798b1e39147 SHA256 dc9853c106025ea506c6bba3d3f3d691971df06b971ce7b64ac30a6fb77582ac
-DIST vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz 2049006 RMD160 08f55f7a57082f9a99797f29e4b42772a9bf2af0 SHA1 e3085f14e446ad7eb7cf491b3e6818f29bc04630 SHA256 08d194a9ca5b77404c94f53da37d4e674f027e6eecd553ae6dccb3e90a976b0a
-EBUILD cisco-vpnclient-3des-4.8.01.0640.ebuild 2585 RMD160 915374053d19f2c8251727fde06f060052f64feb SHA1 05c0fdfe870700d7e7b25861bf559a6f6cd829aa SHA256 b7c7b75e84be626b3df3cf7d97f9275fe8b83dc27def84a9ac99a9caa7758075
-MISC ChangeLog 323 RMD160 7b3bc2b2780547b41d4cbfd7ee778ee8c02247b5 SHA1 de317ac35c654352b737d25766e64445b7c59e93 SHA256 a70bf3f490405ac9b632caa56417a7ee66e0381a0f663a6bec22a61bf8963ea6
diff --git a/net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.8.01.0640.ebuild b/net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.8.01.0640.ebuild
deleted file mode 100644
index fdeaedb..0000000
--- a/net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.8.01.0640.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cisco-vpnclient-3des/cisco-vpnclient-3des-4.8.00.0490.ebuild,v 1.9 2007/08/28 20:58:08 wolf31o2 Exp $
-
-inherit eutils linux-mod
-
-MY_PV=${PV}-k9
-TARBALL="vpnclient-linux-x86_64-${MY_PV}.tar.gz"
-
-DESCRIPTION="Cisco VPN Client (3DES)"
-HOMEPAGE="http://cco.cisco.com/en/US/products/sw/secursw/ps2308/index.html"
-SRC_URI="http://tuxx-home.at/vpn/Linux/${TARBALL}
- http://longren.org/files/${TARBALL}
- ftp://ftp.tu-graz.ac.at/vc-graz/vpn/${TARBALL}"
-
-LICENSE="cisco-vpn-client"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
-RESTRICT="strip"
-
-S=${WORKDIR}/vpnclient
-
-VPNDIR="/opt/cisco-vpnclient"
-CFGDIR="/etc/${VPNDIR}"
-OLDCFG="/etc/CiscoSystemsVPNClient"
-
-QA_TEXTRELS="${VPNDIR:1}/lib/libvpnapi.so"
-QA_EXECSTACK="${VPNDIR:1}/lib/libvpnapi.so
- ${VPNDIR:1}/bin/vpnclient
- ${VPNDIR:1}/bin/cvpnd
- ${VPNDIR:1}/bin/cisco_cert_mgr
- ${VPNDIR:1}/bin/ipseclog"
-
-MODULE_NAMES="cisco_ipsec(CiscoVPN)"
-BUILD_TARGETS="clean default"
-
-src_unpack () {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${PV}-amd64.patch
- epatch "${FILESDIR}"/${PV}-2.6.24.patch
-}
-
-src_install() {
- local binaries="vpnclient ipseclog cisco_cert_mgr"
- linux-mod_src_install
-
- # Binaries
- exeinto /opt/cisco-vpnclient/bin
- exeopts -m0111
- doexe ${binaries}
- exeopts -m4111
- doexe cvpnd
- # Libraries
- insinto /opt/cisco-vpnclient/lib
- doins libvpnapi.so
- # Includes
- insinto /opt/cisco-vpnclient/include
- doins vpnapi.h
-
- # Configuration files/profiles/etc
- insinto ${CFGDIR}
- doins vpnclient.ini
- insinto ${CFGDIR}/Profiles
- doins *.pcf
- dodir ${CFGDIR}/Certificates
-
- # Create some symlinks
- dodir /usr/bin
- for filename in ${binaries}
- do
- dosym ${VPNDIR}/bin/${filename} /usr/bin/${filename}
- done
-
- # Make sure we keep these, even if they're empty.
- keepdir ${CFGDIR}/Certificates
- keepdir ${CFGDIR}/Profiles
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
- if [ -e "${OLDCFG}" ]
- then
- elog "Found an old ${OLDCFG} configuration directory."
- elog "Moving ${OLDCFG} files to ${CFGDIR}."
- cp -pPR ${OLDCFG}/* ${CFGDIR} && rm -rf ${OLDCFG}
- fi
- if [ -e "/etc/init.d/vpnclient" ]
- then
- elog "Removing /etc/init.d/vpnclient, which is no longer needed."
- rm -f /etc/init.d/vpnclient
- fi
- runlevels=`rc-update show | grep vpnclient | cut -d\| -f2`
- if [ -n "$runlevels" ]
- then
- elog "Removing 'vpnclient' from all runlevels."
- rc-update del vpnclient
- fi
- elog "You will need to load the cisco_ipsec module before using the Cisco"
- elog "VPN Client (vpnclient) application."
-}
diff --git a/net-misc/cisco-vpnclient-3des/files/4.8.01.0640-2.6.24.patch b/net-misc/cisco-vpnclient-3des/files/4.8.01.0640-2.6.24.patch
deleted file mode 100644
index 1540288..0000000
--- a/net-misc/cisco-vpnclient-3des/files/4.8.01.0640-2.6.24.patch
+++ /dev/null
@@ -1,241 +0,0 @@
-diff -r 469eaa76099e GenDefs.h
---- a/GenDefs.h Mon Apr 28 10:40:53 2008 +0200
-+++ b/GenDefs.h Mon Apr 28 10:47:51 2008 +0200
-@@ -105,6 +105,12 @@ typedef int32 intptr_t;
- #define _INTPTR_T_DEFINED
- #endif
-
-+/* uintptr_t has been defined in include/linux/types.h in 2.6.24.
-+ * No need to define it here again (will only lead to compile errors)
-+ *
-+ * by Alexander Griesser <work@tuxx-home.at>, 2008-01-11
-+ */
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)
- #ifndef _UINTPTR_T_DEFINED
- #if defined(_LP64)
- #warning 64 bit
-@@ -113,6 +119,7 @@ typedef uint32 uintptr_t;
- typedef uint32 uintptr_t;
- #endif
- #define _UINTPTR_T_DEFINED
-+#endif
- #endif
-
-
-diff -r 469eaa76099e Makefile
---- a/Makefile Mon Apr 28 10:40:53 2008 +0200
-+++ b/Makefile Mon Apr 28 10:47:51 2008 +0200
-@@ -12,7 +12,7 @@ SOURCE_OBJS := linuxcniapi.o frag.o IPSe
- SOURCE_OBJS := linuxcniapi.o frag.o IPSecDrvOS_linux.o interceptor.o linuxkernelapi.o
-
- ifeq ($(SUBARCH),x86_64)
--CFLAGS += -mcmodel=kernel -mno-red-zone
-+EXTRA_CFLAGS += -mcmodel=kernel -mno-red-zone
- NO_SOURCE_OBJS := libdriver64.so
- else
- NO_SOURCE_OBJS := libdriver.so
-diff -r 469eaa76099e interceptor.c
---- a/interceptor.c Mon Apr 28 10:40:53 2008 +0200
-+++ b/interceptor.c Mon Apr 28 10:47:51 2008 +0200
-@@ -28,6 +28,10 @@
- #include <linux/udp.h>
- #include <net/protocol.h>
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
-+#include <net/net_namespace.h>
-+#endif
-+
- #include "linux_os.h"
-
- #include "vpn_ioctl_linux.h"
-@@ -39,7 +43,7 @@
-
- static uint8_t interceptor_eth_addr[] = { 0x00, 0x0b, 0xfc, 0xf8, 0x01, 0x8f };
-
--// packet statistics
-+// packet statistics
- static unsigned long tx_packets;
- static unsigned long tx_dropped;
- static unsigned long tx_bytes;
-@@ -48,7 +52,13 @@ unsigned long rx_bytes;
- unsigned long rx_bytes;
-
- /*methods of the cipsec network device*/
--static int interceptor_init(struct net_device *);
-+static
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
-+void
-+#else
-+int
-+#endif
-+interceptor_init(struct net_device *);
- static struct net_device_stats *interceptor_stats(struct net_device *dev);
- static int interceptor_ioctl(struct net_device *dev, struct ifreq *ifr,
- int cmd);
-@@ -82,12 +92,12 @@ struct packet_type_funcs
- {
- struct packet_type *pt;
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,14)
-- int (*orig_handler_func) (struct sk_buff *,
-+ int (*orig_handler_func) (struct sk_buff *,
- struct net_device *,
- struct packet_type *,
- struct net_device *);
- #else
-- int (*orig_handler_func) (struct sk_buff *,
-+ int (*orig_handler_func) (struct sk_buff *,
- struct net_device *,
- struct packet_type *);
- #endif
-@@ -107,16 +117,30 @@ static char interceptor_name[] = LINUX_V
-
- BINDING Bindings[MAX_INTERFACES];
-
-+/* 2.6.24 handles net_devices a little bit different
-+ *
-+ * by Alexander Griesser <work@tuxx-home.at>, 2008-01-11
-+ */
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
-+static struct net_device* interceptor_dev;
-+#else
- static struct net_device interceptor_dev = {
- .name = interceptor_name,
- .init = interceptor_init
- };
-+#endif
-+
- static struct notifier_block interceptor_notifier = {
- .notifier_call = handle_netdev_event,
- };
-
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
--static int
-+static
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
-+void
-+#else
-+int
-+#endif
- #else
- static int __init
- #endif
-@@ -133,8 +157,9 @@ interceptor_init(struct net_device *dev)
- dev->flags |= IFF_NOARP;
- dev->flags &= ~(IFF_BROADCAST | IFF_MULTICAST);
- kernel_memset(dev->broadcast, 0xFF, ETH_ALEN);
--
-- return 0;
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)
-+ return 0;
-+#endif
- }
-
- static struct net_device_stats *
-@@ -270,7 +295,7 @@ add_netdev(struct net_device *dev)
- Bindings[i].InjectReceive = original_ip_handler.orig_handler_func;
- Bindings[i].pPT = original_ip_handler.pt;
-
-- rc = 0;
-+ rc = 0;
-
- exit_gracefully:
- return rc;
-@@ -284,7 +309,7 @@ remove_netdev(struct net_device *dev)
- b = getbindingbydev(dev);
-
- if (b)
-- {
-+ {
- rc = 0;
- dev->hard_start_xmit = b->InjectSend;
- kernel_memset(b, 0, sizeof(BINDING));
-@@ -326,7 +351,7 @@ handle_vpnup(void)
- }
- /* find the handler for inbound IP packets by adding a dummy handler
- * for that packet type into the kernel. Because the packet handlers
-- * are stored in a hash table, we'll be able to pull the original
-+ * are stored in a hash table, we'll be able to pull the original
- * ip packet handler out of the list that dummy_pt was inserted into.*/
- kernel_memset(&dummy_pt, 0, sizeof(dummy_pt));
- dummy_pt.type = htons(ETH_P_IP);
-@@ -363,7 +388,11 @@ handle_vpnup(void)
- dp = NULL;
- num_target_devices = 0;
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
-- for_each_netdev(dp)
-+ for_each_netdev(
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
-+ &init_net,
-+#endif
-+ dp)
- #else
- for (dp = dev_base; dp != NULL; dp = dp->next)
- #endif
-@@ -494,7 +523,7 @@ getbindingbydev(struct net_device *dev)
- getbindingbydev(struct net_device *dev)
- {
- int i;
--
-+
- for (i=0; i <= MAX_INTERFACES; i++)
- {
- BINDING *b = &Bindings[i];
-@@ -522,13 +551,13 @@ build_ppp_fake_mac_frag(struct ethhdr *d
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,14)
- static int
- recv_ip_packet_handler(struct sk_buff *skb,
-- struct net_device *dev,
-+ struct net_device *dev,
- struct packet_type *type,
- struct net_device *orig_dev)
- #else
- static int
- recv_ip_packet_handler(struct sk_buff *skb,
-- struct net_device *dev,
-+ struct net_device *dev,
- struct packet_type *type)
- #endif
- {
-@@ -932,15 +961,29 @@ interceptor_mod_init(void)
-
- rc = CniPluginLoad(&pcDeviceName, &PCNICallbackTable);
-
-+/* 2.6.24 needs to allocate each netdevice before registering it, otherwise
-+ * the kernel BUG()s.
-+ *
-+ * by Alexander Griesser <work@tuxx-home.at>, 2008-01-11
-+ */
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
-+ if(! (interceptor_dev = alloc_netdev(sizeof(struct net_device), interceptor_name, interceptor_init)))
-+ return 0;
-+#endif
-+
- if (CNI_IS_SUCCESS(rc))
- {
-
- CNICallbackTable = *PCNICallbackTable;
- CniPluginDeviceCreated();
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
-+ if ((status = register_netdev(interceptor_dev)) != 0)
-+#else
- if ((status = register_netdev(&interceptor_dev)) != 0)
-+#endif
- {
- printk(KERN_INFO "%s: error %d registering device \"%s\".\n",
-- LINUX_VPN_IFNAME, status, interceptor_dev.name);
-+ LINUX_VPN_IFNAME, status, interceptor_name);
- CniPluginUnload();
-
- }
-@@ -960,7 +1003,11 @@ interceptor_mod_cleanup(void)
- cleanup_frag_queue();
- CniPluginUnload();
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
-+ unregister_netdev(interceptor_dev);
-+#else
- unregister_netdev(&interceptor_dev);
-+#endif
- unregister_netdevice_notifier(&interceptor_notifier);
-
- return;
diff --git a/net-misc/cisco-vpnclient-3des/files/4.8.01.0640-amd64.patch b/net-misc/cisco-vpnclient-3des/files/4.8.01.0640-amd64.patch
deleted file mode 100644
index 015dc7b..0000000
--- a/net-misc/cisco-vpnclient-3des/files/4.8.01.0640-amd64.patch
+++ /dev/null
@@ -1,116 +0,0 @@
-diff -u -x '*.ko*' -x '*.o*' vpnclient/frag.c vpnclient_modified/frag.c
---- vpnclient/frag.c 2007-08-22 15:30:31.000000000 -0400
-+++ vpnclient_modified/frag.c 2008-01-11 01:41:19.000000000 -0500
-@@ -22,7 +22,11 @@
- #include "frag.h"
-
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
-+#ifdef NET_SKBUFF_DATA_USES_OFFSET
-+#define SKB_IPHDR(skb) ((struct iphdr*)(skb->head + skb->network_header))
-+#else
- #define SKB_IPHDR(skb) ((struct iphdr*)skb->network_header)
-+#endif
- #else
- #define SKB_IPHDR(skb) skb->nh.iph
- #endif
-diff -u -x '*.ko*' -x '*.o*' vpnclient/interceptor.c vpnclient_modified/interceptor.c
---- vpnclient/interceptor.c 2007-08-22 15:30:31.000000000 -0400
-+++ vpnclient_modified/interceptor.c 2008-01-11 02:04:01.000000000 -0500
-@@ -636,7 +636,11 @@
- #endif
- {
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
-+ #ifdef NET_SKBUFF_DATA_USES_OFFSET
-+ hard_header_len = skb->data - (skb->head + skb->mac_header);
-+ #else
- hard_header_len = skb->data - skb->mac_header;
-+ #endif
- #else
- hard_header_len = skb->data - skb->mac.raw;
- #endif
-@@ -657,7 +661,11 @@
- {
- case ETH_HLEN:
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
-+ #ifdef NET_SKBUFF_DATA_USES_OFFSET
-+ CniNewFragment(ETH_HLEN, skb->head + skb->mac_header, &MacHdr, CNI_USE_BUFFER);
-+ #else
- CniNewFragment(ETH_HLEN, skb->mac_header, &MacHdr, CNI_USE_BUFFER);
-+ #endif
- #else
- CniNewFragment(ETH_HLEN, skb->mac.raw, &MacHdr, CNI_USE_BUFFER);
- #endif
-@@ -667,7 +675,7 @@
- MacHdr = build_ppp_fake_mac_frag(&ppp_dummy_buf);
- break;
- default:
-- printk(KERN_DEBUG "unknown mac header length (%d)\n", hard_header_len);
-+ printk(KERN_DEBUG "unknown mac header length (%d) CniNewFragment\n", hard_header_len);
- dev_kfree_skb(skb);
- skb = NULL;
- goto exit_gracefully;
-@@ -775,7 +783,12 @@
- #endif //LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
- reset_inject_status(&pBinding->send_stat);
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
-- hard_header_len = skb->network_header - skb->data;
-+ #ifdef NET_SKBUFF_DATA_USES_OFFSET
-+ hard_header_len =
-+ (skb->head + skb->network_header) - skb->data;
-+ #else
-+ hard_header_len = skb->network_header - skb->data;
-+ #endif
- #else
- hard_header_len = skb->nh.raw - skb->data;
- #endif
-diff -u -x '*.ko*' -x '*.o*' vpnclient/linuxcniapi.c vpnclient_modified/linuxcniapi.c
---- vpnclient/linuxcniapi.c 2007-08-22 15:30:31.000000000 -0400
-+++ vpnclient_modified/linuxcniapi.c 2008-01-11 01:41:19.000000000 -0500
-@@ -338,8 +338,13 @@
- skb->ip_summed = CHECKSUM_UNNECESSARY;
-
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
-- skb->network_header = (sk_buff_data_t) skb->data;
-- skb->mac_header = (sk_buff_data_t)pMac;
-+ #ifdef NET_SKBUFF_DATA_USES_OFFSET
-+ skb->network_header = (sk_buff_data_t) (skb->data - skb->head);
-+ skb->mac_header = (sk_buff_data_t) (pMac - skb->head);
-+ #else
-+ skb->network_header = (sk_buff_data_t) skb->data;
-+ skb->mac_header = (sk_buff_data_t)pMac;
-+ #endif
- #else
- skb->nh.iph = (struct iphdr *) skb->data;
- skb->mac.raw = pMac;
-@@ -478,8 +483,13 @@
- skb->dev = pBinding->pDevice;
-
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
-- skb->mac_header = (sk_buff_data_t)pMac;
-- skb->network_header = (sk_buff_data_t)pIP;
-+ #ifdef NET_SKBUFF_DATA_USES_OFFSET
-+ skb->mac_header = (sk_buff_data_t)(pMac - skb->head);
-+ skb->network_header = (sk_buff_data_t)(pIP - skb->head);
-+ #else
-+ skb->mac_header = (sk_buff_data_t)pMac;
-+ skb->network_header = (sk_buff_data_t)pIP;
-+ #endif
- #else
- skb->mac.raw = pMac;
- skb->nh.raw = pIP;
-@@ -487,8 +497,13 @@
-
- /*ip header length is in 32bit words */
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
-- skb->transport_header = (sk_buff_data_t)
-- (pIP + (((struct iphdr*)(skb->network_header))->ihl * 4));
-+ #ifdef NET_SKBUFF_DATA_USES_OFFSET
-+ skb->transport_header = (sk_buff_data_t)
-+ ((pIP + (((struct iphdr*)(skb->head + skb->network_header))->ihl * 4)) - skb->head);
-+ #else
-+ skb->transport_header = (sk_buff_data_t)
-+ (pIP + (((struct iphdr*)(skb->network_header))->ihl * 4));
-+ #endif
- #else
- skb->h.raw = pIP + (skb->nh.iph->ihl * 4);
- #endif
diff --git a/profiles/categories b/profiles/categories
deleted file mode 100644
index d82ae9a..0000000
--- a/profiles/categories
+++ /dev/null
@@ -1,5 +0,0 @@
-games-fps
-games-strategy
-media-gfx
-net-misc
-sys-apps
diff --git a/profiles/repo_name b/profiles/repo_name
deleted file mode 100644
index 4acfa6c..0000000
--- a/profiles/repo_name
+++ /dev/null
@@ -1 +0,0 @@
-wolf31o2
diff --git a/sys-apps/lm_sensors/Manifest b/sys-apps/lm_sensors/Manifest
deleted file mode 100644
index 6f2c52c..0000000
--- a/sys-apps/lm_sensors/Manifest
+++ /dev/null
@@ -1,11 +0,0 @@
-AUX fancontrol-init.d 726 RMD160 444eedc0044a61e0a79d79565e6399156b8f9b9c SHA1 aabcdaf530f6d49f3de01e9b6d78470c6538ff38 SHA256 b231b76d5b32bb303a8e42727f48a4405cec71eedfe392e837acba5e46532783
-AUX lm_sensors-2.10.4-sensors-detect-gentoo.patch 4350 RMD160 962c2ddcd5b59926d2ccaa0ba0b65bd05d758d45 SHA1 3ba0c151f1dbecfed52444561c73897902270574 SHA256 1ace0bb0f88c0f6f235ca47317fddf723d4e8900f9ba66aae432b44274ca192b
-AUX lm_sensors-3-init.d 2466 RMD160 54b58e00914e9c1f8b21e6a73cc215335d9dd647 SHA1 6250e4e28cd936efa6d05846b16175e85fe821c5 SHA256 9b018f9f7a0975988387858823fe59a5cd8af6413d8c3170db0e24aac6021ec3
-AUX lm_sensors-3.0.1-sensors-detect-gentoo.patch 4708 RMD160 bebfd29cbb5ec39efc78e140ebd4115291ecd632 SHA1 3dd7635f0e126c54aa3ccc90b8e33977d85fc0d0 SHA256 bcaee3c4b9001339222445a7c5ea328c5fff379c969bde3cfe382266cf4f4824
-AUX lm_sensors-init.d 2457 RMD160 5e7c90dc926e5df4426e3ab3f42f3d61dd4c7696 SHA1 b2fdb2d08da3491f4128714bb7ba6006420dcc07 SHA256 2271f55d96946ee15d907715ec59d55724a0bb9f81e1b25beef399bc18579b4a
-AUX sensord-conf.d 104 RMD160 c4a06a8492d6c0fd966dea64d92f798a9b716a92 SHA1 43090c58c918969caa359d3b6e89237585759f46 SHA256 02230edf5efbb0a4de3840cd76f9ebf431c57a246fa7388e9dbeb0fe26fe7b8d
-AUX sensord-init.d 708 RMD160 31e5a4ac844333bc9689346bb68c206ded13f1a3 SHA1 45dd30ba6d158022e8290ea9b09fd2a1053c5b58 SHA256 9f6d0e7bcdc1b4b3bc0835b40f246f7caf76e1b3bbfcf76a5d5b235eb8243d89
-DIST lm_sensors-2.10.6.tar.gz 934006 RMD160 b35f540ca42fdaf4dc7f28792f349fe5573cd64b SHA1 e9507fd6d77bc464d1ae8aef78b48ead85f13368 SHA256 90d038fd9a353786b497b97235e8202396b39a9163bbb9bebebe6c81d9d8dee5
-DIST lm_sensors-3.0.1.tar.bz2 186183 RMD160 2af36278eef69b55495c336343e4e7fd8e6fa86d SHA1 1862d3cce07e4cbb7d2e7da9e89f72929273bfec SHA256 f47f7e46f604054ec32b899a04d3d450a37de533e962c763c5d7068b31b9bc23
-EBUILD lm_sensors-2.10.6.ebuild 4487 RMD160 5a87414522d142ff956411a810528d2c068aa3e3 SHA1 8ad3aba84bcad5ef6c639769c998d82c9c5b8aa5 SHA256 200a743ca991466a69a5bae1d7aff2c90416c27597382f7a17f323d828990d0e
-EBUILD lm_sensors-3.0.1.ebuild 3145 RMD160 cd306bf0f44466035aaea0a49ed713126805db7b SHA1 49e069ab1b166c4fce6b923ec5240cfd309b0551 SHA256 f4b62ef3ce55721e3ee786d9af0a9fa0a00e818272471f48de1fdb70079be748
diff --git a/sys-apps/lm_sensors/files/fancontrol-init.d b/sys-apps/lm_sensors/files/fancontrol-init.d
deleted file mode 100644
index fb163ab..0000000
--- a/sys-apps/lm_sensors/files/fancontrol-init.d
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/files/fancontrol-init.d,v 1.1 2007/05/17 07:31:41 phreak Exp $
-
-CONFIG=/etc/fancontrol
-PID=/var/run/fancontrol.pid
-
-depend() {
- after lm_sensors
-}
-
-checkconfig() {
- if [ ! -f ${CONFIG} ]; then
- eerror "Configuration file ${CONFIG} not found"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting fancontrol"
- start-stop-daemon --start --quiet --background --pidfile ${PID} \
- --exec /usr/sbin/fancontrol -- ${CONFIG}
- eend ${?}
-}
-
-stop() {
- ebegin "Stopping fancontrol"
- start-stop-daemon --stop --pidfile ${PID}
- eend ${?}
-}
diff --git a/sys-apps/lm_sensors/files/lm_sensors-2.10.4-sensors-detect-gentoo.patch b/sys-apps/lm_sensors/files/lm_sensors-2.10.4-sensors-detect-gentoo.patch
deleted file mode 100644
index 00b76b9..0000000
--- a/sys-apps/lm_sensors/files/lm_sensors-2.10.4-sensors-detect-gentoo.patch
+++ /dev/null
@@ -1,111 +0,0 @@
-diff -ur lm_sensors-2.10.4.orig/prog/detect/sensors-detect lm_sensors-2.10.4/prog/detect/sensors-detect
---- lm_sensors-2.10.4.orig/prog/detect/sensors-detect 2007-07-31 00:41:52.000000000 +0200
-+++ lm_sensors-2.10.4/prog/detect/sensors-detect 2007-07-31 00:45:12.000000000 +0200
-@@ -27,6 +27,9 @@
- # each be put in a separate file, using modules and packages. That is beyond
- # me.
-
-+# Gentoo specific modifications based on a patch from Rudo Thomas
-+# <thomr9am@ss1000.ms.mff.cuni.cz>
-+
- require 5.004;
-
- use strict;
-@@ -5708,8 +5711,11 @@
-
- print "\n";
- my ($modprobes, $configfile) = generate_modprobes 1; # 1 == prefer ISA
-+ print "\nIf you want to load the modules at startup, generate a config file\n",
-+ "below and make sure lm_sensors gets started at boot time; e.g\n",
-+ "\$ rc-update add lm_sensors default\n";
- print "To make the sensors modules behave correctly, add these lines to\n".
-- "$modules_conf:\n\n";
-+ "/etc/modules.d/lm_sensors and run modules-update:\n\n";
- print "#----cut here----\n".
- $configfile.
- "#----cut here----\n\n";
-@@ -5728,22 +5734,33 @@
- "should try these commands right now to make sure everything is\n".
- "working properly. Monitoring programs won't work until the needed\n".
- "modules are loaded.\n\n";
--
-- my $have_sysconfig = -d '/etc/sysconfig';
-- printf "Do you want to \%s /etc/sysconfig/lm_sensors? (\%s): ",
-- (-e '/etc/sysconfig/lm_sensors' ? 'overwrite' : 'generate'),
-- ($have_sysconfig ? 'YES/no' : 'yes/NO');
-- $_ = <STDIN>;
-- if (($have_sysconfig and not m/^\s*n/i) or m/^\s*y/i) {
-- unless ($have_sysconfig) {
-- mkdir '/etc/sysconfig', 0777
-- or die "Sorry, can't create /etc/sysconfig ($!)";
-- }
-- open(local *SYSCONFIG, ">/etc/sysconfig/lm_sensors")
-- or die "Sorry, can't create /etc/sysconfig/lm_sensors ($!)";
-- print SYSCONFIG <<'EOT';
--# /etc/sysconfig/lm_sensors - Defines modules loaded by
--# /etc/init.d/lm_sensors
-+
-+ print "To load everything that is needed, execute the commands below...";
-+
-+ print "\n\n#----cut here----\n";
-+ print $modprobes;
-+ print "# sleep 2 # optional\n",
-+ "/usr/bin/sensors -s # recommended\n";
-+ print "#----end cut here----\n";
-+
-+ my $have_config = -f '/etc/conf.d/lm_sensors';
-+ print "\nDo you want to ".($have_config?"overwrite":"generate").
-+ " /etc/conf.d/lm_sensors? Enter s to specify other file name?\n",
-+ " (".($have_config?"yes/NO":"YES/no")."/s): ";
-+ my $reply = <STDIN>;
-+
-+ if (($have_config and $reply =~ /^\s*[Yy]/) or
-+ (not $have_config and not $reply =~ /^\s*[Nn]/) or
-+ $reply =~ /^\s*[Ss]/) {
-+ my $filename = "/etc/conf.d/lm_sensors";
-+ if ($reply =~ /^\s*[Ss]/) {
-+ print "Specify the file to store the configuration to: ";
-+ $filename = <STDIN>;
-+ }
-+ open(SYSCONFIG, ">".$filename)
-+ or die "Sorry, can't create $filename ($!).";
-+ print SYSCONFIG <<'EOT';
-+# /etc/conf.d/sensors - Defines modules loaded by /etc/init.d/lm_sensors
- # Copyright (c) 1998 - 2001 Frodo Looijaard <frodol@dds.nl>
- #
- # This program is free software; you can redistribute it and/or modify
-@@ -5771,12 +5788,21 @@
- # in order as normal variables with the special names:
- # MODULE_0, MODULE_1, MODULE_2, etc.
- #
-+# Please note that the numbers in MODULE_X must start at 0 and increase in
-+# steps of 1. Any number that is missing will make the init script skip the
-+# rest of the modules. Use MODULE_X_ARGS for arguments.
-+#
- # List the modules that are to be loaded for your system
- #
- EOT
- print SYSCONFIG
-- "# Generated by sensors-detect on " . scalar localtime() . "\n";
-+ "# Generated by sensors-detect on " . scalar localtime() . "\n\n";
- my @modules = grep /^modprobe /, split "\n", $modprobes;
-+ print SYSCONFIG
-+ "# Load modules at startup\n".
-+ "LOADMODULES=yes\n\n".
-+ "# Initialize sensors at startup\n".
-+ "INITSENSORS=yes\n\n";
- my $i = 0;
- my $sysconfig = "";
- foreach (@modules) {
-@@ -5785,10 +5811,8 @@
- $i++;
- }
- print SYSCONFIG $sysconfig;
-+ print "Done.\n";
-
-- print "Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors\n".
-- "for initialization at boot time.\n"
-- unless -f "/etc/init.d/lm_sensors";
- }
- }
-
diff --git a/sys-apps/lm_sensors/files/lm_sensors-3-init.d b/sys-apps/lm_sensors/files/lm_sensors-3-init.d
deleted file mode 100644
index 18fb353..0000000
--- a/sys-apps/lm_sensors/files/lm_sensors-3-init.d
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/files/lm_sensors-3-init.d,v 1.1 2008/03/17 07:59:28 dberkholz Exp $
-
-checkconfig() {
- if [ ! -f /etc/conf.d/lm_sensors ]; then
- eerror "/etc/conf.d/lm_sensors does not exist, try running sensors-detect"
- return 1
- fi
-
- if [ "${LOADMODULES}" = "yes" -a -f /proc/modules ]; then
- if [ -z "${MODULE_0}" ]; then
- eerror "MODULE_0 is not set in /etc/conf.d/lm_sensors, try running sensors-detect"
- return 1
- fi
- fi
-}
-
-start() {
- checkconfig || return 1
-
- if [ "${LOADMODULES}" = "yes" -a -f /proc/modules ]; then
- einfo "Loading lm_sensors modules..."
-
- mount | grep sysfs >/dev/null 2>&1
- if [ ${?} = 0 ]; then
- if ! ( [ -e /sys/i2c ] || [ -e /sys/bus/i2c ] ); then
- ebegin " Loading i2c-core"
- modprobe i2c-core >/dev/null 2>&1
- if [ ${?} != 0 ]; then
- eerror " Could not load i2c-core!"
- eend 1
- fi
- ( [ -e /sys/i2c ] || [ -e /sys/bus/i2c ] ) || return 1
- eend 0
- fi
- elif ! [ -e /proc/sys/dev/sensors ]; then
- ebegin " Loading i2c-proc"
- modprobe i2c-proc >/dev/null 2>&1
- if [ ${?} != 0 ]; then
- eerror " Could not load i2c-proc!"
- eend 1
- fi
- [ -e /proc/sys/dev/sensors ] || return 1
- eend 0
- fi
-
- i=0
- while true; do
- module=`eval echo '$'MODULE_${i}`
- module_args=`eval echo '$'MODULE_${i}_ARGS`
- if [ -z "${module}" ]; then
- break
- fi
- ebegin " Loading ${module}"
- modprobe ${module} ${module_args} >/dev/null 2>&1
- eend $?
- i=$(($i+1))
- done
- fi
-
- if [ "${INITSENSORS}" = "yes" ]; then
- if ! [ -f /etc/sensors3.conf ]; then
- eerror "/etc/sensors3.conf does not exist!"
- return 1
- fi
-
- ebegin "Initializing sensors"
- /usr/bin/sensors -s >/dev/null 2>&1
- eend ${?}
- fi
-}
-
-stop() {
- checkconfig || return 1
-
- if [ "${LOADMODULES}" = "yes" -a -f /proc/modules ]; then
- einfo "Unloading lm_sensors modules..."
-
- # find the highest possible MODULE_ number
- i=0
- while true; do
- module=`eval echo '$'MODULE_${i}`
- if [ -z "${module}" ] ; then
- break
- fi
- i=$(($i+1))
- done
-
- while [ ${i} -gt 0 ]; do
- i=$(($i-1))
- module=`eval echo '$'MODULE_${i}`
- ebegin " Unloading ${module}"
- rmmod ${module} >/dev/null 2>&1
- eend $?
- done
-
- if [ -e /proc/sys/dev/sensors ] ; then
- ebegin " Unloading i2c-proc"
- rmmod i2c-proc >/dev/null 2>&1
- eend $?
- fi
- fi
-}
diff --git a/sys-apps/lm_sensors/files/lm_sensors-3.0.1-sensors-detect-gentoo.patch b/sys-apps/lm_sensors/files/lm_sensors-3.0.1-sensors-detect-gentoo.patch
deleted file mode 100644
index a17cf1a..0000000
--- a/sys-apps/lm_sensors/files/lm_sensors-3.0.1-sensors-detect-gentoo.patch
+++ /dev/null
@@ -1,116 +0,0 @@
-diff -urN lm_sensors-3.0.1.orig/prog/detect/sensors-detect lm_sensors-3.0.1/prog/detect/sensors-detect
---- lm_sensors-3.0.1.orig/prog/detect/sensors-detect 2008-01-22 04:22:47.000000000 -0800
-+++ lm_sensors-3.0.1/prog/detect/sensors-detect 2008-03-16 15:52:15.000000000 -0700
-@@ -26,6 +26,9 @@
- # each be put in a separate file, using modules and packages. That is beyond
- # me.
-
-+# Gentoo specific modifications based on a patch from Rudo Thomas
-+# <thomr9am@ss1000.ms.mff.cuni.cz>
-+
- require 5.004;
-
- use strict;
-@@ -5871,29 +5874,35 @@
- print MODPROBE_D $configfile;
- close(MODPROBE_D);
- } else {
-+ print "\nIf you want to load the modules at startup, generate a config file\n",
-+ "below and make sure lm_sensors gets started at boot time; e.g\n",
-+ "\$ rc-update add lm_sensors default\n";
- print "To make the sensors modules behave correctly, add these lines to\n".
-- "$modules_conf:\n\n";
-+ "/etc/modules.d/lm_sensors and run modules-update:\n\n";
- print "#----cut here----\n".
- $configfile.
- "#----cut here----\n\n";
- }
- }
-
-- my $have_sysconfig = -d '/etc/sysconfig';
-- printf "Do you want to \%s /etc/sysconfig/lm_sensors? (\%s): ",
-- (-e '/etc/sysconfig/lm_sensors' ? 'overwrite' : 'generate'),
-- ($have_sysconfig ? 'YES/no' : 'yes/NO');
-- $_ = <STDIN>;
-- if (($have_sysconfig and not m/^\s*n/i) or m/^\s*y/i) {
-- unless ($have_sysconfig) {
-- mkdir '/etc/sysconfig', 0777
-- or die "Sorry, can't create /etc/sysconfig ($!)";
-- }
-- open(local *SYSCONFIG, ">/etc/sysconfig/lm_sensors")
-- or die "Sorry, can't create /etc/sysconfig/lm_sensors ($!)";
-- print SYSCONFIG <<'EOT';
--# /etc/sysconfig/lm_sensors - Defines modules loaded by
--# /etc/init.d/lm_sensors
-+ my $have_config = -f '/etc/conf.d/lm_sensors';
-+ print "\nDo you want to ".($have_config?"overwrite":"generate").
-+ " /etc/conf.d/lm_sensors? Enter s to specify other file name?\n",
-+ " (".($have_config?"yes/NO":"YES/no")."/s): ";
-+ my $reply = <STDIN>;
-+
-+ if (($have_config and $reply =~ /^\s*[Yy]/) or
-+ (not $have_config and not $reply =~ /^\s*[Nn]/) or
-+ $reply =~ /^\s*[Ss]/) {
-+ my $filename = "/etc/conf.d/lm_sensors";
-+ if ($reply =~ /^\s*[Ss]/) {
-+ print "Specify the file to store the configuration to: ";
-+ $filename = <STDIN>;
-+ }
-+ open(SYSCONFIG, ">".$filename)
-+ or die "Sorry, can't create $filename ($!).";
-+ print SYSCONFIG <<'EOT';
-+# /etc/conf.d/sensors - Defines modules loaded by /etc/init.d/lm_sensors
- # Copyright (c) 1998 - 2001 Frodo Looijaard <frodol@dds.nl>
- #
- # This program is free software; you can redistribute it and/or modify
-@@ -5921,12 +5930,21 @@
- # in order as normal variables with the special names:
- # MODULE_0, MODULE_1, MODULE_2, etc.
- #
-+# Please note that the numbers in MODULE_X must start at 0 and increase in
-+# steps of 1. Any number that is missing will make the init script skip the
-+# rest of the modules. Use MODULE_X_ARGS for arguments.
-+#
- # List the modules that are to be loaded for your system
- #
- EOT
- print SYSCONFIG
-- "# Generated by sensors-detect on " . scalar localtime() . "\n";
-+ "# Generated by sensors-detect on " . scalar localtime() . "\n\n";
- my @modules = grep /^modprobe /, split "\n", $modprobes;
-+ print SYSCONFIG
-+ "# Load modules at startup\n".
-+ "LOADMODULES=yes\n\n".
-+ "# Initialize sensors at startup\n".
-+ "INITSENSORS=yes\n\n";
- my $i = 0;
- my $sysconfig = "";
- foreach (@modules) {
-@@ -5936,10 +5954,8 @@
- }
- print SYSCONFIG $sysconfig;
- close(SYSCONFIG);
-+ print "Done.\n";
-
-- print "Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors\n".
-- "for initialization at boot time.\n"
-- unless -f "/etc/init.d/lm_sensors";
-
- if (-x "/sbin/insserv" && -f "/etc/init.d/lm_sensors") {
- system("/sbin/insserv", "/etc/init.d/lm_sensors");
-@@ -5948,15 +5964,6 @@
- "kernel modules.\n\n";
- }
- } else {
-- print "To load everything that is needed, add this to one of the system\n".
-- "initialization scripts (e.g. /etc/rc.d/rc.local):\n\n";
-- print "#----cut here----\n".
-- $modprobes.
-- (-e '/usr/bin/sensors' ?
-- "/usr/bin/sensors -s\n" :
-- "/usr/local/bin/sensors -s\n") .
-- "#----cut here----\n\n";
--
- print "If you have some drivers built into your kernel, the list above will\n".
- "contain too many modules. Skip the appropriate ones! You really\n".
- "should try these commands right now to make sure everything is\n".
diff --git a/sys-apps/lm_sensors/files/lm_sensors-init.d b/sys-apps/lm_sensors/files/lm_sensors-init.d
deleted file mode 100644
index c80ed31..0000000
--- a/sys-apps/lm_sensors/files/lm_sensors-init.d
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/files/lm_sensors-init.d,v 1.3 2007/06/12 08:52:16 zzam Exp $
-
-checkconfig() {
- if [ ! -f /etc/conf.d/lm_sensors ]; then
- eerror "/etc/conf.d/lm_sensors does not exist, try running sensors-detect"
- return 1
- fi
-
- if [ "${LOADMODULES}" = "yes" -a -f /proc/modules ]; then
- if [ -z "${MODULE_0}" ]; then
- eerror "MODULE_0 is not set in /etc/conf.d/lm_sensors, try running sensors-detect"
- return 1
- fi
- fi
-}
-
-start() {
- checkconfig || return 1
-
- if [ "${LOADMODULES}" = "yes" -a -f /proc/modules ]; then
- einfo "Loading lm_sensors modules..."
-
- mount | grep sysfs >/dev/null 2>&1
- if [ ${?} = 0 ]; then
- if ! ( [ -e /sys/i2c ] || [ -e /sys/bus/i2c ] ); then
- ebegin " Loading i2c-core"
- modprobe i2c-core >/dev/null 2>&1
- if [ ${?} != 0 ]; then
- eerror " Could not load i2c-core!"
- eend 1
- fi
- ( [ -e /sys/i2c ] || [ -e /sys/bus/i2c ] ) || return 1
- eend 0
- fi
- elif ! [ -e /proc/sys/dev/sensors ]; then
- ebegin " Loading i2c-proc"
- modprobe i2c-proc >/dev/null 2>&1
- if [ ${?} != 0 ]; then
- eerror " Could not load i2c-proc!"
- eend 1
- fi
- [ -e /proc/sys/dev/sensors ] || return 1
- eend 0
- fi
-
- i=0
- while true; do
- module=`eval echo '$'MODULE_${i}`
- module_args=`eval echo '$'MODULE_${i}_ARGS`
- if [ -z "${module}" ]; then
- break
- fi
- ebegin " Loading ${module}"
- modprobe ${module} ${module_args} >/dev/null 2>&1
- eend $?
- i=$(($i+1))
- done
- fi
-
- if [ "${INITSENSORS}" = "yes" ]; then
- if ! [ -f /etc/sensors.conf ]; then
- eerror "/etc/sensors.conf does not exist!"
- return 1
- fi
-
- ebegin "Initializing sensors"
- /usr/bin/sensors -s >/dev/null 2>&1
- eend ${?}
- fi
-}
-
-stop() {
- checkconfig || return 1
-
- if [ "${LOADMODULES}" = "yes" -a -f /proc/modules ]; then
- einfo "Unloading lm_sensors modules..."
-
- # find the highest possible MODULE_ number
- i=0
- while true; do
- module=`eval echo '$'MODULE_${i}`
- if [ -z "${module}" ] ; then
- break
- fi
- i=$(($i+1))
- done
-
- while [ ${i} -gt 0 ]; do
- i=$(($i-1))
- module=`eval echo '$'MODULE_${i}`
- ebegin " Unloading ${module}"
- rmmod ${module} >/dev/null 2>&1
- eend $?
- done
-
- if [ -e /proc/sys/dev/sensors ] ; then
- ebegin " Unloading i2c-proc"
- rmmod i2c-proc >/dev/null 2>&1
- eend $?
- fi
- fi
-}
diff --git a/sys-apps/lm_sensors/files/sensord-conf.d b/sys-apps/lm_sensors/files/sensord-conf.d
deleted file mode 100644
index d82841a..0000000
--- a/sys-apps/lm_sensors/files/sensord-conf.d
+++ /dev/null
@@ -1,3 +0,0 @@
-# Extra options to pass to the sensord daemon,
-# see sensord(8) for more information
-SENSORD_OPTIONS=""
diff --git a/sys-apps/lm_sensors/files/sensord-init.d b/sys-apps/lm_sensors/files/sensord-init.d
deleted file mode 100644
index cb99dce..0000000
--- a/sys-apps/lm_sensors/files/sensord-init.d
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/files/sensord-init.d,v 1.1 2007/05/17 07:31:41 phreak Exp $
-
-CONFIG=/etc/sensors.conf
-
-depend() {
- need logger
- use lm_sensors
-}
-
-checkconfig() {
- if [ ! -f ${CONFIG} ]; then
- eerror "Configuration file ${CONFIG} not found"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting sensord"
- start-stop-daemon --start --exec /usr/sbin/sensord \
- -- --config-file ${CONFIG} ${SENSORD_OPTIONS}
- eend ${?}
-}
-
-stop() {
- ebegin "Stopping sensord"
- start-stop-daemon --stop --pidfile /var/run/sensord.pid
- eend ${?}
-}
diff --git a/sys-apps/lm_sensors/lm_sensors-2.10.6.ebuild b/sys-apps/lm_sensors/lm_sensors-2.10.6.ebuild
deleted file mode 100644
index 7359d02..0000000
--- a/sys-apps/lm_sensors/lm_sensors-2.10.6.ebuild
+++ /dev/null
@@ -1,148 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/lm_sensors-2.10.4.ebuild,v 1.9 2008/05/18 18:54:11 armin76 Exp $
-
-inherit eutils flag-o-matic linux-info toolchain-funcs multilib
-
-DESCRIPTION="Hardware Monitoring user-space utilities"
-
-HOMEPAGE="http://www.lm-sensors.org/"
-SRC_URI="http://dl.lm-sensors.org/lm-sensors/releases/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ppc ~sparc x86"
-
-IUSE="sensord"
-
-COMMON="sys-fs/sysfsutils
- !sys-apps/i2c-tools
- sensord? ( net-analyzer/rrdtool )"
-DEPEND="${COMMON}
- sys-apps/sed
- ppc? ( >=virtual/linux-sources-2.5 )
- amd64? ( || ( >=virtual/linux-sources-2.5 >=sys-kernel/vserver-sources-2.0 ) )
- x86? ( || ( >=virtual/linux-sources-2.5 >=sys-kernel/vserver-sources-2.0 sys-apps/lm_sensors-modules ) )"
-RDEPEND="${COMMON}
- dev-lang/perl
- >=x11-misc/read-edid-1.4.1-r1
- virtual/logger"
-
-pkg_setup() {
- linux-info_pkg_setup
-
- if kernel_is 2 4; then
- if use ppc || use amd64; then
- eerror
- eerror "${P} does not support kernel 2.4.x under PPC and AMD64."
- eerror
- die "${P} does not support kernel 2.4.x under PPC and AMD64."
- elif ! has_version =sys-apps/lm_sensors-modules-${PV}; then
- eerror
- eerror "${P} needs sys-apps/lm_sensors-modules-${PV} to be installed"
- eerror "for kernel 2.4.x"
- eerror
- die "sys-apps/lm_sensors-modules-${PV} not installed"
- fi
- else
- if kernel_is lt 2 6 14 && ! (linux_chkconfig_present I2C_SENSOR); then
- eerror
- eerror "${P} requires CONFIG_I2C_SENSOR to be enabled for non-2.4.x kernels."
- eerror
- die "CONFIG_I2C_SENSOR not detected"
- elif kernel_is gt 2 6 13 && ! (linux_chkconfig_present HWMON); then
- eerror
- eerror "${P} requires CONFIG_HWMON to be enabled for 2.6.14+ kernels."
- eerror
- die "CONFIG_HWMON not detected"
- fi
- if ! (linux_chkconfig_present I2C_CHARDEV); then
- ewarn
- ewarn "sensors-detect requires CONFIG_I2C_CHARDEV to be enabled for non-2.4.x kernels."
- ewarn
- fi
- if ! (linux_chkconfig_present I2C); then
- ewarn
- ewarn "${P} requires CONFIG_I2C to be enabled for non-2.4.x kernels for most sensors."
- ewarn
- fi
- fi
-}
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-3.0.1-sensors-detect-gentoo.patch
-
- if use sensord; then
- sed -i -e 's:^# \(PROG_EXTRA\):\1:' "${S}"/Makefile
- fi
-}
-
-src_compile() {
- einfo
- einfo "You may safely ignore any errors from compilation"
- einfo "that contain \"No such file or directory\" references."
- einfo
-
- filter-flags -fstack-protector
-
- emake CC=$(tc-getCC) LINUX=${KV_DIR} I2C_HEADERS=${KV_DIR}/include user \
- || die "emake user failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" PREFIX=/usr MANDIR=/usr/share/man LIBDIR=/usr/$(get_libdir) \
- KERNELINCLUDEFILES="" user_install || die "emake user_install failed"
-
- newinitd "${FILESDIR}"/lm_sensors-init.d lm_sensors
- newinitd "${FILESDIR}"/fancontrol-init.d fancontrol
-
- if use sensord; then
- newconfd "${FILESDIR}"/sensord-conf.d sensord
- newinitd "${FILESDIR}"/sensord-init.d sensord
- fi
-
- dodoc BACKGROUND BUGS CHANGES CONTRIBUTORS INSTALL QUICKSTART \
- README* TODO
-
- dodoc doc/donations doc/fancontrol.txt doc/fan-divisors doc/FAQ \
- doc/progs doc/temperature-sensors doc/vid
-
- dohtml doc/lm_sensors-FAQ.html doc/useful_addresses.html
-
- docinto busses
- dodoc doc/busses/*
-
- docinto chips
- dodoc doc/chips/*
-
- docinto developers
- dodoc doc/developers/applications doc/developers/design \
- doc/developers/new_drivers doc/developers/proc \
- doc/developers/sysctl doc/developers/sysfs-interface
-}
-
-pkg_postinst() {
- elog
- elog "Please run \`/usr/sbin/sensors-detect' in order to setup"
- elog "/etc/conf.d/lm_sensors."
- elog
- elog "/etc/conf.d/lm_sensors is vital to the init-script."
- elog "Please make sure you also add lm_sensors to the desired"
- elog "runlevel. Otherwise your I2C modules won't get loaded"
- elog "on the next startup."
- elog
- elog "You will also need to run the above command if you're upgrading from"
- elog "<=${PN}-2.9.0, as the needed entries in /etc/conf.d/lm_sensors has"
- elog "changed."
- elog
- elog "Be warned, the probing of hardware in your system performed by"
- elog "sensors-detect could freeze your system. Also make sure you read"
- elog "the documentation before running lm_sensors on IBM ThinkPads."
- elog
- elog "Please refer to the lm_sensors documentation for more information."
- elog "(http://www.lm-sensors.org/wiki/Documentation)"
- elog
-}
diff --git a/sys-apps/lm_sensors/lm_sensors-3.0.1.ebuild b/sys-apps/lm_sensors/lm_sensors-3.0.1.ebuild
deleted file mode 100644
index 9b7d7e3..0000000
--- a/sys-apps/lm_sensors/lm_sensors-3.0.1.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/lm_sensors-3.0.1.ebuild,v 1.1 2008/03/17 07:59:27 dberkholz Exp $
-
-inherit eutils flag-o-matic linux-info toolchain-funcs multilib
-
-DESCRIPTION="Hardware Monitoring user-space utilities"
-
-HOMEPAGE="http://www.lm-sensors.org/"
-SRC_URI="http://dl.lm-sensors.org/lm-sensors/releases/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-
-IUSE="sensord"
-
-COMMON="sensord? ( net-analyzer/rrdtool )"
-DEPEND="${COMMON}
- sys-apps/sed"
-RDEPEND="${COMMON}
- dev-lang/perl
- virtual/logger"
-
-pkg_setup() {
- linux-info_pkg_setup
-
- if ! linux_chkconfig_present HWMON; then
- eerror
- eerror "${P} requires CONFIG_HWMON to be enabled."
- eerror
- die "CONFIG_HWMON not detected"
- fi
- if ! linux_chkconfig_present I2C_CHARDEV; then
- ewarn
- ewarn "sensors-detect requires CONFIG_I2C_CHARDEV to be enabled."
- ewarn
- fi
- if ! linux_chkconfig_present I2C; then
- ewarn
- ewarn "${P} requires CONFIG_I2C to be enabled for most sensors."
- ewarn
- fi
-}
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-3.0.1-sensors-detect-gentoo.patch
-
- if use sensord; then
- sed -i -e 's:^# \(PROG_EXTRA\):\1:' "${S}"/Makefile
- fi
-}
-
-src_compile() {
- einfo
- einfo "You may safely ignore any errors from compilation"
- einfo "that contain \"No such file or directory\" references."
- einfo
-
- filter-flags -fstack-protector
-
- emake CC=$(tc-getCC) \
- || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" PREFIX=/usr MANDIR=/usr/share/man LIBDIR=/usr/$(get_libdir) \
- install || die "emake install failed"
-
- newinitd "${FILESDIR}"/lm_sensors-3-init.d lm_sensors
- newinitd "${FILESDIR}"/fancontrol-init.d fancontrol
-
- if use sensord; then
- newconfd "${FILESDIR}"/sensord-conf.d sensord
- newinitd "${FILESDIR}"/sensord-init.d sensord
- fi
-
- dodoc BACKGROUND BUGS CHANGES CONTRIBUTORS INSTALL QUICKSTART \
- README* TODO
-
- dodoc doc/donations doc/fancontrol.txt doc/fan-divisors doc/FAQ \
- doc/progs doc/temperature-sensors doc/vid
-
- dohtml doc/lm_sensors-FAQ.html doc/useful_addresses.html
-
- docinto chips
- dodoc doc/chips/*
-
- docinto developers
- dodoc doc/developers/applications
-}
-
-pkg_postinst() {
- elog
- elog "Please run \`/usr/sbin/sensors-detect' in order to setup"
- elog "/etc/conf.d/lm_sensors."
- elog
- elog "/etc/conf.d/lm_sensors is vital to the init-script."
- elog "Please make sure you also add lm_sensors to the desired"
- elog "runlevel. Otherwise your I2C modules won't get loaded"
- elog "on the next startup."
- elog
- elog "You will also need to run the above command if you're upgrading from"
- elog "<=${PN}-2, as the needed entries in /etc/conf.d/lm_sensors has"
- elog "changed."
- elog
- elog "Be warned, the probing of hardware in your system performed by"
- elog "sensors-detect could freeze your system. Also make sure you read"
- elog "the documentation before running lm_sensors on IBM ThinkPads."
- elog
- elog "Please refer to the lm_sensors documentation for more information."
- elog "(http://www.lm-sensors.org/wiki/Documentation)"
- elog
-}