diff options
Diffstat (limited to 'emulators/suse64_vmware')
-rw-r--r-- | emulators/suse64_vmware/DESCR | 5 | ||||
-rw-r--r-- | emulators/suse64_vmware/Makefile | 38 | ||||
-rw-r--r-- | emulators/suse64_vmware/PLIST | 2 | ||||
-rw-r--r-- | emulators/suse64_vmware/distinfo | 4 | ||||
-rw-r--r-- | emulators/suse64_vmware/files/device-links | 21 |
5 files changed, 70 insertions, 0 deletions
diff --git a/emulators/suse64_vmware/DESCR b/emulators/suse64_vmware/DESCR new file mode 100644 index 00000000000..ade1fc9455f --- /dev/null +++ b/emulators/suse64_vmware/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/suse64_vmware/Makefile b/emulators/suse64_vmware/Makefile new file mode 100644 index 00000000000..e9a481b5c01 --- /dev/null +++ b/emulators/suse64_vmware/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $ + +DISTNAME= suse_vmware-${SUSE_VERSION} +PKGREVISION= 1 +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}*:../suse64_base +DEPENDS+= suse_x11-{SUSE_VERSION}*:../suse64_x11 + +ONLY_FOR_PLATFORM= NetBSD-*-i386 + +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 "../suse64_linux/Makefile.common" diff --git a/emulators/suse64_vmware/PLIST b/emulators/suse64_vmware/PLIST new file mode 100644 index 00000000000..fda0fd98946 --- /dev/null +++ b/emulators/suse64_vmware/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $ +${EMULSUBDIR}/etc/mtab diff --git a/emulators/suse64_vmware/distinfo b/emulators/suse64_vmware/distinfo new file mode 100644 index 00000000000..cea97b66418 --- /dev/null +++ b/emulators/suse64_vmware/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $ + +SHA1 (suse64/fileutil.rpm) = 1b19fc7e308d6d9ec04de3aa0a73d77011f2e87b +Size (suse64/fileutil.rpm) = 433156 bytes diff --git a/emulators/suse64_vmware/files/device-links b/emulators/suse64_vmware/files/device-links new file mode 100644 index 00000000000..49ba414912b --- /dev/null +++ b/emulators/suse64_vmware/files/device-links @@ -0,0 +1,21 @@ +# $NetBSD: device-links,v 1.1.1.1 2002/04/04 10:07:58 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 +/dev/ttyE6 tty7 +/dev/ttyE7 tty8 +tty1 tty0 |