--- debathena-finger-10.0.0.orig/debian/control
+++ debathena-finger-10.0.0/debian/control
@@ -0,0 +1,16 @@
+Source: debathena-finger
+Section: debathena/net
+Priority: extra
+Maintainer: Debian-Athena Project <debathena@mit.edu>
+Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 4.2.0), autoconf, debathena-config-build-common (>= 3.7~), comerr-dev, libkrb5-dev, libhesiod-dev, libzephyr-dev, libzephyr3-krb
+Standards-Version: 3.7.2
+
+Package: debathena-finger
+Architecture: any
+Provides: finger
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: The Athena version of the normal finger utility
+ The finger command displays information about local and remote users in 
+ a convenient format.  The Athena version contains improvements to 
+ locate Athena users and knows about the Athena-specific user database 
+ features.
--- debathena-finger-10.0.0.orig/debian/compat
+++ debathena-finger-10.0.0/debian/compat
@@ -0,0 +1 @@
+4
--- debathena-finger-10.0.0.orig/debian/control.in
+++ debathena-finger-10.0.0/debian/control.in
@@ -0,0 +1,16 @@
+Source: debathena-finger
+Section: debathena/net
+Priority: extra
+Maintainer: Debian-Athena Project <debathena@mit.edu>
+Build-Depends: @cdbs@, comerr-dev, libkrb5-dev, libhesiod-dev, libzephyr-dev, libzephyr3-krb
+Standards-Version: 3.7.2
+
+Package: debathena-finger
+Architecture: any
+Provides: finger
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: The Athena version of the normal finger utility
+ The finger command displays information about local and remote users in 
+ a convenient format.  The Athena version contains improvements to 
+ locate Athena users and knows about the Athena-specific user database 
+ features.
--- debathena-finger-10.0.0.orig/debian/debathena-finger.postinst
+++ debathena-finger-10.0.0/debian/debathena-finger.postinst
@@ -0,0 +1,42 @@
+#!/bin/sh
+# postinst script for #PACKAGE#
+#
+# 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
+
+
+#DEBHELPER#
+
+case "$1" in
+    configure)
+	if [ -n "$2" ] && dpkg --compare-versions "$2" '<<' '9.4'; then
+	    # This diversion was moved to debathena-finger-config.
+	    undivert_unlink /usr/bin/finger
+	fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+exit 0
+
+
--- debathena-finger-10.0.0.orig/debian/changelog
+++ debathena-finger-10.0.0/debian/changelog
@@ -0,0 +1,37 @@
+debathena-finger (10.0.0-0debathena1) unstable; urgency=low
+
+  * Merged quilt patches into mainline Athena tree
+
+ -- Shreevatsa R <vatsa@mit.edu>  Sun,  6 Apr 2008 15:55:44 -0400
+
+debathena-finger (9.4.10-0debathena5) unstable; urgency=low
+
+  * Changed finger to assume the -m option, since trying to match against
+    the users in the passwd file is nearly useless on Debian-Athena.
+
+ -- Tim Abbott <tabbott@mit.edu>  Sun, 12 Aug 2007 01:45:34 -0400
+
+debathena-finger (9.4.10-0debathena4) unstable; urgency=low
+
+  * Don't undivert manpage because it was never diverted.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Mon, 06 Aug 2007 21:42:21 -0400
+
+debathena-finger (9.4.10-0debathena3) unstable; urgency=low
+
+  * Undivert finger binary and manpage on upgrade from pre-9.4 versions.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Mon, 06 Aug 2007 02:24:12 -0400
+
+debathena-finger (9.4.10-0debathena2) unstable; urgency=low
+
+  * Move finger to finger.debathena.
+  * Silence errors on failure to zlocate users.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Thu, 12 Jul 2007 22:53:41 -0400
+
+debathena-finger (9.4.10-0debathena1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Tue, 30 Jan 2007 01:07:48 -0500
--- debathena-finger-10.0.0.orig/debian/copyright
+++ debathena-finger-10.0.0/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-finger-10.0.0.orig/debian/rules
+++ debathena-finger-10.0.0/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1
+DEB_AUTO_UPDATE_AUTOCONF = 1
+DEBATHENA_DIVERT_PACKAGES += \
+	debathena-finger
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debathena-divert.mk
+
+DEB_CONFIGURE_EXTRA_FLAGS += --with-krb4=$(shell krb5-config --prefix krb4) --with-hesiod --with-zephyr
+
+common-install-impl::
+	mv $(DEB_DESTDIR)/usr/bin/finger $(DEB_DESTDIR)/usr/bin/finger.debathena
+
+clean::
+	rm -f configure
