From d038a73ebd432fae3ce355b84443038f88cb7199 Mon Sep 17 00:00:00 2001 From: zuntum Date: Wed, 31 Oct 2001 22:52:58 +0000 Subject: Move pkg/ files into package's toplevel directory --- emulators/compat13/DEINSTALL | 33 +++++++++++++++++++ emulators/compat13/DESCR | 4 +++ emulators/compat13/INSTALL | 67 ++++++++++++++++++++++++++++++++++++++ emulators/compat13/PLIST | 5 +++ emulators/compat13/PLIST.alpha | 3 ++ emulators/compat13/pkg/DEINSTALL | 33 ------------------- emulators/compat13/pkg/DESCR | 4 --- emulators/compat13/pkg/INSTALL | 67 -------------------------------------- emulators/compat13/pkg/PLIST | 5 --- emulators/compat13/pkg/PLIST.alpha | 3 -- 10 files changed, 112 insertions(+), 112 deletions(-) create mode 100644 emulators/compat13/DEINSTALL create mode 100644 emulators/compat13/DESCR create mode 100644 emulators/compat13/INSTALL create mode 100644 emulators/compat13/PLIST create mode 100644 emulators/compat13/PLIST.alpha delete mode 100644 emulators/compat13/pkg/DEINSTALL delete mode 100644 emulators/compat13/pkg/DESCR delete mode 100644 emulators/compat13/pkg/INSTALL delete mode 100644 emulators/compat13/pkg/PLIST delete mode 100644 emulators/compat13/pkg/PLIST.alpha (limited to 'emulators/compat13') diff --git a/emulators/compat13/DEINSTALL b/emulators/compat13/DEINSTALL new file mode 100644 index 00000000000..dd423184d6c --- /dev/null +++ b/emulators/compat13/DEINSTALL @@ -0,0 +1,33 @@ +#!/bin/sh +# +# $NetBSD: DEINSTALL,v 1.1 2001/10/31 23:52:24 zuntum Exp $ + +PKGNAME=$1 +STAGE=$2 + +case ${STAGE} in +DEINSTALL) + ;; +POST-DEINSTALL) + MACHINE_ARCH=@MACHINE_ARCH@ + COMPAT_LIBDIR=@COMPAT_LIBDIR@ + + if [ "${MACHINE_ARCH}" = "mipsel" ] + then + rm -f ${PKG_PREFIX}/libexec/ld.so + rmdir -p ${PKG_PREFIX}/libexec 2>/dev/null || true + fi + + rmdir -p ${PKG_PREFIX}/${COMPAT_LIBDIR} 2>/dev/null || true + + # Regenerate the shared library cache. This should work on either + # a.out or on ELF with the 1.5 release. + # + ( @LDCONFIG@ || true ) >/dev/null 2>&1 + ;; +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/emulators/compat13/DESCR b/emulators/compat13/DESCR new file mode 100644 index 00000000000..555ddc7bf08 --- /dev/null +++ b/emulators/compat13/DESCR @@ -0,0 +1,4 @@ +This package supplies the user files necessary for full compatibility with +dynamically linked executables compiled under NetBSD 1.3. You still need +the option COMPAT_13 in your kernel configuration (and probably others; +see options(4) for more information) to make use of NetBSD 1.3 binaries. diff --git a/emulators/compat13/INSTALL b/emulators/compat13/INSTALL new file mode 100644 index 00000000000..c71b3a8111f --- /dev/null +++ b/emulators/compat13/INSTALL @@ -0,0 +1,67 @@ +#!/bin/sh +# +# $NetBSD: INSTALL,v 1.1 2001/10/31 23:52:24 zuntum Exp $ + +PKGNAME=$1 +STAGE=$2 + +case ${STAGE} in +PRE-INSTALL) + ;; +POST-INSTALL) + MACHINE_ARCH=@MACHINE_ARCH@ + OBJECT_FMT=@OBJECT_FMT@ + + if [ "${MACHINE_ARCH}" = "mipsel" ] + then + ln -sf ld.elf_so /usr/libexec/ld.so + fi + + # Only create the symlink on certain platform/object combinations. + # + create_emul_symlink=0 + if [ "${OBJECT_FMT}" = "ELF" ] && \ + [ "${MACHINE_ARCH}" = "i386" -o "${MACHINE_ARCH}" = "sparc" ] + then + create_emul_symlink=1 + fi + + if [ ${create_emul_symlink} = 1 ] + then + # Create a symlink from /emul/aout --> ${PKG_PREFIX}/emul/out + # if it doesn't already exist. Warn if we can't do this. + # + emul=aout + 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 </dev/null 2>&1 + ;; +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/emulators/compat13/PLIST b/emulators/compat13/PLIST new file mode 100644 index 00000000000..f474e8dee17 --- /dev/null +++ b/emulators/compat13/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:52:25 zuntum Exp $ +${COMPAT_LIBDIR}/libedit.so.1.0 +${COMPAT_LIBDIR}/libg++.so.4.0 +${COMPAT_LIBDIR}/libstdc++.so.0.1 +${COMPAT_LIBDIR}/libutil.so.4.2 diff --git a/emulators/compat13/PLIST.alpha b/emulators/compat13/PLIST.alpha new file mode 100644 index 00000000000..a26f534715f --- /dev/null +++ b/emulators/compat13/PLIST.alpha @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST.alpha,v 1.1 2001/10/31 23:55:50 zuntum Exp $ +${COMPAT_LIBDIR}/libcurses.so.2.1 +${COMPAT_LIBDIR}/libcurses.so.2 diff --git a/emulators/compat13/pkg/DEINSTALL b/emulators/compat13/pkg/DEINSTALL deleted file mode 100644 index d5b84a0d5ab..00000000000 --- a/emulators/compat13/pkg/DEINSTALL +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.2 2000/10/14 00:01:58 jlam Exp $ - -PKGNAME=$1 -STAGE=$2 - -case ${STAGE} in -DEINSTALL) - ;; -POST-DEINSTALL) - MACHINE_ARCH=@MACHINE_ARCH@ - COMPAT_LIBDIR=@COMPAT_LIBDIR@ - - if [ "${MACHINE_ARCH}" = "mipsel" ] - then - rm -f ${PKG_PREFIX}/libexec/ld.so - rmdir -p ${PKG_PREFIX}/libexec 2>/dev/null || true - fi - - rmdir -p ${PKG_PREFIX}/${COMPAT_LIBDIR} 2>/dev/null || true - - # Regenerate the shared library cache. This should work on either - # a.out or on ELF with the 1.5 release. - # - ( @LDCONFIG@ || true ) >/dev/null 2>&1 - ;; -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; -esac -exit 0 diff --git a/emulators/compat13/pkg/DESCR b/emulators/compat13/pkg/DESCR deleted file mode 100644 index 555ddc7bf08..00000000000 --- a/emulators/compat13/pkg/DESCR +++ /dev/null @@ -1,4 +0,0 @@ -This package supplies the user files necessary for full compatibility with -dynamically linked executables compiled under NetBSD 1.3. You still need -the option COMPAT_13 in your kernel configuration (and probably others; -see options(4) for more information) to make use of NetBSD 1.3 binaries. diff --git a/emulators/compat13/pkg/INSTALL b/emulators/compat13/pkg/INSTALL deleted file mode 100644 index 28ccdbfd0fc..00000000000 --- a/emulators/compat13/pkg/INSTALL +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh -# -# $NetBSD: INSTALL,v 1.3 2000/10/14 00:17:19 jlam Exp $ - -PKGNAME=$1 -STAGE=$2 - -case ${STAGE} in -PRE-INSTALL) - ;; -POST-INSTALL) - MACHINE_ARCH=@MACHINE_ARCH@ - OBJECT_FMT=@OBJECT_FMT@ - - if [ "${MACHINE_ARCH}" = "mipsel" ] - then - ln -sf ld.elf_so /usr/libexec/ld.so - fi - - # Only create the symlink on certain platform/object combinations. - # - create_emul_symlink=0 - if [ "${OBJECT_FMT}" = "ELF" ] && \ - [ "${MACHINE_ARCH}" = "i386" -o "${MACHINE_ARCH}" = "sparc" ] - then - create_emul_symlink=1 - fi - - if [ ${create_emul_symlink} = 1 ] - then - # Create a symlink from /emul/aout --> ${PKG_PREFIX}/emul/out - # if it doesn't already exist. Warn if we can't do this. - # - emul=aout - 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 </dev/null 2>&1 - ;; -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; -esac -exit 0 diff --git a/emulators/compat13/pkg/PLIST b/emulators/compat13/pkg/PLIST deleted file mode 100644 index cec75812d64..00000000000 --- a/emulators/compat13/pkg/PLIST +++ /dev/null @@ -1,5 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2000/10/13 23:36:40 jlam Exp $ -${COMPAT_LIBDIR}/libedit.so.1.0 -${COMPAT_LIBDIR}/libg++.so.4.0 -${COMPAT_LIBDIR}/libstdc++.so.0.1 -${COMPAT_LIBDIR}/libutil.so.4.2 diff --git a/emulators/compat13/pkg/PLIST.alpha b/emulators/compat13/pkg/PLIST.alpha deleted file mode 100644 index 9faaec83db0..00000000000 --- a/emulators/compat13/pkg/PLIST.alpha +++ /dev/null @@ -1,3 +0,0 @@ -@comment $NetBSD: PLIST.alpha,v 1.1 2001/05/07 12:51:26 dmcmahill Exp $ -${COMPAT_LIBDIR}/libcurses.so.2.1 -${COMPAT_LIBDIR}/libcurses.so.2 -- cgit v1.2.3