echo /Network/afs:/var/db/openafs/cache:30000 > $PKGROOT/private/var/db/openafs/etc/cacheinfo.sample
fi
cp afs.conf $PKGROOT/private/var/db/openafs/etc/config/afs.conf.sample
+ cp krb5-weak.conf $PKGROOT/private/var/db/openafs/etc/krb5-weak.conf
cp decode-panic $PKGROOT/Library/OpenAFS/Tools/tools
chmod a+x $PKGROOT/Library/OpenAFS/Tools/tools/decode-panic
BINLIST="fs klog klog.krb pagsh pagsh.krb pts sys tokens tokens.krb unlog unlog.krb aklog"
ETCLIST="vos"
+ SHLIBLIST="libafsauthent.dylib libafsauthent.dylib.1 libafsauthent.dylib.1.1 libafshcrypto.dylib libafshcrypto.dylib.1 libafshcrypto.dylib.1.1 libafsrpc.dylib libafsrpc.dylib.1 libafsrpc.dylib.1.4 libkopenafs.dylib libkopenafs.dylib.1 libkopenafs.dylib.1.1 librokenafs.dylib librokenafs.dylib.1 librokenafs.dylib.1.1"
# Should these be linked into /usr too?
OTHER_BINLIST="bos cmdebug rxgen translate_et udebug xstat_cm_test xstat_fs_test"
for f in $ETCLIST; do
ln -s ../../Library/OpenAFS/Tools/etc/$f $PKGROOT/usr/sbin/$f
done
+ for f in $SHLIBLIST; do
+ ln -s ../../Library/OpenAFS/Tools/lib/$f $PKGROOT/usr/lib/$f
+ done
for f in `ls $PKGROOT/Library/OpenAFS/Tools/man/man1`; do
gzip -9 $PKGROOT/Library/OpenAFS/Tools/man/man1/$f
ln -s ../../../../Library/OpenAFS/Tools/man/man1/$f.gz $PKGROOT/usr/share/man/man1/$f.gz