summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjdarrow <jdarrow>2002-08-13 03:15:24 +0000
committerjdarrow <jdarrow>2002-08-13 03:15:24 +0000
commit4d080bb034e1c37c9af4aa0d624a7f3352786442 (patch)
treef64be75e2210418c867f1ae305ca6f580dc1fe32 /emulators
parent7712c82e70109ff55131dd8bd71295c35a025b59 (diff)
downloadpkgsrc-4d080bb034e1c37c9af4aa0d624a7f3352786442.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')
-rw-r--r--emulators/compat14-crypto/DEINSTALL34
-rw-r--r--emulators/compat14-crypto/DESCR5
-rw-r--r--emulators/compat14-crypto/INSTALL68
-rw-r--r--emulators/compat14-crypto/Makefile73
-rw-r--r--emulators/compat14-crypto/PLIST48
-rw-r--r--emulators/compat14-crypto/PLIST.i3863
-rw-r--r--emulators/compat14-crypto/distinfo6
7 files changed, 237 insertions, 0 deletions
diff --git a/emulators/compat14-crypto/DEINSTALL b/emulators/compat14-crypto/DEINSTALL
new file mode 100644
index 00000000000..5a7bec3a902
--- /dev/null
+++ b/emulators/compat14-crypto/DEINSTALL
@@ -0,0 +1,34 @@
+#!/bin/sh
+#
+# $NetBSD: DEINSTALL,v 1.1.1.1 2002/08/13 03:15:24 jdarrow Exp $
+
+PKGNAME=$1
+STAGE=$2
+
+case ${STAGE} in
+DEINSTALL)
+ ;;
+POST-DEINSTALL)
+ MACHINE_ARCH=@MACHINE_ARCH@
+ COMPAT_LIBDIR=@COMPAT_LIBDIR@
+ COMPAT_XLIBDIR=@COMPAT_XLIBDIR@
+
+ 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} ${PKG_PREFIX}/${COMPAT_XLIBDIR} 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/compat14-crypto/DESCR b/emulators/compat14-crypto/DESCR
new file mode 100644
index 00000000000..6bfe6baf113
--- /dev/null
+++ b/emulators/compat14-crypto/DESCR
@@ -0,0 +1,5 @@
+This package supplies the user files necessary for full compatibility with
+dynamically linked executables compiled under NetBSD 1.4. You still need
+the option COMPAT_14 in your kernel configuration (and probably others;
+see options(4) for more information) to make use of NetBSD 1.4 binaries.
+This package includes the crypto-enabled "domestic" set libraries.
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
diff --git a/emulators/compat14-crypto/Makefile b/emulators/compat14-crypto/Makefile
new file mode 100644
index 00000000000..222c75a777f
--- /dev/null
+++ b/emulators/compat14-crypto/Makefile
@@ -0,0 +1,73 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/08/13 03:15:24 jdarrow Exp $
+#
+
+DISTNAME= compat14-crypto-${MACHINE_ARCH}-${VERSION}
+PKGNAME= compat14-crypto-${VERSION}
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.netbsd.org/Releases/formal-1.4/index.html
+COMMENT= Shared libraries for NetBSD 1.4 (and earlier) compatibility
+
+VERSION= 1.4.3.1
+
+CONFLICTS= compat14-[0-9]*
+
+ONLY_FOR_PLATFORM= NetBSD-*-sparc NetBSD-*-i386
+NOT_FOR_PLATFORM= NetBSD-1.3*-* NetBSD-1.4*-*
+
+CRYPTO= YES
+
+NO_MTREE= # defined
+SHLIB_HANDLING= NO
+
+DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
+INSTALL_FILE= ${WRKDIR}/INSTALL
+
+.include "../../mk/bsd.prefs.mk"
+
+# This installs in /usr (or /emul/aout/usr) to avoid dynamic linker annoyances
+.if ${OBJECT_FMT} == "ELF" && \
+ (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "sparc")
+EMULSUBDIR= emul/aout
+COMPAT_LIBDIR= ${EMULSUBDIR}/usr/lib
+COMPAT_XLIBDIR= ${EMULSUBDIR}/usr/X11R6/lib
+.else
+LOCALBASE= /usr
+COMPAT_LIBDIR= lib
+COMPAT_XLIBDIR= X11R6/lib
+.endif
+
+PLIST_SRC+= ${PKGDIR}/PLIST
+.if exists(${PKGDIR}/PLIST.${MACHINE_ARCH})
+PLIST_SRC+= ${PKGDIR}/PLIST.${MACHINE_ARCH}
+.endif
+
+PLIST_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR} COMPAT_XLIBDIR=${COMPAT_XLIBDIR}
+
+do-build:
+ ${SED} -e "s,@MACHINE_ARCH@,${MACHINE_ARCH},g" \
+ -e "s,@COMPAT_LIBDIR@,${COMPAT_LIBDIR},g" \
+ -e "s,@COMPAT_XLIBDIR@,${COMPAT_XLIBDIR},g" \
+ -e "s,@LDCONFIG@,${LDCONFIG},g" \
+ < ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
+ ${SED} -e "s,@MACHINE_ARCH@,${MACHINE_ARCH},g" \
+ -e "s,@OBJECT_FMT@,${OBJECT_FMT},g" \
+ -e "s,@LDCONFIG@,${LDCONFIG},g" \
+ < ${PKGDIR}/INSTALL > ${INSTALL_FILE}
+
+# note that the INSTALL_DATA for the lib*.so symlinks will copy the file, not the symlink.
+# FIXME.
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_LIBDIR}
+ ${INSTALL_DATA} ${WRKDIR}/lib/lib*.so* ${PREFIX}/${COMPAT_LIBDIR}
+ if [ -d ${WRKDIR}/X11R6/lib ]; then \
+ ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_XLIBDIR}; \
+ ${INSTALL_DATA} ${WRKDIR}/X11R6/lib/lib*.so* ${PREFIX}/${COMPAT_XLIBDIR}; \
+ fi
+
+post-install:
+ PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/compat14-crypto/PLIST b/emulators/compat14-crypto/PLIST
new file mode 100644
index 00000000000..0a06f5e1f82
--- /dev/null
+++ b/emulators/compat14-crypto/PLIST
@@ -0,0 +1,48 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/13 03:15:24 jdarrow Exp $
+${COMPAT_LIBDIR}/libacl.so.2.0
+${COMPAT_LIBDIR}/libamu.so.1.1
+${COMPAT_LIBDIR}/libbfd.so.3.0
+${COMPAT_LIBDIR}/libbz2.so.0.0
+${COMPAT_LIBDIR}/libc.so.12.40.2
+${COMPAT_LIBDIR}/libcom_err.so.2.0
+${COMPAT_LIBDIR}/libcrypt.so.0.0
+${COMPAT_LIBDIR}/libcurses.so.2.2
+${COMPAT_LIBDIR}/libdes.so.2.0
+${COMPAT_LIBDIR}/libedit.so.2.2
+${COMPAT_LIBDIR}/libg2c.so.0.0
+${COMPAT_LIBDIR}/libgnumalloc.so.0.0
+${COMPAT_LIBDIR}/libkadm.so.2.0
+${COMPAT_LIBDIR}/libkafs.so.3.0
+${COMPAT_LIBDIR}/libkdb.so.2.0
+${COMPAT_LIBDIR}/libkrb.so.2.0
+${COMPAT_LIBDIR}/libkstream.so.0.0
+${COMPAT_LIBDIR}/libkvm.so.5.0
+${COMPAT_LIBDIR}/libm.so.0.1
+${COMPAT_LIBDIR}/libntp.so.0.0
+${COMPAT_LIBDIR}/libobjc.so.0.0
+${COMPAT_LIBDIR}/libossaudio.so.0.0
+${COMPAT_LIBDIR}/libpcap.so.0.0
+${COMPAT_LIBDIR}/libposix.so.0.1
+${COMPAT_LIBDIR}/libresolv.so.1.0
+${COMPAT_LIBDIR}/libskey.so.0.0
+${COMPAT_LIBDIR}/libss.so.2.0
+${COMPAT_LIBDIR}/libstdc++.so.2.0
+${COMPAT_LIBDIR}/libtelnet.so.1.0
+${COMPAT_LIBDIR}/libtermcap.so.0.0
+${COMPAT_LIBDIR}/libtermlib.so.0.0
+${COMPAT_LIBDIR}/libutil.so.5.0
+${COMPAT_LIBDIR}/libwrap.so.0.0
+${COMPAT_LIBDIR}/libz.so.0.1
+${COMPAT_XLIBDIR}/libICE.so.6.3
+${COMPAT_XLIBDIR}/libPEX5.so.6.0
+${COMPAT_XLIBDIR}/libSM.so.6.0
+${COMPAT_XLIBDIR}/libX11.so.6.1
+${COMPAT_XLIBDIR}/libXIE.so.6.0
+${COMPAT_XLIBDIR}/libXaw.so.6.1
+${COMPAT_XLIBDIR}/libXext.so.6.3
+${COMPAT_XLIBDIR}/libXi.so.6.0
+${COMPAT_XLIBDIR}/libXmu.so.6.0
+${COMPAT_XLIBDIR}/libXp.so.6.2
+${COMPAT_XLIBDIR}/libXt.so.6.0
+${COMPAT_XLIBDIR}/libXtst.so.6.1
+${COMPAT_XLIBDIR}/liboldX.so.6.0
diff --git a/emulators/compat14-crypto/PLIST.i386 b/emulators/compat14-crypto/PLIST.i386
new file mode 100644
index 00000000000..4d7ccccac47
--- /dev/null
+++ b/emulators/compat14-crypto/PLIST.i386
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.i386,v 1.1.1.1 2002/08/13 03:15:24 jdarrow Exp $
+${COMPAT_LIBDIR}/libi386.so.0.2
+${COMPAT_LIBDIR}/libkeycap.so.0.0
diff --git a/emulators/compat14-crypto/distinfo b/emulators/compat14-crypto/distinfo
new file mode 100644
index 00000000000..394dc103914
--- /dev/null
+++ b/emulators/compat14-crypto/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/08/13 03:15:24 jdarrow Exp $
+
+SHA1 (compat14-crypto-i386-1.4.3.1.tar.gz) = 2b35c35de47b8c0be42813cb6e56e154e98ebfd5
+Size (compat14-crypto-i386-1.4.3.1.tar.gz) = 1729167 bytes
+SHA1 (compat14-crypto-sparc-1.4.3.1.tar.gz) = 41d5937f5e1f40193c6363a9978fe6373d43e679
+Size (compat14-crypto-sparc-1.4.3.1.tar.gz) = 1921545 bytes