summaryrefslogtreecommitdiff
path: root/emulators/suse_base/pkg
diff options
context:
space:
mode:
authortron <tron>1999-05-17 00:14:49 +0000
committertron <tron>1999-05-17 00:14:49 +0000
commit3ee11cffb5422b54c68c84ab300e97c6e057382c (patch)
tree52a9fef878bf8a05099855e71844254cab845cb6 /emulators/suse_base/pkg
parenta45f401e5499018b46d7bfb43eb7696edcd97f29 (diff)
downloadpkgsrc-3ee11cffb5422b54c68c84ab300e97c6e057382c.tar.gz
Import new modular Linux compatibility system for i386 based on SuSE 6.1
Linux distribution: suse_base-6.1 Linux compatibility package suse_x11-6.1 Linux compatibility package for X11 binaries suse_libc5-6.1 Linux compatibility package for libc5 binaries These packages are dedicated to Jason 'clone' Thorpe.
Diffstat (limited to 'emulators/suse_base/pkg')
-rw-r--r--emulators/suse_base/pkg/COMMENT1
-rw-r--r--emulators/suse_base/pkg/DESCR5
-rw-r--r--emulators/suse_base/pkg/INSTALL31
-rw-r--r--emulators/suse_base/pkg/PLIST12
4 files changed, 49 insertions, 0 deletions
diff --git a/emulators/suse_base/pkg/COMMENT b/emulators/suse_base/pkg/COMMENT
new file mode 100644
index 00000000000..54914db21b8
--- /dev/null
+++ b/emulators/suse_base/pkg/COMMENT
@@ -0,0 +1 @@
+Linux compatibility package
diff --git a/emulators/suse_base/pkg/DESCR b/emulators/suse_base/pkg/DESCR
new file mode 100644
index 00000000000..62e5a3f87e9
--- /dev/null
+++ b/emulators/suse_base/pkg/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/suse_base/pkg/INSTALL b/emulators/suse_base/pkg/INSTALL
new file mode 100644
index 00000000000..090c256c2b7
--- /dev/null
+++ b/emulators/suse_base/pkg/INSTALL
@@ -0,0 +1,31 @@
+#!/bin/sh
+#
+# $NetBSD: INSTALL,v 1.1.1.1 1999/05/17 00:14:50 tron Exp $
+#
+
+PKGNAME=$1
+
+case $2 in
+ PRE-INSTALL)
+ ;;
+ POST-INSTALL)
+ if [ ! -e /emul/linux ] || \
+ [ "`cd /emul/linux && ls -di .`" != \
+ "`cd @@EMULDIR@@ && ls -di`" ]
+ then
+ echo "===> Please note the following:"
+ echo ""
+ echo -n "You must create a link \"/emul/linux\" "
+ echo "pointing to \"@@EMULDIR@@\""
+ echo "to be able to use this package."
+ echo ""
+ fi
+ @@EMULDIR@@/sbin/ldconfig -r @@EMULDIR@@
+ ;;
+ *)
+ echo "Unexpected Argument ${2}."
+ exit 1
+ ;;
+esac
+
+exit 0
diff --git a/emulators/suse_base/pkg/PLIST b/emulators/suse_base/pkg/PLIST
new file mode 100644
index 00000000000..f3de604900c
--- /dev/null
+++ b/emulators/suse_base/pkg/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/05/17 00:14:50 tron Exp $
+sbin/linux-mkpwd
+sbin/rpm2pkg
+@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