summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/suse91_base/DESCR5
-rw-r--r--emulators/suse91_base/INSTALL68
-rw-r--r--emulators/suse91_base/Makefile69
-rw-r--r--emulators/suse91_base/PLIST14
-rw-r--r--emulators/suse91_base/distinfo18
-rw-r--r--emulators/suse91_base/files/SuSE-release2
-rw-r--r--emulators/suse91_base/files/linux-mkpwd.sh18
-rw-r--r--emulators/suse91_compat/DESCR5
-rw-r--r--emulators/suse91_compat/Makefile25
-rw-r--r--emulators/suse91_compat/distinfo4
-rw-r--r--emulators/suse91_gtk/DESCR5
-rw-r--r--emulators/suse91_gtk/Makefile25
-rw-r--r--emulators/suse91_gtk/distinfo6
-rw-r--r--emulators/suse91_linux/Makefile.common62
-rw-r--r--emulators/suse91_linux/arch.mk19
-rw-r--r--emulators/suse91_x11/DESCR5
-rw-r--r--emulators/suse91_x11/Makefile26
-rw-r--r--emulators/suse91_x11/distinfo4
18 files changed, 380 insertions, 0 deletions
diff --git a/emulators/suse91_base/DESCR b/emulators/suse91_base/DESCR
new file mode 100644
index 00000000000..62e5a3f87e9
--- /dev/null
+++ b/emulators/suse91_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/suse91_base/INSTALL b/emulators/suse91_base/INSTALL
new file mode 100644
index 00000000000..c1e09085303
--- /dev/null
+++ b/emulators/suse91_base/INSTALL
@@ -0,0 +1,68 @@
+#!/bin/sh
+# $NetBSD: INSTALL,v 1.1.1.1 2004/07/13 10:31:13 tron Exp $
+
+if [ "$2" != "POST-INSTALL" ]; then exit 0; fi
+emul=linux
+OPSYS=`/usr/bin/uname -s`
+
+cat <<EOF
+==============================================================================
+
+EOF
+
+if [ "$OPSYS" = "NetBSD" ]; then
+ cat <<-EOF
+ Do not forget to include COMPAT_LINUX (and EXEC_ELF32 on NetBSD systems older
+ than 1.5) in your kernel configuration file. (Linux binaries require these
+ options in order to work.)
+ EOF
+fi
+
+if [ "$OPSYS" = "FreeBSD" ]; then
+ cat <<-EOF
+ Do not forget to include COMPAT_LINUX in your kernel configuration file.
+ You also need to load "linux.ko" kernel module (using kldload(8) or by
+ setting linux_enable="yes" in /etc/rc.conf.
+ EOF
+fi
+
+if [ "$OPSYS" = "NetBSD" ]; then
+ 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
+fi
+
+if [ "$OPSYS" = "FreeBSD" ]; then
+ if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" != \
+ "`cd / && cd /compat/$emul 2>/dev/null && pwd -P`" ]; then
+ if [ -e /compat/$emul -o -L /compat/$emul ] || \
+ [ \( -e /compat -o -L /compat \) -a ! -d /compat ]; then
+ cat <<-EOF
+
+ IMPORTANT: You must create a symbolic link from /compat/$emul to
+ ${PKG_PREFIX}/emul/$emul in order for this package to work properly.
+ (It seems there is something else located at /compat/$emul.)
+ EOF
+ else
+ mkdir -p /compat
+ ln -sf ${PKG_PREFIX}/emul/$emul /compat/$emul
+ fi
+ fi
+fi
+
+cat <<EOF
+
+==============================================================================
+EOF
diff --git a/emulators/suse91_base/Makefile b/emulators/suse91_base/Makefile
new file mode 100644
index 00000000000..c3ca17f558d
--- /dev/null
+++ b/emulators/suse91_base/Makefile
@@ -0,0 +1,69 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/13 10:31:14 tron Exp $
+
+DISTNAME= suse_base-${SUSE_VERSION}
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE91}
+DISTFILES= ${RPMFILES}
+
+MAINTAINER= tron@NetBSD.org
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package
+
+CONFLICTS= linux_SuSE-5.3 linux_lib-2.4 linuxppc_lib-[0-9]*
+ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-i386 FreeBSD-*-i386
+
+NO_BUILDLINK= YES
+EXTRACT_ONLY= # empty
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+RPMFILES= aaa_base-9.1-0.${SUSE_ARCH}.rpm \
+ bash-2.05b-305.${SUSE_ARCH}.rpm \
+ coreutils-5.2.1-23.${SUSE_ARCH}.rpm \
+ glibc-2.3.3-98.${SUSE_ARCH}.rpm \
+ libstdc++-3.3.3-41.${SUSE_ARCH}.rpm \
+ ncurses-5.4-59.${SUSE_ARCH}.rpm \
+ readline-4.3-306.${SUSE_ARCH}.rpm \
+ zlib-1.2.1-70.${SUSE_ARCH}.rpm
+RPMIGNOREPATH= tmp usr/tmp var
+
+LINUX_LDD= ${PREFIX}/${EMULSUBDIR}/usr/bin/ldd
+
+.include "../../mk/bsd.prefs.mk"
+
+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
+ ${SED} -e 's#@@VERSION@@#${SUSE_VERSION}#g' \
+ -e 's#@@ARCH@@#${SUSE_ARCH}#g' \
+ <${FILESDIR}/SuSE-release >${WRKDIR}/SuSE-release
+
+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
+ ${LN} -fs /dev/tty ${EMULDIR}/dev/tty
+ @${CP} ${WRKDIR}/PLIST ${PLIST_SRC}
+ ${RPM2PKG} ${RPM2PKGARGS}
+ ${ECHO} "@dirrm ${EMULSUBDIR}" >>${PLIST_SRC}
+ ${INSTALL_DATA} ${WRKDIR}/SuSE-release ${EMULDIR}/etc
+.if ${OPSYS} == "FreeBSD"
+ ${BRANDELF} -t Linux ${EMULDIR}/sbin/ldconfig
+.endif
+ ${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 "../../emulators/suse91_linux/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_base/PLIST b/emulators/suse91_base/PLIST
new file mode 100644
index 00000000000..10568afa11e
--- /dev/null
+++ b/emulators/suse91_base/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/13 10:31:14 tron Exp $
+sbin/linux-mkpwd
+@unexec ${RM} -f %D/@@EMULSUBDIR@@/etc/ld.so.cache
+@@EMULSUBDIR@@/etc/SuSE-release
+@@EMULSUBDIR@@/usr/lib/libz.so.1
+@unexec cd %D/@@EMULSUBDIR@@/etc && ${RM} -f group gshadow passwd shadow
+@exec ${MKDIR} %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
+@exec ln -s /dev/tty %D/@@EMULSUBDIR@@/dev/tty
+@unexec ${RM} -f %D/@@EMULSUBDIR@@/dev/tty
+@dirrm @@EMULSUBDIR@@/dev
diff --git a/emulators/suse91_base/distinfo b/emulators/suse91_base/distinfo
new file mode 100644
index 00000000000..f587ce965ed
--- /dev/null
+++ b/emulators/suse91_base/distinfo
@@ -0,0 +1,18 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/07/13 10:31:14 tron Exp $
+
+SHA1 (suse91/i586/aaa_base-9.1-0.i586.rpm) = c15fcdc81a93c7d3056292d56b1376a0fdf20554
+Size (suse91/i586/aaa_base-9.1-0.i586.rpm) = 289379 bytes
+SHA1 (suse91/i586/bash-2.05b-305.i586.rpm) = 51c41a86a19628af1e43c4b65ece8aa159bc9da7
+Size (suse91/i586/bash-2.05b-305.i586.rpm) = 636675 bytes
+SHA1 (suse91/i586/coreutils-5.2.1-23.i586.rpm) = 801f63e5e347b19323d01e6a4460aaea60ddc14f
+Size (suse91/i586/coreutils-5.2.1-23.i586.rpm) = 1982252 bytes
+SHA1 (suse91/i586/glibc-2.3.3-98.i586.rpm) = bd12daad569a071dd8989d92b5e278aa168b0ab3
+Size (suse91/i586/glibc-2.3.3-98.i586.rpm) = 1455673 bytes
+SHA1 (suse91/i586/libstdc++-3.3.3-41.i586.rpm) = 77341589e297e66fc793961d96a7b24df5893101
+Size (suse91/i586/libstdc++-3.3.3-41.i586.rpm) = 301785 bytes
+SHA1 (suse91/i586/ncurses-5.4-59.i586.rpm) = 83fc26e2c55e75f347530ad19b01d23883a60738
+Size (suse91/i586/ncurses-5.4-59.i586.rpm) = 790419 bytes
+SHA1 (suse91/i586/readline-4.3-306.i586.rpm) = 500c6665e66d0052a5d922d7db3f88f029c91853
+Size (suse91/i586/readline-4.3-306.i586.rpm) = 151357 bytes
+SHA1 (suse91/i586/zlib-1.2.1-70.i586.rpm) = 7592cc5629f8c3c480bb943089c0e09481ac3f46
+Size (suse91/i586/zlib-1.2.1-70.i586.rpm) = 63453 bytes
diff --git a/emulators/suse91_base/files/SuSE-release b/emulators/suse91_base/files/SuSE-release
new file mode 100644
index 00000000000..247032986b2
--- /dev/null
+++ b/emulators/suse91_base/files/SuSE-release
@@ -0,0 +1,2 @@
+SuSE Linux @@VERSION@@ (@@ARCH@@)
+VERSION = @@VERSION@@
diff --git a/emulators/suse91_base/files/linux-mkpwd.sh b/emulators/suse91_base/files/linux-mkpwd.sh
new file mode 100644
index 00000000000..1fd4c3626bf
--- /dev/null
+++ b/emulators/suse91_base/files/linux-mkpwd.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# $NetBSD: linux-mkpwd.sh,v 1.1.1.1 2004/07/13 10:31:14 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/suse91_compat/DESCR b/emulators/suse91_compat/DESCR
new file mode 100644
index 00000000000..addf8028f9b
--- /dev/null
+++ b/emulators/suse91_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/suse91_compat/Makefile b/emulators/suse91_compat/Makefile
new file mode 100644
index 00000000000..e8ce5047d4e
--- /dev/null
+++ b/emulators/suse91_compat/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/13 10:31:14 tron Exp $
+
+DISTNAME= compat-2004.4.2-3.${SUSE_ARCH}
+PKGNAME= suse_compat-${SUSE_VERSION}
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE}
+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}:../../emulators/suse91_base
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
+
+EXTRACT_ONLY= # empty
+NO_BUILD= YES
+NO_BUILDLINK= YES
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+RPMFILES= ${DISTNAME}${EXTRACT_SUFX}
+
+.include "../../emulators/suse91_linux/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_compat/distinfo b/emulators/suse91_compat/distinfo
new file mode 100644
index 00000000000..fd2a563d515
--- /dev/null
+++ b/emulators/suse91_compat/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/07/13 10:31:14 tron Exp $
+
+SHA1 (suse91/i586/compat-2004.4.2-3.i586.rpm) = 837f2272da26f8efe242e33724370d45cc2c5a74
+Size (suse91/i586/compat-2004.4.2-3.i586.rpm) = 1806417 bytes
diff --git a/emulators/suse91_gtk/DESCR b/emulators/suse91_gtk/DESCR
new file mode 100644
index 00000000000..d404f886f92
--- /dev/null
+++ b/emulators/suse91_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/suse91_gtk/Makefile b/emulators/suse91_gtk/Makefile
new file mode 100644
index 00000000000..9ff154a1560
--- /dev/null
+++ b/emulators/suse91_gtk/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/13 10:31:14 tron Exp $
+
+DISTNAME= suse_gtk-${SUSE_VERSION}
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE91}
+DISTFILES= ${RPMFILES}
+
+MAINTAINER= tron@NetBSD.org
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package for GTK binaries
+
+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
+
+RPMFILES= glib-1.2.10-586.${SUSE_ARCH}.rpm \
+ gtk-1.2.10-877.${SUSE_ARCH}.rpm
+
+.include "../../emulators/suse91_linux/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_gtk/distinfo b/emulators/suse91_gtk/distinfo
new file mode 100644
index 00000000000..321fc98b24f
--- /dev/null
+++ b/emulators/suse91_gtk/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/07/13 10:31:14 tron Exp $
+
+SHA1 (suse91/i586/glib-1.2.10-586.i586.rpm) = 0b6a69b48a1c49dd635f0568b758e018fb007eea
+Size (suse91/i586/glib-1.2.10-586.i586.rpm) = 124852 bytes
+SHA1 (suse91/i586/gtk-1.2.10-877.i586.rpm) = 395f33db3ea0aec1d7f8ef23ac8d83efdf4243fb
+Size (suse91/i586/gtk-1.2.10-877.i586.rpm) = 860574 bytes
diff --git a/emulators/suse91_linux/Makefile.common b/emulators/suse91_linux/Makefile.common
new file mode 100644
index 00000000000..0f6721f1a04
--- /dev/null
+++ b/emulators/suse91_linux/Makefile.common
@@ -0,0 +1,62 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2004/07/13 10:31:15 tron Exp $
+
+SUSE_VERSION= 9.1
+
+.include "../../emulators/suse91_linux/arch.mk"
+
+MASTER_SITE_SUSE91?= ftp://ftp.suse.com/pub/suse/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/ \
+ ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/ \
+ ftp://gd.tuwien.ac.at/linux/suse.com/suse/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/
+
+DIST_SUBDIR?= suse${SUSE_VERSION:S/.//}/${SUSE_ARCH}
+
+WRKSRC?= ${WRKDIR}
+MANCOMPRESSED?= yes
+
+EMULSUBDIR= emul/linux
+EMULDIR= ${PREFIX}/${EMULSUBDIR}
+
+RPM2PKG= ${PREFIX}/sbin/rpm2pkg
+BUILD_DEPENDS+= rpm2pkg>=2.1:../../pkgtools/rpm2pkg
+
+BUILD_DEFS+= RPMFILES
+.if defined(RPMIGNOREPATH)
+BUILD_DEFS+= RPMIGNOREPATH
+.endif
+
+# The SuSE Linux packages have circular dependencies.
+LDD?= ${TRUE}
+
+RPM2PKGSTRIP?= 1
+RPM2PKGARGS= -d ${PREFIX} -f ${PLIST_SRC} -p ${EMULSUBDIR} \
+ -s ${RPM2PKGSTRIP}
+.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}; \
+ ${CP} ${_PKGSRCDIR}/emulators/suse_linux/PLIST_dynamic ${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}; \
+ ${MV} -f ${PLIST_SRC} ${PLIST_SRC}.old; \
+ ${GREP} -v '^@dirrm' ${PLIST_SRC}.old >${PLIST_SRC}; \
+ ${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}; \
+ ${GREP} '^@dirrm' ${PLIST_SRC}.old >>${PLIST_SRC}; \
+ ${RM} -f ${PLIST_SRC}.old; \
+ fi
+.endif
+
+show-shlib-type:
+ @${ECHO} linux-${MACHINE_ARCH}
diff --git a/emulators/suse91_linux/arch.mk b/emulators/suse91_linux/arch.mk
new file mode 100644
index 00000000000..c4db621bfeb
--- /dev/null
+++ b/emulators/suse91_linux/arch.mk
@@ -0,0 +1,19 @@
+# $NetBSD: arch.mk,v 1.1.1.1 2004/07/13 10:31:15 tron Exp $
+
+.ifndef SUSE_ARCH_MK
+SUSE_ARCH_MK=1
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "i386"
+SUSE_ARCH?= i586
+SUSE_ARCH_DIR?= ${MACHINE_ARCH}
+.elif ${MACHINE_ARCH} == "powerpc"
+SUSE_ARCH?= ppc
+.else
+SUSE_ARCH?= ${MACHINE_ARCH}
+.endif
+
+SUSE_ARCH_DIR?= ${SUSE_ARCH}
+
+.endif # SUSE_ARCH_MK
diff --git a/emulators/suse91_x11/DESCR b/emulators/suse91_x11/DESCR
new file mode 100644
index 00000000000..023c56f39b1
--- /dev/null
+++ b/emulators/suse91_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/suse91_x11/Makefile b/emulators/suse91_x11/Makefile
new file mode 100644
index 00000000000..1fe54cd9642
--- /dev/null
+++ b/emulators/suse91_x11/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/13 10:31:15 tron Exp $
+
+DISTNAME= suse_x11-${SUSE_VERSION}
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE91}
+DISTFILES= ${RPMFILES}
+
+MAINTAINER= tron@NetBSD.org
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package for X11 binaries
+
+DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/suse91_base
+
+ONLY_FOR_PLATFORM= NetBSD-[2-9]*-i386 FreeBSD-*-i386
+
+EXTRACT_ONLY= # empty
+NO_BUILD= YES
+NO_BUILDLINK= YES
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+RPMFILES= XFree86-libs-4.3.99.902-40.${SUSE_ARCH}.rpm
+
+.include "../../mk/bsd.prefs.mk"
+
+.include "../../emulators/suse91_linux/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/suse91_x11/distinfo b/emulators/suse91_x11/distinfo
new file mode 100644
index 00000000000..dfe366d9006
--- /dev/null
+++ b/emulators/suse91_x11/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/07/13 10:31:15 tron Exp $
+
+SHA1 (suse91/i586/XFree86-libs-4.3.99.902-40.i586.rpm) = ba5b5235511c7912d63e388ed071774eea77e387
+Size (suse91/i586/XFree86-libs-4.3.99.902-40.i586.rpm) = 2397841 bytes