Browse Source

Juergen Sawinski:


			
			
				rocklinux
			
			
		
Juergen "George" Sawinski 20 years ago
parent
commit
44c525075c
6 changed files with 224 additions and 0 deletions
  1. +30
    -0
      package/jsaw/flexlm/config.in
  2. +24
    -0
      package/jsaw/flexlm/config.txt
  3. +54
    -0
      package/jsaw/flexlm/flexlm.conf
  4. +50
    -0
      package/jsaw/flexlm/flexlm.desc
  5. +39
    -0
      package/jsaw/flexlm/flexlm.init
  6. +27
    -0
      package/jsaw/flexlm/flexlm.txt

+ 30
- 0
package/jsaw/flexlm/config.in

@ -0,0 +1,30 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/jsaw/flexlm/config.in
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
if pkgcheck flexlm X
then
case "$arch" in
x86) pkgfork flexlm flexlm-x86 ;;
esac
pkgremove flexlm
fi

+ 24
- 0
package/jsaw/flexlm/config.txt

@ -0,0 +1,24 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/jsaw/flexlm/config.txt
# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
# Enter one config file per line
# (lmgrd is started for all files with "lmgrd -c <file>")

+ 54
- 0
package/jsaw/flexlm/flexlm.conf

@ -0,0 +1,54 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/jsaw/flexlm/flexlm.conf
# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
prefix=/opt/flexlm
set_confopt
flexlm_main() {
# create directories and install binaries
mkdir -p $root/$prefix $root/$sysconfdir
cp $archdir/{lmgrd-$arch,lmutil-$arch}.bz2 $root/$prefix/bin/
rm -f $root/$prefix/bin/{lmgrd-$arch,lmutil-$arch}
bzip2 -d $root/$prefix/bin/{lmgrd-$arch,lmutil-$arch}.bz2
mv $root/$prefix/bin/lmgrd-$arch $root/$prefix/bin/lmgrd
mv $root/$prefix/bin/lmutil-$arch $root/$prefix/bin/lmutil
chmod 0755 $root/$prefix/bin/{lmgrd,lmutil}
chown daemon.daemon $root/$prefix/bin/{lmgrd,lmutil}
# create links
for i in lmborrow lmdiag lmdown lmhostid lminstall \
lmnewlog lmpath lmremove lmreread lmstat \
lmswitch lmswitchr lmver; do
ln -sf $root/$prefix/bin/lmutil $i
done
# install config
rock_substitute $confdir/config.txt \
> $root/$sysconfdir/config
}
custmain="flexlm_main"
autoextract=0

+ 50
- 0
package/jsaw/flexlm/flexlm.desc

@ -0,0 +1,50 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/jsaw/flexlm/flexlm.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] FLEXlm(TM) License Manager
[T] FLEXlm helps you flexibly and effectively price, package and license
[T] software products to quickly meet market demand. FLEXlm helps software
[T] vendors separate usage rights and licensing policies from the
[T] application binary, giving them the flexibility to change licensing
[T] terms without incurring development costs. Using battle-tested,
[T] industry-standard technology, FLEXlm helps software vendors reduce
[T] unlicensed use and capture all potential revenue from new and
[T] installed-base customers.
[U] http://www.macrovision.com/products/legacy_products/flexlm/index.shtml
[A] Macrovision
[M] Juergen "George" Sawinski <jsaw@gmx.net>
[C] extra/server
[L] Commercial
[S] Stable
[V] 9.2.1
[P] X -----5---9 800.000
#if xpkg == flexlm-x86
[D] X lmgrd-x86.Z !ftp://ftp.globes.com/flexlm/unix/v9.2.1/i86_r6/lmgrd.Z NODIST
[D] X lmutil-x86.Z !ftp://ftp.globes.com/flexlm/unix/v9.2.1/i86_r6/lmutil.Z NODIST
#endif

+ 39
- 0
package/jsaw/flexlm/flexlm.init

@ -0,0 +1,39 @@
#!/bin/sh
#
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/jsaw/flexlm/flexlm.init
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
#
# Desc: the FLEXlm license manager
# Runlevel: 99 rc3 rc4 rc5 rcX
#
main_begin
block_begin(start, `Starting FLEXlm.')
check(`D_prefix/sbin/flexlm')
block_end
block_begin(stop, `Stopping FLEXlm.')
check(`killall -15 D_prefix/bin/lmgrd')
block_end
main_end

+ 27
- 0
package/jsaw/flexlm/flexlm.txt

@ -0,0 +1,27 @@
#!/bin/sh
#
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/jsaw/flexlm/flexlm.txt
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
cat D_sysconfdir/config | egrep -v "^((#.*$)|())$" | while read ln; do
D_prefix/bin/lmgrd -c $ln
done

Loading…
Cancel
Save