Package: macathena-afs-config Version: 196 Revision: 1 Source: http://macathena.mit.edu/dist/afs-config-svn%v.tar.gz Maintainer: SIPB MacAthena Project HomePage: http://macathena.mit.edu/ License: Public Domain Description: AFS configuration for MacAthena Source-MD5: d1412db9d53ef79315b4f4e211ac5d52 DocFiles: copyright 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 Depends: macathena-config-common, macathena-afs-conf-patch, macathena-machtype CompileScript: << autoconf ./configure %c << InstallScript: << mkdir -p %d/private/var/db/openafs/etc/config/ cp CellAlias.macathena %d/private/var/db/openafs/etc/ cp CellServDB.macathena %d/private/var/db/openafs/etc/ cp ThisCell.macathena %d/private/var/db/openafs/etc/ cp afs.conf.macathena %d/private/var/db/openafs/etc/config/ cp settings.plist.macathena %d/private/var/db/openafs/etc/config/ mkdir -p %i/libexec/macathena-afs-config cp update-cellservdb %i/libexec/macathena-afs-config << PostInstScript: << source %p/share/macathena-config-common/divert.sh package=%n divert_link /private/var/db/openafs/etc/CellAlias divert_link /private/var/db/openafs/etc/CellServDB divert_link /private/var/db/openafs/etc/ThisCell divert_link /private/var/db/openafs/etc/config/afs.conf divert_link /private/var/db/openafs/etc/config/settings.plist if [ -n "$(mount -t afs)" ]; then %p/libexec/macathena-afs-config/update-cellservdb . /private/var/db/openafs/etc/config/afs.conf fs sysname $AFS_SYSNAME || true fi << PreRmScript: << source %p/share/macathena-config-common/divert.sh package=%n undivert_unlink /private/var/db/openafs/etc/CellAlias undivert_unlink /private/var/db/openafs/etc/CellServDB undivert_unlink /private/var/db/openafs/etc/ThisCell undivert_unlink /private/var/db/openafs/etc/config/afs.conf undivert_unlink /private/var/db/openafs/etc/config/settings.plist if [ -n "$(mount -t afs)" ]; then %p/libexec/macathena-afs-config/update-cellservdb . /private/var/db/openafs/etc/config/afs.conf fs sysname $AFS_SYSNAME || true fi <<