summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authortron <tron>2002-04-04 10:07:57 +0000
committertron <tron>2002-04-04 10:07:57 +0000
commit837e516972031d234954c4d0e810aac433c716e3 (patch)
treef3b200485bc782fc02213e4de4e34480fd7a5585 /emulators
parent76a388c16ab6e0f159887fd5ce0ee2f99555d9c3 (diff)
downloadpkgsrc-837e516972031d234954c4d0e810aac433c716e3.tar.gz
Import SuSE 6.4 packages as "suse64_*" to support the Linux emulation on
NetBSD 1.5 and 1.5.x systems.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/suse64_audio/DESCR5
-rw-r--r--emulators/suse64_audio/Makefile22
-rw-r--r--emulators/suse64_audio/distinfo4
-rw-r--r--emulators/suse64_base/DESCR5
-rw-r--r--emulators/suse64_base/INSTALL34
-rw-r--r--emulators/suse64_base/Makefile55
-rw-r--r--emulators/suse64_base/PLIST11
-rw-r--r--emulators/suse64_base/distinfo16
-rw-r--r--emulators/suse64_base/files/ld.so.conf13
-rw-r--r--emulators/suse64_base/files/linux-mkpwd.sh18
-rw-r--r--emulators/suse64_compat/DESCR5
-rw-r--r--emulators/suse64_compat/Makefile26
-rw-r--r--emulators/suse64_compat/distinfo4
-rw-r--r--emulators/suse64_devel/DESCR5
-rw-r--r--emulators/suse64_devel/Makefile27
-rw-r--r--emulators/suse64_devel/PLIST1
-rw-r--r--emulators/suse64_devel/distinfo18
-rw-r--r--emulators/suse64_glx/DESCR5
-rw-r--r--emulators/suse64_glx/Makefile24
-rw-r--r--emulators/suse64_glx/distinfo4
-rw-r--r--emulators/suse64_gtk/DESCR5
-rw-r--r--emulators/suse64_gtk/Makefile22
-rw-r--r--emulators/suse64_gtk/distinfo6
-rw-r--r--emulators/suse64_libc5/DESCR4
-rw-r--r--emulators/suse64_libc5/Makefile23
-rw-r--r--emulators/suse64_libc5/distinfo4
-rw-r--r--emulators/suse64_libjpeg/DESCR4
-rw-r--r--emulators/suse64_libjpeg/Makefile24
-rw-r--r--emulators/suse64_libjpeg/distinfo4
-rw-r--r--emulators/suse64_libpng/DESCR4
-rw-r--r--emulators/suse64_libpng/Makefile22
-rw-r--r--emulators/suse64_libpng/distinfo4
-rw-r--r--emulators/suse64_linux/DESCR2
-rw-r--r--emulators/suse64_linux/Makefile28
-rw-r--r--emulators/suse64_linux/Makefile.common48
-rw-r--r--emulators/suse64_linux/PLIST2
-rw-r--r--emulators/suse64_vmware/DESCR5
-rw-r--r--emulators/suse64_vmware/Makefile38
-rw-r--r--emulators/suse64_vmware/PLIST2
-rw-r--r--emulators/suse64_vmware/distinfo4
-rw-r--r--emulators/suse64_vmware/files/device-links21
-rw-r--r--emulators/suse64_x11/DESCR5
-rw-r--r--emulators/suse64_x11/Makefile24
-rw-r--r--emulators/suse64_x11/distinfo6
-rw-r--r--emulators/suse64_xforms/DESCR5
-rw-r--r--emulators/suse64_xforms/Makefile23
-rw-r--r--emulators/suse64_xforms/distinfo4
47 files changed, 645 insertions, 0 deletions
diff --git a/emulators/suse64_audio/DESCR b/emulators/suse64_audio/DESCR
new file mode 100644
index 00000000000..a580d324ffb
--- /dev/null
+++ b/emulators/suse64_audio/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 supports running ELF binaries linked with glibc2 which require
+the "audiofile" library.
diff --git a/emulators/suse64_audio/Makefile b/emulators/suse64_audio/Makefile
new file mode 100644
index 00000000000..22bbe1267da
--- /dev/null
+++ b/emulators/suse64_audio/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+DISTNAME= suse_audio-${SUSE_VERSION}
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE:=snd1/}
+DISTFILES= ${RPMFILES}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package for audio libraries
+
+DEPENDS+= suse_base-${SUSE_VERSION}*:../suse64_base
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+EXTRACT_ONLY= # empty
+NO_BUILD= yes
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+RPMFILES= audiofil.rpm
+
+.include "../suse64_linux/Makefile.common"
diff --git a/emulators/suse64_audio/distinfo b/emulators/suse64_audio/distinfo
new file mode 100644
index 00000000000..7908f7ac1fe
--- /dev/null
+++ b/emulators/suse64_audio/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+SHA1 (suse64/audiofil.rpm) = 7cada81cfc5b06323f0de33e13a916242ad11eb3
+Size (suse64/audiofil.rpm) = 290550 bytes
diff --git a/emulators/suse64_base/DESCR b/emulators/suse64_base/DESCR
new file mode 100644
index 00000000000..62e5a3f87e9
--- /dev/null
+++ b/emulators/suse64_base/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 supports running ELF binaries linked with glibc2 which don't
+require X11 shared libraries.
diff --git a/emulators/suse64_base/INSTALL b/emulators/suse64_base/INSTALL
new file mode 100644
index 00000000000..513d3d1d171
--- /dev/null
+++ b/emulators/suse64_base/INSTALL
@@ -0,0 +1,34 @@
+#!/bin/sh
+# $NetBSD: INSTALL,v 1.1.1.1 2002/04/04 10:07:57 tron Exp $
+
+emul=linux
+if [ "$2" != "POST-INSTALL" ]; then exit 0; fi
+
+cat <<EOF
+==============================================================================
+
+Do not forget to include COMPAT_LINUX and EXEC_ELF32 in your kernel
+configuration file. (Linux binaries require these options in order to
+work.)
+EOF
+
+if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" != \
+ "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ]; then
+ if [ -e /emul/$emul -o -L /emul/$emul ] || \
+ [ \( -e /emul -o -L /emul \) -a ! -d /emul ]; then
+ cat <<-EOF
+
+ IMPORTANT: You must create a symbolic link from /emul/$emul to
+ ${PKG_PREFIX}/emul/$emul in order for this package to work properly.
+ (It seems there is something else located at /emul/$emul.)
+ EOF
+ else
+ mkdir -p /emul
+ ln -sf ${PKG_PREFIX}/emul/$emul /emul/$emul
+ fi
+fi
+
+cat <<EOF
+
+==============================================================================
+EOF
diff --git a/emulators/suse64_base/Makefile b/emulators/suse64_base/Makefile
new file mode 100644
index 00000000000..f5957fa11b2
--- /dev/null
+++ b/emulators/suse64_base/Makefile
@@ -0,0 +1,55 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/04 10:07:57 tron Exp $
+
+DISTNAME= suse_base-${SUSE_VERSION}
+PKGREVISION= 5
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE:=a1/} \
+ ftp://ftp.suse.com/pub/suse/i386/update/${SUSE_VERSION}/a1/
+DISTFILES= ${RPMFILES}
+
+MAINTAINER= tron@netbsd.org
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package
+
+CONFLICTS= linux_SuSE-5.3 linux_lib-2.4
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+EXTRACT_ONLY= # empty
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+RPMFILES= aaa_dir.rpm shlibs-2.1.3-204.i386.rpm \
+ libz-1.1.3-575.i386.rpm \
+ bash.rpm gppshare.rpm ncurses.rpm sh_utils.rpm
+RPMIGNOREPATH= tmp usr/tmp var
+
+LINUX_LDD= ${PREFIX}/${EMULSUBDIR}/usr/bin/ldd
+
+do-build:
+ @for FILE in ${PKGDIR}/PLIST ${FILESDIR}/*.sh; do \
+ ${SED} -e 's#@@EMULDIR@@#${EMULDIR}#g' \
+ -e 's#@@EMULSUBDIR@@#${EMULSUBDIR}#g' \
+ <$$FILE >${WRKDIR}/`basename $$FILE`; \
+ done
+
+do-install:
+ for FILE in ${WRKDIR}/*.sh; do \
+ ${INSTALL_SCRIPT} $$FILE ${PREFIX}/sbin/`basename $$FILE .sh`; \
+ done
+ ${INSTALL_DATA_DIR} ${EMULDIR}/dev
+ ${LN} -fs /dev/sound ${EMULDIR}/dev/dsp
+ ${LN} -fs /dev/null ${EMULDIR}/dev/null
+ @${CP} ${WRKDIR}/PLIST ${PLIST_SRC}
+ ${RPM2PKG} ${RPM2PKGARGS}
+ ${ECHO} "@dirrm ${EMULSUBDIR}" >>${PLIST_SRC}
+ ${INSTALL_DATA} ${FILESDIR}/ld.so.conf ${EMULDIR}/etc
+ ${EMULDIR}/sbin/ldconfig -r ${EMULDIR}
+ ${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" \
+ >>${PLIST_SRC}
+ ${SED} -e 's:#! :#! /${EMULSUBDIR}:' \
+ -e 's:^RTLD=:RTLD=/${EMULSUBDIR}:' \
+ < ${LINUX_LDD} > ${LINUX_LDD}.new
+ ${MV} ${LINUX_LDD}.new ${LINUX_LDD}
+ ${CHMOD} +x ${LINUX_LDD}
+ @${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${INSTALL_FILE} - POST-INSTALL
+
+.include "../suse64_linux/Makefile.common"
diff --git a/emulators/suse64_base/PLIST b/emulators/suse64_base/PLIST
new file mode 100644
index 00000000000..b173dc7b0b3
--- /dev/null
+++ b/emulators/suse64_base/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/04 10:07:57 tron Exp $
+sbin/linux-mkpwd
+@unexec ${RM} -f %D/@@EMULSUBDIR@@/etc/ld.so.cache
+@@EMULSUBDIR@@/etc/ld.so.conf
+@unexec cd %D/@@EMULSUBDIR@@/etc && ${RM} -f group gshadow passwd shadow
+@exec ${MKDIR} -p %D/@@EMULSUBDIR@@/dev
+@exec ln -s /dev/sound %D/@@EMULSUBDIR@@/dev/dsp
+@unexec ${RM} -f %D/@@EMULSUBDIR@@/dev/dsp
+@exec ln -s /dev/null %D/@@EMULSUBDIR@@/dev/null
+@unexec ${RM} -f %D/@@EMULSUBDIR@@/dev/null
+@dirrm @@EMULSUBDIR@@/dev
diff --git a/emulators/suse64_base/distinfo b/emulators/suse64_base/distinfo
new file mode 100644
index 00000000000..4b153e08cf2
--- /dev/null
+++ b/emulators/suse64_base/distinfo
@@ -0,0 +1,16 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+SHA1 (suse64/aaa_dir.rpm) = 3a4af536ea05f76310d6194b8fd9968779efc00e
+Size (suse64/aaa_dir.rpm) = 19509 bytes
+SHA1 (suse64/shlibs-2.1.3-204.i386.rpm) = 448bc2fd055603acfebe7b21a2aa27f09331b75d
+Size (suse64/shlibs-2.1.3-204.i386.rpm) = 6616459 bytes
+SHA1 (suse64/libz-1.1.3-575.i386.rpm) = 9e80841f564a4318a610c3006378d051f602a577
+Size (suse64/libz-1.1.3-575.i386.rpm) = 90659 bytes
+SHA1 (suse64/bash.rpm) = 3c2b9bf7169cde8e9c2b9a930097b0abfc98e134
+Size (suse64/bash.rpm) = 763674 bytes
+SHA1 (suse64/gppshare.rpm) = 33a2db525712b6e3115cc2ac34c5ab847f162117
+Size (suse64/gppshare.rpm) = 1431064 bytes
+SHA1 (suse64/ncurses.rpm) = 837d7570c17a44233d5b04ebfbff54f8700291ff
+Size (suse64/ncurses.rpm) = 2042603 bytes
+SHA1 (suse64/sh_utils.rpm) = 27a0aacae80faf03f43b177f3c67b040b9e7f1fd
+Size (suse64/sh_utils.rpm) = 418599 bytes
diff --git a/emulators/suse64_base/files/ld.so.conf b/emulators/suse64_base/files/ld.so.conf
new file mode 100644
index 00000000000..d1b22a388fb
--- /dev/null
+++ b/emulators/suse64_base/files/ld.so.conf
@@ -0,0 +1,13 @@
+/lib-aout
+/usr/X11R6/lib/Xaw95
+/usr/X11R6/lib/Xaw3d
+/usr/X11R6/lib
+/usr/X386/lib
+/usr/i486-linux/lib
+/usr/i486-linux-libc5/lib
+/usr/i486-linux-libc6/lib
+/usr/i486-linuxaout/lib
+/usr/local/lib
+/usr/openwin/lib
+/opt/kde/lib
+/opt/gnome/lib
diff --git a/emulators/suse64_base/files/linux-mkpwd.sh b/emulators/suse64_base/files/linux-mkpwd.sh
new file mode 100644
index 00000000000..49678703953
--- /dev/null
+++ b/emulators/suse64_base/files/linux-mkpwd.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# $NetBSD: linux-mkpwd.sh,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+SRCDIR=/etc
+DESTDIR=@@EMULDIR@@/etc
+
+umask 22
+cd $DESTDIR
+cp $SRCDIR/passwd .
+sed s/^wheel:/root:/ <$SRCDIR/group >group
+
+umask 77
+awk -F: '{print($1":"$2":0:0:10000::::")}' <$SRCDIR/master.passwd >shadow
+sed s/^wheel:/root:/ <$SRCDIR/group |
+awk -F: '{print($1":*:root:root")}' >gshadow
+
+exit 0
diff --git a/emulators/suse64_compat/DESCR b/emulators/suse64_compat/DESCR
new file mode 100644
index 00000000000..addf8028f9b
--- /dev/null
+++ b/emulators/suse64_compat/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 contains some old shared libraries required for backwards
+compatibility.
diff --git a/emulators/suse64_compat/Makefile b/emulators/suse64_compat/Makefile
new file mode 100644
index 00000000000..2045b73182a
--- /dev/null
+++ b/emulators/suse64_compat/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+DISTNAME= compat
+PKGNAME= suse_compat-${SUSE_VERSION}
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE:=a2/}
+EXTRACT_SUFX= .rpm
+
+MAINTAINER= tron@netbsd.org
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package with old shared libraries
+
+DEPENDS+= suse_base-${SUSE_VERSION}*:../suse64_base
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+EXTRACT_ONLY= # empty
+NO_BUILD= yes
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+RPMFILES= ${DISTNAME}${EXTRACT_SUFX}
+
+post-install:
+ ${ECHO} "${EMULSUBDIR}/usr/lib/libncurses.so.2.1" >>${PLIST_SRC}
+
+.include "../suse64_linux/Makefile.common"
diff --git a/emulators/suse64_compat/distinfo b/emulators/suse64_compat/distinfo
new file mode 100644
index 00000000000..d3566c45810
--- /dev/null
+++ b/emulators/suse64_compat/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+SHA1 (suse64/compat.rpm) = d801f31eac659af95ae796afec84cf7f47694e51
+Size (suse64/compat.rpm) = 1592133 bytes
diff --git a/emulators/suse64_devel/DESCR b/emulators/suse64_devel/DESCR
new file mode 100644
index 00000000000..3a1718e7a05
--- /dev/null
+++ b/emulators/suse64_devel/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 contains basic Linux system development tools in ELF binary
+format, linked with glibc2.
diff --git a/emulators/suse64_devel/Makefile b/emulators/suse64_devel/Makefile
new file mode 100644
index 00000000000..55a45ae9f6d
--- /dev/null
+++ b/emulators/suse64_devel/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+DISTNAME= suse_devel-${SUSE_VERSION}
+PKGREVISION= 1
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE:=d1/} \
+ ${MASTER_SITE_SUSE:=d2/} \
+ ftp://ftp.suse.com/pub/suse/i386/update/${SUSE_VERSION}/d1/ \
+ ftp://ftp.suse.com/pub/suse/i386/update/${SUSE_VERSION}/d2/
+DISTFILES= ${RPMFILES}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package - development tools
+
+DEPENDS+= suse_base-${SUSE_VERSION}*:../suse64_base
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+EXTRACT_ONLY= # empty
+NO_BUILD= yes
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+RPMFILES= bin86.rpm binutils.rpm g77.rpm gcc.rpm gpp.rpm \
+ libc-2.1.3-204.i386.rpm linclude.rpm make.rpm
+
+.include "../suse64_linux/Makefile.common"
diff --git a/emulators/suse64_devel/PLIST b/emulators/suse64_devel/PLIST
new file mode 100644
index 00000000000..58089c13962
--- /dev/null
+++ b/emulators/suse64_devel/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
diff --git a/emulators/suse64_devel/distinfo b/emulators/suse64_devel/distinfo
new file mode 100644
index 00000000000..76ce66dee69
--- /dev/null
+++ b/emulators/suse64_devel/distinfo
@@ -0,0 +1,18 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+SHA1 (suse64/bin86.rpm) = 1f95b02ac913df4ce5a5e5040e27fb3b077fd0f6
+Size (suse64/bin86.rpm) = 56119 bytes
+SHA1 (suse64/binutils.rpm) = f595c43d73bf9e0111bed8725a2164c9e637ce5c
+Size (suse64/binutils.rpm) = 1348069 bytes
+SHA1 (suse64/g77.rpm) = 1df485c7bcd6be5895634a033972e01487fc7ced
+Size (suse64/g77.rpm) = 1422553 bytes
+SHA1 (suse64/gcc.rpm) = f83eb48283767fa268c894ff2a6327cfecd1f81e
+Size (suse64/gcc.rpm) = 1214646 bytes
+SHA1 (suse64/gpp.rpm) = 4a2fec0dcca350f8799f2f1fbe244783c4b0e32b
+Size (suse64/gpp.rpm) = 1076707 bytes
+SHA1 (suse64/libc-2.1.3-204.i386.rpm) = 98016802548e5714389079cd253c470e7a165e5a
+Size (suse64/libc-2.1.3-204.i386.rpm) = 7255109 bytes
+SHA1 (suse64/linclude.rpm) = 899011a598e56a4b5adf82e6692a7a5bd37cc91d
+Size (suse64/linclude.rpm) = 1897912 bytes
+SHA1 (suse64/make.rpm) = 3e7b22b6a811e28e782f0cd0013977adf5970963
+Size (suse64/make.rpm) = 193075 bytes
diff --git a/emulators/suse64_glx/DESCR b/emulators/suse64_glx/DESCR
new file mode 100644
index 00000000000..327c1077310
--- /dev/null
+++ b/emulators/suse64_glx/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 supports running ELF binaries linked with glibc2 which require
+GLX shared libraries.
diff --git a/emulators/suse64_glx/Makefile b/emulators/suse64_glx/Makefile
new file mode 100644
index 00000000000..eeac3df96e2
--- /dev/null
+++ b/emulators/suse64_glx/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+DISTNAME= suse_glx-${SUSE_VERSION}
+PKGREVISION= 1
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE:=x3d1/} \
+ ftp://ftp.suse.com/pub/suse/i386/update/${SUSE_VERSION}/x3d1/
+DISTFILES= ${RPMFILES}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package for GLX binaries
+
+DEPENDS+= suse_x11-${SUSE_VERSION}*:../../emulators/suse64_x11
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+EXTRACT_ONLY= # empty
+NO_BUILD= yes
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+RPMFILES= glx-000229-53.i386.rpm
+
+.include "../suse64_linux/Makefile.common"
diff --git a/emulators/suse64_glx/distinfo b/emulators/suse64_glx/distinfo
new file mode 100644
index 00000000000..9f255070f2e
--- /dev/null
+++ b/emulators/suse64_glx/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+SHA1 (suse64/glx-000229-53.i386.rpm) = f0035e37cad511c830c737969585921f7a01c069
+Size (suse64/glx-000229-53.i386.rpm) = 978141 bytes
diff --git a/emulators/suse64_gtk/DESCR b/emulators/suse64_gtk/DESCR
new file mode 100644
index 00000000000..d404f886f92
--- /dev/null
+++ b/emulators/suse64_gtk/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 supports running ELF binaries linked with glibc2 which require
+GTK shared libraries.
diff --git a/emulators/suse64_gtk/Makefile b/emulators/suse64_gtk/Makefile
new file mode 100644
index 00000000000..1c34bbff612
--- /dev/null
+++ b/emulators/suse64_gtk/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+DISTNAME= suse_gtk-${SUSE_VERSION}
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE:=gra1/}
+DISTFILES= ${RPMFILES}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package for GTK binaries
+
+DEPENDS+= suse_x11-${SUSE_VERSION}*:../suse64_x11
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+EXTRACT_ONLY= # empty
+NO_BUILD= yes
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+RPMFILES= glib.rpm gtk.rpm
+
+.include "../suse64_linux/Makefile.common"
diff --git a/emulators/suse64_gtk/distinfo b/emulators/suse64_gtk/distinfo
new file mode 100644
index 00000000000..bc3ee61a1a2
--- /dev/null
+++ b/emulators/suse64_gtk/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+SHA1 (suse64/glib.rpm) = 68a3f36281a440fa90fd24853fccc48e02a29078
+Size (suse64/glib.rpm) = 170856 bytes
+SHA1 (suse64/gtk.rpm) = 67b27d7ca3e6ac67eee1a37a91b99003cc4e89b8
+Size (suse64/gtk.rpm) = 1424531 bytes
diff --git a/emulators/suse64_libc5/DESCR b/emulators/suse64_libc5/DESCR
new file mode 100644
index 00000000000..65e048cff26
--- /dev/null
+++ b/emulators/suse64_libc5/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 supports running ELF binaries linked with libc5.
diff --git a/emulators/suse64_libc5/Makefile b/emulators/suse64_libc5/Makefile
new file mode 100644
index 00000000000..c5d5d10dfc1
--- /dev/null
+++ b/emulators/suse64_libc5/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+DISTNAME= shlibs5
+PKGNAME= suse_libc5-${SUSE_VERSION}
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE:=a1/}
+EXTRACT_SUFX= .rpm
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package for libc5 binaries
+
+DEPENDS+= suse_compat-${SUSE_VERSION}*:../suse64_compat
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+EXTRACT_ONLY= # empty
+NO_BUILD= yes
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+RPMFILES= ${DISTNAME}${EXTRACT_SUFX}
+
+.include "../suse64_linux/Makefile.common"
diff --git a/emulators/suse64_libc5/distinfo b/emulators/suse64_libc5/distinfo
new file mode 100644
index 00000000000..48f9e884544
--- /dev/null
+++ b/emulators/suse64_libc5/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+SHA1 (suse64/shlibs5.rpm) = aafa4374ab4761c9b1f9d3407c66ebfb6320b54b
+Size (suse64/shlibs5.rpm) = 14584177 bytes
diff --git a/emulators/suse64_libjpeg/DESCR b/emulators/suse64_libjpeg/DESCR
new file mode 100644
index 00000000000..3fe7a54d422
--- /dev/null
+++ b/emulators/suse64_libjpeg/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 supports running ELF binaries linked with jpeg shared libraries.
diff --git a/emulators/suse64_libjpeg/Makefile b/emulators/suse64_libjpeg/Makefile
new file mode 100644
index 00000000000..772d076d238
--- /dev/null
+++ b/emulators/suse64_libjpeg/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+DISTNAME= suse_libjpeg-${SUSE_VERSION}
+PKGREVISION= 1
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE:=gra1/} \
+ ftp://ftp.suse.com/pub/suse/i386/update/${SUSE_VERSION}/gra1/
+DISTFILES= ${RPMFILES}
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package for jpeg binary
+
+DEPENDS+= suse_base-${SUSE_VERSION}*:../suse64_base
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+EXTRACT_ONLY= # empty
+NO_BUILD= yes
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+RPMFILES= libjpeg-6.2.0-62.i386.rpm
+
+.include "../suse64_linux/Makefile.common"
diff --git a/emulators/suse64_libjpeg/distinfo b/emulators/suse64_libjpeg/distinfo
new file mode 100644
index 00000000000..0fd6428e808
--- /dev/null
+++ b/emulators/suse64_libjpeg/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+SHA1 (suse64/libjpeg-6.2.0-62.i386.rpm) = a750f07771d61614afcec41f0ac649e26486dc19
+Size (suse64/libjpeg-6.2.0-62.i386.rpm) = 154656 bytes
diff --git a/emulators/suse64_libpng/DESCR b/emulators/suse64_libpng/DESCR
new file mode 100644
index 00000000000..f330608b9fc
--- /dev/null
+++ b/emulators/suse64_libpng/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 supports running ELF binaries linked with png shared libraries.
diff --git a/emulators/suse64_libpng/Makefile b/emulators/suse64_libpng/Makefile
new file mode 100644
index 00000000000..33e54f143ae
--- /dev/null
+++ b/emulators/suse64_libpng/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+DISTNAME= suse_libpng-${SUSE_VERSION}
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE:=gra1/}
+DISTFILES= ${RPMFILES}
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package for png library
+
+DEPENDS+= suse_base-${SUSE_VERSION}*:../suse64_base
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+EXTRACT_ONLY= # empty
+NO_BUILD= yes
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+RPMFILES= libpng.rpm
+
+.include "../suse64_linux/Makefile.common"
diff --git a/emulators/suse64_libpng/distinfo b/emulators/suse64_libpng/distinfo
new file mode 100644
index 00000000000..7c2f2932e6a
--- /dev/null
+++ b/emulators/suse64_libpng/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+SHA1 (suse64/libpng.rpm) = d7a1e08d995837f5949b7e9e60c13521eca394d1
+Size (suse64/libpng.rpm) = 215006 bytes
diff --git a/emulators/suse64_linux/DESCR b/emulators/suse64_linux/DESCR
new file mode 100644
index 00000000000..055d187034a
--- /dev/null
+++ b/emulators/suse64_linux/DESCR
@@ -0,0 +1,2 @@
+Linux compatibility package collection based on the SuSE Linux distribution,
+take a look at "http://www.suse.com/" for more information about it.
diff --git a/emulators/suse64_linux/Makefile b/emulators/suse64_linux/Makefile
new file mode 100644
index 00000000000..01da67e954d
--- /dev/null
+++ b/emulators/suse64_linux/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+DISTNAME= suse_linux-6.4
+CATEGORIES= emulators
+MASTER_SITES= # empty
+DISTFILES= # empty
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package collection
+
+DEPENDS+= suse_audio-6.4*:../suse64_audio
+DEPENDS+= suse_libc5-6.4*:../suse64_libc5
+DEPENDS+= suse_libjpeg-6.4*:../suse64_libjpeg
+DEPENDS+= suse_libpng-6.4*:../suse64_libpng
+DEPENDS+= suse_glx-6.4*:../suse64_glx
+DEPENDS+= suse_gtk-6.4*:../suse64_gtk
+DEPENDS+= suse_xforms-6.4*:../suse64_xforms
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+EXTRACT_ONLY= # empty
+NO_BUILD= yes
+NO_CHECKSUM= yes
+
+do-install: # empty
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse64_linux/Makefile.common b/emulators/suse64_linux/Makefile.common
new file mode 100644
index 00000000000..16992eee2ce
--- /dev/null
+++ b/emulators/suse64_linux/Makefile.common
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+SUSE_VERSION= 6.4
+
+MASTER_SITE_SUSE= ftp://ftp.suse.com/pub/suse/i386/${SUSE_VERSION}/suse/
+
+DIST_SUBDIR?= suse${SUSE_VERSION:S/.//}
+
+WRKSRC?= ${WRKDIR}
+MANCOMPRESSED?= yes
+
+EMULSUBDIR= emul/linux
+EMULDIR= ${PREFIX}/${EMULSUBDIR}
+
+RPM2PKG= ${PREFIX}/sbin/rpm2pkg
+BUILD_DEPENDS+= rpm2pkg>=1.2:../../pkgtools/rpm2pkg
+
+# The SuSE Linux packages have circular dependencies.
+LDD?= ${TRUE}
+
+RPM2PKGARGS= -d ${PREFIX} -f ${PLIST_SRC} -p ${EMULSUBDIR}
+.for TEMP in ${RPMIGNOREPATH}
+RPM2PKGARGS+= -i ${TEMP}
+.endfor
+.for TEMP in ${RPMFILES}
+RPM2PKGARGS+= ${DISTDIR}/${DIST_SUBDIR}/${TEMP}
+.endfor
+
+.if !target(do-install)
+do-install:
+ @if [ -f ${PKGDIR}/PLIST ]; then \
+ ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \
+ else \
+ ${RM} -f ${PLIST_SRC}; \
+ fi
+ ${RPM2PKG} ${RPM2PKGARGS}
+ @if ${GREP} -q 'lib.*\.so' ${PLIST_SRC}; then \
+ ${ECHO_MSG} "===> [Automatic Linux shared object handling]"; \
+ ${EMULDIR}/sbin/ldconfig -r ${EMULDIR}; \
+ ${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" >>${PLIST_SRC}; \
+ ${ECHO} "@unexec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR} 2>/dev/null" >>${PLIST_SRC}; \
+ fi
+.endif
+
+show-shlib-type:
+ @${ECHO} linux-${MACHINE_ARCH}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse64_linux/PLIST b/emulators/suse64_linux/PLIST
new file mode 100644
index 00000000000..883efd1d342
--- /dev/null
+++ b/emulators/suse64_linux/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+@comment this plist intentionally left empty
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
diff --git a/emulators/suse64_x11/DESCR b/emulators/suse64_x11/DESCR
new file mode 100644
index 00000000000..023c56f39b1
--- /dev/null
+++ b/emulators/suse64_x11/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 supports running ELF binaries linked with glibc2 which require
+X11 shared libraries.
diff --git a/emulators/suse64_x11/Makefile b/emulators/suse64_x11/Makefile
new file mode 100644
index 00000000000..680479708ff
--- /dev/null
+++ b/emulators/suse64_x11/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+DISTNAME= suse_x11-${SUSE_VERSION}
+PKGREVISION= 1
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE:=x1/} \
+ ftp://ftp.suse.com/pub/suse/i386/update/${SUSE_VERSION}/x1/
+DISTFILES= ${RPMFILES}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package for X11 binaries
+
+DEPENDS+= suse_base-${SUSE_VERSION}*:../suse64_base
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+EXTRACT_ONLY= # empty
+NO_BUILD= yes
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+RPMFILES= xshared-3.3.6-43.i386.rpm xpm.rpm
+
+.include "../suse64_linux/Makefile.common"
diff --git a/emulators/suse64_x11/distinfo b/emulators/suse64_x11/distinfo
new file mode 100644
index 00000000000..d2bda034493
--- /dev/null
+++ b/emulators/suse64_x11/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+SHA1 (suse64/xshared-3.3.6-43.i386.rpm) = ce1d4855f8085062fe62e2d0db1e77c573338c73
+Size (suse64/xshared-3.3.6-43.i386.rpm) = 876516 bytes
+SHA1 (suse64/xpm.rpm) = cc9fdcb4b4ba6d9d114b757984bcd94f90d2b624
+Size (suse64/xpm.rpm) = 155144 bytes
diff --git a/emulators/suse64_xforms/DESCR b/emulators/suse64_xforms/DESCR
new file mode 100644
index 00000000000..39ea324b0fd
--- /dev/null
+++ b/emulators/suse64_xforms/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 supports running ELF binaries linked with glibc2 which require
+the xforms library.
diff --git a/emulators/suse64_xforms/Makefile b/emulators/suse64_xforms/Makefile
new file mode 100644
index 00000000000..5723589c250
--- /dev/null
+++ b/emulators/suse64_xforms/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+DISTNAME= xforms
+PKGNAME= suse_xforms-${SUSE_VERSION}
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE:=pay1/}
+EXTRACT_SUFX= .rpm
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package for xforms binaries
+
+DEPENDS+= suse_x11-${SUSE_VERSION}*:../suse64_x11
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+EXTRACT_ONLY= # empty
+NO_BUILD= yes
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+RPMFILES= ${DISTNAME}${EXTRACT_SUFX}
+
+.include "../suse64_linux/Makefile.common"
diff --git a/emulators/suse64_xforms/distinfo b/emulators/suse64_xforms/distinfo
new file mode 100644
index 00000000000..c71a76ec749
--- /dev/null
+++ b/emulators/suse64_xforms/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/04 10:07:58 tron Exp $
+
+SHA1 (suse64/xforms.rpm) = 18881c86aff662da5fc9ecc35d4d31caef5b8982
+Size (suse64/xforms.rpm) = 228873 bytes