Your message dated Fri, 01 Jul 2011 11:17:45 +0000
with message-id <[email protected]>
and subject line Bug#621467: fixed in metche 1:1.2.1-1
has caused the Debian Bug report #621467,
regarding [PATCH] Add more mailer choices to metche
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
621467: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621467
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: metche
Severity: wishlist
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Currently metche uses mutt to send mails, but on a minimum installed
system mutt might not a feasible choice.

Attached patches add the support to use two more mailer choices, mailx
and mail-transport-agent (sendmail), both are virtual packages.

Cheers,
Kanru

- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk2dX8oACgkQsbdbXzZcx6KZ/gCgn2D2uZ5TBZwErTnb9/pW+vqK
5rAAnjjViqcJnaDgwFFMxElL8mg5yb8r
=WSDh
-----END PGP SIGNATURE-----
--- a/metche
+++ b/metche
@@ -73,15 +73,34 @@
     fi
 }
 
+add_header() {
+    local subject="$1";
+    echo "Subject: $subject";
+    echo "To: $EMAIL_ADDRESS";
+    echo
+    cat;
+}
+
+_mail() {
+    local subject="$1";
+    if which mail > /dev/null ; then
+        LC_ALL="$LOCALE" mail -s "$subject" "$EMAIL_ADDRESS"
+    elif [ -x /usr/sbin/sendmail ]; then
+        LC_ALL="$LOCALE" add_header "$subject"|/usr/sbin/sendmail 
"$EMAIL_ADDRESS"
+    elif which mutt > /dev/null ; then
+        LC_ALL="$LOCALE" mutt -s "$subject" "$EMAIL_ADDRESS"
+    fi
+}
+
 email() {
     debug "* email $@ to $EMAIL_ADDRESS"
     local subject="`current_system` - $_MAIL_SUBJECT : $1"
     if [ $ENCRYPT_EMAIL = "yes" ]; then
         LC_ALL="$LOCALE" gpg --batch --armor --encrypt \
                              --recipient "$EMAIL_ADDRESS" |
-            LC_ALL="$LOCALE" mutt -s "$subject" "$EMAIL_ADDRESS"
+            LC_ALL="$LOCALE" _mail "$subject"
     else
-        LC_ALL="$LOCALE" mutt -s "$subject" "$EMAIL_ADDRESS"
+        LC_ALL="$LOCALE" _mail "$subject"
     fi
 }
 
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@
 
 Package: metche
 Architecture: all
-Depends: ${misc:Depends}, mutt, bzip2, ucf (>= 0.28)
+Depends: ${misc:Depends}, mailx|mail-transport-agent|mutt, bzip2, ucf (>= 0.28)
 Recommends: apt-show-versions, gnupg
 Suggests: util-vserver
 Description: configuration monitor to ease collective administration

--- End Message ---
--- Begin Message ---
Source: metche
Source-Version: 1:1.2.1-1

We believe that the bug you reported is fixed in the latest version of
metche, which is due to be installed in the Debian FTP archive:

metche_1.2.1-1.debian.tar.gz
  to main/m/metche/metche_1.2.1-1.debian.tar.gz
metche_1.2.1-1.dsc
  to main/m/metche/metche_1.2.1-1.dsc
metche_1.2.1-1_all.deb
  to main/m/metche/metche_1.2.1-1_all.deb
metche_1.2.1.orig.tar.gz
  to main/m/metche/metche_1.2.1.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
