1 |
Package: macathena-afs-config |
---|
2 |
Version: 116 |
---|
3 |
Revision: 2 |
---|
4 |
Source: http://macathena.mit.edu/dist/afs-config-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: AFS configuration for MacAthena |
---|
9 |
Source-MD5: cfa784fe2e218d1935dccce043d0ee24 |
---|
10 |
DocFiles: copyright |
---|
11 |
ConfFiles: /private/var/db/openafs/etc/CellAlias.macathena /private/var/db/openafs/etc/CellServDB.macathena /private/var/db/openafs/etc/ThisCell.macathena /private/var/db/openafs/etc/config/afs.conf.macathena /private/var/db/openafs/etc/config/settings.plist.macathena |
---|
12 |
|
---|
13 |
Depends: macathena-config-common, macathena-afs-conf-patch, macathena-machtype |
---|
14 |
CompileScript: << |
---|
15 |
autoconf |
---|
16 |
./configure %c |
---|
17 |
<< |
---|
18 |
InstallScript: << |
---|
19 |
mkdir -p %d/private/var/db/openafs/etc/config/ |
---|
20 |
cp CellAlias.macathena %d/private/var/db/openafs/etc/ |
---|
21 |
cp CellServDB.macathena %d/private/var/db/openafs/etc/ |
---|
22 |
cp ThisCell.macathena %d/private/var/db/openafs/etc/ |
---|
23 |
cp afs.conf.macathena %d/private/var/db/openafs/etc/config/ |
---|
24 |
cp settings.plist.macathena %d/private/var/db/openafs/etc/config/ |
---|
25 |
<< |
---|
26 |
PostInstScript: << |
---|
27 |
source %p/share/macathena-config-common/divert.sh |
---|
28 |
package=%n |
---|
29 |
|
---|
30 |
divert_link /private/var/db/openafs/etc/CellAlias |
---|
31 |
divert_link /private/var/db/openafs/etc/CellServDB |
---|
32 |
divert_link /private/var/db/openafs/etc/ThisCell |
---|
33 |
divert_link /private/var/db/openafs/etc/config/afs.conf |
---|
34 |
divert_link /private/var/db/openafs/etc/config/settings.plist |
---|
35 |
|
---|
36 |
/Library/StartupItems/OpenAFS/OpenAFS restart |
---|
37 |
|
---|
38 |
fs setcrypt on |
---|
39 |
<< |
---|
40 |
PreRmScript: << |
---|
41 |
source %p/share/macathena-config-common/divert.sh |
---|
42 |
package=%n |
---|
43 |
|
---|
44 |
undivert_unlink /private/var/db/openafs/etc/CellAlias |
---|
45 |
undivert_unlink /private/var/db/openafs/etc/CellServDB |
---|
46 |
undivert_unlink /private/var/db/openafs/etc/ThisCell |
---|
47 |
undivert_unlink /private/var/db/openafs/etc/config/afs.conf |
---|
48 |
undivert_unlink /private/var/db/openafs/etc/config/settings.plist |
---|
49 |
|
---|
50 |
/Library/StartupItems/OpenAFS/OpenAFS restart |
---|
51 |
<< |
---|