mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +00:00
macos code signature for afsd
this is a dodge; we should sign with a real certificate and distribute signed binaries. until we more formally exist, this allows application firewall to at least cope better with us. Change-Id: I84d18f72f7b9a42f4eb41f86e2e6dc1ae54f662a Reviewed-on: http://gerrit.openafs.org/1057 Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
6e82a621e6
commit
c03980f710
@ -122,6 +122,13 @@ elif [ -e config/afssettings ]; then
|
|||||||
chmod a-x config/afssettings
|
chmod a-x config/afssettings
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# properly, we should acquire a certificate from a real CA and ship
|
||||||
|
# signed binaries. for now, make Application Firewall (Security prefs pane)
|
||||||
|
# happy like this. See TN2206
|
||||||
|
if [ -f /usr/bin/codesign ]; then
|
||||||
|
codesign -s - /usr/sbin/afsd
|
||||||
|
fi
|
||||||
|
|
||||||
#here we should run tools which configure the client, and then if it's enabled:
|
#here we should run tools which configure the client, and then if it's enabled:
|
||||||
#start the new launchd daemon
|
#start the new launchd daemon
|
||||||
launchctl load -w /Library/LaunchDaemons/org.openafs.filesystems.afs.plist
|
launchctl load -w /Library/LaunchDaemons/org.openafs.filesystems.afs.plist
|
||||||
|
Loading…
Reference in New Issue
Block a user