metche developers <[email protected]> (supplier of updated metche package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 05 Jun 2011 17:09:52 +0200
Source: metche
Binary: metche
Architecture: source all
Version: 1:1.2.1-1
Distribution: unstable
Urgency: low
Maintainer: metche developers <[email protected]>
Changed-By: metche developers <[email protected]>
Description: 
 metche     - configuration monitor to ease collective administration
Closes: 488270 576137 589859 621467
Changes: 
 metche (1:1.2.1-1) unstable; urgency=low
 .
   [ intrigeri ]
   * New upstream release, including:
     - Support more mailers than just mutt.
       Thanks to Kan-Ru Chen <[email protected]> for the preliminary patch.
       (Closes: #621467)
     - EXCLUDES: add a bunch of VCS directories.
     - Various documentation updates and enhancements.
   * Don't monitor any Changelog by default (Closes: #488270)
   * Add Danish translation of debconf templates.  Thanks to Joe Dalton.
     (Closes: #589859)
   * Add Vietnamese translation of debconf templates. Thanks to Clytie
     Siddall.  (Closes: #576137)
   * Convert to dh7 tiny rules format.
   * Use ucf's --three-way option.
   * Explicitly specify the current source package format.
   * Update Homepage, Vcs-Browser and Vcs-Git control fields.
   * Add git-buildpackage configuration suitable for new Git repository layout.
   * Bump Standards-version to 3.9.2 (no changes required).
   * Convert to 3.0 (quilt) source format.
   * Depend on mutt|mailx|mail-transport-agent rather than mutt only since
     upstream code now supports this.
Checksums-Sha1: 
 ac45eef0f1486fbdafc2723b012956d753f5b305 1877 metche_1.2.1-1.dsc
 cb7ea2c44d86553f54bc60b00566a329d32514b6 21457 metche_1.2.1.orig.tar.gz
 5f08d83e340f825fa6272a58a9c0a17bdf2f2fcb 18655 metche_1.2.1-1.debian.tar.gz
 fd12c474b7e84ed3d98c585559caa78344eb5aeb 32902 metche_1.2.1-1_all.deb
Checksums-Sha256: 
 9229ccc8fa623530c2b87c9428d5365f0e9625f102d428b079bd41bb77d61c35 1877 
metche_1.2.1-1.dsc
 4eba98452ee6988b40588a305118bf7ed4c1f1b5f9a546747d702e2748f34b64 21457 
metche_1.2.1.orig.tar.gz
 12e48799f33f94d78e20b268cb3837f4f1bd7f390022919efdc6869ffb855154 18655 
metche_1.2.1-1.debian.tar.gz
 ac3729e597812f5a8058e2f42745667ec5f969b309718a32e54e64951bafd2f4 32902 
metche_1.2.1-1_all.deb
Files: 
 526f7721717157d4ca9cdb0d251a41dd 1877 admin optional metche_1.2.1-1.dsc
 b62dbc24ebd34cf1ea0f1a02c7635849 21457 admin optional metche_1.2.1.orig.tar.gz
 6876d29aa59e4c54aae8f1b8a675ad57 18655 admin optional 
metche_1.2.1-1.debian.tar.gz
 d8bdac9b0a7107d35aea7e997487bf8f 32902 admin optional metche_1.2.1-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJODakyAAoJEEgU3sIrMHw8gFcP/33dqS7foe/5Vq7nQ0J3IDLa
xdLyLGC0WCdWEA52Flm8iqqC+/OPV4JKHhmnI9XP/1A4IjMT1wcGwwY9KHF6wXlA
YwCAlFXAU/oOWuNP6BwauO5008ERka2r45R9WvtBanfpRSW4uomSXLiG/oW3waJx
5+rvt86HB06UlsporTRadFbA48ao6CVyL/VZuHVt1oaUm3z7HSH16xDnPm3P9ZZC
4+c90/JtsY2P5IgzYk17KF4g+j5lbrXaAABRLnRz2aFeETVNiK/Qs2prJ6M+3UF8
nz+U0G9S2qvmxmmdomLm25GMenZ+jOJ1Uv5Gi3ww+/fLlrn6oFIISY6yYmYuA8Rh
EfX1p9XDKyiJuM2ce7PEU2nkaCS7G0XA4jjJIhUIcDKa2Z3SyHNkyKelUILZiufT
BRNHUlz+xpmLbSsAcwLWZ1b0rh111UFu1O199BfB9c30RUq4IR6mrc0WPKJk199S
72wMknrQE+AxV8tqxUXpH63DXM1NoIDveEWM079AEEToqn6gILCEQ75CnRfLUhQ3
8/a1o3Xm8UWgsXOE8OI/T3gIe4No0F8cWp/jBxtHFB/jFUTRIqym9J4OvZFz1K7n
j5ULweE6wGCCfhwFcO1DdgR01GNiV5E/diUiGBOYR//R+ZQJpgylw+F2mX6aOgXv
7S+Q2UT7wgaB+KPegAq5
=6270
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to