Check-in [976efa3ffc]
Overview
SHA1:976efa3ffcc20ec33d44235a0f5353a7c2f54e2b
Date: 2015-09-25 19:17:54
User: kvanals
Comment:Added uninstall script for CACKey on Mac OS X, to be made available for download by popular demand.
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2015-09-30
15:11
[cbe478d8a3] Updated Mac OS X build script to validate SHA-256 Checksum of outside-sourced TokenD (user: kvanals, tags: trunk)
2015-09-25
19:17
[976efa3ffc] Added uninstall script for CACKey on Mac OS X, to be made available for download by popular demand. (user: kvanals, tags: trunk)
2015-08-30
03:21
[ce2ae07c02] Updated to use older mechanism for activating gzip support in zlib, to support zlib older than zlib 1.2.4 (user: rkeene, tags: trunk)
Changes

Added build/cackey_osx_build/cackey_osx_uninstall.sh version [5cfe13de6d].

            1  +#!/bin/bash
            2  +# Script to remove current and previous releases of CACKey from Mac OS X
            3  +
            4  +if [ "`whoami`" != "root" ]; then
            5  +	echo "Please rerun this script with sudo or directly as root."
            6  +	exit 1
            7  +fi
            8  +
            9  +# Remove Directories and Files
           10  +echo "Removing CACKey-related files and directories, if they exist..."
           11  +rm -rf /usr/lib/pkcs11/*cackey*
           12  +rm -rf /usr/local/lib/pkcs11/*cackey*
           13  +rm -rf /Library/CACKey
           14  +rm -rf /System/Library/Security/tokend/PKCS11.tokend
           15  +rm -rf /Library/Security/tokend/PKCS11.tokend
           16  +
           17  +# Forget about packages installed
           18  +echo "Removing saved Mac OS X package information for CACKey..."
           19  +for package in `pkgutil --pkgs | grep -i CACKey`; do
           20  +	pkgutil --forget ${package}
           21  +done