--- whitelister-0.8.orig/debian/rules
+++ whitelister-0.8/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+DEB_DH_INSTALLINIT_ARGS := -- defaults 19
+
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_MAKE_CLEAN_TARGET := clean
+DEB_MAKE_BUILD_TARGET := all
+DEB_MAKE_INSTALL_TARGET :=
+
+DEB_INSTALL_DOCS_ALL := README
+DEB_INSTALL_CHANGELOG_ALL := ChangeLog
+
+common-build-arch common-build-indep::
+	$(MAKE) depend
--- whitelister-0.8.orig/debian/control
+++ whitelister-0.8/debian/control
@@ -0,0 +1,21 @@
+Source: whitelister
+Section: mail
+Priority: optional
+Maintainer: Pierre Habouzit <madcoder@debian.org>
+Build-Depends: debhelper (>= 4.2.1), cdbs (>=0.4.26), ocaml-base-nox, ocaml-findlib, libsyslog-ocaml-dev, libspf-dev
+Standards-Version: 3.7.2
+
+Package: whitelister
+Architecture: alpha amd64 arm hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 powerpc sparc
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: postgrey
+Description: a Postfix Whitelister daemon
+ whitelister is a Postfix whitelister Policy Daemon aimed to whitelist mails
+ that come from clean hosts wrt rbl/rhbl in order to let suspicious mails go
+ through evil treatments like greylisting.
+ .
+ whitelister has also SPF capabilities, and can even (despite its name) reject
+ mails based on SPF (see http://spf.pobox.com/ for more informations).
+ .
+ url : https://projects.aaege.net/mailtools/wiki/Project.Whitelister
+
--- whitelister-0.8.orig/debian/compat
+++ whitelister-0.8/debian/compat
@@ -0,0 +1 @@
+4
--- whitelister-0.8.orig/debian/whitelister.init
+++ whitelister-0.8/debian/whitelister.init
@@ -0,0 +1,73 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides:          whitelister
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# X-Start-Before:    postfix
+# X-Stop-After:      postfix
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
+#
+# whitelister   start/stop the whitelister deamon for postfix
+#		(priority should be smaller than that of postfix)
+#
+# Author:	(c)2005 Pierre Habouzit <madcoder@debian.org>
+#		Based on Debian sarge's 'skeleton' example
+#               Distribute and/or modify at will.
+#
+# Version:	$Id: whitelister.init,v 1.3 2005/05/20 13:13:14 x2000habouzit Exp $
+#
+
+set -e
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+DESC="postfix whitelister daemon"
+NAME=whitelister
+DAEMON=/usr/sbin/$NAME
+PIDFILE=/var/run/$NAME.pid
+SCRIPTNAME=/etc/init.d/$NAME
+
+# Gracefully exit if the package has been removed.
+test -x $DAEMON || exit 0
+
+d_start() {
+	start-stop-daemon --start --quiet --pidfile $PIDFILE \
+		--exec $DAEMON || echo -n " (already running)"
+}
+
+d_stop() {
+	start-stop-daemon --stop --oknodo --quiet --pidfile $PIDFILE \
+		--name $NAME
+        rm -f $PIDFILE
+}
+
+d_restart() {
+    d_stop
+    sleep 1
+    d_start
+}
+
+case "$1" in
+  start)
+	echo -n "Starting $DESC: $NAME"
+        d_start
+	echo "."
+	;;
+  stop)
+	echo -n "Stopping $DESC: $NAME"
+        d_stop
+	echo "."
+	;;
+  force-reload|restart)
+	echo -n "Restarting $DESC: $NAME"
+        d_restart
+	echo "."
+	;;
+  *)
+	echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0
--- whitelister-0.8.orig/debian/copyright
+++ whitelister-0.8/debian/copyright
@@ -0,0 +1,13 @@
+This package was debianized by Pierre Habouzit <x2000habouzit@murphy> on
+Fri, 15 Apr 2005 12:52:37 +0200.
+
+Copyright Holder: Pierre Habouzit
+
+License: BSD License
+
+The original source code for this package was downloaded from
+https://projects.aaege.net/mailtools/wiki/Project.Whitelister
+
+On Debian GNU/Linux systems the complete text of the BSD can be found
+in /usr/share/common-licenses/BSD
+
--- whitelister-0.8.orig/debian/changelog
+++ whitelister-0.8/debian/changelog
@@ -0,0 +1,145 @@
+whitelister (0.8-5) unstable; urgency=low
+
+  * Make the logcheck rules less leaky, thanks to Tim Small (Closes: #499499).
+
+ -- Pierre Habouzit <madcoder@debian.org>  Thu, 25 Sep 2008 10:53:04 +0200
+
+whitelister (0.8-4.1) unstable; urgency=low
+
+  * Non-maintainer upload to solve release goal.
+  * Add LSB dependency header to init.d scripts (Closes: #466659).
+
+ -- Petter Reinholdtsen <pere@debian.org>  Sun, 30 Mar 2008 11:46:06 +0200
+
+whitelister (0.8-4) unstable; urgency=low
+
+  * Update ignore.d/server rules to ignore normal traffic. We especially don't
+    wan't to monitor `Dirty' from logcheck as there is too many spam around
+    nowadays. (Closes: #376929).
+  * Bump Standards-Version to 3.7.2.
+
+ -- Pierre Habouzit <madcoder@debian.org>  Sun,  7 Jan 2007 17:25:39 +0100
+
+whitelister (0.8-3) unstable; urgency=high
+
+  * Prevent ftbfs by forcing make depend, urgency set to high as it prevents
+    ftbfs'es.
+
+ -- Pierre Habouzit <madcoder@debian.org>  Sun,  5 Nov 2006 23:38:09 +0100
+
+whitelister (0.8-2) unstable; urgency=low
+
+  * Add kfreebsd-amd64 to the architecture list (closes: #361631).
+
+ -- Pierre Habouzit <madcoder@debian.org>  Sun,  5 Nov 2006 23:37:45 +0100
+
+whitelister (0.8-1) unstable; urgency=low
+
+  * New upstream release (Note that whitelister is now under a BSD license).
+
+ -- Pierre Habouzit <madcoder@debian.org>  Mon, 13 Feb 2006 23:16:17 +0100
+
+whitelister (0.7-2) unstable; urgency=low
+
+  * Fix upstream bug : group/user inversion in server.ml.
+
+ -- Pierre Habouzit <madcoder@debian.org>  Sat, 14 Jan 2006 16:10:59 +0100
+
+whitelister (0.7-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Pierre Habouzit <madcoder@debian.org>  Sat, 14 Jan 2006 15:53:42 +0100
+
+whitelister (0.6-2) unstable; urgency=low
+
+  * Update archs that have ocamlopt (closes: #347893).
+
+ -- Pierre Habouzit <madcoder@debian.org>  Sat, 14 Jan 2006 13:06:19 +0100
+
+whitelister (0.6-1) unstable; urgency=low
+
+  * New upstream release.
+  * Fixes FD starvation problem (closes: #325282).
+
+ -- Pierre Habouzit <madcoder@debian.org>  Sun, 28 Aug 2005 11:15:58 +0200
+
+whitelister (0.5.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Pierre Habouzit <madcoder@debian.org>  Wed, 24 Aug 2005 02:02:36 +0200
+
+whitelister (0.5-1) unstable; urgency=low
+
+  * New upstream release.
+  * Server loop has been rewritten, so that privileges drop comme after socket
+    bind/listen (closes: #322582).
+  * Some improvements in the init script.
+
+ -- Pierre Habouzit <madcoder@debian.org>  Tue, 23 Aug 2005 21:44:16 +0200
+
+whitelister (0.4-4) unstable; urgency=low
+
+  * Fix a problem related to set -e in the init script that make the init
+    script misfunction in case of whitelister failure. 
+
+ -- Pierre Habouzit <madcoder@debian.org>  Tue, 23 Aug 2005 19:42:10 +0200
+
+whitelister (0.4-3) unstable; urgency=low
+
+  * Add kfreebsd-i386 to the Arch list (closes: #315938).
+  * Bump Standards Version (no change required). 
+
+ -- Pierre Habouzit <madcoder@debian.org>  Tue, 19 Jul 2005 12:56:36 +0200
+
+whitelister (0.4-2) unstable; urgency=low
+
+  * Only build the package where ocaml native compiler are supported.
+
+ -- Pierre Habouzit <madcoder@debian.org>  Thu, 23 Jun 2005 14:01:47 +0200
+
+whitelister (0.4-1) unstable; urgency=low
+
+  * First upload to debian (closes: #312309).
+
+ -- Pierre Habouzit <madcoder@debian.org>  Tue,  7 Jun 2005 12:21:08 +0200
+
+whitelister (0.3-2) UNRELEASED; urgency=low
+
+  * Add a logcheck rule to ignore Clean messages.
+
+ -- Pierre Habouzit <madcoder@debian.org>  Fri, 20 May 2005 15:30:36 +0200
+
+whitelister (0.3-1) UNRELEASED; urgency=low
+
+  * New upstram release.
+  * Use start-stop-daemon with pidfile since whitelister supports it now.
+
+ -- Pierre Habouzit <madcoder@debian.org>  Fri, 20 May 2005 14:22:29 +0200
+
+whitelister (0.2.1-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Pierre Habouzit <madcoder@debian.org>  Thu, 19 May 2005 08:28:07 +0200
+
+whitelister (0.2-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Pierre Habouzit <pierre.habouzit@m4x.org>  Wed, 18 May 2005 14:10:34 +0200
+
+whitelister (0.1-2) UNRELEASED; urgency=low
+
+  * Add a default empty config.
+  * Make whitelister a real daemon (live in sbin + init script).
+
+ -- Pierre Habouzit <pierre.habouzit@m4x.org>  Tue, 17 May 2005 16:15:12 +0200
+
+whitelister (0.1-1) UNRELEASED; urgency=low
+
+  * Initial Release.
+
+ -- Pierre Habouzit <pierre.habouzit@m4x.org>  Tue, 17 May 2005 14:34:39 +0200
+
--- whitelister-0.8.orig/debian/whitelister.install
+++ whitelister-0.8/debian/whitelister.install
@@ -0,0 +1,3 @@
+whitelister-example.conf    /usr/share/doc/whitelister/examples/
+whitelister                 /usr/sbin/
+debian/whitelister.conf     /etc/
--- whitelister-0.8.orig/debian/whitelister.conf
+++ whitelister-0.8/debian/whitelister.conf
@@ -0,0 +1,23 @@
+##
+## configuration for whitelister
+##
+
+## sock
+##   socket the server has to listen to
+##   either unix or tcp socket are possible.
+##   syntax is ip:port (the :port is required) for tcp sockets
+## defaults : 127.0.0.1:10000
+
+#sock: 127.0.0.1:10000
+
+## rbl
+##   put one rbl per line
+
+#rbl:  dynablock.njabl.org
+#rbl:  dul.dnsbl.sorbs.net
+
+## rhbls
+##   put one rhbl per line
+
+#rhbl: bogusmx.rfc-ignorant.org
+
--- whitelister-0.8.orig/debian/whitelister.logcheck.ignore.server
+++ whitelister-0.8/debian/whitelister.logcheck.ignore.server
@@ -0,0 +1,4 @@
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ whitelister\[[0-9]+\]: Clean$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ whitelister\[[0-9]+\]: listening to inet:[:.[:xdigit:]]+:[[:digit:]]$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ whitelister\[[0-9]+\]: listening to unix:[-/._[:alnum:]]+$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ whitelister\[[0-9]+\]: (Dirty|Reject): RCPT from [._[:alnum:]-]+\[([0-9.]{7,15}|[0-9a-fA-F:.]{4,39})\]: (DUNNO \(.*\)|REJECT SPF.*); from=<.*> to=<.*> proto=E?SMTP helo=<.*>$
