+openafs (1.1.1-2) unstable; urgency=medium
+
+ * Swallow before vomiting, for it is the Debconf way, closes: #106030
+ * Fix setting of INSTALL macro on powerpc, closes: #106019
+ * Support AFSDB in debconf. By default now (assuming you take the new
+ /etc/openafs/afs.conf), AFS will look up cells it doesn't know
+ about in DNS.
+ * Include upstream patch to prevent potential DOS with two RX servers
+ looping rxdebug and version amongst each other.
+ * Install rxdebug (oops)
+ * Fix lintian overrides to get Lintian to stop complaining about
+ non-problems.
+
+ -- Sam Hartman <hartmans@debian.org> Sat, 21 Jul 2001 08:53:10 -0400
+
openafs (1.1.1-1) unstable; urgency=low
* New upstream release to fix readlink sometimes giving permission
openafs-client/usr/bin bin/fs bin/pts bin/bos etc/vos bin/tokens
-openafs-client/usr/bin bin/udebug bin/cmdebug bin/pagsh
+openafs-client/usr/bin bin/udebug bin/cmdebug bin/pagsh etc/rxdebug
openafs-client/usr/sbin root.client/usr/vice/etc/afsd
openafs-client/usr/bin bin/klog bin/kpwvalid bin/unlog
openafs-fileserver/usr/lib/openafs root.server/usr/afs/bin/fileserver root.server/usr/afs/bin/volserver
. /usr/share/debconf/confmodule ||exit
db_version 2.0
+if [ -r /etc/openafs/ThisCell] ; then
+ read cell </etc/openafs/ThisCell
+ db_set openafs-client/thiscell $cell
+ fi
db_get openafs-client/thiscell || true
if [ "x$RET" = "x" ] ; then
db_set openafs-client/thiscell `dnsdomainname | tr 'A-Z' 'a-z'`
fi
-
+if [ -r /etc/openafs/cacheinfo] ; then
+ IFS=: read mountpoint cachedir cachesize </etc/openafs/cacheinfo
+ db_set openafs-client/cachesize $cachesize
+ fi
db_input medium openafs-client/thiscell ||true
db_input critical openafs-client/cachesize ||true
db_go
db_set openafs-client/run-client $AFS_CLIENT
fi
db_input low openafs-client/run-client || true
+if [ "x$AFS_AFSDB" != "x" ] ;then
+ db_set openafs-client/afsdb $AFS_AFSDB
+ fi
+db_input low openafs-client/afsdb ||true
db_go
--- /dev/null
+openafs-client: link-to-undocumented-manpage
+openafs-client: non-standard-dir-perm
db_get openafs-client/run-client
echo AFS_CLIENT=$RET >/etc/openafs/afs.conf.client
+db_get openafs-client/afsdb
+echo AFS_AFSDB=$RET >>/etc/openafs/afs.conf.client
;;
If you answer no to this question, run /etc/init.d/openafs-client
force-start to run.
+Template: openafs-client/afsdb
+Type: string
+Default: true
+Description: Look up AFS cells in DNS?
+ In order to contact an AFS cell, you need the IP addresses of the
+ cell's database servers. Normally, this information is read from
+ /etc/openafs/CellServDB. However, if Openafs cannot find a cell in
+ that file it can use DNS to look for AFSDB records that contain the
+information.
+
pagsh.1
pts.1
tokens.1
+rxdebug.1
udebug.1
unlog.1
vos.1
. /usr/share/debconf/confmodule || exit
db_version 2.0
+if [ -r /etc/openafs/server/ThisCell] ; then
+ read cell </etc/openafs/server/ThisCell
+ db_set openafs-fileserver/thiscell $cell
+ fi
db_get openafs-fileserver/thiscell || true
if [ "x$RET" = "x" ] ; then
--- /dev/null
+openafs-fileserver: link-to-undocumented-manpage
+openafs-fileserver: non-standard-dir-perm
KSRC=/usr/src/linux
endif
MODDIR=..
-
+LINTIAN_PACKAGES= openafs-client openafs-fileserver
export KSRC
export KVERS
dh_testdir
$(MAKE)
- mkdir -p debian/openafs-dbserver/usr/share/man/man8
- /usr/bin/docbook-to-man debian/pt_util.sgml \
- >debian/openafs-dbserver/usr/share/man/man8/pt_util.8
-rm $(SYS_NAME)/dest/include/crypt.h
touch build-stamp
dh_testroot
dh_clean -k
dh_installdirs
-
+ mkdir -p debian/openafs-dbserver/usr/share/man/man8
+ /usr/bin/docbook-to-man debian/pt_util.sgml >debian/openafs-dbserver/usr/share/man/man8/pt_util.8
+ for foo in $(LINTIAN_PACKAGES) ; do \
+ install -d debian/$$foo/usr/share/lintian/overrides; \
+ cp debian/$$foo.lintian debian/$$foo/usr/share/lintian/overrides/$$foo; \
+ done
for pkg in openafs-dbserver openafs-fileserver openafs-kpasswd; do \
ln -s openafs-client debian/$$pkg/usr/share/doc/$$pkg; \
done
SMALL="-stat 300 -dcache 100 -daemons 2 -volumes 50"
OPTIONS=$MEDIUM
+# Should we support afsdb?
+if [ "x$AFS_AFSDB" = "xtrue" ] ; then
+ AFSDB="-afsdb"
+ else AFSDB=""
+ fi
+
# Set to "-verbose" for a lot of debugging information from afsd. Only
# useful for debugging as it prints _a lot_ of information.
VERBOSE=
# OPTIONS are the options passed to afsd.
-OPTIONS="$OPTIONS $VERBOSE"
+OPTIONS="$OPTIONS $VERBOSE $AFSDB"
# Sample server preferences function. Set server preferences using this.
RANLIB=ranlib
RM=rm
WASHTOOL=${SRCDIR}bin/washtool
+INSTALL=${DESTDIR}bin/install
#
# Other OS specific requirements
#