--- debathena-mitmailscan-9.4.0.orig/debian/compat
+++ debathena-mitmailscan-9.4.0/debian/compat
@@ -0,0 +1 @@
+4
--- debathena-mitmailscan-9.4.0.orig/debian/control.in
+++ debathena-mitmailscan-9.4.0/debian/control.in
@@ -0,0 +1,13 @@
+Source: debathena-mitmailscan
+Section: mail
+Priority: extra
+Maintainer: Debian-Athena Project <debathena@mit.edu>
+Build-Depends: @cdbs@
+Standards-Version: 3.7.2
+
+Package: debathena-mitmailscan
+Architecture: all
+Provides: mitmailscan
+Depends: ${shlibs:Depends}, ${misc:Depends}, libcyrus-imap-perl, libsasl2-krb4-mit
+Description: Scan messages in an IMAP folder
+ The mitmailscan program scans a folder on an IMAP server for messages.
--- debathena-mitmailscan-9.4.0.orig/debian/copyright
+++ debathena-mitmailscan-9.4.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-mitmailscan-9.4.0.orig/debian/control
+++ debathena-mitmailscan-9.4.0/debian/control
@@ -0,0 +1,13 @@
+Source: debathena-mitmailscan
+Section: mail
+Priority: extra
+Maintainer: Debian-Athena Project <debathena@mit.edu>
+Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 4.2.0), autoconf, quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27-1)
+Standards-Version: 3.7.2
+
+Package: debathena-mitmailscan
+Architecture: all
+Provides: mitmailscan
+Depends: ${shlibs:Depends}, ${misc:Depends}, libcyrus-imap-perl, libsasl2-krb4-mit
+Description: Scan messages in an IMAP folder
+ The mitmailscan program scans a folder on an IMAP server for messages.
--- debathena-mitmailscan-9.4.0.orig/debian/rules
+++ debathena-mitmailscan-9.4.0/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+  
+DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1
+DEB_AUTO_UPDATE_AUTOCONF = 1
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+clean::
+	rm -f configure
--- debathena-mitmailscan-9.4.0.orig/debian/patches/series
+++ debathena-mitmailscan-9.4.0/debian/patches/series
@@ -0,0 +1 @@
+mitmailscan-perl-path.patch
--- debathena-mitmailscan-9.4.0.orig/debian/patches/mitmailscan-perl-path.patch
+++ debathena-mitmailscan-9.4.0/debian/patches/mitmailscan-perl-path.patch
@@ -0,0 +1,10 @@
+Index: debathena-mitmailscan-9.4.0/mitmailscan.pl
+===================================================================
+--- debathena-mitmailscan-9.4.0.orig/mitmailscan.pl	2007-01-30 03:02:00.000000000 -0500
++++ debathena-mitmailscan-9.4.0/mitmailscan.pl	2007-01-30 03:02:00.000000000 -0500
+@@ -1,4 +1,4 @@
+-#!/usr/athena/bin/perl -w
++#!/usr/bin/perl -w
+ 
+ # $Id: mitmailscan.pl,v 1.5 2004-10-26 20:56:30 rbasch Exp $
+ 
--- debathena-mitmailscan-9.4.0.orig/debian/changelog
+++ debathena-mitmailscan-9.4.0/debian/changelog
@@ -0,0 +1,5 @@
+debathena-mitmailscan (9.4.0-0debathena1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Anders Kaseorg <andersk@mit.edu>  Tue, 30 Jan 2007 03:01:50 -0500
