diff options
author | jdarrow <jdarrow@pkgsrc.org> | 2002-08-13 03:15:24 +0000 |
---|---|---|
committer | jdarrow <jdarrow@pkgsrc.org> | 2002-08-13 03:15:24 +0000 |
commit | 47ea9decb1cebd33c3a841fa5fd3db12c7c70748 (patch) | |
tree | f64be75e2210418c867f1ae305ca6f580dc1fe32 /emulators/compat14-crypto/INSTALL | |
parent | 4dc01db3bca65c35d8b24928a7b96343252a11c4 (diff) | |
download | pkgsrc-47ea9decb1cebd33c3a841fa5fd3db12c7c70748.tar.gz |
Add compat14-crypto package - compat14 plus the crypto-enabled
"domestic" set libraries. From emulators/compat14 update log:
Update package to 1.4.3.1 (netbsd-1-4 as of 2002-06-28, plus patch to
lib/libc/rpc/xdr_array.c). Includes libc security fixes for
SA2002-006 and SA2002-011 (and probably other bugs found since 1.4.3).
Diffstat (limited to 'emulators/compat14-crypto/INSTALL')
-rw-r--r-- | emulators/compat14-crypto/INSTALL | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/emulators/compat14-crypto/INSTALL b/emulators/compat14-crypto/INSTALL new file mode 100644 index 00000000000..61fa9896460 --- /dev/null +++ b/emulators/compat14-crypto/INSTALL @@ -0,0 +1,68 @@ +#!/bin/sh +# +# $NetBSD: INSTALL,v 1.1.1.1 2002/08/13 03:15:24 jdarrow 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. Note + # that sparc64 a.out compatibility lives in /emul/aout, not /emul/netbsd32. + # + 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/aout + # 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 <<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 + + # 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 |