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
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
# Script to remove current and previous releases of CACKey from Mac OS X

if [ "`whoami`" != "root" ]; then
	echo "Please rerun this script with sudo or directly as root."
	exit 1
fi

# Remove Directories and Files
echo "Removing CACKey-related files and directories, if they exist..."
rm -rf /usr/lib/pkcs11/*cackey*
rm -rf /usr/local/lib/pkcs11/*cackey*
rm -rf /Library/CACKey
rm -rf /System/Library/Security/tokend/PKCS11.tokend
rm -rf /Library/Security/tokend/PKCS11.tokend

# Forget about packages installed
echo "Removing saved Mac OS X package information for CACKey..."
for package in `pkgutil --pkgs | grep -i CACKey`; do
	pkgutil --forget ${package}
done