1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
|
# $Id: /trunk/debian/non-free/vmware-workstation-3/debian/packages 5 2005-02-16T19:48:00.421413Z svm $
Source: vmware-workstation-3
Section: non-free/misc
Priority: extra
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.6.1
Upstream-Source: <URL:http://www.vmware.com/download/download_archive_3x.html>
Home-Page: <URL:http://www.vmware.com/>
Description: VMware Workstation 3.x
VMware Workstation Virtual Platform is a thin software layer that allows
multiple guest operating systems to run concurrently on a single standard
PC, without repartitioning or rebooting, and without significant loss of
performance.
Packaged-For: Debian
Copyright: .
Restricted.
Build: sh
install -d build-tree/modules/vmware-workstation-3/debian
cp -a lib/modules/source/* build-tree/modules/vmware-workstation-3
cp -a debian/changelog build-tree/modules/vmware-workstation-3/debian
cp -a debian/modules.packages build-tree/modules/vmware-workstation-3/debian/packages
( cd build-tree/modules/vmware-workstation-3; yada rebuild; debian/rules clean ) || exit 1
( cd build-tree; tar zcvf vmware-workstation-3.tar.gz modules ) || exit 1
Clean: sh
rm -rf build-tree
Package: vmware-workstation-3
Architecture: i386
Recommends: vmware-workstation-3-modules
Description: VMware Workstation 3.x
This package provides VMware Workstation 3.x binaries.
Install: sh
yada copy -into /usr/bin bin/*
yada remove -bin vmware-uninstall.pl
yada copy -into /usr/lib/vmware lib/bin
for i in configurator help isoimages licenses messages smb xkeymap config; do
yada copy -into /usr/share/vmware lib/$i
yada symlink -into /usr/lib/vmware -as $i /usr/share/vmware/$i
done
yada install -man man/man1/vmware.1.gz
yada install -doc doc/EULA doc/README doc/open_source_licenses.txt
yada install -conf -subdir vmware -as config debian/conf/vmware.config
yada install -conf -subdir vmware -as vmnet debian/conf/vmware.vmnet
Finalise: sh
chmod u+s $ROOT/usr/bin/vmware
Contains: unstripped
Init: sh
start 90 2 3 4 5 . stop 8 0 1 6 .
#
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DESC="VMware services"
.
test -f /etc/vmware/vmnet || exit 0
.
. /etc/vmware/vmnet
.
set -e
.
case "$1" in
start)
echo -n "Starting $DESC:"
if [ -n "$VMNET0" ]; then
echo -n " vmnet0"
start-stop-daemon --start --quiet --pidfile /var/run/vmnet-bridge.pid \
--exec /usr/bin/vmnet-bridge -- \
-d /var/run/vmnet-bridge.pid /dev/vmnet0 $VMNET0
fi
if [ -n "$VMNET1" ]; then
echo -n " vmnet1"
start-stop-daemon --start --quiet --pidfile /var/run/vmnet-netifup.pid \
--exec /usr/bin/vmnet-netifup -- \
-d /var/run/vmnet-netifup.pid /dev/vmnet1 vmnet1
for net in $VMNET1; do
if [ -z "$alias" ]; then
ifconfig vmnet1 ${net%/*} netmask ${net#*/} up
alias=0
else
ifconfig vmnet1:$alias ${net%/*} netmask ${net#*/} up
alias=$(($alias+1))
fi
done
fi
echo "."
;;
stop)
echo -n "Stopping $DESC:"
echo -n " vmnet0"
start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/vmnet-bridge.pid \
--exec /usr/bin/vmnet-bridge
echo -n " vmnet1"
start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/vmnet-netifup.pid \
--exec /usr/bin/vmnet-netifup
echo "."
;;
restart|force-reload)
$0 stop
sleep 1
$0 start
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
Package: vmware-workstation-3-modules-source
Architecture: i386
Recommends: c-compiler, make, yada (>= %{YADA_VERSION})
Description: VMware Workstation 3.x - kernel modules source
This package provides kernel modules in source form for compilation.
Install: sh
yada install -into /usr/src build-tree/vmware-workstation-3.tar.gz
Package: vmware-workstation-3-modules-common
Architecture: i386
Recommends: vmware-workstation-3-modules
Description: VMware Workstation 3.x - common files used by kernel modules
This package provides common files used by kernel modules.
Install: sh
yada install -conf -subdir devfs/devices.d -as vmware debian/conf/vmware.devfs
yada install -conf -subdir modutils -as vmware debian/conf/vmware.modutils
Postinst: sh
if [ "$1" = "configure" ]; then
test -x /usr/sbin/update-devfsd && /usr/sbin/update-devfsd
if [ ! -c /dev/.devfsd ]; then
cat /etc/devfs/devices.d/vmware | while read name type major minor owner group mode; do
if [ ! -$type /dev/name ]; then
rm -f /dev/$name
mknod /dev/$name $type $major $minor
chown $owner:$group /dev/$name
chmod $mode /dev/$name
fi
done
fi
test -x /sbin/update-modules && /sbin/update-modules
fi
Postrm: sh
if [ "$1" = "purge" ]; then
test -x /usr/sbin/update-devfsd && /usr/sbin/update-devfsd
if [ ! -c /dev/.devfsd ]; then
for f in \
/dev/parport0 /dev/parport16 /dev/parport32 /dev/parport48 \
/dev/vmmon /dev/vmnet[0-9]; do
rm -f $f
done
fi
test -x /sbin/update-modules && /sbin/update-modules
fi
|