Use tar and shell scripts instead of pkg_ for packaging. The new package
system apparently depends on ports and can't be used standalone.
rm -f /usr/vice/etc/openbsd_afs
/sbin/modload -o /usr/vice/etc/openbsd_afs /usr/vice/etc/libafs.o
-/usr/vice/etc/afsd -nosettime
+/usr/vice/etc/afsd -afsdb -stat 600
/usr/vice/bin/fs setcrypt on
# $Id$
+# This doesn't actually build a package any more
+
SRC=../../../../..
umask 022
echo '/afs:/usr/vice/cache:96000' >usr/vice/etc/cacheinfo
-pkg_create -v -h -f packinglist -c -OpenAFS -d desc -p / -s $PWD openafs-client
+tar chfvz openafs-client.tgz usr/vice
+
+#pkg_create -v -h -f packinglist -c -OpenAFS -d desc -p / -s $PWD openafs-client
# $Id$
+if [ `id -u` != "0" ]; then
+ echo "Must be root; current id="`id -u`
+ exit 1
+fi
+
umask 022
if [ ! -d /afs ]; then
mkdir /afs
fi
+chown root.bin /usr/vice /usr/vice/cache
+chown -R root.bin /usr/vice/bin /usr/vice/etc
+
strip -x /usr/vice/bin/*
echo "Fetching CellServDB..."