r104 - in packages/libmail-bulkmail-perl/trunk: . debian

Allard Hoeve hoeve-guest@haydn.debian.org
Thu, 10 Jun 2004 07:58:16 -0600


Author: hoeve-guest
Date: 2004-06-10 07:58:12 -0600 (Thu, 10 Jun 2004)
New Revision: 104

Added:
   packages/libmail-bulkmail-perl/trunk/debian/
   packages/libmail-bulkmail-perl/trunk/debian/README.Debian
   packages/libmail-bulkmail-perl/trunk/debian/changelog
   packages/libmail-bulkmail-perl/trunk/debian/compat
   packages/libmail-bulkmail-perl/trunk/debian/control
   packages/libmail-bulkmail-perl/trunk/debian/copyright
   packages/libmail-bulkmail-perl/trunk/debian/docs
   packages/libmail-bulkmail-perl/trunk/debian/examples
   packages/libmail-bulkmail-perl/trunk/debian/libmail-bulkmail-perl.config
   packages/libmail-bulkmail-perl/trunk/debian/libmail-bulkmail-perl.templates
   packages/libmail-bulkmail-perl/trunk/debian/postinst
   packages/libmail-bulkmail-perl/trunk/debian/postrm
   packages/libmail-bulkmail-perl/trunk/debian/rules
   packages/libmail-bulkmail-perl/trunk/debian/watch
Log:
Load libmail-bulkmail-perl-3.12 into
packages/libmail-bulkmail-perl/trunk.


Added: packages/libmail-bulkmail-perl/trunk/debian/README.Debian
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/README.Debian	2004-06-10 13:56:59 UTC (rev 103)
+++ packages/libmail-bulkmail-perl/trunk/debian/README.Debian	2004-06-10 13:58:12 UTC (rev 104)
@@ -0,0 +1,5 @@
+In 3.09, the config file has changed incompatibly from that in 2.05.
+(The old format was a Debian-specific patch.  Upstream chose a different
+format.)  Also there have been some architectural changes. See
+/usr/share/doc/libmail-bulkmail-perl/migration.guide.txt and the files
+in /usr/share/doc/libmail-bulkmail-perl/examples.

