Check-in [ba7e9d7b52]
Overview
SHA1:ba7e9d7b52366a8222467e214d307105bb38cfb3
Date: 2016-10-19 11:41:35
User: kvanals
Comment:Updated CACKey Postinstall script to create /usr/local/bin/ if it doesn't already exist before placing uninstall script there.
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-10-21
18:08
[0cf1cd0636] Updated TokenD to Version 25 for CACKey on macOS (user: kvanals, tags: trunk)
2016-10-19
11:41
[ba7e9d7b52] Updated CACKey Postinstall script to create /usr/local/bin/ if it doesn't already exist before placing uninstall script there. (user: kvanals, tags: trunk)
11:39
[4cf37709bf] Updated CACKey Build Script to point to new PKCS11.tokend, which includes a fix for SHA-384 support (user: kvanals, tags: trunk)
Changes

Modified build/cackey_osx_build/Template_pmbuild/scripts/04pkcs11tokend-post.sh from [f124b9f8c8] to [41fcf85af4].

1
2
3
4
5

6
7
8
9
10
11
12
#!/bin/bash
chmod -R go+rX /Library/Security/tokend/PKCS11.tokend
chown -R root:wheel /Library/Security/tokend/PKCS11.tokend

# Write Out Uninstaller (For our users' convenience)

cat << 'EOF' >> /usr/local/bin/cackey_osx_uninstall.sh
#!/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





>







1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
chmod -R go+rX /Library/Security/tokend/PKCS11.tokend
chown -R root:wheel /Library/Security/tokend/PKCS11.tokend

# Write Out Uninstaller (For our users' convenience)
mkdir -p /usr/local/bin/
cat << 'EOF' >> /usr/local/bin/cackey_osx_uninstall.sh
#!/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