--- debathena-attach-10.0.1.orig/debian/debathena-attach.postinst
+++ debathena-attach-10.0.1/debian/debathena-attach.postinst
@@ -0,0 +1,46 @@
+#!/bin/sh
+# postinst script for debathena-attach
+#
+# 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)
+	# Setup attach binary for setgid-attach.
+	if ! dpkg-statoverride --list /bin/attach >/dev/null; then
+	    chgrp attach /bin/attach
+	    chmod a=rx,u+w,g+s /bin/attach
+	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-attach-10.0.1.orig/debian/control
+++ debathena-attach-10.0.1/debian/control
@@ -0,0 +1,15 @@
+Source: debathena-attach
+Section: debathena/net
+Priority: extra
+Maintainer: Debathena Project <debathena@mit.edu>
+Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 4.2.0), autoconf, libopenafs-dev, libhesiod-dev, libzephyr-dev, debathena-liblocker-dev, debathena-libathdir-dev
+Standards-Version: 3.7.2
+
+Package: debathena-attach
+Architecture: any
+Provides: attach
+Depends: ${shlibs:Depends}, ${misc:Depends}, libzephyr4-krb5 | libzephyr3-krb, debathena-liblocker (>= 9.4), zephyr-clients
+Description: An Athena utility to attach a remote file system to the workstation
+ The attach utility is a filesystem-independent utility which allows you 
+ to attach a filesystem to a directory hierarchy on a workstation.  
+ Currently supported filesystem types are AFS, NFS, and UFS.
--- debathena-attach-10.0.1.orig/debian/compat
+++ debathena-attach-10.0.1/debian/compat
@@ -0,0 +1 @@
+4
--- debathena-attach-10.0.1.orig/debian/control.in
+++ debathena-attach-10.0.1/debian/control.in
@@ -0,0 +1,15 @@
+Source: debathena-attach
+Section: debathena/net
+Priority: extra
+Maintainer: Debathena Project <debathena@mit.edu>
+Build-Depends: @cdbs@, libopenafs-dev, libhesiod-dev, libzephyr-dev, debathena-liblocker-dev, debathena-libathdir-dev
+Standards-Version: 3.7.2
+
+Package: debathena-attach
+Architecture: any
+Provides: attach
+Depends: ${shlibs:Depends}, ${misc:Depends}, libzephyr4-krb5 | libzephyr3-krb, debathena-liblocker (>= 9.4), zephyr-clients
+Description: An Athena utility to attach a remote file system to the workstation
+ The attach utility is a filesystem-independent utility which allows you 
+ to attach a filesystem to a directory hierarchy on a workstation.  
+ Currently supported filesystem types are AFS, NFS, and UFS.
--- debathena-attach-10.0.1.orig/debian/changelog
+++ debathena-attach-10.0.1/debian/changelog
@@ -0,0 +1,62 @@
+debathena-attach (10.0.1-0debathena1) unstable; urgency=low
+
+  * Now that liblocker doesn't require krb4, don't require it here either.
+  * Since Debathena is building liblocker without krb4, don't build with
+    it here either.
+
+ -- Evan Broder <broder@mit.edu>  Mon, 12 Oct 2009 14:56:01 -0400
+
+debathena-attach (10.0.0-0debathena2) unstable; urgency=low
+
+  * Change DEB_AUTO_UPDATE_AUTOCONF to 2.50, not 1.
+  * Remove DEB_AUTO_UPDATE_DEBIAN_CONTROL.
+  * Change "Debian-Athena Project" to "Debathena Project".
+  * Remove debian/control from version control.
+  * Clean up debian/copyright.
+
+ -- Tim Abbott <tabbott@mit.edu>  Sat, 24 Jan 2009 14:29:05 -0500
+
+debathena-attach (10.0.0-0debathena1) unstable; urgency=low
+
+  * Merged quilt patches into mainline Athena tree
+
+ -- Shreevatsa R <vatsa@mit.edu>  Sun,  6 Apr 2008 15:46:07 -0400
+
+debathena-attach (9.4.30-0debathena6) unstable; urgency=low
+
+  * Link against libcom_err from openafs so that the package builds on
+    lenny.
+  * Make MANPATH default to ":" instead of "", so that local manpages
+    continue to work.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Tue, 01 Jan 2008 17:44:37 -0500
+
+debathena-attach (9.4.30-0debathena5) unstable; urgency=low
+
+  * Section: debathena/net.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Tue, 17 Jul 2007 06:33:36 -0400
+
+debathena-attach (9.4.30-0debathena4) unstable; urgency=low
+
+  * Depend zephyr-clients (for zhm) so that fsid works.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Tue, 26 Jun 2007 17:46:27 -0400
+
+debathena-attach (9.4.30-0debathena3) unstable; urgency=low
+
+  * Modified to be setgid attach.
+
+ -- Tim Abbott <tabbott@mit.edu>  Sat, 28 Apr 2007 22:41:24 -0400
+
+debathena-attach (9.4.30-0debathena2) unstable; urgency=low
+
+  * Rebuild against new debathena-liblocker.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Tue, 24 Apr 2007 19:54:24 -0400
+
+debathena-attach (9.4.30-0debathena1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Tue, 30 Jan 2007 01:06:14 -0500
--- debathena-attach-10.0.1.orig/debian/copyright
+++ debathena-attach-10.0.1/debian/copyright
@@ -0,0 +1,23 @@
+This package was debianized as part of the Debathena Project
+<http://debathena.mit.edu/> of the MIT Student Information Processing
+Board.
+
+The Athena source code was obtained from the Athena SVN repository at
+<svn://debathena.mit.edu/athena/trunk>, 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.
+
+The Debian packaging is Copyright © 2007-2008 Tim Abbott and Anders
+Kaseorg, and has the same license as the original software.
--- debathena-attach-10.0.1.orig/debian/rules
+++ debathena-attach-10.0.1/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+DEB_AUTO_UPDATE_AUTOCONF = 2.50
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+DEB_CONFIGURE_EXTRA_FLAGS += lbindir=/bin lsbindir=/sbin --with-afs=/usr --without-krb4 --with-hesiod LIBS=/usr/lib/afs/libcom_err.a
+
+clean::
+	rm -f configure
