aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.gitignore6
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control46
-rw-r--r--debian/copyright43
-rw-r--r--debian/dovecot-antispam-crm114.files1
-rw-r--r--debian/dovecot-antispam-crm114.manpages1
-rw-r--r--debian/dovecot-antispam-dspam.files1
-rw-r--r--debian/dovecot-antispam-dspam.manpages1
-rw-r--r--debian/dovecot-antispam-mailtrain.files1
-rw-r--r--debian/dovecot-antispam-mailtrain.manpages1
-rwxr-xr-xdebian/rules96
12 files changed, 1 insertions, 202 deletions
diff --git a/.gitignore b/.gitignore
index 96020a4..96bcc17 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,8 +5,4 @@
dovecot-version.h
antispam-version.h
dovecot-version
-*.log
-debian/dovecot-antispam-*/
-debian/files
-*substvars
-configure-stamp
+*-stamp
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index 338bce3..0000000
--- a/debian/changelog
+++ /dev/null
@@ -1,5 +0,0 @@
-dovecot-antispam (1) unstable; urgency=low
-
- * Initial release to Debian.
-
- -- Johannes Berg <johannes@sipsolutions.net> Sat, 31 May 2008 12:49:59 +0200
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 7f8f011..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-7
diff --git a/debian/control b/debian/control
deleted file mode 100644
index bdd3c4b..0000000
--- a/debian/control
+++ /dev/null
@@ -1,46 +0,0 @@
-Source: dovecot-antispam
-Section: mail
-Priority: optional
-Maintainer: Johannes Berg <johannes@sipsolutions.net>
-Build-Depends: debhelper (>= 6), dovecot-dev (<< 1:1.1) | dovecot-dev (>= 1:1.1.2)
-Standards-Version: 3.7.3
-Homepage: http://johannes.sipsolutions.net/Projects/dovecot-antispam
-
-Package: dovecot-antispam-crm114
-Architecture: any
-Depends: dovecot-imapd (= ${dovecot-dev}), ${shlibs:Depends}
-Provides: dovecot-antispam
-Conflicts: dovecot-antispam
-Description: Dovecot IMAP server antispam plugin
- The Dovecot IMAP server antispam plugin is an IMAP server extension
- helping you train your spam filter.
- .
- This package contains the crm114 version of the plugin.
-Tag: mail::imap, works-with::mail
-
-Package: dovecot-antispam-dspam
-Architecture: any
-Depends: dovecot-imapd (= ${dovecot-dev}), ${shlibs:Depends}
-Provides: dovecot-antispam
-Conflicts: dovecot-antispam
-Description: Dovecot IMAP server antispam plugin
- The Dovecot IMAP server antispam plugin is an IMAP server extension
- helping you train your spam filter.
- .
- This package contains the dspam version of the plugin.
-Tag: mail::imap, works-with::mail
-
-Package: dovecot-antispam-mailtrain
-Architecture: any
-Depends: dovecot-imapd (= ${dovecot-dev}), ${shlibs:Depends}
-Provides: dovecot-antispam
-Conflicts: dovecot-antispam
-Description: Dovecot IMAP server antispam plugin
- The Dovecot IMAP server antispam plugin is an IMAP server extension
- helping you train your spam filter.
- .
- This package contains the mailtrain version of the plugin; due to
- simply piping the message to the learning process it can also be
- used with any other spam filter, for example spamassassin (via
- sa-learn.)
-Tag: mail::imap, works-with::mail
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index e6edf3c..0000000
--- a/debian/copyright
+++ /dev/null
@@ -1,43 +0,0 @@
-This package was debianized by Johannes Berg <johannes@sipsolutions.net> on
-Sat, 31 May 2008 11:50:41 +0200.
-
-It was downloaded from http://johannes.sipsolutions.net/Projects/dovecot-antispam
-
-Upstream Authors:
-
- Johannes Berg <johannes@sipsolutions.net>
- Frank Cusack
- Benedikt Boehm
- Andreas Schneider
- Timo Sirainen
-
-Copyright:
-
- Copyright (C) 2004-2008 Johannes Berg
- Copyright (C) 2005 Timo Sirainen
- Copyright (C) 2006 Frank Cusack
- Copyright (C) Benedikt Boehm
- Copyright (C) Andreas Schneider
-
-License:
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License Version 2 as
- published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-
-On Debian systems, the complete text of the GNU General
-Public License can be found in `/usr/share/common-licenses/GPL'.
-
-The Debian packaging is licensed under the GPL, see above, and has
-the following copyright:
-
-Copyright (C) 2008 Johannes Berg <johannes@sipsolutions.net>
diff --git a/debian/dovecot-antispam-crm114.files b/debian/dovecot-antispam-crm114.files
deleted file mode 100644
index 8b36caa..0000000
--- a/debian/dovecot-antispam-crm114.files
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/dovecot/modules/imap/lib90_antispam_plugin.so
diff --git a/debian/dovecot-antispam-crm114.manpages b/debian/dovecot-antispam-crm114.manpages
deleted file mode 100644
index 5560851..0000000
--- a/debian/dovecot-antispam-crm114.manpages
+++ /dev/null
@@ -1 +0,0 @@
-antispam.7
diff --git a/debian/dovecot-antispam-dspam.files b/debian/dovecot-antispam-dspam.files
deleted file mode 100644
index 8b36caa..0000000
--- a/debian/dovecot-antispam-dspam.files
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/dovecot/modules/imap/lib90_antispam_plugin.so
diff --git a/debian/dovecot-antispam-dspam.manpages b/debian/dovecot-antispam-dspam.manpages
deleted file mode 100644
index 5560851..0000000
--- a/debian/dovecot-antispam-dspam.manpages
+++ /dev/null
@@ -1 +0,0 @@
-antispam.7
diff --git a/debian/dovecot-antispam-mailtrain.files b/debian/dovecot-antispam-mailtrain.files
deleted file mode 100644
index 8b36caa..0000000
--- a/debian/dovecot-antispam-mailtrain.files
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/dovecot/modules/imap/lib90_antispam_plugin.so
diff --git a/debian/dovecot-antispam-mailtrain.manpages b/debian/dovecot-antispam-mailtrain.manpages
deleted file mode 100644
index 5560851..0000000
--- a/debian/dovecot-antispam-mailtrain.manpages
+++ /dev/null
@@ -1 +0,0 @@
-antispam.7
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index bc2a1a1..0000000
--- a/debian/rules
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-#
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-#
-# Modified to make a template file for a multi-binary package with separated
-# build-arch and build-indep targets by Bill Allombert 2001
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
-INST-crm114=$(CURDIR)/debian/dovecot-antispam-crm114/usr/lib/dovecot/modules/imap
-INST-dspam=$(CURDIR)/debian/dovecot-antispam-dspam/usr/lib/dovecot/modules/imap
-INST-mailtrain=$(CURDIR)/debian/dovecot-antispam-mailtrain/usr/lib/dovecot/modules/imap
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- cat defconfig | grep -v PLUGINNAME > .config
-
- touch configure-stamp
-
-
-#Architecture
-build: build-arch
-
-build-arch: build-arch-stamp
-build-arch-stamp: configure-stamp
- LIBRARY_NAME=crm114.so BACKEND=crm114-exec PLUGINNAME=crm114 $(MAKE)
- LIBRARY_NAME=dspam.so BACKEND=dspam-exec PLUGINNAME=dspam $(MAKE)
- LIBRARY_NAME=mailtrain.so BACKEND=mailtrain PLUGINNAME=mailtrain $(MAKE)
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-arch-stamp configure-stamp
-
- rm -f .config
-
- $(MAKE) clean
-
- dh_clean
-
-install: install-arch
-install-arch:
- dh_testdir
- dh_testroot
- dh_clean -k -s
- dh_installdirs -s
-
- mkdir -p $(INST-crm114)
- install -o root -g root -m 0660 crm114.so $(INST-crm114)/lib90_crm114_plugin.so
- mkdir -p $(INST-dspam)
- install -o root -g root -m 0660 dspam.so $(INST-dspam)/lib90_dspam_plugin.so
- mkdir -p $(INST-mailtrain)
- install -o root -g root -m 0660 mailtrain.so $(INST-mailtrain)/lib90_mailtrain_plugin.so
-
- dh_install -s
-# Must not depend on anything. This is to be called by
-# binary-arch
-# in another 'make' thread.
-binary-common:
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installexamples
- dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_makeshlibs
- dh_installdeb
- dh_shlibdeps
- @dpkg-query -W dovecot-dev | sed 's/\t/=/' >> debian/dovecot-antispam-dspam.substvars
- @dpkg-query -W dovecot-dev | sed 's/\t/=/' >> debian/dovecot-antispam-crm114.substvars
- @dpkg-query -W dovecot-dev | sed 's/\t/=/' >> debian/dovecot-antispam-mailtrain.substvars
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary-arch: build-arch install-arch
- $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
-
-binary-indep:
-
-binary: binary-arch
-.PHONY: build clean binary-arch binary install install-arch configure