--- debathena-athinfo-10.0.2.orig/debian/control
+++ debathena-athinfo-10.0.2/debian/control
@@ -0,0 +1,16 @@
+Source: debathena-athinfo
+Section: debathena/net
+Priority: extra
+Maintainer: Debathena Project <debathena@mit.edu>
+Build-Depends: cdbs, autotools-dev, debhelper, autoconf
+Standards-Version: 3.7.2
+
+Package: debathena-athinfo
+Architecture: any
+Provides: athinfo
+Depends: ${shlibs:Depends}, ${misc:Depends}, netbase
+Description: An Athena utility to retrieve information about a workstation
+ The athinfo tool queries a remote workstation using the athinfo daemon 
+ for information about the workstation, such as its hardware type and 
+ configuration, its current software installation state, the number of 
+ users logged on, and various other informational state queries.
--- debathena-athinfo-10.0.2.orig/debian/compat
+++ debathena-athinfo-10.0.2/debian/compat
@@ -0,0 +1 @@
+4
--- debathena-athinfo-10.0.2.orig/debian/debathena-athinfo.postinst
+++ debathena-athinfo-10.0.2/debian/debathena-athinfo.postinst
@@ -0,0 +1,46 @@
+#!/bin/sh
+# postinst script for debathena-athinfo
+#
+# 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 ! grep -q '^athinfo[[:space:]]' /etc/services; then
+	    cat <<EOF >>/etc/services
+athinfo		49155/tcp			# workstation info server
+EOF
+	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-athinfo-10.0.2.orig/debian/control.in
+++ debathena-athinfo-10.0.2/debian/control.in
@@ -0,0 +1,16 @@
+Source: debathena-athinfo
+Section: debathena/net
+Priority: extra
+Maintainer: Debathena Project <debathena@mit.edu>
+Build-Depends: @cdbs@
+Standards-Version: 3.7.2
+
+Package: debathena-athinfo
+Architecture: any
+Provides: athinfo
+Depends: ${shlibs:Depends}, ${misc:Depends}, netbase
+Description: An Athena utility to retrieve information about a workstation
+ The athinfo tool queries a remote workstation using the athinfo daemon 
+ for information about the workstation, such as its hardware type and 
+ configuration, its current software installation state, the number of 
+ users logged on, and various other informational state queries.
--- debathena-athinfo-10.0.2.orig/debian/changelog
+++ debathena-athinfo-10.0.2/debian/changelog
@@ -0,0 +1,49 @@
+debathena-athinfo (10.0.2-0debathena1) unstable; urgency=low
+
+  [ Geoffrey Thomas ]
+  * Update manpage to document new Debathena queries.
+
+  [ Evan Broder ]
+  * Bump the upstream version number.
+
+ -- Evan Broder <broder@mit.edu>  Wed, 31 Mar 2010 23:55:18 -0400
+
+debathena-athinfo (10.0.1-0debathena1) unstable; urgency=low
+
+  * Update manpage to document Debathena's queries (Trac: #180).
+
+ -- Geoffrey Thomas <geofft@mit.edu>  Sat, 11 Apr 2009 19:24:46 -0400
+
+debathena-athinfo (10.0.0-0debathena1) 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:18:25 -0500
+
+debathena-athinfo (9.4.27-0debathena4) unstable; urgency=low
+
+  * Section: debathena/net.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Tue, 17 Jul 2007 06:33:32 -0400
+
+debathena-athinfo (9.4.27-0debathena3) unstable; urgency=low
+
+  * Depends: netbase.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Tue, 26 Jun 2007 16:32:39 -0400
+
+debathena-athinfo (9.4.27-0debathena2) unstable; urgency=low
+
+  * Add athinfo to /etc/services.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Tue, 26 Jun 2007 16:32:38 -0400
+
+debathena-athinfo (9.4.27-0debathena1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Tue, 30 Jan 2007 00:33:21 -0500
--- debathena-athinfo-10.0.2.orig/debian/copyright
+++ debathena-athinfo-10.0.2/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-athinfo-10.0.2.orig/debian/rules
+++ debathena-athinfo-10.0.2/debian/rules
@@ -0,0 +1,8 @@
+#!/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
+
+clean::
+	rm -f configure
