--- debathena-dotfiles-9.4.43.orig/debian/patches/series
+++ debathena-dotfiles-9.4.43/debian/patches/series
@@ -0,0 +1,4 @@
+dotfiles-paths.patch
+dotfiles-no-dialup-zwgc.patch
+dotfiles-kinit-54.patch
+dotfiles-athena-session-tmpdir.patch
--- debathena-dotfiles-9.4.43.orig/debian/patches/dotfiles-kinit-54.patch
+++ debathena-dotfiles-9.4.43/debian/patches/dotfiles-kinit-54.patch
@@ -0,0 +1,39 @@
+Index: debathena-dotfiles-9.4.34+cvs20070823/bashrc
+===================================================================
+--- debathena-dotfiles-9.4.34+cvs20070823.orig/bashrc	2007-11-15 00:50:01.000000000 -0500
++++ debathena-dotfiles-9.4.34+cvs20070823/bashrc	2007-11-15 00:50:07.000000000 -0500
+@@ -197,7 +197,7 @@
+ [ -n "$COREDUMPSIZE_LIMIT" ] && ulimit -S -c $COREDUMPSIZE_LIMIT
+ 
+ #   alias for re-establishing authentication
+-renew () { kinit $USER && fsid -a && zctl load /dev/null ; }
++renew () { kinit -54 $USER && fsid -a && zctl load /dev/null ; }
+ 
+ #   alias for a convenient way to change terminal type
+ term () { set -f; unset TERMCAP; eval "$( tset -s -I -Q "$@" )"; set +f; }
+Index: debathena-dotfiles-9.4.34+cvs20070823/cshrc
+===================================================================
+--- debathena-dotfiles-9.4.34+cvs20070823.orig/cshrc	2007-11-15 00:50:02.000000000 -0500
++++ debathena-dotfiles-9.4.34+cvs20070823/cshrc	2007-11-15 00:50:07.000000000 -0500
+@@ -208,7 +208,7 @@
+ # Set up standard C shell aliases
+ 
+ #   alias for re-establishing authentication
+-alias renew 'kinit $USER && fsid -a && zctl load /dev/null'
++alias renew 'kinit -54 $USER && fsid -a && zctl load /dev/null'
+ 
+ #   alias for a convenient way to change terminal type
+ alias term 'set noglob; unsetenv TERMCAP; eval `tset -s -I -Q \!*`'
+Index: debathena-dotfiles-9.4.34+cvs20070823/renew.1
+===================================================================
+--- debathena-dotfiles-9.4.34+cvs20070823.orig/renew.1	2007-11-15 00:49:25.000000000 -0500
++++ debathena-dotfiles-9.4.34+cvs20070823/renew.1	2007-11-15 00:50:07.000000000 -0500
+@@ -15,7 +15,7 @@
+ of commands:
+ 
+ .ti 12
+-kinit $USER && fsid -a && zctl load /dev/null
++kinit -54 $USER && fsid -a && zctl load /dev/null
+ 
+ "USER" is an environment variable that is set to your username.
+ \fIkinit\fR prompts you for your password and gets you a new kerberos
--- debathena-dotfiles-9.4.43.orig/debian/patches/dotfiles-paths.patch
+++ debathena-dotfiles-9.4.43/debian/patches/dotfiles-paths.patch
@@ -0,0 +1,193 @@
+Index: debathena-dotfiles-9.4.34+cvs20070823/Makefile
+===================================================================
+--- debathena-dotfiles-9.4.34+cvs20070823.orig/Makefile	2007-11-15 00:49:37.000000000 -0500
++++ debathena-dotfiles-9.4.34+cvs20070823/Makefile	2007-11-15 00:50:01.000000000 -0500
+@@ -2,9 +2,9 @@
+ 
+ SHELL=/bin/sh
+ PROTOTYPE=/usr/prototype_user
+-PROTOTMP=/usr/athena/lib/prototype_tmpuser
+-SYSTEM=/usr/athena/lib/init
+-ATHMANDIR=/usr/athena/man
++PROTOTMP=/usr/lib/prototype_tmpuser
++SYSTEM=/usr/lib/init
++ATHMANDIR=/usr/share/man
+ ATHRETCDIR=/etc/athena
+ ATHLOGINDIR=${ATHRETCDIR}/login
+ 
+Index: debathena-dotfiles-9.4.34+cvs20070823/gnome/Makefile
+===================================================================
+--- debathena-dotfiles-9.4.34+cvs20070823.orig/gnome/Makefile	2007-11-15 00:49:37.000000000 -0500
++++ debathena-dotfiles-9.4.34+cvs20070823/gnome/Makefile	2007-11-15 00:50:01.000000000 -0500
+@@ -1,10 +1,10 @@
+ # $Id: Makefile,v 1.6 2006-08-09 15:42:50 rbasch Exp $
+ 
+-PIXMAPDIR=/usr/athena/share/pixmaps
+-GNOMEATHDIR=/usr/athena/share/gnome/athena
+-SCHEMASDIR=/etc/athena/gconf/schemas
++PIXMAPDIR=/usr/share/pixmaps
++GNOMEATHDIR=/usr/share/gnome/athena
++SCHEMASDIR=/usr/share/gconf/schemas
+ AFSMENUS=/afs/athena.mit.edu/system/config/panel/menus
+-APPLICATIONS=/usr/athena/share/applications
++APPLICATIONS=/usr/share/applications
+ 
+ all: athena.schemas
+ 
+Index: debathena-dotfiles-9.4.34+cvs20070823/bashrc
+===================================================================
+--- debathena-dotfiles-9.4.34+cvs20070823.orig/bashrc	2007-11-15 00:49:37.000000000 -0500
++++ debathena-dotfiles-9.4.34+cvs20070823/bashrc	2007-11-15 00:50:11.000000000 -0500
+@@ -55,11 +55,14 @@
+ 		MANPATH=$MANPATH:/usr/sfw/man
+ 		;;
+ 	linux)
+-		athena_path=/usr/athena/bin:/usr/athena/etc
+-		athena_path=$athena_path:/bin/athena:/usr/bin:/bin
+-		athena_path=$athena_path:/usr/X11R6/bin:/usr/athena/etc
+-		athena_path=$athena_path:/usr/sbin:/sbin
+-		MANPATH=/usr/athena/man:/usr/share/man:/usr/X11R6/man
++		athena_path=/usr/local/bin:/usr/bin:/bin:/usr/games
++		MANPATH=/usr/share/man
++		if [ -d /usr/bin/X11 ]; then
++		    athena_path=$athena_path:/usr/bin/X11
++		fi
++		if [ -d /usr/X11R6/man ]; then
++		    MANPATH=$MANPATH:/usr/X11R6/man
++		fi
+ 		;;
+ 	*)
+ 		echo "Standard dotfiles do not support system type $HOSTTYPE."
+@@ -91,12 +94,6 @@
+ 		export OPENWINHOME=/usr/openwin
+ 		;;
+ 	linux)
+-		# This is to ensure that native programs use the Athena
+-		# gconf, ORBit, bonobo-activation, etc. libraries
+-		# rather than the native ones.  GNOME programs outside
+-		# of /usr/athena/bin may not function properly if it is
+-		# not set.
+-		export LD_LIBRARY_PATH=/usr/athena/lib
+ 		;;
+ 	esac
+ 	
+@@ -187,10 +184,10 @@
+ 	fi
+ 	case $HOME in
+ 	/var/athena/tmphomedir/*)
+-		PS1="athena (temporary homedir)\$ "
++		PS1="debathena (temporary homedir)\$ "
+ 		;;
+ 	*)
+-		PS1="athena\$ "
++		PS1="debathena\$ "
+ 		;;
+ 	esac
+ 	CDPATH=.:~
+Index: debathena-dotfiles-9.4.34+cvs20070823/cshrc
+===================================================================
+--- debathena-dotfiles-9.4.34+cvs20070823.orig/cshrc	2007-11-15 00:49:37.000000000 -0500
++++ debathena-dotfiles-9.4.34+cvs20070823/cshrc	2007-11-15 00:50:11.000000000 -0500
+@@ -37,9 +37,10 @@
+   set athena_manpath=${athena_manpath}:/usr/sfw/man
+   breaksw
+ case linux:
+-  set athena_path=( /usr/athena/bin /usr/athena/etc /bin/athena /usr/bin \
+-		    /bin /usr/X11R6/bin /usr/sbin /sbin )
+-  set athena_manpath=/usr/athena/man:/usr/share/man:/usr/X11R6/man
++  set athena_path=( /usr/local/bin /usr/bin /bin /usr/games )
++  set athena_manpath=/usr/share/man
++  if ( -d /usr/bin/X11 ) set athena_path=( $athena_path /usr/bin/X11 )
++  if ( -d /usr/X11R6/man ) set athena_manpath=( $athena_manpath /usr/X11R6/man )
+   breaksw
+ default:
+   echo "Standard dotfiles do not support system type $HOSTTYPE."
+@@ -74,11 +75,6 @@
+     setenv OPENWINHOME /usr/openwin
+     breaksw
+   case linux:
+-    # This is to ensure that native programs use the Athena gconf, ORBit,
+-    # bonobo-activation, etc. libraries rather than the native ones.
+-    # GNOME programs outside of /usr/athena/bin may not function properly
+-    # if it is not set.
+-    setenv LD_LIBRARY_PATH /usr/athena/lib
+     breaksw
+   endsw
+ 
+@@ -199,9 +195,9 @@
+   # Set prompt.
+   set promptchars="%#"
+   if ($home =~ /var/athena/tmphomedir/*) then
+-    set prompt = "athena (temporary homedir)%# "
++    set prompt = "debathena (temporary homedir)%# "
+   else
+-    set prompt = "athena%# "
++    set prompt = "debathena%# "
+   endif
+ 
+   set cdpath = (~)		#   Path to search for directory changes
+Index: debathena-dotfiles-9.4.34+cvs20070823/mksessiondir.sh
+===================================================================
+--- debathena-dotfiles-9.4.34+cvs20070823.orig/mksessiondir.sh	2007-11-15 00:49:37.000000000 -0500
++++ debathena-dotfiles-9.4.34+cvs20070823/mksessiondir.sh	2007-11-15 00:50:02.000000000 -0500
+@@ -27,7 +27,7 @@
+ # First try to create the default directory name, based only on the
+ # user name and session ID.  If that fails, we will use this name as
+ # the prefix in finding a unique directory name.
+-dir="/tmp/session-${USER}-${sid}"
++dir="/var/run/athena-sessions/session-${USER}-${sid}"
+ mkdir -m 700 "$dir" > /dev/null 2>&1
+ if [ $? -ne 0 ]; then
+   # Default name failed, try to uniquify.
+Index: debathena-dotfiles-9.4.34+cvs20070823/bash_login
+===================================================================
+--- debathena-dotfiles-9.4.34+cvs20070823.orig/bash_login	2007-11-15 00:49:37.000000000 -0500
++++ debathena-dotfiles-9.4.34+cvs20070823/bash_login	2007-11-15 00:50:12.000000000 -0500
+@@ -112,7 +112,7 @@
+ 	$ZEPHYR_CLIENT			# Start Zephyr client
+ 	get_message -new -login		# Display current motd
+ 	mailquota -n			# Check quota on post office server
+-	from -t -n			# Check for mail
++	from.debathena -t -n		# Check for mail
+ fi
+ 
+ 
+Index: debathena-dotfiles-9.4.34+cvs20070823/login
+===================================================================
+--- debathena-dotfiles-9.4.34+cvs20070823.orig/login	2007-11-15 00:49:38.000000000 -0500
++++ debathena-dotfiles-9.4.34+cvs20070823/login	2007-11-15 00:50:12.000000000 -0500
+@@ -96,7 +96,7 @@
+ 	$ZEPHYR_CLIENT			# Start Zephyr client
+ 	get_message -new -login		# Display current motd
+ 	mailquota -n			# Check quota on post office server
+-	from -t -n			# Check for mail
++	from.debathena -t -n		# Check for mail
+ endif
+ 
+ 
+Index: debathena-dotfiles-9.4.34+cvs20070823/xsession
+===================================================================
+--- debathena-dotfiles-9.4.34+cvs20070823.orig/xsession	2007-11-15 00:49:38.000000000 -0500
++++ debathena-dotfiles-9.4.34+cvs20070823/xsession	2007-11-15 00:50:02.000000000 -0500
+@@ -245,7 +245,7 @@
+   if (! $?skip_quotawarn) then
+     ($initdir/quotawarn &)	# Display warning dialogs if near quota
+   endif
+-  from -t -n			# Check for mail
++  from.debathena -t -n		# Check for mail
+   if (! $?skip_xss) then
+     (xscreensaver -no-splash &)
+   endif
+Index: debathena-dotfiles-9.4.34+cvs20070823/quotawarn.sh
+===================================================================
+--- debathena-dotfiles-9.4.34+cvs20070823.orig/quotawarn.sh	2007-11-15 00:49:38.000000000 -0500
++++ debathena-dotfiles-9.4.34+cvs20070823/quotawarn.sh	2007-11-15 00:50:02.000000000 -0500
+@@ -3,7 +3,7 @@
+ # $Id: quotawarn.sh,v 1.4 2007-04-09 17:13:19 ghudson Exp $
+ 
+ # Determine the user's home directory usage and quota.
+-qline=`quota -v -f "$USER" | awk '/^\// {print}'`
++qline=`quota.debathena -v -f "$USER" | awk '/^\// {print}'`
+ usage=`echo "$qline" | awk '{print $2}'`
+ quota=`echo "$qline" | awk '{print $3}'`
+ quota90=`expr "${quota:-0}" \* 9 / 10`
--- debathena-dotfiles-9.4.43.orig/debian/patches/dotfiles-no-dialup-zwgc.patch
+++ debathena-dotfiles-9.4.43/debian/patches/dotfiles-no-dialup-zwgc.patch
@@ -0,0 +1,36 @@
+Index: debathena-dotfiles-9.4.34+cvs20070823/bash_login
+===================================================================
+--- debathena-dotfiles-9.4.34+cvs20070823.orig/bash_login	2007-11-15 00:50:02.000000000 -0500
++++ debathena-dotfiles-9.4.34+cvs20070823/bash_login	2007-11-15 00:50:04.000000000 -0500
+@@ -101,7 +101,11 @@
+ 
+ if [ "${ZEPHYR_CLIENT+set}" != set ]; then
+ 	export ZEPHYR_CLIENT
+-	ZEPHYR_CLIENT=zwgc
++	if [ ! -f /etc/athena/dialuptype ]; then
++		ZEPHYR_CLIENT=zwgc
++	else
++		ZEPHYR_CLIENT='echo This is a dialup, so zwgc is not being run on login.'
++	fi
+ fi
+ 
+ if [ "${skip_tty_startup+set}" != set ]; then
+Index: debathena-dotfiles-9.4.34+cvs20070823/login
+===================================================================
+--- debathena-dotfiles-9.4.34+cvs20070823.orig/login	2007-11-15 00:50:02.000000000 -0500
++++ debathena-dotfiles-9.4.34+cvs20070823/login	2007-11-15 00:50:04.000000000 -0500
+@@ -88,7 +88,13 @@
+ # Run default system startup activities.  To skip these, put the command
+ # "set skip_tty_startup" in your ~/.environment file.
+ 
+-if (! $?ZEPHYR_CLIENT) setenv ZEPHYR_CLIENT zwgc
++if (! $?ZEPHYR_CLIENT) then
++	if (! -f /etc/athena/dialuptype) then
++		setenv ZEPHYR_CLIENT zwgc
++	else
++		setenv ZEPHYR_CLIENT 'echo This is a dialup, so zwgc is not being run on login.'
++	endif
++endif
+ 
+ if (! $?skip_tty_startup) then
+ 	if ($?verbose_login) echo "Running standard startup activities ..."
--- debathena-dotfiles-9.4.43.orig/debian/patches/dotfiles-athena-session-tmpdir.patch
+++ debathena-dotfiles-9.4.43/debian/patches/dotfiles-athena-session-tmpdir.patch
@@ -0,0 +1,56 @@
+Index: debathena-dotfiles-9.4.43/bash_login
+===================================================================
+--- debathena-dotfiles-9.4.43.orig/bash_login	2008-01-22 21:59:06.000000000 -0500
++++ debathena-dotfiles-9.4.43/bash_login	2008-01-22 21:59:06.000000000 -0500
+@@ -19,14 +19,6 @@
+ ATHENA_LOGIN_SESSION=$$
+ export ATHENA_LOGIN_SESSION
+ 
+-# Create a unique temporary directory for the session, and remember
+-# the directory name in the environment.
+-sessiondir="`$initdir/mksessiondir -s $$`"
+-if [ -n "$sessiondir" ]; then
+-  ATHENA_SESSION_TMPDIR="$sessiondir"
+-  export ATHENA_SESSION_TMPDIR
+-fi
+-
+ if [ ! -r ~/.hushlogin ]; then
+ 	verbose_login=t		# Echo messages unless user has ~/.hushlogin.
+ fi
+Index: debathena-dotfiles-9.4.43/login
+===================================================================
+--- debathena-dotfiles-9.4.43.orig/login	2008-01-22 21:59:06.000000000 -0500
++++ debathena-dotfiles-9.4.43/login	2008-01-22 21:59:06.000000000 -0500
+@@ -13,13 +13,6 @@
+ 
+ set initdir=/usr/athena/lib/init
+ 
+-# Create a unique temporary directory for the session, and remember
+-# the directory name in the environment.
+-set sessiondir = "`$initdir/mksessiondir -s $$`"
+-if ("$sessiondir" != "") then
+-  setenv ATHENA_SESSION_TMPDIR "$sessiondir"
+-endif
+-
+ if (! -r ~/.hushlogin) then
+ 	set verbose_login	# Echo messages unless user has ~/.hushlogin.
+ endif
+Index: debathena-dotfiles-9.4.43/Xsession
+===================================================================
+--- debathena-dotfiles-9.4.43.orig/Xsession	2008-01-22 21:59:18.000000000 -0500
++++ debathena-dotfiles-9.4.43/Xsession	2008-01-22 21:59:25.000000000 -0500
+@@ -54,14 +54,6 @@
+ # Set X screensaver to noblanking to avoid power saving.
+ xset s noblank
+ 
+-# Create a unique temporary directory for the session, and remember
+-# the directory name in the environment.
+-sessiondir="`$initlib/mksessiondir -s $$`"
+-if [ -n "$sessiondir" ]; then
+-	ATHENA_SESSION_TMPDIR="$sessiondir"
+-	export ATHENA_SESSION_TMPDIR
+-fi
+-
+ # Only attempt using bugme if packs are actually available.
+ if [ -x /usr/athena/bin/bugme ]; then
+ 	/usr/athena/bin/bugme $session
--- debathena-dotfiles-9.4.43.orig/debian/compat
+++ debathena-dotfiles-9.4.43/debian/compat
@@ -0,0 +1 @@
+4
--- debathena-dotfiles-9.4.43.orig/debian/debathena-dotfiles-x11.install
+++ debathena-dotfiles-9.4.43/debian/debathena-dotfiles-x11.install
@@ -0,0 +1,10 @@
+/etc/athena/login/Xsession
+/usr/lib/init/revert-to-sawfish
+/usr/lib/init/xkill-mozilla
+/usr/lib/init/xsession
+/usr/lib/init/gnome-panel-1-to-2
+/usr/lib/init/gnome-stuff-1-to-2
+/usr/share/gnome/athena/*
+/usr/share/gconf/schemas/*
+/usr/share/pixmaps/*
+/usr/share/applications/*
--- debathena-dotfiles-9.4.43.orig/debian/control.in
+++ debathena-dotfiles-9.4.43/debian/control.in
@@ -0,0 +1,22 @@
+Source: debathena-dotfiles
+Section: debathena/base
+Priority: extra
+Maintainer: Debian-Athena Project <debathena@mit.edu>
+Build-Depends: @cdbs@
+Standards-Version: 3.7.2
+
+Package: debathena-dotfiles
+Architecture: all
+Depends: tcsh, debathena-base, debathena-attach, debathena-machtype, debathena-athdir, debathena-get-message, debathena-mailquota, debathena-from (>= 9.4.0-0debathena2~), debathena-lert, debathena-quota (>= 9.4.0-0debathena2~), debathena-afs-config, debathena-autofs-config, debathena-kerberos-config, debathena-zephyr-config, ${misc:Depends}
+Recommends: debathena-bash, debathena-tcsh
+Replaces: debathena-athena-files (<< 0.2)
+Conflicts: debathena-athena-files (<< 0.2)
+Description: User template and system standard shell dotfiles for Athena
+ This package contains user template and system standard shell
+ dotfiles that are used for a non-graphical Athena environment.
+
+Package: debathena-dotfiles-x11
+Architecture: all
+Description: System dotfiles for graphical Athena
+ This package contains user template and system standard shell
+ dotfiles that are used for a graphical Athena environment.
--- debathena-dotfiles-9.4.43.orig/debian/copyright
+++ debathena-dotfiles-9.4.43/debian/copyright
@@ -0,0 +1,20 @@
+The Athena source code was obtained from the Athena CVS repository at
+/afs/dev.mit.edu/source, and is licensed as follows:
+
+  Copyright 1996 by the Massachusetts Institute of Technology.
+
+  Permission to use, copy, modify, and distribute this
+  software and its documentation for any purpose and without
+  fee is hereby granted, provided that the above copyright
+  notice appear in all copies and that both that copyright
+  notice and this permission notice appear in supporting
+  documentation, and that the name of M.I.T. not be used in
+  advertising or publicity pertaining to distribution of the
+  software without specific, written prior permission.
+  M.I.T. makes no representations about the suitability of
+  this software for any purpose.  It is provided "as is"
+  without express or implied warranty.
+
+This Debian package was created as part of the Debian-Athena Project
+<http://web.mit.edu/debathena/www/> of the MIT Student Information
+Processing Board, and is released to the public domain.
--- debathena-dotfiles-9.4.43.orig/debian/control
+++ debathena-dotfiles-9.4.43/debian/control
@@ -0,0 +1,22 @@
+Source: debathena-dotfiles
+Section: debathena/base
+Priority: extra
+Maintainer: Debian-Athena Project <debathena@mit.edu>
+Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0), quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27-1)
+Standards-Version: 3.7.2
+
+Package: debathena-dotfiles
+Architecture: all
+Depends: tcsh, debathena-base, debathena-attach, debathena-machtype, debathena-athdir, debathena-get-message, debathena-mailquota, debathena-from (>= 9.4.0-0debathena2~), debathena-lert, debathena-quota (>= 9.4.0-0debathena2~), debathena-afs-config, debathena-autofs-config, debathena-kerberos-config, debathena-zephyr-config, ${misc:Depends}
+Recommends: debathena-bash, debathena-tcsh
+Replaces: debathena-athena-files (<< 0.2)
+Conflicts: debathena-athena-files (<< 0.2)
+Description: User template and system standard shell dotfiles for Athena
+ This package contains user template and system standard shell
+ dotfiles that are used for a non-graphical Athena environment.
+
+Package: debathena-dotfiles-x11
+Architecture: all
+Description: System dotfiles for graphical Athena
+ This package contains user template and system standard shell
+ dotfiles that are used for a graphical Athena environment.
--- debathena-dotfiles-9.4.43.orig/debian/rules
+++ debathena-dotfiles-9.4.43/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+OS = linux
+ATHENA_MAJOR_VERSION = 9
+ATHENA_MINOR_VERSION = 4
+
+DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DEB_DESTDIR)
+DEB_MAKE_INVOKE += OS=$(OS) ATHENA_MAJOR_VERSION=$(ATHENA_MAJOR_VERSION) ATHENA_MINOR_VERSION=$(ATHENA_MINOR_VERSION)
+DEB_DESTDIR = $(CURDIR)/debian/tmp/
+DEB_DH_INSTALL_SOURCEDIR = $(DEB_DESTDIR)
+DEB_DH_INSTALLINIT_ARGS = --no-start
+DEB_UPDATE_RCD_PARAMS = "start 65 S ."
+
+common-install::
+	chmod a=rwx,o+t $(DEB_DESTDIR)/var/run/athena-sessions
+
+clean::
+	rm -f gnome/athena.schemas
--- debathena-dotfiles-9.4.43.orig/debian/changelog
+++ debathena-dotfiles-9.4.43/debian/changelog
@@ -0,0 +1,58 @@
+debathena-dotfiles (9.4.43-0debathena2) unstable; urgency=low
+
+  * Don't create ATHENA_SESSION_TMPDIR, since it is now managed by PAM
+  * Don't include /usr/lib/init/mksessiondir
+
+ -- Tim Abbott <tabbott@mit.edu>  Tue, 22 Jan 2008 22:00:23 -0500
+
+debathena-dotfiles (9.4.43-0debathena1) unstable; urgency=low
+
+  * Update to current version.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Tue, 25 Dec 2007 02:08:12 -0500
+
+debathena-dotfiles (9.4.34+cvs20070823-0debathena1) hardy; urgency=low
+
+  * New upstream snapshot.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Thu, 15 Nov 2007 00:40:29 -0500
+
+debathena-dotfiles (9.4.34-0debathena6) unstable; urgency=low
+
+  * Force renew alias to use kinit -54.
+  * Add experimental dotfiles-x11 package.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Mon, 29 Oct 2007 03:43:18 -0400
+
+debathena-dotfiles (9.4.34-0debathena5) unstable; urgency=low
+
+  * Create /var/run/athena-sessions on boot.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Mon, 13 Aug 2007 19:06:07 -0400
+
+debathena-dotfiles (9.4.34-0debathena4) unstable; urgency=low
+
+  * Make ZEPHYR_CLIENT not be zwgc on a dialup.
+
+ -- Tim Abbott <tabbott@mit.edu>  Sat,  4 Aug 2007 00:01:23 -0400
+
+debathena-dotfiles (9.4.34-0debathena3) unstable; urgency=low
+
+  * Fix from and quota dependencies.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Wed, 18 Jul 2007 00:22:10 -0400
+
+debathena-dotfiles (9.4.34-0debathena2) unstable; urgency=low
+
+  * Add missing dependencies.
+  * from.debathena instead of from.
+  * quota.debathena instead of quota.
+  * Don't start the initscript on install.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Mon, 16 Jul 2007 20:35:32 -0400
+
+debathena-dotfiles (9.4-34-0debathena1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Sat,  7 Apr 2007 17:58:57 -0400
--- debathena-dotfiles-9.4.43.orig/debian/debathena-dotfiles.postinst
+++ debathena-dotfiles-9.4.43/debian/debathena-dotfiles.postinst
@@ -0,0 +1,44 @@
+#!/bin/sh
+# postinst script for debathena-dotfiles
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+        if ! dpkg-statoverride --list /var/run/athena-sessions >/dev/null; then
+            chmod a=rwx,u+t /var/run/athena-sessions
+        fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- debathena-dotfiles-9.4.43.orig/debian/debathena-dotfiles.dirs
+++ debathena-dotfiles-9.4.43/debian/debathena-dotfiles.dirs
@@ -0,0 +1 @@
+var/run/athena-sessions
--- debathena-dotfiles-9.4.43.orig/debian/debathena-dotfiles.init
+++ debathena-dotfiles-9.4.43/debian/debathena-dotfiles.init
@@ -0,0 +1,49 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          athena-sessions-clean
+# Required-Start:    $local_fs
+# Required-Stop:
+# Default-Start:     S
+# Default-Stop:
+# Short-Description: Clean old Athena sessions.
+# Description:       Clean old Athena sessions from /var/run/athena-sessions.
+### END INIT INFO
+
+if [ -e /lib/lsb/init-functions ]; then
+    . /lib/lsb/init-functions
+else
+    alias log_action_begin_msg="echo -n"
+    log_action_end_msg () {
+	echo .
+    }
+fi
+
+clean_athena_sessions () {
+    cd /var/run/athena-sessions || return 1
+    find . -depth -xdev ! -type d \
+	-print0 | xargs -0r rm -f -- \
+	|| return 1
+    find . -depth -xdev -type d ! -name . -empty \
+	-exec rmdir \{\} \; \
+	|| return 1
+}
+
+case "$1" in
+    start)
+	if ! [ -e /var/run/athena-sessions ]; then
+	    mkdir /var/run/athena-sessions
+	    chmod a=rwx,u+t /var/run/athena-sessions
+	fi
+	log_action_begin_msg "Cleaning old Athena sessions"
+	clean_athena_sessions
+	log_action_end_msg $?
+	;;
+    restart|stop|force-reload)
+	;;
+    *)
+	echo "Usage: $0 {start}" >&2
+	exit 3
+	;;
+esac
+
+:
--- debathena-dotfiles-9.4.43.orig/debian/debathena-dotfiles.install
+++ debathena-dotfiles-9.4.43/debian/debathena-dotfiles.install
@@ -0,0 +1,10 @@
+usr/prototype_user
+usr/lib/prototype_tmpuser
+usr/lib/init/cshrc
+usr/lib/init/env_remove
+usr/lib/init/env_setup
+usr/lib/init/login
+usr/lib/init/quotawarn
+usr/lib/init/bashrc
+usr/lib/init/bash_login
+usr/share/man/man*/*
