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