r100 - in packages/libmail-audit-perl/trunk: . debian
Allard Hoeve
hoeve-guest@haydn.debian.org
Thu, 10 Jun 2004 07:55:43 -0600
Author: hoeve-guest
Date: 2004-06-10 07:55:39 -0600 (Thu, 10 Jun 2004)
New Revision: 100
Added:
packages/libmail-audit-perl/trunk/debian/
packages/libmail-audit-perl/trunk/debian/changelog
packages/libmail-audit-perl/trunk/debian/control
packages/libmail-audit-perl/trunk/debian/copyright
packages/libmail-audit-perl/trunk/debian/docs
packages/libmail-audit-perl/trunk/debian/mail-audit-tools.dirs
packages/libmail-audit-perl/trunk/debian/rules
Modified:
packages/libmail-audit-perl/trunk/Audit.pm
packages/libmail-audit-perl/trunk/Makefile.PL
packages/libmail-audit-perl/trunk/popread
packages/libmail-audit-perl/trunk/proc2ma
Log:
Load libmail-audit-perl-2.1 into packages/libmail-audit-perl/trunk.
Modified: packages/libmail-audit-perl/trunk/Audit.pm
===================================================================
--- packages/libmail-audit-perl/trunk/Audit.pm 2004-06-10 13:54:27 UTC (rev 99)
+++ packages/libmail-audit-perl/trunk/Audit.pm 2004-06-10 13:55:39 UTC (rev 100)
@@ -450,7 +450,13 @@
}
_log(4, "printing self as mbox string.");
- print FH $self->as_string;
+ if ($write_opts->{'need_from'}) {
+ my $content = $self->as_string;
+ $content =~ s/\nFrom /\n>From /g;
+ print FH $content;
+ } else {
+ print FH $self->as_string;
+ }
print FH "\n" if $write_opts->{'extra_newline'}; # extra \n added because mutt seems to like a "\n\nFrom " in mbox files
flock(FH, LOCK_UN) or return "Couldn't unlock $file";
Modified: packages/libmail-audit-perl/trunk/Makefile.PL
===================================================================
--- packages/libmail-audit-perl/trunk/Makefile.PL 2004-06-10 13:54:27 UTC (rev 99)
+++ packages/libmail-audit-perl/trunk/Makefile.PL 2004-06-10 13:55:39 UTC (rev 100)
@@ -4,6 +4,7 @@
WriteMakefile(
'NAME' => 'Mail::Audit',
'VERSION_FROM' => 'Audit.pm', # finds $VERSION
+ 'EXE_FILES' => [qw(proc2ma popread)],
'PREREQ_PM' => {
'MIME::Entity' => 0,
'Mail::Internet' => 0,
Added: packages/libmail-audit-perl/trunk/debian/changelog
===================================================================
--- packages/libmail-audit-perl/trunk/debian/changelog 2004-06-10 13:54:27 UTC (rev 99)
+++ packages/libmail-audit-perl/trunk/debian/changelog 2004-06-10 13:55:39 UTC (rev 100)
@@ -0,0 +1,72 @@
+libmail-audit-perl (2.1-4) unstable; urgency=low
+
+ * Adopting package (Closes: #248606)
+
+ -- Daniel Ruoso <daniel@ruoso.com> Fri, 28 May 2004 19:40:38 -0300
+
+libmail-audit-perl (2.1-3) unstable; urgency=low
+
+ * Orphan package. Pretty much dead upstream and not required by
+ anything else now (see http://cpanratings.perl.org/d/Mail-Audit)
+
+ -- Angus Lees <gus@debian.org> Wed, 12 May 2004 20:01:37 +1000
+
+libmail-audit-perl (2.1-2) unstable; urgency=low
+
+ * Change section to "perl".
+ * Properly escape /^From / lines when writing mbox files.
+ Patch from http://bugs.cpan.org/NoAuth/Bug.html?id=1730
+ via Ganesh Sittampalam (closes: #194507)
+
+ -- Angus Lees <gus@debian.org> Fri, 30 May 2003 09:41:05 +0000
+
+libmail-audit-perl (2.1-1) unstable; urgency=low
+
+ * New upstream release.
+ * Take over package, since Thom got down on his knees and begged.
+ * Minor packaging cleanups, a few missing dependencies, etc.
+
+ -- Angus Lees <gus@debian.org> Sun, 30 Mar 2003 13:04:44 +1000
+
+libmail-audit-perl (2.0-4) unstable; urgency=low
+
+ * Applied patch from Leonard Stiles which (Closes: #133075)
+
+ -- Thom May <thom@debian.org> Sun, 10 Mar 2002 18:00:54 +0000
+
+libmail-audit-perl (2.0-3) unstable; urgency=low
+
+ * Chomps Message-Id in KillDups.pm - suggestion from David Clarke
+ * (Let's get the Closes syntax right this time! ;-) )
+ * New Maintainer (Closes: #130604)
+ * Fixed Typo (Closes: #124997)
+ * Applied Patch suggested by spamassasin authors (Closes: #124026)
+
+ -- Thom May <thom@debian.org> Sat, 2 Feb 2002 16:06:03 +0000
+
+libmail-audit-perl (2.0-2) unstable; urgency=low
+
+ * New Maintainer (Closes #130604)
+ * Fixed Typo (Closes #124997)
+ * Applied Patch suggested by spamassasin authors (Closes #124026)
+
+ -- Thom May <thom@debian.org> Thu, 24 Jan 2002 20:42:10 +0000
+
+libmail-audit-perl (2.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Duncan Findlay <duncf@rogers.com> Mon, 10 Dec 2001 23:57:08 -0500
+
+libmail-audit-perl (1.11-2) unstable; urgency=low
+
+ * Few minor bug fixes.
+
+ -- Duncan Findlay <duncf@rogers.com> Sat, 8 Dec 2001 23:47:37 -0500
+
+libmail-audit-perl (1.11-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Duncan Findlay <duncf@rogers.com> Sat, 24 Nov 2001 18:40:58 -0500
+
Added: packages/libmail-audit-perl/trunk/debian/control
===================================================================
--- packages/libmail-audit-perl/trunk/debian/control 2004-06-10 13:54:27 UTC (rev 99)
+++ packages/libmail-audit-perl/trunk/debian/control 2004-06-10 13:55:39 UTC (rev 100)
@@ -0,0 +1,29 @@
+Source: libmail-audit-perl
+Section: perl
+Priority: optional
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders: Daniel Ruoso <daniel@ruoso.com>
+Build-Depends-Indep: debhelper (>> 3.0.0), perl (>= 5.6.0-16), perl-modules
+Standards-Version: 3.5.6.0
+
+Package: libmail-audit-perl
+Architecture: all
+Depends: ${perl:Depends}, libmailtools-perl, libmime-perl, libnet-perl
+Recommends: mail-audit-tools
+Description: Perl library for creating easy mail filters
+ Mail::Audit was inspired by Tom Christiansen's audit_mail and deliverlib
+ programs. It allows a piece of email to be logged, examined, accepted into
+ a mailbox, filtered, resent elsewhere, rejected, and so on. It's designed
+ to allow you to easily create filter programs to stick in a .forward file
+ or similar.
+ .
+ It is designed as an alternative to procmail, whose recipe syntax is quite
+ difficult to understand and use.
+
+Package: mail-audit-tools
+Architecture: all
+Depends: ${perl:Depends}, libmail-audit-perl, libmail-pop3client-perl, libparse-recdescent-perl
+Description: Programs derived from the Mail::Audit package
+ Small programs designed to enhance the Mail::Audit package. These include
+ proc2ma, to convert procmail rc files to mail filters using Mail::Audit, and
+ popread, to act as a replacement for fetchmail.
Added: packages/libmail-audit-perl/trunk/debian/copyright
===================================================================
--- packages/libmail-audit-perl/trunk/debian/copyright 2004-06-10 13:54:27 UTC (rev 99)
+++ packages/libmail-audit-perl/trunk/debian/copyright 2004-06-10 13:55:39 UTC (rev 100)
@@ -0,0 +1,19 @@
+This package was debianized by Duncan Findlay <duncf@rogers.com> on
+Sat, 24 Nov 2001 18:40:58 -0500.
+
+It was downloaded from http://www.perl.com/CPAN
+
+Upstream Author: Simon Cozens <simon@cpan.org>
+
+Copyright:
+
+ This program is free software; you can redistribute it and/or modify it
+ under the terms of the "Artistic License" which comes with Debian.
+
+ THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+On Debian GNU/Linux systems, the complete text of the Artistic License
+can be found in `/usr/share/common-licenses/Artistic'.
+
Added: packages/libmail-audit-perl/trunk/debian/docs
===================================================================
--- packages/libmail-audit-perl/trunk/debian/docs 2004-06-10 13:54:27 UTC (rev 99)
+++ packages/libmail-audit-perl/trunk/debian/docs 2004-06-10 13:55:39 UTC (rev 100)
@@ -0,0 +1,2 @@
+FAQ
+README
Added: packages/libmail-audit-perl/trunk/debian/mail-audit-tools.dirs
===================================================================
--- packages/libmail-audit-perl/trunk/debian/mail-audit-tools.dirs 2004-06-10 13:54:27 UTC (rev 99)
+++ packages/libmail-audit-perl/trunk/debian/mail-audit-tools.dirs 2004-06-10 13:55:39 UTC (rev 100)
@@ -0,0 +1,3 @@
+usr/bin
+usr/share/man
+usr/share/mail-audit-tools
Added: packages/libmail-audit-perl/trunk/debian/rules
===================================================================
--- packages/libmail-audit-perl/trunk/debian/rules 2004-06-10 13:54:27 UTC (rev 99)
+++ packages/libmail-audit-perl/trunk/debian/rules 2004-06-10 13:55:39 UTC (rev 100)
@@ -0,0 +1,69 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=3
+
+ifndef PERL
+ PERL = /usr/bin/perl
+endif
+
+package = libmail-audit-perl
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+
+ perl Makefile.PL INSTALLDIRS=vendor
+ $(MAKE) OPTIMIZE="-O2 -g -Wall"
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ -$(MAKE) realclean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ $(MAKE) install PREFIX=$(CURDIR)/debian/$(package)/usr
+ mv $(CURDIR)/debian/$(package)/usr/bin/proc2ma $(CURDIR)/debian/mail-audit-tools/usr/bin/
+ mv $(CURDIR)/debian/$(package)/usr/bin/popread $(CURDIR)/debian/mail-audit-tools/usr/share/mail-audit-tools/
+ mv $(CURDIR)/debian/$(package)/usr/share/man/man1 $(CURDIR)/debian/mail-audit-tools/usr/share/man/
+
+ -rmdir -p debian/$(package)/usr/bin debian/$(package)/usr/lib/perl5
+
+
+binary-arch: build install
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+# dh_installdebconf
+ dh_installdocs
+# dh_installman
+# dh_installinfo
+ dh_installchangelogs Changes
+ dh_link
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_perl
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
Property changes on: packages/libmail-audit-perl/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Modified: packages/libmail-audit-perl/trunk/popread
===================================================================
--- packages/libmail-audit-perl/trunk/popread 2004-06-10 13:54:27 UTC (rev 99)
+++ packages/libmail-audit-perl/trunk/popread 2004-06-10 13:55:39 UTC (rev 100)
@@ -90,3 +90,28 @@
#line 90 "a file which you should have edited"
xxx xxx you_have_not_added_your_filter_here_yet
}
+
+=head1 NAME
+
+popread - connect to a POP3 mail server to download mail and pass it to a Mail::Audit filter
+
+=head1 USAGE
+
+popread
+
+=head1 DESCRIPTION
+
+popread can connect to a POP3 mail server and collect email. It then passes it to a filter.
+
+=head1 VERSION
+
+0.01
+
+=head1 BUGS
+
+Infinite.
+The major one being everything is hardcoded!
+
+=head1 SEE ALSO
+
+F<fetchmail>, F<Mail::Audit>.
Property changes on: packages/libmail-audit-perl/trunk/popread
___________________________________________________________________
Name: svn:executable
-
+ *
Modified: packages/libmail-audit-perl/trunk/proc2ma
===================================================================
--- packages/libmail-audit-perl/trunk/proc2ma 2004-06-10 13:54:27 UTC (rev 99)
+++ packages/libmail-audit-perl/trunk/proc2ma 2004-06-10 13:55:39 UTC (rev 100)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/perl
+#! /usr/bin/perl
my @grammar;
my (%flags, $return);
Property changes on: packages/libmail-audit-perl/trunk/proc2ma
___________________________________________________________________
Name: svn:executable
-
+ *