summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authortron <tron>2007-03-21 16:10:13 +0000
committertron <tron>2007-03-21 16:10:13 +0000
commit3f891556ea31d7c814761a18c8951f711a756dea (patch)
tree6a94b02751b6e6c5a6ee8ea0afacf858f2cf2823 /emulators
parent5f34431c132fbc962c40c5df820a8c3907b4d9d7 (diff)
downloadpkgsrc-3f891556ea31d7c814761a18c8951f711a756dea.tar.gz
Import new "suse100_vmware" package:
Linux compatibility package to support running VMware (SuSE 10.0 version)
Diffstat (limited to 'emulators')
-rw-r--r--emulators/suse100_vmware/DESCR4
-rw-r--r--emulators/suse100_vmware/Makefile35
-rw-r--r--emulators/suse100_vmware/PLIST2
-rw-r--r--emulators/suse100_vmware/distinfo5
-rw-r--r--emulators/suse100_vmware/files/device-links21
5 files changed, 67 insertions, 0 deletions
diff --git a/emulators/suse100_vmware/DESCR b/emulators/suse100_vmware/DESCR
new file mode 100644
index 00000000000..9777e703fdd
--- /dev/null
+++ b/emulators/suse100_vmware/DESCR
@@ -0,0 +1,4 @@
+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 help running VMware under NetBSD.
diff --git a/emulators/suse100_vmware/Makefile b/emulators/suse100_vmware/Makefile
new file mode 100644
index 00000000000..bc8b623fd91
--- /dev/null
+++ b/emulators/suse100_vmware/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/03/21 16:10:13 tron Exp $
+
+DISTNAME= suse_vmware-${SUSE_VERSION}
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE100}
+DISTFILES= ${RPMFILES}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package to support running VMware
+
+DEPENDS+= suse_base-${SUSE_VERSION}{,nb*}:../../emulators/suse100_base
+DEPENDS+= suse_x11-${SUSE_VERSION}{,nb*}:../../emulators/suse100_x11
+
+EXTRACT_ONLY= # empty
+NO_BUILD= YES
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR:Q}
+
+RPMFILES= grep-2.5.1a-5.i586.rpm
+RPMIGNOREPATH= usr
+
+post-install:
+ ${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 "../../emulators/suse100_linux/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse100_vmware/PLIST b/emulators/suse100_vmware/PLIST
new file mode 100644
index 00000000000..c2dda48050e
--- /dev/null
+++ b/emulators/suse100_vmware/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/03/21 16:10:13 tron Exp $
+@comment this plist intentionally left empty
diff --git a/emulators/suse100_vmware/distinfo b/emulators/suse100_vmware/distinfo
new file mode 100644
index 00000000000..8c544fcff27
--- /dev/null
+++ b/emulators/suse100_vmware/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/03/21 16:10:13 tron Exp $
+
+SHA1 (suse100/i586/grep-2.5.1a-5.i586.rpm) = 728aab187b21e2e3ca8157a04e6bfec289c0fe43
+RMD160 (suse100/i586/grep-2.5.1a-5.i586.rpm) = 884f721b66cf236d7baccf83711495ed67529e52
+Size (suse100/i586/grep-2.5.1a-5.i586.rpm) = 179908 bytes
diff --git a/emulators/suse100_vmware/files/device-links b/emulators/suse100_vmware/files/device-links
new file mode 100644
index 00000000000..fb13c5500f6
--- /dev/null
+++ b/emulators/suse100_vmware/files/device-links
@@ -0,0 +1,21 @@
+# $NetBSD: device-links,v 1.1.1.1 2007/03/21 16:10:13 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