Added: packages/libmail-bulkmail-perl/trunk/debian/changelog
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/changelog	2004-06-10 13:56:59 UTC (rev 103)
+++ packages/libmail-bulkmail-perl/trunk/debian/changelog	2004-06-10 13:58:12 UTC (rev 104)
@@ -0,0 +1,81 @@
+libmail-bulkmail-perl (3.12-1) unstable; urgency=low
+
+  * New maintainer (Debian Perl Group) (Closes: #211310)
+  * New upstream version:
+    - Mail::Bulkmail::Object was relicensed, the whole thing is free software
+      now.
+  * debian/ dir:
+    - watch: Fixed.
+    - rules: Used one of my standard debian/rules files.
+    - control:
+      + Changed section from non-free/perl to perl
+      + Bumped Standards-Version to 3.6.1 (no changes)
+      + Set Maintainer field to "Debian Perl Group"
+      + Added perl dependency to Build-Depends-Indep (we need MakeMaker)
+      + debhelper dependency now includes >= 4.
+    - copyright: Reflect the relicensing.
+    - changelog: Removed user variables at end of file
+
+ -- Marc Brockschmidt <marc@dch-faq.de>  Thu, 15 Jan 2004 16:34:58 +0100
+
+libmail-bulkmail-perl (3.09-1) unstable; urgency=low
+
+  * New upstream version (Closes: #186494, #199378)
+  * In 3.09, the config file has changed incompatibly from that in 2.05.  
+    (The old format was a Debian-specific patch.  Upstream chose a 
+    different format.)  Also there have been some architectural changes. 
+    See /usr/share/doc/libmail-bulkmail-perl/migration.guide.txt and the 
+    files in /usr/share/doc/libmail-bulkmail-perl/examples.
+  * Distribution set to non-free (owing to non-DFSG license for
+    Mail::Bulkmail::Object) and section set to perl.
+  * Orphaned: Maintainer set to Debian QA Group.
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org>  Tue, 16 Sep 2003 14:41:44 -0400
+
+libmail-bulkmail-perl (2.05-4) unstable; urgency=low
+
+  * Patch to fix broken timezone handling (Closes: #176054)
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org>  Thu,  9 Jan 2003 22:19:22 -0500
+
+libmail-bulkmail-perl (2.05-3) unstable; urgency=low
+
+  * Added proper pointer to licenses in copyright file (Closes: #157607)
+  * Bad formatting in man page fixed (Closes: #165916)
+  * dodgy 'shift or' constructs changed to 'shift ||' (Closes: #165920)
+  * Some global parameters can be read with a configuration file.  The
+    default SMTP server is initially set with debconf. (Closes: #157313)
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org>  Wed, 23 Oct 2002 03:46:32 -0400
+
+libmail-bulkmail-perl (2.05-2) unstable; urgency=low
+
+  * Updated to latest perl policy
+  * Added build dependencies
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org>  Wed, 12 Jun 2002 13:30:34 -0400
+
+libmail-bulkmail-perl (2.05-1) unstable; urgency=low
+
+  * New upstream version
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org>  Mon,  9 Oct 2000 10:19:14 -0400
+
+libmail-bulkmail-perl (2.04-1) unstable; urgency=low
+
+  * New upstream version
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org>  Wed, 30 Aug 2000 10:46:10 -0400
+
+libmail-bulkmail-perl (2.03-1) unstable; urgency=low
+
+  * New upstream version
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org>  Mon, 28 Aug 2000 12:41:33 -0400
+
+libmail-bulkmail-perl (2.01-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org>  Mon, 21 Aug 2000 03:57:40 -0700
+

Added: packages/libmail-bulkmail-perl/trunk/debian/compat
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/compat	2004-06-10 13:56:59 UTC (rev 103)
+++ packages/libmail-bulkmail-perl/trunk/debian/compat	2004-06-10 13:58:12 UTC (rev 104)
@@ -0,0 +1 @@
+4

Added: packages/libmail-bulkmail-perl/trunk/debian/control
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/control	2004-06-10 13:56:59 UTC (rev 103)
+++ packages/libmail-bulkmail-perl/trunk/debian/control	2004-06-10 13:58:12 UTC (rev 104)
@@ -0,0 +1,18 @@
+Source: libmail-bulkmail-perl
+Section: perl
+Priority: optional
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders: Marc Brockschmidt <marc@dch-faq.de>, Joachim Breitner <nomeata@debian.org>
+Standards-Version: 3.6.1
+Build-Depends: debhelper (>= 4)
+Build-Depends-Indep: perl (>= 5.6.0-16)
+
+Package: libmail-bulkmail-perl
+Architecture: all
+Depends: ${perl:Depends}, debconf (>= 0.5)
+Description: Platform independent mailing list module
+ Mail::Bulkmail gives a fairly complete set of tools for
+ managing mass-mailing lists.  It's really, really fast and
+ can handle huge lists.
+ .
+ DO NOT USE THIS SOFTWARE TO SEND SPAM!

Added: packages/libmail-bulkmail-perl/trunk/debian/copyright
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/copyright	2004-06-10 13:56:59 UTC (rev 103)
+++ packages/libmail-bulkmail-perl/trunk/debian/copyright	2004-06-10 13:58:12 UTC (rev 104)
@@ -0,0 +1,14 @@
+This package was debianized by JaldharH. Vyas <jaldhar@debian.org>
+on Mon,  21 Aug 2000 14:13:00 -0500 from the original package 
+found at CPAN, the only modification was the addition of the 
+/debian subdir.
+
+The original package can be downloaded from:
+    http://www.perl.org/CPAN/modules/by-module/Mail/
+
+COPYRIGHT
+Copyright and (c) 1999, 2000, 2001, 2002, 2003 James A Thomason III 
+(jim@jimandkoka.com).
+
+All rights reserved. Mail::Bulkmail is distributed under the terms of 
+the Perl Artistic License.  See  /usr/share/common-licenses/Artistic

Added: packages/libmail-bulkmail-perl/trunk/debian/docs
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/docs	2004-06-10 13:56:59 UTC (rev 103)
+++ packages/libmail-bulkmail-perl/trunk/debian/docs	2004-06-10 13:58:12 UTC (rev 104)
@@ -0,0 +1 @@
+migration.guide.txt

Added: packages/libmail-bulkmail-perl/trunk/debian/examples
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/examples	2004-06-10 13:56:59 UTC (rev 103)
+++ packages/libmail-bulkmail-perl/trunk/debian/examples	2004-06-10 13:58:12 UTC (rev 104)
@@ -0,0 +1,2 @@
+sample.cfg.file
+sample.server.file

Added: packages/libmail-bulkmail-perl/trunk/debian/libmail-bulkmail-perl.config
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/libmail-bulkmail-perl.config	2004-06-10 13:56:59 UTC (rev 103)
+++ packages/libmail-bulkmail-perl/trunk/debian/libmail-bulkmail-perl.config	2004-06-10 13:58:12 UTC (rev 104)
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+# Source debconf library.
+. /usr/share/debconf/confmodule
+db_version 2.0
+db_input high "libmail-bulkmail-perl/changes" || true
+db_go
+
+

Added: packages/libmail-bulkmail-perl/trunk/debian/libmail-bulkmail-perl.templates
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/libmail-bulkmail-perl.templates	2004-06-10 13:56:59 UTC (rev 103)
+++ packages/libmail-bulkmail-perl/trunk/debian/libmail-bulkmail-perl.templates	2004-06-10 13:58:12 UTC (rev 104)
@@ -0,0 +1,7 @@
+Template: libmail-bulkmail-perl/changes
+Type: note
+Description: In 3.09, the config file has changed incompatibly from that in 
+ 2.05. (The old format was a Debian-specific patch.  Upstream chose a
+ different format.)  Also there have been some architectural changes.
+ See /usr/share/doc/libmail-bulkmail-perl/migration.guide.txt and the
+ files in /usr/share/doc/libmail-bulkmail-perl/examples.

Added: packages/libmail-bulkmail-perl/trunk/debian/postinst
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/postinst	2004-06-10 13:56:59 UTC (rev 103)
+++ packages/libmail-bulkmail-perl/trunk/debian/postinst	2004-06-10 13:58:12 UTC (rev 104)
@@ -0,0 +1,55 @@
+#!/usr/bin/perl -w
+use strict;
+use Debconf::Client::ConfModule ':all';
+
+if ($ARGV[0] =~ /configure/)
+{
+  version('2.0');
+
+  my $ret = get('libmail-bulkmail-perl/smtp');
+  if ($ret)
+  {
+    if (-f '/etc/Mail-Bulkmail-Config')
+    {
+      open OLDCONFIG, '<', '/etc/Mail-Bulkmail-Config' or die "$!\n";
+      open NEWCONFIG, '>', '/etc/Mail-Bulkmail-Config.new' or die "$!\n";
+
+      my $found = 0;
+      while (<OLDCONFIG>)
+      {
+        if (/SMTP\s*=/i)
+        {
+          $_ =~ /#(.*)/;
+          print NEWCONFIG "SMTP = $ret ", length $1 ? "#$1\n" : "\n";
+          $found = 1;
+        }
+        else
+        {
+          print NEWCONFIG $_;
+        }
+      }
+
+      unless ($found)
+      {
+        print NEWCONFIG "SMTP = $ret\n";
+      }
+
+      close OLDCONFIG;
+      close NEWCONFIG;
+
+      unlink ('/etc/Mail-Bulkmail-Config');
+      rename ('/etc/Mail-Bulkmail-Config.new', '/etc/Mail-Bulkmail-Config');
+    }
+    else
+    {
+      open CONFIG, '>', '/etc/Mail-Bulkmail-Config' or die "$!\n";
+      print CONFIG "SMTP = $ret\n";
+      close CONFIG;
+    }
+  }
+}
+
+my $temp="set -e\nset -- @ARGV\n" . << 'EOF';
+#DEBHELPER#
+EOF
+system ($temp) / 256 == 0 or die "Problem with debhelper scripts: $!";

Added: packages/libmail-bulkmail-perl/trunk/debian/postrm
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/postrm	2004-06-10 13:56:59 UTC (rev 103)
+++ packages/libmail-bulkmail-perl/trunk/debian/postrm	2004-06-10 13:58:12 UTC (rev 104)
@@ -0,0 +1,24 @@
+#! /bin/sh
+# postrm script for libmail-bulkmail-perl
+#
+
+set -e
+
+case "$1" in
+       purge)
+        test -f /etc/Mail-Bulkmail-Config && rm -f /etc/Mail-Bulkmail-Config
+        ;;
+
+       remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 0
+
+esac
+
+
+#DEBHELPER#
+
+

Added: packages/libmail-bulkmail-perl/trunk/debian/rules
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/rules	2004-06-10 13:56:59 UTC (rev 103)
+++ packages/libmail-bulkmail-perl/trunk/debian/rules	2004-06-10 13:58:12 UTC (rev 104)
@@ -0,0 +1,73 @@
+#!/usr/bin/make -f
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+        CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="$(CFLAGS)" 
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	-$(MAKE) distclean
+	dh_clean build-stamp install-stamp
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	$(MAKE) test
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+	#As this is a architecture independent package, we are not supposed to install
+	#stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb:
+	rmdir --ignore-fail-on-non-empty $(TMP)/usr/lib/perl5
+	rmdir --ignore-fail-on-non-empty $(TMP)/usr/lib				
+
+	touch install-stamp
+
+binary-arch: build install
+# We have nothing to do by default.
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples
+	dh_installdebconf
+	dh_perl
+	dh_installchangelogs Changes
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source diff:                                                                  
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary


Property changes on: packages/libmail-bulkmail-perl/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libmail-bulkmail-perl/trunk/debian/watch
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/watch	2004-06-10 13:56:59 UTC (rev 103)
+++ packages/libmail-bulkmail-perl/trunk/debian/watch	2004-06-10 13:58:12 UTC (rev 104)
@@ -0,0 +1,4 @@
+# format version number, currently 2; this line is compulsory!
+version=2
+
+http://www.cpan.org/modules/by-module/Mail/Mail-Bulkmail-(.+).tar.gz