aklog: work around lion kerberos disaster
[openafs.git] / src / packaging / MacOS / buildpkg.sh.in
index 835b1a6..2b4f1cc 100644 (file)
@@ -144,6 +144,7 @@ if [ $firstpass = yes ]; then
        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
@@ -184,7 +185,7 @@ if [ $firstpass = yes ]; then
        ln -s ../../Library/OpenAFS/Tools/etc/$f $PKGROOT/usr/sbin/$f
     done
     for f in $SHLIBLIST; do
-       ln -s ../../Library/OpenAFS/Tools/etc/$f $PKGROOT/usr/lib/$f
+       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