r2594 - packages/libmail-bulkmail-perl/trunk/debian
Niko Tyni
ntyni-guest at costa.debian.org
Tue Apr 18 06:22:31 UTC 2006
Author: ntyni-guest
Date: 2006-04-18 06:22:29 +0000 (Tue, 18 Apr 2006)
New Revision: 2594
Removed:
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
Modified:
packages/libmail-bulkmail-perl/trunk/debian/changelog
packages/libmail-bulkmail-perl/trunk/debian/control
packages/libmail-bulkmail-perl/trunk/debian/rules
Log:
Debconf cleanup.
Modified: packages/libmail-bulkmail-perl/trunk/debian/changelog
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/changelog 2006-04-17 21:47:49 UTC (rev 2593)
+++ packages/libmail-bulkmail-perl/trunk/debian/changelog 2006-04-18 06:22:29 UTC (rev 2594)
@@ -1,3 +1,11 @@
+libmail-bulkmail-perl (3.12-3) unstable; urgency=low
+
+ * Remove leftover traces of debconf usage. (Closes: #363090)
+ * Remove references to the old-style configuration file from 2.05
+ + debian/postinst and debian/postrm not needed anymore.
+
+ -- Niko Tyni <ntyni at iki.fi> Tue, 18 Apr 2006 09:16:47 +0300
+
libmail-bulkmail-perl (3.12-2) unstable; urgency=low
* Remove the debconf message, we don't support woody->etch upgrades
Modified: packages/libmail-bulkmail-perl/trunk/debian/control
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/control 2006-04-17 21:47:49 UTC (rev 2593)
+++ packages/libmail-bulkmail-perl/trunk/debian/control 2006-04-18 06:22:29 UTC (rev 2594)
@@ -2,7 +2,7 @@
Section: perl
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Marc Brockschmidt <marc at dch-faq.de>, Joachim Breitner <nomeata at debian.org>
+Uploaders: Marc Brockschmidt <marc at dch-faq.de>, Joachim Breitner <nomeata at debian.org>, Niko Tyni <ntyni at iki.fi>
Standards-Version: 3.6.2
Build-Depends: debhelper (>= 4)
Build-Depends-Indep: perl (>= 5.6.0-16)
Deleted: packages/libmail-bulkmail-perl/trunk/debian/libmail-bulkmail-perl.config
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/libmail-bulkmail-perl.config 2006-04-17 21:47:49 UTC (rev 2593)
+++ packages/libmail-bulkmail-perl/trunk/debian/libmail-bulkmail-perl.config 2006-04-18 06:22:29 UTC (rev 2594)
@@ -1,9 +0,0 @@
-#!/bin/sh -e
-
-# Source debconf library.
-. /usr/share/debconf/confmodule
-db_version 2.0
-db_input high "libmail-bulkmail-perl/changes" || true
-db_go
-
-
Deleted: packages/libmail-bulkmail-perl/trunk/debian/libmail-bulkmail-perl.templates
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/libmail-bulkmail-perl.templates 2006-04-17 21:47:49 UTC (rev 2593)
+++ packages/libmail-bulkmail-perl/trunk/debian/libmail-bulkmail-perl.templates 2006-04-18 06:22:29 UTC (rev 2594)
@@ -1,7 +0,0 @@
-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.
Deleted: packages/libmail-bulkmail-perl/trunk/debian/postinst
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/postinst 2006-04-17 21:47:49 UTC (rev 2593)
+++ packages/libmail-bulkmail-perl/trunk/debian/postinst 2006-04-18 06:22:29 UTC (rev 2594)
@@ -1,55 +0,0 @@
-#!/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: $!";
Deleted: packages/libmail-bulkmail-perl/trunk/debian/postrm
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/postrm 2006-04-17 21:47:49 UTC (rev 2593)
+++ packages/libmail-bulkmail-perl/trunk/debian/postrm 2006-04-18 06:22:29 UTC (rev 2594)
@@ -1,24 +0,0 @@
-#! /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#
-
-
Modified: packages/libmail-bulkmail-perl/trunk/debian/rules
===================================================================
--- packages/libmail-bulkmail-perl/trunk/debian/rules 2006-04-17 21:47:49 UTC (rev 2593)
+++ packages/libmail-bulkmail-perl/trunk/debian/rules 2006-04-18 06:22:29 UTC (rev 2594)
@@ -54,7 +54,6 @@
dh_testroot
dh_installdocs
dh_installexamples
-# dh_installdebconf
dh_perl
dh_installchangelogs Changes
dh_link
More information about the Pkg-perl-cvs-commits
mailing list