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