]> git.deb.at Git - pkg/t-prot.git/commitdiff
Merge branch 'upstream'
authorGerfried Fuchs <rhonda@debian.at>
Wed, 17 Feb 2010 19:47:30 +0000 (20:47 +0100)
committerGerfried Fuchs <rhonda@debian.at>
Wed, 17 Feb 2010 19:47:30 +0000 (20:47 +0100)
21 files changed:
contrib/foo/t-prot.sl [new file with mode: 0644]
debian/Muttrc [new file with mode: 0644]
debian/NEWS.Debian [new file with mode: 0644]
debian/README.Debian [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/conffiles [new file with mode: 0644]
debian/config [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/footers/debian- [new file with mode: 0644]
debian/footers/debian-private [new file with mode: 0644]
debian/footers/mailman [new file with mode: 0644]
debian/po/POTFILES.in [new file with mode: 0644]
debian/po/de.po [new file with mode: 0644]
debian/po/fr.po [new file with mode: 0644]
debian/po/templates.pot [new file with mode: 0644]
debian/postinst [new file with mode: 0644]
debian/postrm [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/templates [new file with mode: 0644]
debian/watch [new file with mode: 0644]

diff --git a/contrib/foo/t-prot.sl b/contrib/foo/t-prot.sl
new file mode 100644 (file)
index 0000000..6d0b3a6
--- /dev/null
@@ -0,0 +1,116 @@
+% $Id: t-prot.sl,v 1.17 2006/05/16 11:33:32 jochen Exp $
+% Copyright (c) 2003-2005 Jochen Striepe <t-prot@tolot.escape.de>
+%
+% This file is provided as an example implemention for articles to be
+% filtered through t-prot before displayed. They are still filtered if
+% you reply to such a message so you will have to deactivate this if
+% you want to include quotes of the original article.
+%
+% Activate this macro by adding
+%   interpret t-prot.sl
+% to your ~/.slrnrc.
+%
+% If you are not happy with the suggested t-prot default parameters,
+% put something like
+%   variable t_prot_params = "-cemtS";
+%   variable t_prot_tmpdir = "$HOME/.tmpdir";
+%   variable t_prot_qp     = "";
+% into ~/.slrn/t-prot-cfg and add
+%   interpret .slrn/t-prot-cfg
+% to your ~/.slrnrc (after 'interpret t-prot.sl'). If "mimedecode" is
+% installed on your system you might want to use
+%   variable t_prot_qp     = "mimedecode";
+% You can get mimedecode at
+%   http://packages.debian.org/stable/mail/mimedecode.html
+%
+% However, please keep in mind that the path of the temp directory should
+% NOT be readable to other users -- otherwise it might reveal information on
+% what you read, and probably even be a security hole. Please see t-prot's
+% man page for details on command line parameters.
+%
+% If you want to toggle t-prot filtering on/off without leaving slrn,
+% you may want to add something like
+%   setkey article   register_t_prot "\e6"
+%   setkey article unregister_t_prot "\e7"
+% to your ~/.slrnrc -- press ESC-6 to activate t-prot filtering, and
+% ESC-7 to disable it (this will take effect on the next article you
+% read, see the package's TODO file).
+%
+% Requirements/Bugs: tr(1) and rm(1) are POSIX and should be available
+% on any Unix-like system, mktemp(1) should be available on any recent
+% OpenBSD or Debian Linux system -- you can get the sources there
+% if your system happens to lack this program. This macro has been
+% tested with slrn-0.9.7.4 to slrn-0.9.8.0 and S-Lang v1.4.5, it might
+% fail with other versions (and will definitely fail with S-Lang v2.x).
+% As always, bug reports, patches (preferrably in unified diff format),
+% comments and suggestions are welcome.
+%
+% License: This file is part of the t-prot package and therefore
+% available under the same conditions. See t-prot's man page for
+% details.
+
+
+% these should be reasonable defaults (they work fine for me, SCNR):
+variable t_prot_params = "-aceklmtS --diff --bigq -L$HOME/.slrn/mlfooters -A$HOME/.slrn/adfooters";
+variable t_prot_tmpdir = "$HOME/tmp/slrn"; % you better make sure it exists
+variable t_prot_qp = "perl -i -p -e '$p=1 if /^Content-Transfer-Encoding: quoted-printable/i; if ($p==1) { s/=([0-9a-f][0-9a-f])/chr(hex($1))/egi; s/=\n//eg; };'";
+
+define t_prot () {
+       variable art, f, fname, line, qp;
+       art = "";
+
+       % Keep in mind that the path should NOT be readable to other users --
+       % otherwise it might reveal information on what you read, and probably
+       % even be a security hole:
+       f = popen ("mktemp -q "+t_prot_tmpdir+"/t-prot.sl.XXXXXX | tr -d '\n'", "r");
+       if (f == NULL) return;
+       if (-1 == fgets (&fname, f)) return;
+       pclose (f);
+
+
+       if (t_prot_qp != "") { qp = t_prot_qp+"|"; } else { qp = ""; }
+
+       f = popen (qp+"t-prot "+t_prot_params+" >"+fname, "w");
+       if (f == NULL) {
+               message ("Unable to filter article to "+fname);
+               return;
+       }
+       () = fputs (article_as_string(), f);
+       () = pclose (f);
+
+
+       f = fopen (fname, "r");
+       if (f == NULL) {
+               message (fname+" could not be opened.");
+               return;
+       }
+       while (-1 != fgets (&line, f)) {
+               art = art + line;
+       }
+       fclose (f);
+
+       if (0 != remove(fname)) message ("Unable to remove "+fname);
+
+       replace_article (art);
+}
+
+define register_t_prot () {
+       if (1 == register_hook("read_article_hook", "t_prot")) {
+               message ("t-prot filtering activated");
+       }
+       else {
+               message ("t-prot filtering NOT activated");
+       }
+}
+
+define unregister_t_prot () {
+       if (1 == unregister_hook("read_article_hook", "t_prot")) {
+               message ("t-prot filtering deactivated");
+       }
+       else {
+               message ("t-prot filtering NOT deactivated");
+       }
+}
+
+% filtering is enabled by default:
+register_hook("read_article_hook", "t_prot");
diff --git a/debian/Muttrc b/debian/Muttrc
new file mode 100644 (file)
index 0000000..d13ed6c
--- /dev/null
@@ -0,0 +1,14 @@
+set display_filter='t-prot -cmekatlS --bigq --pgp-move-vrf -Mmutt -L/etc/t-prot/footers -A/etc/t-prot/ads'
+# set it to '' to turn it off by default
+
+# toggle TOFU protection with ESC-0 (off) and ESC-1 (on)
+macro generic \e0 ":unset display_filter\n" "Turn TOFU protection off"
+macro generic \e1 ":set display_filter='t-prot -cmekatlS --bigq --pgp-move-vrf -Mmutt -L/etc/t-prot/footers -A/etc/t-prot/ads'\n" "Turn TOFU protection on"
+
+# same in pager mode - ugly but what the hell...
+macro pager \e0 ":unset display_filter; exec exit\n:exec display-message\n" "Turn TOFU protection off"
+macro pager \e1 ":set display_filter='t-prot -cmekatlS --bigq --pgp-move-vrf -Mmutt -L/etc/t-prot/footers -A/etc/t-prot/ads'; exec exit\n:exec display-message\n" "Turn TOFU protection on"
+
+# highlight TOFU protection:
+color body     brightmagenta           black   "^\\[---.*"
+color body     green                   black   "^#v[-+]"
diff --git a/debian/NEWS.Debian b/debian/NEWS.Debian
new file mode 100644 (file)
index 0000000..3f0f4ac
--- /dev/null
@@ -0,0 +1,12 @@
+t-prot (2.1-2) unstable; urgency=low
+
+  * t-prot moved its muttrc snippet to /etc/t-prot/Muttrc.  You might need to
+    check /etc/Muttrc.t-prot* for changes and incorporate them appropriately.
+
+  * Furthermore t-prot now offers you two directories: /etc/t-prot/footers for
+    mailinglist footers and /etc/t-prot/ads for ad footers.  Please notice
+    that many files in these directories have a serious impact on the speed
+    of t-prot and thus it is suggested to create by mail folder directories
+    and use mutt's folder-hook feature to use them.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 26 Jun 2006 03:30:47 -0500
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..4e50a5e
--- /dev/null
@@ -0,0 +1,29 @@
+t-prot for Debian
+=================
+
+ This nice script was done by a dear friend of mine and is quite useful to
+not lose temper when receiving mails that are TOFU (see the manual page for
+an explanation of that abbreviation). I personally think it's really helpful.
+
+ debconf asks for systemwide inclusion, you can always revert that change with
+"dpkg-reconfigure t-prot" or simly remove the symlink /etc/Muttrc.d/t-prot.rc
+
+ A user who doesn't like it can turn it off in his own ~/.muttrc file with this
+line:
+
+set display_filter=""
+
+ Of course if it isn't enabled in the systemwide file the users can the source
+line into their .muttrc.  :)
+
+ There is option to enable it with slrn, too. The script is installed next to
+the other slang macros in /usr/share/slrn/macros/t-prot.sl and can be sourced
+from there.
+
+ You can dump your list footers and ad footers into /etc/t-prot/footers and
+/etc/t-prot/ads respectively, just be aware that many files in these
+directories have a serious impact on the speed of t-prot.  It is advices to use
+folder-hook and enable the list footer and ad footers for the appropriate list
+only instead.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 26 Jun 2006 03:19:06 -0500
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..5b0d498
--- /dev/null
@@ -0,0 +1,707 @@
+t-prot (2.1-2) unstable; urgency=low
+
+  * The "t-prot for the masses" release.
+  * After looking into /etc/Muttrc I reverted the background change (#339898)
+    from default to black to match with default mutt colouring.
+  * Move listfooter examples to /etc/t-prot/footers and add empty adfooter
+    directory /etc/t-prot/ads (closes: #374671)
+  * Enable hiding both list and ad footers in the Muttrc file.
+  * Move the mutt configuration snippet to /etc/t-prot/Muttrc and update the
+    symlink if already available.
+  * Add NEWS.Debian item about these new configuration setup.
+  * Updated README.Debian, too.
+  * Simplified the footers, having a generalized mailman footer.
+  * Added French debconf translation by Christian Perrier (closes: #375944)
+
+ -- Gerfried Fuchs <alfie@debian.org>  Thu, 06 Jul 2006 03:03:23 -0500
+
+t-prot (2.1-1) unstable; urgency=low
+
+  * New upstream release, which fixes:
+    - wrong logic when checking for mutt_ssloutstart in MS TOFU
+      (closes: #368162)
+  * Change background for highlighting to default (closes: #339898)
+  * Applied slang2 contrib patch (closes: #344479)
+  * Added debconf handling for enabling t-prot in mutt through /etc/Muttrc.d/.
+  * Bumped standards version to 3.7.2, no changes needed.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Sun, 18 Jun 2006 16:49:11 -0500
+
+t-prot (2.0.2-1) unstable; urgency=low
+
+  * New upstream release: No changes to debian version 2.0.1-2, only the
+    changes were incorporated upstream.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Fri, 07 Oct 2005 20:25:53 +0200
+
+t-prot (2.0.1-2) unstable; urgency=medium
+
+  * Locale string fix which rendered quite some features unusable.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 06 Sep 2005 00:07:23 +0200
+
+t-prot (2.0.1-1) unstable; urgency=low
+
+  * New upstream release: doku update only.
+  * Bumped standards version, no changes required.
+  * Changed priority to optional, there is no need for it to be in extra.
+  * Fixed bashism in postinst.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 05 Sep 2005 09:43:36 +0200
+
+t-prot (2.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added README.examples to examples files, removed BUGS file from docs (not
+    there anymore).
+  * Removed the sarge transition note from NEWS.Debian, not needed anymore.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 30 May 2005 16:31:29 +0200
+
+t-prot (1.99.1+2.0-rc2-1) unstable; urgency=low
+
+  * New upstream release: Bugfixes for inn and multipart handling.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Fri, 29 Apr 2005 15:12:02 +0200
+
+t-prot (1.99.1-1) unstable; urgency=low
+
+  * New upstream release: slang macro fixes.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 04 Apr 2005 17:04:58 +0200
+
+t-prot (1.99-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Fri, 25 Mar 2005 16:57:32 +0100
+
+t-prot (1.98-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue,  8 Mar 2005 13:04:54 +0100
+
+t-prot (1.96-1) unstable; urgency=low
+
+  * New upstream release: v2.0 pre-release, uses Locale::gettext from now on.
+    Added a note to NEWS.Debian.gz about this.
+  * debconf removed from Depends, forgotten.
+  * Change long description a bit.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 15 Feb 2005 15:12:57 +0100
+
+t-prot (1.49-1) unstable; urgency=medium
+
+  * New upstream release, fixes problem with multiline From: headers.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 08 Feb 2005 14:03:02 +0100
+
+t-prot (1.48.1-2) unstable; urgency=medium
+
+  * gpg 1.2.5 will be accepted into sarge, so this uses the 1.2.5 patch now.
+    Only some locale strings are different, no code.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 02 Feb 2005 12:01:46 +0100
+
+t-prot (1.48.1-1) unstable; urgency=low
+
+  * New upstream release, fixes t-prot.sl (closes: #288888)
+
+ -- Gerfried Fuchs <alfie@debian.org>  Sun, 09 Jan 2005 12:15:18 +0100
+
+t-prot (1.48-1) unstable; urgency=medium
+
+  * New upstream release: Fixes off-by-one error in TOFU code.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon,  3 Jan 2005 09:10:01 +0100
+
+t-prot (1.47-2) unstable; urgency=medium
+
+  * Removed debconf mutt handling: 10.7.4. says we must not modify
+    "conffile"s.  Sorry for the bad response, weasel.
+    (closes: #284887, #284878)
+  * Added NEWS.Debian about the removal of the handling, so people are aware
+    of it (at least, if they read it....)
+  * Added hint in README.Debian about how to enable it.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Thu, 09 Dec 2004 12:25:17 +0100
+
+t-prot (1.47-1) unstable; urgency=low
+
+  * New upstream release: Quite some fixes in the contrib/filter_innd.pl file
+    which is now included in the examples section.
+  * Some docu cleanup in debian/README.Debian too, not only upstream.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Thu, 21 Oct 2004 18:26:22 +0200
+
+t-prot (1.45-1) unstable; urgency=high
+
+  * New upstream release: Doesn't hang with empty footer files anymore.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 11 Oct 2004 09:44:53 +0200
+
+t-prot (1.44-1) unstable; urgency=medium
+
+  * New upstream release with important fix for not detected TOFU.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 28 Sep 2004 13:53:45 +0200
+
+t-prot (1.41.2-1) unstable; urgency=high
+
+  * New upstream release: Fixes mutt 1.5.6 strings and has gnupg 1.2.4 support
+    back in, which is in sarge. No code change, just locale sync with the
+    sarge versions.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 15 Sep 2004 17:02:39 +0200
+
+t-prot (1.41-2) unstable; urgency=low
+
+  * Apply the contrib/t-prot-r1.190-gpg125.diff patch, too -- sarge won't
+    release with gnupg 1.2.6.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Sun, 29 Aug 2004 13:22:33 +0200
+
+t-prot (1.41-1) unstable; urgency=low
+
+  * New upstream release.
+  * Fixed a typo in the long description (closes: #268547)
+  * The contrib patches are not in the upstream source anymore -- no feedback
+    came in about those and thus they are removed.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Sat, 28 Aug 2004 22:22:34 +0200
+
+t-prot (1.39-1) unstable; urgency=low
+
+  * New upstream release.
+  * Patch the t-prot file on install target. Requires Build-Depends on patch,
+    but reduces the diff.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon,  2 Aug 2004 09:23:29 +0200
+
+t-prot (1.38.4-1) unstable; urgency=low
+
+  * New upstream release which fixes --pgp-move-vrf for current mutt.
+  * debian/rules: t-prot.sl moved to contrib.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 26 Apr 2004 09:24:27 +0200
+
+t-prot (1.38.2-1) unstable; urgency=low
+
+  * New upstream release: Previous changelog entry wasn't really right:
+    --ftr is now --ftr-ad, --ftr-ml is new.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Sun, 15 Feb 2004 20:00:43 +0000
+
+t-prot (1.38.1-1) unstable; urgency=low
+
+  * New upstream release: --ftr was split into --ftr-ad and --ftr-ml.
+  * adjtz patch was removed, so don't install it anymore.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Sun, 01 Feb 2004 21:43:07 +0000
+
+t-prot (1.37-1) unstable; urgency=low
+
+  * New upstream release: Use t-prot-r1.172-mutt1551.diff now for unstable
+    (and testing, FWIW) has 1.5.5.1 already.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 26 Jan 2004 09:43:26 +0000
+
+t-prot (1.36-1) unstable; urgency=low
+
+  * New upstream release.
+  * Updated to t-prot-r1.172-mutt1551.diff patch for that is what we have in
+    unstable now.  Updated the Recommends in debian/control, too.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Thu, 15 Jan 2004 16:59:58 +0000
+
+t-prot (1.35.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Applied t-prot-r1.168-mutt154.diff patch from contrib directory.
+  * Standard bumped to 3.6.1 (no changes needed).
+  * Happy christmas, everybody!
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 24 Dec 2003 11:42:57 +0000
+
+t-prot (1.33.2-1) unstable; urgency=low
+
+  * New upstream release: Only doku updates wrt/ t-prot.sl.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 10 Sep 2003 12:06:21 +0000
+
+t-prot (1.33-1) unstable; urgency=low
+
+  * New upstream release: new option --mutt-ver needed because of locale
+    changed.  Default changed to fit current testing/unstable mutt version.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Thu, 14 Aug 2003 16:38:42 +0200
+
+t-prot (1.31-1) unstable; urgency=low
+
+  * New upstream release: Some SIGINT problems fixed.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 11 Aug 2003 07:26:27 +0200
+
+t-prot (1.30-1) unstable; urgency=low
+
+  * New upstream release: locale handling fixed.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Thu,  7 Aug 2003 12:12:08 +0200
+
+t-prot (1.29-1) unstable; urgency=low
+
+  * New upstream release: partly locale support through %ENV, email adress
+    verification inside pgp() fixed.
+  * Bump standards version to 3.6.0, no changes needed.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Thu, 17 Jul 2003 14:57:36 +0200
+
+t-prot (1.27-1) unstable; urgency=high
+
+  * New upstream release: Fixes a DoS bug when used with -Mmutt.
+  * Includes a t-prot.sl script for the slrn NUA. Cool :)
+    Currently just install it to /usr/share/slrn/macros and offer NO support
+    to include it by default on startup -- this update must go out immediately
+    with minimal changes because of the DoS problem mentioned above.
+  * Bump standards version to 3.5.10, no changes needed.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Thu, 03 Jul 2003 16:21:11 +0200
+
+t-prot (1.26.1-1) unstable; urgency=low
+
+  * New upstream release: new contrib patch for s/Getopt::Mixed/Getopt::Long/
+    Please let us know if you applied the patch and prefer it.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 10 Jun 2003 10:04:38 +0200
+
+t-prot (1.26-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon,  5 May 2003 09:44:32 +0200
+
+t-prot (1.25.1-1) unstable; urgency=low
+
+  * New upstream release, new contrib patch.
+  * gzip -9 the adjtz patch.
+  * Added french debconf translation done by Christian Perrier (closes: #190850)
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 28 Apr 2003 10:04:07 +0200
+
+t-prot (1.25-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 23 Apr 2003 17:55:53 +0200
+
+t-prot (1.24-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Thu, 20 Mar 2003 10:09:08 +0100
+
+t-prot (1.23-1) unstable; urgency=low
+
+  * New upstream release, SIGINT works with --pgp-move correctly now.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 10 Mar 2003 10:06:03 +0100
+
+t-prot (1.22.1-1) unstable; urgency=low
+
+  * New upstream release: Ignore SIGINT when used with -Mmutt (to display
+    message even when you hit ^C (like to interrupt PGP check)).
+  * New patch (in contrib doc directory): Changes displayed Date: header to
+    localtime.  Please report if you like to have it applied by default.
+  * debian/rules: Changed to po-debconf, generalized the file while I'm
+    already in it.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Sat, 08 Mar 2003 17:37:22 +0100
+
+t-prot (1.21-1) unstable; urgency=low
+
+  * New upstream release, performance/bugfix release.
+  * No patches anymore, so remove that contrib directory.
+  * debian/README.Debian: Removed paragraph about debug patch which isn't
+    available anymore for some time now...
+
+ -- Gerfried Fuchs <alfie@debian.org>  Thu, 06 Mar 2003 11:15:55 +0100
+
+t-prot (1.20.1-1) unstable; urgency=low
+
+  * New upstream release, just documentation changes.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 04 Mar 2003 11:03:21 +0100
+
+t-prot (1.20-1) unstable; urgency=low
+
+  * New upstream release, almost made it this time.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 26 Feb 2003 18:27:39 +0100
+
+t-prot (1.19-1) unstable; urgency=low
+
+  * New upstream release: "It takes two, baby..."
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 17 Feb 2003 16:31:20 +0100
+
+t-prot (1.18-1) unstable; urgency=low
+
+  * New upstream release, testing was never that far away :)
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 17 Feb 2003 08:53:52 +0100
+
+t-prot (1.16-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Fri, 14 Feb 2003 16:10:47 +0100
+
+t-prot (1.15-1) unstable; urgency=low
+
+  * New upstream release, --bigq fix for at the end of the text.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 12 Feb 2003 10:06:43 +0100
+
+t-prot (1.14-1) unstable; urgency=low
+
+  * New upstream release: ad footers in signed messages had problems.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 11 Feb 2003 15:07:57 +0100
+
+t-prot (1.13-1) unstable; urgency=low
+
+  * New upstream release: All but one contrib patches merged into
+    vanilla/removed, kammquoting fixes.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 10 Feb 2003 09:57:33 +0100
+
+t-prot (1.10-1) unstable; urgency=low
+
+  * New upstream release: BAD signatures aren't moved anymore *oops*.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Fri,  7 Feb 2003 16:25:15 +0100
+
+t-prot (1.9-1) unstable; urgency=low
+
+  * New upstream release: signature length check works again.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Thu,  6 Feb 2003 19:19:31 +0100
+
+t-prot (1.8-1) unstable; urgency=low
+
+  * New upstream release: --help works again ;-)
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 05 Feb 2003 19:17:34 +0100
+
+t-prot (1.7-1) unstable; urgency=low
+
+  * New upstream release: New option: --spass to detect some false positives
+    generated with Spam-Assassin when writing into body.  Not enabled by
+    default.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 30 Dec 2002 14:13:03 +0100
+
+t-prot (1.6.1-1) unstable; urgency=low
+
+  * New upstream release: No code changes, just another contrib patch for
+    usage with sigtrace.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Fri, 27 Dec 2002 13:17:10 +0100
+
+t-prot (1.6-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Thu, 12 Dec 2002 11:51:58 +0100
+
+t-prot (1.5-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 11 Dec 2002 08:44:46 +0100
+
+t-prot (1.4-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 09 Dec 2002 09:38:51 +0100
+
+t-prot (1.3-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Thu,  5 Dec 2002 10:14:28 +0100
+
+t-prot (1.2-1) unstable; urgency=low
+
+  * New upstream release: internationalization for --pgp-move-vrf added.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 04 Dec 2002 09:31:48 +0100
+
+t-prot (1.1-1) unstable; urgency=low
+
+  * New upstream release: Added new option --pgp-move-vrf to ocnfiguration.
+  * Raised to policy version 3.5.8.
+  * Changed perl dependency to >= 5.6.0-16 for consistency with what dh_perl
+    would produce.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 03 Dec 2002 10:51:30 +0100
+
+t-prot (1.0-1) unstable; urgency=low
+
+  * New upstream release: 1.0 now, no code changes to previous 0.94.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 11 Nov 2002 09:50:27 +0100
+
+t-prot (0.94-1) unstable; urgency=low
+
+  * New upstream release: Really secuity fix, previous made it only a
+    race-condition.
+  * pgphack now in vanilla source.
+  * Big version jump for this is considered release candidate.  Feature
+    request NOW or keep silent....
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 06 Nov 2002 15:15:12 +0100
+
+t-prot (0.70-1) unstable; urgency=medium
+
+  * New upstream release, which fixes a security problem.
+  * Removed debian/prerm for it was a missing part of the policy 3.5.7
+    transition.
+  * Added a new listfooter: spi-www
+
+ -- Gerfried Fuchs <alfie@debian.org>  Thu, 31 Oct 2002 16:29:05 +0100
+
+t-prot (0.69-1) unstable; urgency=low
+
+  * New upstream release.
+  * Reworked debian/rules a little bit.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 21 Oct 2002 09:49:13 +0200
+
+t-prot (0.68.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control:
+     - Updated to policy 3.5.7 (no changes needed).
+     - Moved mutt to Recommends again finally.
+     - Enhances: mutt:
+  * Fixed README.Debian file about location of the patches.
+  * Removed /usr/doc -> /usr/share/doc linking from postinst (left it in the
+    postrm to really get rid of it).
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 16 Sep 2002 11:12:12 +0200
+
+t-prot (0.67.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Moved contrib stuff into it's own contrib directory.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 13 Aug 2002 10:35:56 +0200
+
+t-prot (0.67-1) unstable; urgency=low
+
+  * New upstream release: New pgphack patch for the script.
+    Feedback on that patch is welcome, to help considering to enable it by
+    default.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 10 Jul 2002 10:30:32 +0200
+
+t-prot (0.66-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Gerfried Fuchs <alfie@debian.org>  Fri, 28 Jun 2002 22:04:24 +0200
+
+t-prot (0.63-1) unstable; urgency=low
+
+  * New upstream release.
+  * Switched de-kammquote-option on in /etc/Muttrc.t-prot.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 17 Jun 2002 12:41:25 +0200
+
+t-prot (0.61.1-1) unstable; urgency=low
+
+  * New upstream release with just some textual changes, no code change.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 11 Jun 2002 08:49:00 +0200
+
+t-prot (0.61-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon,  3 Jun 2002 08:10:05 +0200
+
+t-prot (0.60-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Gerfried Fuchs <alfie@debian.org>  Fri, 31 May 2002 08:31:43 +0200
+
+t-prot (0.59-1) unstable; urgency=low
+
+  * New upstream release
+  * Added spi-private footer.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon,  6 May 2002 14:09:35 +0200
+
+t-prot (0.58-4) unstable; urgency=high
+
+  * Install the postrm file, too -- thank you THOUSAND TIMES for noticing,
+    Lazarus Long! (closes: #144946)
+  * urgency=high for no other changes were made and this a real problem that
+    should be fixed soon.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 30 Apr 2002 20:19:19 +0200
+
+t-prot (0.58-3) unstable; urgency=medium
+
+  * Aplied another quick patch by upstream to the debug patch.
+  * Remove Muttrc-snippet on remove *and* purge, inspired by Bug #144946
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 29 Apr 2002 12:27:40 +0200
+
+t-prot (0.58-2) unstable; urgency=low
+
+  * The "first read all mails you get before building a package" release.
+  * Applied patch supplied by upstream to boost performance for new --bigq
+    option.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 24 Apr 2002 17:08:39 +0200
+
+t-prot (0.58-1) unstable; urgency=low
+
+  * New upstream release, added new option --bigq to /etc/Muttrc.t-prot file.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 24 Apr 2002 16:51:31 +0200
+
+t-prot (0.57-2) unstable; urgency=low
+
+  * Fixed some typos in the README.Debian (thanks to Thomas Bliesener for
+    noticing it!)
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 24 Apr 2002 08:34:24 +0200
+
+t-prot (0.57-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 22 Apr 2002 08:38:16 +0200
+
+t-prot (0.55-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 15 Apr 2002 12:15:41 +0200
+
+t-prot (0.54.1-2) unstable; urgency=low
+
+  * Updated debian-at listfooter.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 09 Apr 2002 13:03:54 +0200
+
+t-prot (0.54.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Two more files for the doc directory.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Fri, 29 Mar 2002 09:13:22 +0100
+
+t-prot (0.54-1) unstable; urgency=low
+
+  * New upstream release
+  * New README file added to the docs, cleaned up rules file a little bit
+    while I was already in it.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Fri, 22 Mar 2002 08:19:55 +0100
+
+t-prot (0.53-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Gerfried Fuchs <alfie@debian.org>  Thu, 21 Mar 2002 08:33:29 +0100
+
+t-prot (0.52-1) unstable; urgency=medium
+
+  * New upstream release -- fixes a security hole (/tmp symlink attack) in the
+    debug patch.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Wed, 20 Mar 2002 09:37:27 +0100
+
+t-prot (0.51-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 19 Mar 2002 15:29:55 +0100
+
+t-prot (0.50-1) unstable; urgency=low
+
+  * New upstream release
+  * Cleaned up debian/rules a bit to not have to tweak it with each upload for
+    the debug patch.  Debug patch has to be gzipped, btw.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 19 Mar 2002 08:13:22 +0100
+
+t-prot (0.49-1) unstable; urgency=low
+
+  * New upstream release
+  * Updated watchfile to uscan version=2.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 18 Mar 2002 17:56:24 +0100
+
+t-prot (0.48-2) unstable; urgency=low
+
+  * Moved the *correct* debug patch directly into the doc directory, not
+    examples (thanks, Jochen, for noticing...)
+  * Applied a small initialisation patch from Jochen.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Fri, 15 Mar 2002 17:28:15 +0100
+
+t-prot (0.48-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Gerfried Fuchs <alfie@debian.org>  Fri, 15 Mar 2002 10:19:58 +0100
+
+t-prot (0.47-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Gerfried Fuchs <alfie@debian.org>  Thu, 14 Mar 2002 09:27:07 +0100
+
+t-prot (0.46-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 12 Mar 2002 09:04:24 +0100
+
+t-prot (0.45-1) unstable; urgency=low
+
+  * New upstream release
+  * Had to change the debian/Muttrc.t-prot file to represent changes in
+    program.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 11 Mar 2002 09:58:14 +0100
+
+t-prot (0.43-1) unstable; urgency=low
+
+  * New upstream release
+  * Added hilight color to the Muttrc.t-prot script.
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 05 Mar 2002 13:04:09 +0100
+
+t-prot (0.42-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Gerfried Fuchs <alfie@debian.org>  Tue, 26 Feb 2002 08:30:11 +0100
+
+t-prot (0.40-1) unstable; urgency=low
+
+  * New upstream release
+  * Initial upload to debian (closes: #134598)
+  * Moved mutt from Recommends: to Suggests: to make it into main (raise it
+    later when crypto is in main).
+
+ -- Gerfried Fuchs <alfie@debian.org>  Mon, 25 Feb 2002 09:55:29 +0100
diff --git a/debian/conffiles b/debian/conffiles
new file mode 100644 (file)
index 0000000..4655b57
--- /dev/null
@@ -0,0 +1,4 @@
+/etc/t-prot/Muttrc
+/etc/t-prot/footers/debian-
+/etc/t-prot/footers/debian-private
+/etc/t-prot/footers/mailman
diff --git a/debian/config b/debian/config
new file mode 100644 (file)
index 0000000..6c2ac71
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+# Source debconf library.
+. /usr/share/debconf/confmodule
+
+# make the /etc/Muttrc.d/ symlink?
+db_input medium t-prot/muttrc.d || true
+db_go
+
+# XXX - reconfigure check?
+
+exit 0
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..265815b
--- /dev/null
@@ -0,0 +1,28 @@
+Source: t-prot
+Section: mail
+Priority: optional
+Maintainer: Gerfried Fuchs <alfie@debian.org>
+Build-Depends-Indep: po-debconf, patch
+Standards-Version: 3.7.2
+
+Package: t-prot
+Architecture: all
+Depends: debconf (>= 0.5) | debconf-2.0, perl (>= 5.6.0-16), libgetopt-mixed-perl, liblocale-gettext-perl
+Recommends: mutt (>= 1.5.5.1)
+Enhances: mutt, slrn, inn2
+Suggests: mail-transport-agent
+Description: display filter for RFC822 messages
+ This program is a filter which shall improve the readability for messages
+ (email and posts) by *hiding* some annoying parts, e.g. mailing list footers,
+ signatures and TOFU as well as squeezing sequences of blank lines or
+ punctuation.
+ .
+ TOFU is an acronym that stands for "Text oben, Fullquote unten" (german
+ language) which means the style of sadly so many people that just leave all
+ the quotes in a reply and add some own lines above. This acronym is what gave
+ the script its name - TOFU Protection.
+ .
+ It currently offers hints how to include it within mutt, slrn or inn2. It
+ should be possible to do similars with other programs that allow to have a
+ message run through a filter before it's displayed. If you use such a program
+ we'd be interested if you could let us know of your setup.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..ccc0e78
--- /dev/null
@@ -0,0 +1,45 @@
+This package was initially debianized by Gerfried Fuchs <alfie@debian.org> on
+Tue, 29 Jan 2002 15:55:21 +0100.
+
+It was downloaded from:
+=======================
+<http://www.escape.de/users/tolot/mutt/t-prot/downloads/>
+
+Upstream Author:
+================
+    Jochen Striepe <t-prot@tolot.escape.de>
+
+Copyright:
+==========
+       All of the documentation and software included in the  t-prot  releases
+       is copyrighted by Jochen Striepe.
+
+       Copyright (C) 2001-2005 Jochen Striepe. All rights reserved.
+
+       Redistribution  and  use,  with  or without modification, are permitted
+       provided that the following conditions are met:
+
+       1. Redistributions of source  code  must  retain  the  above  copyright
+       notice, this list of conditions and the following disclaimer.
+
+       2.  All  advertising materials mentioning features or use of this soft-
+       ware must display the following acknowledgement:
+
+         This product includes software developed by Jochen Striepe  and  oth-
+       ers.
+
+       3. Neither the name of the author nor the names of any contributors may
+       be used to endorse or promote products derived from this software with-
+       out specific prior written permission.
+
+       THIS  SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+       ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED  TO,  THE
+       IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PUR-
+       POSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR  OR  CONTRIBUTORS  BE
+       LIABLE  FOR  ANY  DIRECT,  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+       CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED  TO,  PROCUREMENT  OF
+       SUBSTITUTE  GOODS  OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSI-
+       NESS INTERRUPTION) HOWEVER CAUSED  AND  ON  ANY  THEORY  OF  LIABILITY,
+       WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+       OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN  IF
+       ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/footers/debian- b/debian/footers/debian-
new file mode 100644 (file)
index 0000000..3150656
--- /dev/null
@@ -0,0 +1,3 @@
+--
+To UNSUBSCRIBE, email to debian-
+with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
diff --git a/debian/footers/debian-private b/debian/footers/debian-private
new file mode 100644 (file)
index 0000000..7e1f62a
--- /dev/null
@@ -0,0 +1,6 @@
+--
+Please respect the privacy of this mailing list.
+
+Archive: file://master.debian.org/~debian/archive/debian-private/
+
+To UNSUBSCRIBE, use the web form at <http://db.debian.org/>.
diff --git a/debian/footers/mailman b/debian/footers/mailman
new file mode 100644 (file)
index 0000000..2c08d68
--- /dev/null
@@ -0,0 +1,4 @@
+_______________________________________________
+
+
+http
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in
new file mode 100644 (file)
index 0000000..cef83a3
--- /dev/null
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] templates
diff --git a/debian/po/de.po b/debian/po/de.po
new file mode 100644 (file)
index 0000000..7cf7cc5
--- /dev/null
@@ -0,0 +1,41 @@
+# debconf template file for the t-prot package.
+# Copyright (C) 2006 Gerfried Fuchs <alfie@debian.org>
+# This file is distributed under the same license as the t-prot package.
+# Gerfried Fuchs <alfie@debian.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: t-prot 2.0.2\n"
+"Report-Msgid-Bugs-To: t-prot@packages.debian.org\n"
+"POT-Creation-Date: 2006-03-27 12:44+0200\n"
+"PO-Revision-Date: 2006-03-27 12:45+0200\n"
+"Last-Translator: Gerfried Fuchs <alfie@debian.org>\n"
+"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid "Do you want to enable t-prot system wide for mutt?"
+msgstr "Wollen Sie t-prot Systemweit in mutt aktivieren?"
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid ""
+"The t-prot package provides a config file /etc/Muttrc.t-prot -- to use the "
+"script from mutt you have to enable it.  You can do this either by creating "
+"a symlink in /etc/Muttrc.d/ for systemwide usage (rather, this can be done "
+"automatically for you), or let the users decide to add a \"source\" line for "
+"it in their ~/.muttrc or ~/.mutt/muttrc.  If you acknowledge this question "
+"the systemwide usage will be enabled."
+msgstr ""
+"Das t-prot-Paket bietet eine Konfigurationdatei /etc/Muttrc.t-prot an -- um "
+"das Skript in mutt zu verwenden, muss es aktiviert werden. Dies kann "
+"entweder durch das Erstellen eines symbolischen Links in /etc/Muttrc.d/ "
+"passieren (bzw. kann dies automatisch für Sie durchgeführt werden), oder man "
+"lässt die Benutzer entscheiden, sich eine »source«-Zeile in ihre ~/.muttrc "
+"bzw. ~/.mutt/muttrc hinzuzufügen. Wenn Sie dieser Frage zustimmen, wird die "
+"systemweite Verwendung aktiviert."
diff --git a/debian/po/fr.po b/debian/po/fr.po
new file mode 100644 (file)
index 0000000..ecd9afc
--- /dev/null
@@ -0,0 +1,40 @@
+# This file is distributed under the same license as the t-prot package.
+#
+# Christian Perrier <bubulle@debian.org>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: t-prot\n"
+"Report-Msgid-Bugs-To: t-prot@packages.debian.org\n"
+"POT-Creation-Date: 2006-03-27 12:44+0200\n"
+"PO-Revision-Date: 2006-06-28 01:10+0200\n"
+"Last-Translator: Christian Perrier <bubulle@debian.org>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid "Do you want to enable t-prot system wide for mutt?"
+msgstr "Faut-il activer t-prot pour l'ensemble des utilisateurs de mutt ?"
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid ""
+"The t-prot package provides a config file /etc/Muttrc.t-prot -- to use the "
+"script from mutt you have to enable it.  You can do this either by creating "
+"a symlink in /etc/Muttrc.d/ for systemwide usage (rather, this can be done "
+"automatically for you), or let the users decide to add a \"source\" line for "
+"it in their ~/.muttrc or ~/.mutt/muttrc.  If you acknowledge this question "
+"the systemwide usage will be enabled."
+msgstr ""
+"Le paquet t-prot fournit un fichier de configuration /etc/Muttrc.t-prot. "
+"L'utilisation de t-prot avec mutt nécessite une activation spéficique qui "
+"peut se faire en choisissant cette option. Elle créera un lien symbolique "
+"dans /etc/Muttrc.d afin d'offrir cette possibilité à tous les utilisateurs "
+"du système. Alternativement, si vous ne choisissez pas cette option, chaque "
+"utilisateur pourra ajouter une instruction « source » vers ce fichier "
+"dans son fichier ~/.muttrc ou ~/.mutt/muttrc."
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
new file mode 100644 (file)
index 0000000..7e4dbae
--- /dev/null
@@ -0,0 +1,35 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: t-prot@packages.debian.org\n"
+"POT-Creation-Date: 2006-03-27 12:44+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid "Do you want to enable t-prot system wide for mutt?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid ""
+"The t-prot package provides a config file /etc/Muttrc.t-prot -- to use the "
+"script from mutt you have to enable it.  You can do this either by creating "
+"a symlink in /etc/Muttrc.d/ for systemwide usage (rather, this can be done "
+"automatically for you), or let the users decide to add a \"source\" line for "
+"it in their ~/.muttrc or ~/.mutt/muttrc.  If you acknowledge this question "
+"the systemwide usage will be enabled."
+msgstr ""
diff --git a/debian/postinst b/debian/postinst
new file mode 100644 (file)
index 0000000..03a0a90
--- /dev/null
@@ -0,0 +1,38 @@
+#!/bin/sh -e
+# postinst for t-prot
+
+# Source debconf library.
+if [ -e /usr/share/debconf/confmodule ]; then
+       . /usr/share/debconf/confmodule
+fi
+
+if [ "$1" != 'configure' ] && [ "$1" != 'reconfigure' ]; then
+       exit 0
+fi
+
+# change existing symlink from ../Muttrc.t-prot to ../t-prot/Mutrc
+if [ "$2" = "2.1-1" ] && [ -L /etc/Muttrc.d/t-prot.rc ]; then
+       cd /etc/Muttrc.d && ln -sf ../t-prot/Muttrc t-prot.rc || true
+fi
+
+# only on new install or reconfigure
+if [ "x$2" = "x" ] || [ "$1" = "reconfigure" ] || [ "${DEBCONF_RECONFIGURE}" = "1" ]; then
+       symlink=true
+       if [ -e /usr/share/debconf/confmodule ]; then
+               db_get t-prot/muttrc.d
+               symlink="$RET"
+       fi
+
+       case "$symlink" in
+           true)
+               mkdir /etc/Muttrc.d 2> /dev/null || true
+               cd /etc/Muttrc.d && ln -sf ../t-prot/Muttrc t-prot.rc || true
+               ;;
+           false)
+               if [ -L /etc/Muttrc.d/t-prot.rc ]; then
+                       rm /etc/Muttrc.d/t-prot.rc
+                       rmdir /etc/Muttrc.d 2> /dev/null || true
+               fi
+               ;;
+       esac
+fi
diff --git a/debian/postrm b/debian/postrm
new file mode 100644 (file)
index 0000000..25f393a
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+# postrm for t-prot
+
+# remove /etc/Muttrc.d/t-prot.rc symlink on both remove and purge
+if [ "$1" = purge ] || [ "$1" = remove ]; then
+       if [ -L /etc/Muttrc.d/t-prot.rc ]; then
+               rm /etc/Muttrc.d/t-prot.rc
+       fi
+       rmdir /etc/Muttrc.d 2> /dev/null || true
+fi
+
+# on purge purge debconf data, too
+if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
+       . /usr/share/debconf/confmodule
+       db_purge
+fi
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..e43c585
--- /dev/null
@@ -0,0 +1,93 @@
+#!/usr/bin/make -f
+# debian/rules for t-prot package
+
+PKG = t-prot
+TMP = $(CURDIR)/debian/$(PKG)
+
+INSTALL = install
+INSTALL_FILE    = $(INSTALL) -p    -oroot -groot -m644
+INSTALL_PROGRAM = $(INSTALL) -p    -oroot -groot -m755
+INSTALL_SCRIPT  = $(INSTALL) -p    -oroot -groot -m755
+INSTALL_DIR     = $(INSTALL) -p -d -oroot -groot -m755
+
+
+clean:
+       $(checkdir)
+       $(checkroot)
+       -rm -rf $(TMP) debian/files
+
+
+build:
+       # uhm, build for a binary-indep package?  Don't try to be funny ;)
+
+
+install: build
+       $(checkdir)
+       $(checkroot)
+       -rm -rf $(TMP)
+       $(INSTALL_DIR) $(TMP)
+       cd $(TMP) && $(INSTALL_DIR) etc/t-prot/footers etc/t-prot/ads \
+               usr/bin usr/share/man/man1 usr/share/slrn/macros \
+               usr/share/doc/$(PKG)/examples
+       #       usr/share/doc/$(PKG)/contrib
+       $(INSTALL_SCRIPT) t-prot   $(TMP)/usr/bin
+       patch $(TMP)/usr/bin/t-prot \
+               contrib/t-prot-r*-mutt157.diff
+       -rm -f $(TMP)/usr/bin/t-prot.orig
+       $(INSTALL_FILE)   t-prot.1 $(TMP)/usr/share/man/man1
+       $(INSTALL_FILE) debian/Muttrc     $(TMP)/etc/t-prot
+       $(INSTALL_FILE) debian/footers/*  $(TMP)/etc/t-prot/footers
+       $(INSTALL_FILE) contrib/t-prot.sl $(TMP)/usr/share/slrn/macros
+       patch $(TMP)/usr/share/slrn/macros/t-prot.sl \
+               contrib/t-prot.sl-slang2.diff
+       -rm -f $(TMP)/usr/share/slrn/macros/t-prot.sl.orig
+
+       $(INSTALL_FILE) TODO README $(TMP)/usr/share/doc/$(PKG)
+       #$(INSTALL_FILE) contrib/README.patches contrib/t-prot-r*-gol.diff \
+       #       contrib/t-prot-r*-indentms.diff \
+       #       $(TMP)/usr/share/doc/$(PKG)/contrib
+       $(INSTALL_FILE) contrib/filter_innd.pl contrib/README.examples \
+               $(TMP)/usr/share/doc/$(PKG)/examples
+       $(INSTALL_FILE) ChangeLog \
+               $(TMP)/usr/share/doc/$(PKG)/changelog
+       cd $(TMP)/usr/share && gzip -9 doc/$(PKG)/changelog \
+               man/man1/t-prot.1
+
+
+binary-indep: build install
+       $(checkdir)
+       $(checkroot)
+       $(INSTALL_DIR) $(TMP)/DEBIAN
+       $(INSTALL_FILE) debian/copyright debian/README.Debian \
+               debian/NEWS.Debian $(TMP)/usr/share/doc/$(PKG)
+       $(INSTALL_FILE) debian/changelog \
+               $(TMP)/usr/share/doc/$(PKG)/changelog.Debian
+       cd $(TMP)/usr/share/doc/$(PKG) && gzip -9 \
+               changelog.Debian NEWS.Debian
+       $(INSTALL_SCRIPT) debian/postinst debian/postrm debian/config \
+               $(TMP)/DEBIAN
+       po2debconf debian/templates > $(TMP)/DEBIAN/templates
+       $(INSTALL_FILE) debian/conffiles \
+               $(TMP)/DEBIAN
+       dpkg-gencontrol -ldebian/changelog -isp -p$(PKG) -P$(TMP)
+       cd $(TMP) && find * -type f ! -regex '^DEBIAN/.*' -print0 | \
+               xargs -r0 md5sum > DEBIAN/md5sums
+       dpkg --build $(TMP) ..
+
+
+binary-arch: build install
+       # We have nothing to do here.
+
+
+binary: binary-indep binary-arch
+
+
+define checkdir
+       test -f debian/rules
+endef
+
+define checkroot
+       test root = "`whoami`"
+endef
+
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/templates b/debian/templates
new file mode 100644 (file)
index 0000000..be714b9
--- /dev/null
@@ -0,0 +1,10 @@
+Template: t-prot/muttrc.d
+Type: boolean
+Default: true
+_Description: Do you want to enable t-prot system wide for mutt?
+ The t-prot package provides a config file /etc/Muttrc.t-prot -- to use the
+ script from mutt you have to enable it.  You can do this either by creating a
+ symlink in /etc/Muttrc.d/ for systemwide usage (rather, this can be done
+ automatically for you), or let the users decide to add a "source" line for it
+ in their ~/.muttrc or ~/.mutt/muttrc.  If you acknowledge this question the
+ systemwide usage will be enabled.
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..7e3b26a
--- /dev/null
@@ -0,0 +1,3 @@
+version=2
+# Site/Directory                                         Pattern                    Version  Script
+http://www.escape.de/users/tolot/mutt/t-prot/downloads/  t-prot-([\d\.]+)\.tar\.gz  debian  uupdate