diff options
author | tron <tron@pkgsrc.org> | 2001-04-25 21:21:47 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-04-25 21:21:47 +0000 |
commit | 426d7baf554edf4d07c705d0285a2e0b54e33f8e (patch) | |
tree | 9aae074e342b0482aeb1ff6681fd983783850104 /emulators/suse_vmware | |
parent | e27ac0cabf6495f0365e0925623515d9c9bc0abb (diff) | |
download | pkgsrc-426d7baf554edf4d07c705d0285a2e0b54e33f8e.tar.gz |
Import new "suse_vmware" package:
Linux compatibility package to support running VMware
Diffstat (limited to 'emulators/suse_vmware')
-rw-r--r-- | emulators/suse_vmware/Makefile | 34 | ||||
-rw-r--r-- | emulators/suse_vmware/distinfo | 3 | ||||
-rw-r--r-- | emulators/suse_vmware/files/device-links | 19 | ||||
-rw-r--r-- | emulators/suse_vmware/pkg/DESCR | 5 | ||||
-rw-r--r-- | emulators/suse_vmware/pkg/PLIST | 2 |
5 files changed, 63 insertions, 0 deletions
diff --git a/emulators/suse_vmware/Makefile b/emulators/suse_vmware/Makefile new file mode 100644 index 00000000000..bbfecb4beb9 --- /dev/null +++ b/emulators/suse_vmware/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/04/25 21:21:47 tron Exp $ + +DISTNAME= suse_vmware-${SUSE_VERSION} +CATEGORIES= emulators +MASTER_SITES= ${MASTER_SITE_SUSE:=a1/} +DISTFILES= ${RPMFILES} + +MAINTAINER= tron@netbsd.org +HOMEPAGE= http://www.suse.com/ +COMMENT= Linux compatibility package to support running VMware + +DEPENDS+= suse_base>=${SUSE_VERSION}:../suse_base + +EXTRACT_ONLY= # empty +NO_BUILD= YES +PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC +PLIST_SUBST= EMULSUBDIR=${EMULSUBDIR} + +RPMFILES= fileutil.rpm +RPMIGNOREPATH= usr + +post-install: + ${LN} -fs /etc/fstab ${EMULDIR}/etc/mtab + @${GREP} -v '^#' ${FILESDIR}/device-links | \ + ${AWK} '{print("${LN} -fs "$$1" ${EMULDIR}/dev/"$$2)}' | \ + ${SH} - + @${GREP} -v '^#' ${FILESDIR}/device-links | \ + ${AWK} '{print("@exec ln -fs "$$1" %D/${EMULSUBDIR}/dev/"$$2)}' \ + >>${PLIST_SRC} + @${GREP} -v '^#' ${FILESDIR}/device-links | \ + ${AWK} '{print("@unexec rm -f %D/${EMULSUBDIR}/dev/"$$2)}' \ + >>${PLIST_SRC} + +.include "../suse_linux/Makefile.common" diff --git a/emulators/suse_vmware/distinfo b/emulators/suse_vmware/distinfo new file mode 100644 index 00000000000..db317bd4840 --- /dev/null +++ b/emulators/suse_vmware/distinfo @@ -0,0 +1,3 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/04/25 21:21:47 tron Exp $ + +SHA1 (suse64/fileutil.rpm) = 1b19fc7e308d6d9ec04de3aa0a73d77011f2e87b diff --git a/emulators/suse_vmware/files/device-links b/emulators/suse_vmware/files/device-links new file mode 100644 index 00000000000..23df6630936 --- /dev/null +++ b/emulators/suse_vmware/files/device-links @@ -0,0 +1,19 @@ +# $NetBSD: device-links,v 1.1.1.1 2001/04/25 21:21:47 tron Exp $ +/dev/rcd0a cdrom +/dev/rfd0a fd0 +/dev/wd0d hda +/dev/wd1d hdb +/dev/wd2d hdc +/dev/wd3d hdd +/dev/sd0d hde +/dev/sd1d hdf +/dev/sd2d hdg +/dev/sd3d hdh +/dev/sd4d hdi +/dev/ttyE0 tty1 +/dev/ttyE1 tty2 +/dev/ttyE2 tty3 +/dev/ttyE3 tty4 +/dev/ttyE4 tty5 +/dev/ttyE5 tty6 +tty1 tty0 diff --git a/emulators/suse_vmware/pkg/DESCR b/emulators/suse_vmware/pkg/DESCR new file mode 100644 index 00000000000..ade1fc9455f --- /dev/null +++ b/emulators/suse_vmware/pkg/DESCR @@ -0,0 +1,5 @@ +Linux compatibility package based on the SuSE Linux distribution, take a +look at "http://www.suse.com/" for more information about it. + +This package is supposed to make running VMware under NetBSD (see +"http://www.wasabisystems.com/vmware-survey.html") much easier. diff --git a/emulators/suse_vmware/pkg/PLIST b/emulators/suse_vmware/pkg/PLIST new file mode 100644 index 00000000000..49011023fca --- /dev/null +++ b/emulators/suse_vmware/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/25 21:21:47 tron Exp $ +${EMULSUBDIR}/etc/mtab |