summaryrefslogtreecommitdiff
path: root/emulators/compat14-crypto/DEINSTALL
diff options
context:
space:
mode:
authorjdarrow <jdarrow@pkgsrc.org>2002-08-13 03:15:24 +0000
committerjdarrow <jdarrow@pkgsrc.org>2002-08-13 03:15:24 +0000
commit47ea9decb1cebd33c3a841fa5fd3db12c7c70748 (patch)
treef64be75e2210418c867f1ae305ca6f580dc1fe32 /emulators/compat14-crypto/DEINSTALL
parent4dc01db3bca65c35d8b24928a7b96343252a11c4 (diff)
downloadpkgsrc-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/DEINSTALL')
-rw-r--r--emulators/compat14-crypto/DEINSTALL34
1 files changed, 34 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