From: Sam Hartman Date: Sat, 21 Jul 2001 12:54:52 +0000 (+0000) Subject: * Fix ppc build X-Git-Tag: debian/1.1.1-2~3 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=b57498056c4e6c204aabf87a0c02994aab38e8f2;p=packages%2Fo%2Fopenafs.git * Fix ppc build * Fix debconf read in before write out * afsdb support for debconf * install rxdebug * fix pt_util manpage * Support for lintian overrides --- diff --git a/debian/changelog b/debian/changelog index 988e0f233..f4efc358d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,18 @@ +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 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 diff --git a/debian/filelist b/debian/filelist index c73a8228d..cfca51ef4 100644 --- a/debian/filelist +++ b/debian/filelist @@ -1,5 +1,5 @@ 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 diff --git a/debian/openafs-client.config b/debian/openafs-client.config index c944d3a8a..7655bec71 100644 --- a/debian/openafs-client.config +++ b/debian/openafs-client.config @@ -3,11 +3,18 @@ . /usr/share/debconf/confmodule ||exit db_version 2.0 +if [ -r /etc/openafs/ThisCell] ; then + read cell /etc/openafs/afs.conf.client +db_get openafs-client/afsdb +echo AFS_AFSDB=$RET >>/etc/openafs/afs.conf.client ;; diff --git a/debian/openafs-client.templates b/debian/openafs-client.templates index ce24009ec..dfc3f86cb 100644 --- a/debian/openafs-client.templates +++ b/debian/openafs-client.templates @@ -40,3 +40,13 @@ Description: Run Openafs client now and at boot? 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. + diff --git a/debian/openafs-client.undocumented b/debian/openafs-client.undocumented index e95d61298..38955d9b8 100644 --- a/debian/openafs-client.undocumented +++ b/debian/openafs-client.undocumented @@ -7,6 +7,7 @@ kpwvalid.1 pagsh.1 pts.1 tokens.1 +rxdebug.1 udebug.1 unlog.1 vos.1 diff --git a/debian/openafs-fileserver.config b/debian/openafs-fileserver.config index 5ead51b2a..d90f89bab 100644 --- a/debian/openafs-fileserver.config +++ b/debian/openafs-fileserver.config @@ -3,6 +3,10 @@ . /usr/share/debconf/confmodule || exit db_version 2.0 +if [ -r /etc/openafs/server/ThisCell] ; then + read cell debian/openafs-dbserver/usr/share/man/man8/pt_util.8 -rm $(SYS_NAME)/dest/include/crypt.h touch build-stamp @@ -74,7 +71,12 @@ install: build 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 diff --git a/src/afsd/afs.conf.linux b/src/afsd/afs.conf.linux index c22c9c3ea..466d933af 100644 --- a/src/afsd/afs.conf.linux +++ b/src/afsd/afs.conf.linux @@ -21,12 +21,18 @@ MEDIUM="-stat 2000 -dcache 800 -daemons 3 -volumes 70" 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. diff --git a/src/config/Makefile.ppc_linux22.in b/src/config/Makefile.ppc_linux22.in index 12d6df18a..b40539b85 100644 --- a/src/config/Makefile.ppc_linux22.in +++ b/src/config/Makefile.ppc_linux22.in @@ -36,6 +36,7 @@ MV=mv RANLIB=ranlib RM=rm WASHTOOL=${SRCDIR}bin/washtool +INSTALL=${DESTDIR}bin/install # # Other OS specific requirements #