root/trunk/fink/main/finkinfo/macathena-afs-config.info

Revision 155, 1.9 kB (checked in by broder, 16 years ago)

Update macathena-afs-config Fink config for new source

Line 
1 Package: macathena-afs-config
2 Version: 153
3 Revision: 1
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: 7deff29640f67ad77e485af61d7b102c
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 PreRmScript: <<
39         source %p/share/macathena-config-common/divert.sh
40         package=%n
41        
42         undivert_unlink /private/var/db/openafs/etc/CellAlias
43         undivert_unlink /private/var/db/openafs/etc/CellServDB
44         undivert_unlink /private/var/db/openafs/etc/ThisCell
45         undivert_unlink /private/var/db/openafs/etc/config/afs.conf
46         undivert_unlink /private/var/db/openafs/etc/config/settings.plist
47        
48         /Library/StartupItems/OpenAFS/OpenAFS restart
49 <<
Note: See TracBrowser for help on using the browser.