|
Revision 92, 1.0 kB
(checked in by broder, 18 years ago)
|
Made a macathena-basic package and hopefully fixed macathena-ssl-certificates to work on 10.4
|
| Line | |
|---|
| 1 |
Package: macathena-ssl-certificates |
|---|
| 2 |
Version: 88 |
|---|
| 3 |
Revision: 2 |
|---|
| 4 |
Source: http://macathena.mit.edu/dist/ssl-certificates-svn%v.tar.gz |
|---|
| 5 |
Maintainer: SIPB MacAthena Project <sipb-macathena@mit.edu> |
|---|
| 6 |
HomePage: http://macathena.mit.edu/ |
|---|
| 7 |
License: Public Domain |
|---|
| 8 |
Description: Install the MIT CA into the Keychain |
|---|
| 9 |
DescPackaging: << |
|---|
| 10 |
This package installs the MIT CA into the system keychain. Uninstalling |
|---|
| 11 |
this package does not remove the certificate. |
|---|
| 12 |
<< |
|---|
| 13 |
Source-MD5: 0dee4abcd1fc98e747e10dc7e6fc2673 |
|---|
| 14 |
DocFiles: copyright |
|---|
| 15 |
|
|---|
| 16 |
CompileScript: << |
|---|
| 17 |
<< |
|---|
| 18 |
InstallScript: << |
|---|
| 19 |
mkdir -p %i/share/%n/ |
|---|
| 20 |
cp %b/mitCA.pem %i/share/%n/ |
|---|
| 21 |
<< |
|---|
| 22 |
PostInstScript: << |
|---|
| 23 |
#!/bin/bash |
|---|
| 24 |
if [ "$(/usr/bin/sw_vers -productVersion | cut -d. -f1-2)" == "10.5" ] |
|---|
| 25 |
then |
|---|
| 26 |
security add-trusted-cert -d -k /Library/Keychains/System.keychain %p/share/%n/mitCA.pem |
|---|
| 27 |
else |
|---|
| 28 |
openssl x509 -inform pem -outform drt -in %p/share/%n/mitCA.drt -out %p/share/%n/mitCA.drt |
|---|
| 29 |
security add-cert -k /System/Library/Keychains/X509Anchors %p/share/%n/mitCA.drt |
|---|
| 30 |
fi |
|---|
| 31 |
<< |
|---|