summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2005-04-02 16:59:44 +0000
committerjdolecek <jdolecek>2005-04-02 16:59:44 +0000
commitc87e3c2235413cd83ab5942c5546b6611333c398 (patch)
tree34a0ad6e6033eb00f53375f01cf372d7e1c36544 /emulators
parent9d90e49a93ae86e99999606a76a6b328733c6223 (diff)
downloadpkgsrc-c87e3c2235413cd83ab5942c5546b6611333c398.tar.gz
Add suse91_vmware - the SuSE 9.1 -based variant of suse_vmware, needed
for vmware and vmware3 packages. Based on suse_vmware, with the unnecessary bits removed. Package provided by Robert Elz in PR pkg/29561, but added grep RPM, which was found necessary too.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/suse91_vmware/DESCR4
-rw-r--r--emulators/suse91_vmware/Makefile38
-rw-r--r--emulators/suse91_vmware/PLIST2
-rw-r--r--emulators/suse91_vmware/distinfo4
-rw-r--r--emulators/suse91_vmware/files/device-links21
5 files changed, 69 insertions, 0 deletions
diff --git a/emulators/suse91_vmware/DESCR b/emulators/suse91_vmware/DESCR
new file mode 100644
index 00000000000..9777e703fdd
--- /dev/null
+++ b/emulators/suse91_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/suse91_vmware/Makefile b/emulators/suse91_vmware/Makefile
new file mode 100644
index 00000000000..07cc0bf3e1b
--- /dev/null
+++ b/emulators/suse91_vmware/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/04/02 16:59:44 jdolecek Exp $
+
+DISTNAME= suse_vmware-${SUSE_VERSION}
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE91}
+DISTFILES= ${RPMFILES}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package to support running VMware
+
+DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
+DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse91_x11
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
+
+EXTRACT_ONLY= # empty
+NO_BUILD= YES
+NO_BUILDLINK= YES
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+PLIST_SUBST= EMULSUBDIR=${EMULSUBDIR}
+
+RPMFILES= grep-2.5.1-416.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/suse91_linux/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_vmware/PLIST b/emulators/suse91_vmware/PLIST
new file mode 100644
index 00000000000..971cab1f4a1
--- /dev/null
+++ b/emulators/suse91_vmware/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/02 16:59:44 jdolecek Exp $
+${EMULSUBDIR}/etc/mtab
diff --git a/emulators/suse91_vmware/distinfo b/emulators/suse91_vmware/distinfo
new file mode 100644
index 00000000000..3b110309d8c
--- /dev/null
+++ b/emulators/suse91_vmware/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/04/02 16:59:44 jdolecek Exp $
+
+SHA1 (suse73/i386/fileutils-4.1-154.i386.rpm) = 1056af49636e8e91787521700ec6b3fe525f6475
+Size (suse73/i386/fileutils-4.1-154.i386.rpm) = 541040 bytes
diff --git a/emulators/suse91_vmware/files/device-links b/emulators/suse91_vmware/files/device-links
new file mode 100644
index 00000000000..50b0788efdc
--- /dev/null
+++ b/emulators/suse91_vmware/files/device-links
@@ -0,0 +1,21 @@
+# $NetBSD: device-links,v 1.1.1.1 2005/04/02 16:59:44 jdolecek 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