diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-04-27 05:54:56 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-04-27 05:54:56 +0000 |
commit | 2e4703a0bf2732a0a2a6370e90d2d1fd5bf1b671 (patch) | |
tree | ea4f1951c897c262f94bdb0f65d6523af6e4f42f /media-gfx/maya/files | |
parent | arm KEYWORD (diff) | |
download | historical-2e4703a0bf2732a0a2a6370e90d2d1fd5bf1b671.tar.gz historical-2e4703a0bf2732a0a2a6370e90d2d1fd5bf1b671.tar.bz2 historical-2e4703a0bf2732a0a2a6370e90d2d1fd5bf1b671.zip |
Initial ebuild by me.
Diffstat (limited to 'media-gfx/maya/files')
-rw-r--r-- | media-gfx/maya/files/aw_flexlm | 41 | ||||
-rw-r--r-- | media-gfx/maya/files/aw_flexlm.conf.d | 3 | ||||
-rw-r--r-- | media-gfx/maya/files/digest-maya-5.0.1 | 2 | ||||
-rw-r--r-- | media-gfx/maya/files/maya-docs | 17 |
4 files changed, 63 insertions, 0 deletions
diff --git a/media-gfx/maya/files/aw_flexlm b/media-gfx/maya/files/aw_flexlm new file mode 100644 index 000000000000..5e9926a180a1 --- /dev/null +++ b/media-gfx/maya/files/aw_flexlm @@ -0,0 +1,41 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/media-gfx/maya/files/aw_flexlm,v 1.1 2004/04/27 05:54:56 eradicator Exp $ + +# description: aw_flexlm controls the Flexlm License Server Daemon for \ +# Alias|Wavefront Products. +# processname: lmgrd + +depend() { + need net +} + +checkconfig() { + if [ -x "/usr/aw/COM/etc/lmgrd" ]; then + if [ -f "$LICENSE_FILE" ] ; then + return 0 + else + eerror "ERROR Cannot run FLEXlm Licensing daemon: lmgrd" + eerror "$LICENSE_FILE does not exist." + fi + else + eerror "ERROR Cannot run FLEXlm Licensing daemon: lmgrd" + eerror "/usr/aw/COM/etc/lmgrd does not exist or is not executable" + fi + + return 1 +} + +start() { + checkconfig || return 1 + ebegin "Starting FLEXlm License Server Daemon for Alias|Wavefront software" + su nobody -c "/usr/aw/COM/etc/lmgrd -c $LICENSE_FILE -l ${LOG}" + eend $? +} + +stop() { + ebegin "Shutting Down FLEXlm License Server Daemon for Alias|Wavefront software" + /usr/aw/COM/bin/lmdown -q -c "$LICENSE_FILE" + eend $? +} diff --git a/media-gfx/maya/files/aw_flexlm.conf.d b/media-gfx/maya/files/aw_flexlm.conf.d new file mode 100644 index 000000000000..ebfdcebb5a29 --- /dev/null +++ b/media-gfx/maya/files/aw_flexlm.conf.d @@ -0,0 +1,3 @@ +LICENSE_DIR=/var/flexlm +LICENSE_FILE="$LICENSE_DIR/aw_`/bin/uname -n | awk -F. '{print $1}'`.dat" +LOG=/var/log/aw_flexlm.log diff --git a/media-gfx/maya/files/digest-maya-5.0.1 b/media-gfx/maya/files/digest-maya-5.0.1 new file mode 100644 index 000000000000..81d5f7e87c14 --- /dev/null +++ b/media-gfx/maya/files/digest-maya-5.0.1 @@ -0,0 +1,2 @@ +MD5 945fe2f84bdfaca1d22ab039e53326e4 Maya-5.0-linux-software.tar.gz 104776674 +MD5 266ca7b2904138a4e2ffcd7a6a2f0313 myr_maya501_gold_linux_update.tgz 91584847 diff --git a/media-gfx/maya/files/maya-docs b/media-gfx/maya/files/maya-docs new file mode 100644 index 000000000000..da6da64a28bd --- /dev/null +++ b/media-gfx/maya/files/maya-docs @@ -0,0 +1,17 @@ +#!/sbin/runscript + +depend() { + need net +} + +start() { + ebegin "Starting Maya Doc Server" + start-stop-daemon --start --quiet --exec /usr/aw/maya/docs/startDocServer.sh + eend $? +} + +stop() { + ebegin "Stopping Maya Doc Server" + start-stop-daemon --start --quiet --exec /usr/aw/maya/docs/shutdownDocServer.sh + eend $? +} |