--- spamoracle-1.4.orig/debian/README.Debian-source +++ spamoracle-1.4/debian/README.Debian-source @@ -0,0 +1,5 @@ +This package use dpatch for patching the source. + +Please consider reading dpatch manpage to patch the source. + + -- Sylvain Le Gall Tue, 30 Jun 2009 22:11:24 +0000 --- spamoracle-1.4.orig/debian/changelog +++ spamoracle-1.4/debian/changelog @@ -0,0 +1,229 @@ +spamoracle (1.4-14build5) artful; urgency=high + + * No change rebuild against ocaml 4.04 transition. + + -- Dimitri John Ledkov Mon, 26 Jun 2017 22:49:45 +0100 + +spamoracle (1.4-14build4) xenial; urgency=medium + + * No-change rebuild against ocaml 4.02. + + -- Łukasz 'sil2100' Zemczak Mon, 02 Nov 2015 16:15:53 -0500 + +spamoracle (1.4-14build3) trusty; urgency=medium + + * Rebuild for ocaml-4.01. + + -- Matthias Klose Mon, 23 Dec 2013 12:12:24 +0000 + +spamoracle (1.4-14build2) oneiric; urgency=low + + * Rebuild to pick up armel ocaml fixes. + + -- Adam Conrad Fri, 19 Aug 2011 13:44:27 -0600 + +spamoracle (1.4-14build1) oneiric; urgency=low + + * Rebuild for OCaml 3.12.0. + + -- Colin Watson Mon, 16 May 2011 20:02:48 +0100 + +spamoracle (1.4-14) unstable; urgency=low + + * Update debian/copyright with + http://wiki.debian.org/Proposals/CopyrightFormat + * Remove package spamoracle-byte, now spamoracle provides either native or + bytecode version, depending on architecture. + * Upgrade standards version to 3.8.2 (no change) + + -- Sylvain Le Gall Tue, 30 Jun 2009 19:47:11 +0000 + +spamoracle (1.4-13) unstable; urgency=low + + [ Samuel Mimram ] + * Switch packaging to git. + * Use dh-ocaml. + * Update compat to 7. + * Update standards version to 3.8.0. + + -- Samuel Mimram Wed, 25 Feb 2009 21:58:31 +0100 + +spamoracle (1.4-12) unstable; urgency=low + + * Rebuild for ocaml 3.10.2 + * Add Sylvain Le Gall to uploaders + + -- Sylvain Le Gall Wed, 21 May 2008 23:34:49 +0200 + +spamoracle (1.4-11) unstable; urgency=high + + * add debian/control.in with the usual indirection to fill the Architecture + field with the current list of architectures supported by the native code + compiler (Closes: #469671) + * add debian/README.Debian-source documenting the above change + * make debian/rules fail when binary-arch is invoked on architectures which + are missing /usr/bin/ocamlopt. It should never happen and probably will + only if in the future we drop some more OCaml native architectures and + forget to update this package + * bump the urgency for the OCaml 3.10.1 transition + + -- Stefano Zacchiroli Thu, 06 Mar 2008 16:08:49 +0100 + +spamoracle (1.4-10) unstable; urgency=medium + + [ Samuel Mimram ] + * Added armel/armeb to the list of supported archs, closes: #429558. + * Removed Sven from uploaders. + + [ Stefano Zacchiroli ] + * fix vcs-svn field to point just above the debian/ dir + * bump standards-version to 3.7.3, no changes needed + * bump debhelper compatibility level and dep to 6 + * bump urgency to medium for the OCaml 3.10.1 transition + * add myself as an Uploader + + -- Stefano Zacchiroli Sun, 02 Mar 2008 15:33:28 +0100 + +spamoracle (1.4-9) unstable; urgency=low + + * Rebuild with OCaml 3.10. + + -- Samuel Mimram Sat, 08 Sep 2007 00:50:49 +0200 + +spamoracle (1.4-8) unstable; urgency=low + + * Rebuild with OCaml 3.08.2. + * Updated standards version to 3.7.2, no changes needed. + + -- Samuel Mimram Thu, 18 May 2006 16:32:00 +0000 + +spamoracle (1.4-7) unstable; urgency=low + + * Added kfreebsd-i386 to the list of supported archs, closes: #346516. + * Added a watch file. + + -- Samuel Mimram Sun, 8 Jan 2006 17:52:42 +0100 + +spamoracle (1.4-6) unstable; urgency=low + + * Rebuild with OCaml 3.09.1. + + -- Samuel Mimram Sat, 7 Jan 2006 18:35:23 +0100 + +spamoracle (1.4-5) unstable; urgency=low + + * New maintainer: Debian OCaml maintainers. Added myself to uploaders. + * Updated to OCaml 3.09.0. + * No longer hardcoding OCaml's ABI. + * Removed hppa from the list of supported native archs since the native + compiler is broken. + * Added manpage.dpatch to correct charset problems with the manpage. + * Updated standards version to 3.6.2. + + -- Samuel Mimram Tue, 3 Jan 2006 21:45:38 +0100 + +spamoracle (1.4-4) unstable; urgency=medium + + * Rebuilt for ocaml 3.08.3. + + -- Sven Luther Tue, 22 Mar 2005 08:49:17 +0100 + +spamoracle (1.4-3) unstable; urgency=low + + * Rebuilt for ocaml 3.08. + - now hppa and amd64 are native built too. (Closes: #253273) + * Now depend on -nox packages. + + -- Sven Luther Tue, 27 Jul 2004 13:09:15 +0200 + +spamoracle (1.4-2) unstable; urgency=low + + * Forgot dpatch build-dependency. (Closes: #228829) + + -- Sven Luther Wed, 21 Jan 2004 10:25:10 +0100 + +spamoracle (1.4-1) unstable; urgency=low + + * New upstream release. (Closes: #224204) + - More lenient rule for ignoring HTML comments. + - Recognition of S P A C E D O-U-T words. + - Fixed a bug causing certain text-only e-mails to be ignored. + - Improved the "spamoracle test" command. + - Added "spamoracle words" command for troubleshooting the word-splitting + algorithm. + * Dpatchification. + + -- Sven Luther Tue, 20 Jan 2004 18:25:52 +0100 + +spamoracle (1.3-3) unstable; urgency=low + + * Changed section to mail instead of net. (Closes: #194109) + + -- Sven Luther Sat, 4 Oct 2003 09:47:32 +0200 + +spamoracle (1.3-2) unstable; urgency=low + + * Rebuilt with ocaml 3.07. + + -- Sven Luther Wed, 1 Oct 2003 17:37:52 +0200 + +spamoracle (1.3-1) unstable; urgency=low + + * New upstream version : + - Better scanning of words in HTML documents. + - Better handling of multipart documents; now scan both text and HTML + parts of a multipart/alternative. + - Support for Portuguese and Japanese (JIS encoding) + - Added configuration file (~/.spamoracle.conf) to allow twiddling + with filtering parameters. + - Fixed database corruption problem with concurrent adds. + (Closes: #194012) + - Handles gzipped databases. + - Added manual pages. + + -- Sven Luther Mon, 26 May 2003 11:04:30 +0200 + +spamoracle (1.2-7) unstable; urgency=low + + * Fixed Typo in manpage. (Closes: #171409) + + -- Sven Luther Mon, 26 May 2003 11:04:17 +0200 + +spamoracle (1.2-6) unstable; urgency=low + + * Fixed Typo in manpage. (Closes: #173563) + + -- Sven Luther Sun, 22 Dec 2002 18:25:41 +0100 + +spamoracle (1.2-5) unstable; urgency=low + + * Now the documentation for spamoracle-byte is in /usr/share/doc/spamoracle, + and /usr/share/doc/spamoracle-byte is a symlink to it. + + -- Sven Luther Sun, 22 Dec 2002 12:57:05 +0100 + +spamoracle (1.2-4) unstable; urgency=low + + * Corrected man page to show the debian location and no more + /usr/local/bin. (Closes: #169440) + + -- Sven Luther Mon, 16 Dec 2002 09:59:49 +0100 + +spamoracle (1.2-3) unstable; urgency=low + + * Rebuild for ocaml 3.06-13. + + -- Sven Luther Sun, 15 Dec 2002 00:41:03 +0100 + +spamoracle (1.2-2) unstable; urgency=low + + * Implemented the nativecode/bytecode split. + + -- Sven Luther Mon, 28 Oct 2002 17:24:43 +0100 + +spamoracle (1.2-1) unstable; urgency=low + + * Initial Release. + + -- Sven Luther Sun, 20 Oct 2002 11:33:12 +0200 + --- spamoracle-1.4.orig/debian/compat +++ spamoracle-1.4/debian/compat @@ -0,0 +1 @@ +7 --- spamoracle-1.4.orig/debian/control +++ spamoracle-1.4/debian/control @@ -0,0 +1,30 @@ +Source: spamoracle +Section: net +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian OCaml Maintainers +Uploaders: Samuel Mimram , Stefano Zacchiroli , Sylvain Le Gall +Build-Depends: debhelper (>= 7), dh-ocaml, ocaml-nox (>= 3.11), dpatch +Standards-Version: 3.8.2 +Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/spamoracle.git +Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/spamoracle.git + +Package: spamoracle +Architecture: any +Depends: ${shlibs:Depends}, ${F:OCamlInterpreter} +Conflicts: spamoracle-byte +Replaces: spamoracle-byte +Provides: spamoracle-byte +Description: A statistical analysis spam filter based on Bayes' formula + SpamOracle, a.k.a. "Saint Peter", is a tool to help detect and filter away + "spam" (unsolicited commercial e-mail). It proceeds by statistical analysis + of the words that appear in the e-mail, comparing the frequencies of words + with those found in a user-provided corpus of known spam and known legitimate + e-mail. The classification algorithm is based on Bayes' formula, and is + described in Paul Graham's paper, A plan for spam. + . + This program is designed to work in conjunction with procmail. The result of + the analysis is output as an additional message header X-Spam:, followed by + yes, no or unknown, plus additional details. A procmail rule can then test + this X-Spam: header and deliver the e-mail to the appropriate mailbox. + --- spamoracle-1.4.orig/debian/copyright +++ spamoracle-1.4/debian/copyright @@ -0,0 +1,14 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +Upstream-Author: Xavier Leroy +Packaged-By: Sven Luther +Packaged-Date: Sun, 20 Oct 2002 11:38:39 +0200 +Original-Source-Location: http://pauillac.inria.fr/~xleroy/software.html#spamoracle + +Files: * +Copyright: (C) 2002, Institut National de Recherche en Informatique et en + Automatique +License: GPL-2 + +This file is distributed under the terms of the GNU Public License version 2, +which you may find in /usr/share/common-licenses/GPL-2 on debian systems. + --- spamoracle-1.4.orig/debian/gbp.conf +++ spamoracle-1.4/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True --- spamoracle-1.4.orig/debian/patches/00list +++ spamoracle-1.4/debian/patches/00list @@ -0,0 +1,2 @@ +build +manpage --- spamoracle-1.4.orig/debian/patches/build.dpatch +++ spamoracle-1.4/debian/patches/build.dpatch @@ -0,0 +1,61 @@ +#! /bin/sh -e +## build.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Makefiles, configure scripts and other build stuff adapted for +## DP: debian package creation + +if [ $# -ne 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 +@DPATCH@ +--- spamoracle-1.4.orig/Makefile ++++ spamoracle-1.4/Makefile +@@ -1,16 +1,16 @@ + ### Configuration section + + # The laguages you're interested in, besides English +-LANGUAGES=-DFRENCH #-DSPANISH -DITALIAN -DGERMAN -DPORTUGUESE -DJAPANESE ++LANGUAGES=-DFRENCH -DSPANISH -DITALIAN -DGERMAN -DPORTUGUESE -DJAPANESE + + # How to invoke the C preprocessor + CPP=gcc -E -P $(LANGUAGES) - + + # Where to install the binary +-BINDIR=/usr/local/bin ++BINDIR=/usr/bin + + # Where to install the man pages +-MANDIR=/usr/local/man ++MANDIR=/usr/share/man + + ### End of configuration section + +@@ -30,9 +30,14 @@ + all: spamoracle + + install: +- cp spamoracle $(BINDIR)/spamoracle +- cp spamoracle.1 $(MANDIR)/man1/spamoracle.1 +- cp spamoracle.conf.5 $(MANDIR)/man5/spamoracle.conf.5 ++ cp spamoracle $(DESTDIR)$(BINDIR)/spamoracle ++ cp spamoracle.1 $(DESTDIR)$(MANDIR)/man1/spamoracle.1 ++ cp spamoracle.conf.5 $(DESTDIR)$(MANDIR)/man5/spamoracle.conf.5 ++ ++install.byte: ++ cp spamoracle.byte $(DESTDIR)$(BINDIR)/spamoracle ++ cp spamoracle.1 $(DESTDIR)$(MANDIR)/man1/spamoracle.1 ++ cp spamoracle.conf.5 $(DESTDIR)$(MANDIR)/man5/spamoracle.conf.5 + + spamoracle: $(NATOBJS) + $(OCAMLOPT) -o spamoracle $(NATLIBS) $(NATOBJS) --- spamoracle-1.4.orig/debian/patches/manpage.dpatch +++ spamoracle-1.4/debian/patches/manpage.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## manpage.dpatch by Samuel Mimram +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Remove '' characters which are not allowed in manpages. + +@DPATCH@ +diff -urNad spamoracle-1.4~/spamoracle.1 spamoracle-1.4/spamoracle.1 +--- spamoracle-1.4~/spamoracle.1 2003-10-03 13:02:22.000000000 +0200 ++++ spamoracle-1.4/spamoracle.1 2006-01-03 22:44:41.000000000 +0100 +@@ -604,7 +604,7 @@ + .ft 3 + .nf + .sp +-SUMMER in English is written "t" in French ++SUMMER in English is written "ete" in French + .ft + .LP + .RE --- spamoracle-1.4.orig/debian/rules +++ spamoracle-1.4/debian/rules @@ -0,0 +1,79 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +include /usr/share/ocaml/ocamlvars.mk +include /usr/share/dpatch/dpatch.make + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +ifeq ($(OCAML_HAVE_OCAMLOPT),yes) +OCAML_INTERPRETER= +else +OCAML_INTERPRETER=ocaml-base-nox-$(OCAML_ABI) +endif + +configure: + +build: build-stamp +build-stamp: patch-stamp + dh_testdir +ifeq ($(OCAML_HAVE_OCAMLOPT),yes) + $(MAKE) spamoracle +else + $(MAKE) spamoracle.byte +endif + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + $(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs +ifeq ($(OCAML_HAVE_OCAMLOPT),yes) + $(MAKE) install DESTDIR=$(CURDIR)/debian/spamoracle +else + $(MAKE) install.byte DESTDIR=$(CURDIR)/debian/spamoracle +endif + +binary-indep: + +binary-arch: build install + dh_testdir -s + dh_testroot -s + dh_installdocs -s + dh_installexamples -s + dh_installmenu -s + dh_installcron -s + dh_installman -s + dh_installinfo -s + dh_installchangelogs -s + dh_link -s + dh_strip -s -X spamoracle.byte + dh_compress -s + dh_fixperms -s + dh_installdeb -s + dh_shlibdeps -s + dh_gencontrol -s -- \ + -VF:OCamlABI="$(OCAML_ABI)" \ + -VF:OCamlInterpreter="$(OCAML_INTERPRETER)" + dh_md5sums -s + dh_builddeb -s + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- spamoracle-1.4.orig/debian/spamoracle.dirs +++ spamoracle-1.4/debian/spamoracle.dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/man/man1 +usr/share/man/man5 --- spamoracle-1.4.orig/debian/spamoracle.docs +++ spamoracle-1.4/debian/spamoracle.docs @@ -0,0 +1 @@ +README --- spamoracle-1.4.orig/debian/watch +++ spamoracle-1.4/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pauillac.inria.fr/~xleroy/software/spamoracle-([\d\.]+).tar.gz