summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Bainbridge <chrb@gentoo.org>2004-07-23 11:37:34 +0000
committerChris Bainbridge <chrb@gentoo.org>2004-07-23 11:37:34 +0000
commit55b8973b7441ae5199ad3adba7b628661d50ed05 (patch)
tree8ef5a8bebbd0b29b5f8e39423d6d371bc9ff44d6 /app-admin
parentAdded to macos. (Manifest recommit) (diff)
downloadgentoo-2-55b8973b7441ae5199ad3adba7b628661d50ed05.tar.gz
gentoo-2-55b8973b7441ae5199ad3adba7b628661d50ed05.tar.bz2
gentoo-2-55b8973b7441ae5199ad3adba7b628661d50ed05.zip
This package was submitted by Chris Bainbridge in bug #23211
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/flexlm/ChangeLog11
-rw-r--r--app-admin/flexlm/Manifest6
-rw-r--r--app-admin/flexlm/files/90flexlm3
-rw-r--r--app-admin/flexlm/files/digest-flexlm-9.2.13
-rw-r--r--app-admin/flexlm/files/flexlm-conf7
-rw-r--r--app-admin/flexlm/files/flexlm-init19
-rw-r--r--app-admin/flexlm/flexlm-9.2.1.ebuild47
-rw-r--r--app-admin/flexlm/metadata.xml9
8 files changed, 105 insertions, 0 deletions
diff --git a/app-admin/flexlm/ChangeLog b/app-admin/flexlm/ChangeLog
new file mode 100644
index 000000000000..b25cf05bbbde
--- /dev/null
+++ b/app-admin/flexlm/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-admin/flexlm
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/flexlm/ChangeLog,v 1.1 2004/07/23 11:37:34 chrb Exp $
+
+*flexlm-9.2.1 (23 Jul 2004)
+
+ 23 Jul 2004; Chris Bainbridge <chrb@gentoo.org> +metadata.xml,
+ +files/90flexlm, +files/flexlm-conf, +files/flexlm-init,
+ +flexlm-9.2.1.ebuild:
+ This package was submitted by Chris Bainbridge in bug #23211
+
diff --git a/app-admin/flexlm/Manifest b/app-admin/flexlm/Manifest
new file mode 100644
index 000000000000..8bb595c7ec05
--- /dev/null
+++ b/app-admin/flexlm/Manifest
@@ -0,0 +1,6 @@
+MD5 5c7d7d954668e2395e1aa050f2c646fb metadata.xml 333
+MD5 ce7459428ed0c538c0c13c1f48d4095a flexlm-9.2.1.ebuild 1283
+MD5 1cd702ac8282f4716d4dcaa7bacf0f79 files/90flexlm 70
+MD5 aa4d82649e40c912a08a3c36099875a7 files/flexlm-conf 177
+MD5 d279801c4c0c3d3f692239eb7e2a04b4 files/flexlm-init 370
+MD5 ef848515f7535e89d36b4a423bdb8c5f files/digest-flexlm-9.2.1 162
diff --git a/app-admin/flexlm/files/90flexlm b/app-admin/flexlm/files/90flexlm
new file mode 100644
index 000000000000..a60cf3229136
--- /dev/null
+++ b/app-admin/flexlm/files/90flexlm
@@ -0,0 +1,3 @@
+PATH=/opt/flexlm/bin
+ROOTPATH=/opt/flexlm/bin
+MANPATH=/opt/flexlm/man
diff --git a/app-admin/flexlm/files/digest-flexlm-9.2.1 b/app-admin/flexlm/files/digest-flexlm-9.2.1
new file mode 100644
index 000000000000..08ececf2cf68
--- /dev/null
+++ b/app-admin/flexlm/files/digest-flexlm-9.2.1
@@ -0,0 +1,3 @@
+MD5 62e435d9693075fc16812c206cee01dc lmgrd.Z 206733
+MD5 e64a2aa6528da6e2594a6e5392f884fd lmutil.Z 214351
+MD5 02b528e6946f32cf2450e0a87c896474 enduser.pdf 1278218
diff --git a/app-admin/flexlm/files/flexlm-conf b/app-admin/flexlm/files/flexlm-conf
new file mode 100644
index 000000000000..679c682ea88c
--- /dev/null
+++ b/app-admin/flexlm/files/flexlm-conf
@@ -0,0 +1,7 @@
+# Logfile path: (NOTE: This must be uid/gid owned by the value of $LMUSER!)
+LMLOG=/var/log/flexlm.log
+
+# Run the lmgrd user as:
+LMUSER=flexlm
+
+LMLICENSE=/etc/flexlm/license.dat
diff --git a/app-admin/flexlm/files/flexlm-init b/app-admin/flexlm/files/flexlm-init
new file mode 100644
index 000000000000..6ecb18aa61cf
--- /dev/null
+++ b/app-admin/flexlm/files/flexlm-init
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting lmgrd"
+ su - $LMUSER -c "umask 022; /opt/flexlm/bin/lmgrd -c '$LMLICENSE' -l '$LMLOG'"
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping lmgrd"
+ killall -HUP lmgrd &>/dev/null
+ eend
+}
diff --git a/app-admin/flexlm/flexlm-9.2.1.ebuild b/app-admin/flexlm/flexlm-9.2.1.ebuild
new file mode 100644
index 000000000000..f2ff30adf6db
--- /dev/null
+++ b/app-admin/flexlm/flexlm-9.2.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="Macrovision FLEXlm license manager and utils"
+HOMEPAGE="http://www.macrovision.com/services/support/flexlm/lmgrd.shtml"
+SRC_URI="ftp://ftp.globes.com/flexlm/unix/v${PV}/i86_s8/lmgrd.Z
+ ftp://ftp.globes.com/flexlm/unix/v${PV}/i86_s8/lmutil.Z
+ http://www.macrovision.com/services/support/flexlm/enduser.pdf"
+LICENSE="Macromedia"
+KEYWORDS="~x86"
+DEPEND="virtual/glibc"
+S=${WORKDIR}
+RESTRICT="nostrip"
+SLOT="0"
+
+src_unpack() {
+ unpack ${A}
+ cp ${DISTDIR}/enduser.pdf ${S}
+}
+
+src_install () {
+ # executables
+ dodir /opt/flexlm/bin
+ exeinto /opt/flexlm/bin
+ doexe lmgrd lmutil
+ # documentation
+ dodir /opt/flexlm/doc
+ insinto /opt/flexlm/doc
+ doins enduser.pdf
+ # init files
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/flexlm-init flexlm
+ # environment
+ insinto /etc/env.d
+ doins ${FILESDIR}/90flexlm
+ # config
+ insinto /etc/conf.d/
+ newins ${FILESDIR}/flexlm-conf flexlm
+ # empty dir for licenses
+ dodir /etc/flexlm
+}
+
+pkg_postinst() {
+ id &>/dev/null flexlm || useradd -g nogroup -d /opt/flexlm -c "FlexLM server user" -s /bin/bash flexlm
+ einfo "FlexLM installed. Config is in /etc/conf.d/flexlm"
+ einfo "Default location for license file is /etc/flexlm/license.dat"
+}
diff --git a/app-admin/flexlm/metadata.xml b/app-admin/flexlm/metadata.xml
new file mode 100644
index 000000000000..5976844dfbcc
--- /dev/null
+++ b/app-admin/flexlm/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>chrb@gentoo.org</email>
+ <name>Chris Bainbridge</name>
+ </maintainer>
+ <longdescription>Macrovision FLEXlm license manager and utils</longdescription>
+</pkgmetadata>