From: Gerfried Fuchs Date: Tue, 8 Feb 2005 13:03:02 +0000 (+0100) Subject: Imported Debian patch 1.49-1 X-Git-Tag: debian/1.49-1 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=c186fe241072a3ef138d9d41dd379a2abbb07cc7;p=pkg%2Ft-prot.git Imported Debian patch 1.49-1 --- diff --git a/debian/Muttrc.t-prot b/debian/Muttrc.t-prot new file mode 100644 index 0000000..729b0d6 --- /dev/null +++ b/debian/Muttrc.t-prot @@ -0,0 +1,14 @@ +set display_filter='t-prot -cemktS --bigq --pgp-move-vrf -Mmutt -L/usr/share/doc/t-prot/examples/footers' +# 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 -cemktS --bigq --pgp-move-vrf -Mmutt -L/usr/share/doc/t-prot/examples/footers'\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 -cemktS --bigq --pgp-move-vrf -Mmutt -L/usr/share/doc/t-prot/examples/footers'; 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 index 0000000..145df3f --- /dev/null +++ b/debian/NEWS.Debian @@ -0,0 +1,8 @@ +t-prot (1.47-2) unstable; urgency=medium + + * The automatic addition to /etc/Muttrc was removed due to a policy + violation. To not make things worse I don't try to remove the line if it + is in there. I'll try to convince the mutt maintainers of the benefit of + a conf.d directory again. + + -- Gerfried Fuchs Thu, 09 Dec 2004 12:25:17 +0100 diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..c8181b3 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,26 @@ +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. + + Unfortunately mutt doesn't offer a way to "plug in" config snippets so you +have to do it yourself by hand. To do it systemwide for all users add the +following line to your /etc/Muttrc file: + +source /etc/Muttrc.t-prot + + 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. + + -- Gerfried Fuchs Thu, 09 Dec 2004 12:42:34 +0100 diff --git a/debian/README.footers b/debian/README.footers new file mode 100644 index 0000000..170c5b1 --- /dev/null +++ b/debian/README.footers @@ -0,0 +1,8 @@ + In the footers directory you find some files that are examples of how the +footers are handled by t-prot. Those are the footers for most of the debian +mailing lists. Notice that the debian- footer is a stripped one which matches +most of the lists. t-prot checks for start of line matches. + + You can directly use them if you add the options +-l -L /usr/share/doc/t-prot/examples/footers +to your call to t-prot. diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..975043f --- /dev/null +++ b/debian/changelog @@ -0,0 +1,614 @@ +t-prot (1.49-1) unstable; urgency=medium + + * New upstream release, fixes problem with multiline From: headers. + + -- Gerfried Fuchs 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Mon, 11 Aug 2003 07:26:27 +0200 + +t-prot (1.30-1) unstable; urgency=low + + * New upstream release: locale handling fixed. + + -- Gerfried Fuchs 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 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 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 Tue, 10 Jun 2003 10:04:38 +0200 + +t-prot (1.26-1) unstable; urgency=low + + * New upstream release + + -- Gerfried Fuchs 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 Mon, 28 Apr 2003 10:04:07 +0200 + +t-prot (1.25-1) unstable; urgency=low + + * New upstream release. + + -- Gerfried Fuchs Wed, 23 Apr 2003 17:55:53 +0200 + +t-prot (1.24-1) unstable; urgency=low + + * New upstream release. + + -- Gerfried Fuchs 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 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 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 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 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 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 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 Mon, 17 Feb 2003 08:53:52 +0100 + +t-prot (1.16-1) unstable; urgency=low + + * New upstream release. + + -- Gerfried Fuchs 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 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 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 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 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 Thu, 6 Feb 2003 19:19:31 +0100 + +t-prot (1.8-1) unstable; urgency=low + + * New upstream release: --help works again ;-) + + -- Gerfried Fuchs 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 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 Fri, 27 Dec 2002 13:17:10 +0100 + +t-prot (1.6-1) unstable; urgency=low + + * New upstream release. + + -- Gerfried Fuchs Thu, 12 Dec 2002 11:51:58 +0100 + +t-prot (1.5-1) unstable; urgency=low + + * New upstream release. + + -- Gerfried Fuchs Wed, 11 Dec 2002 08:44:46 +0100 + +t-prot (1.4-1) unstable; urgency=low + + * New upstream release. + + -- Gerfried Fuchs Mon, 09 Dec 2002 09:38:51 +0100 + +t-prot (1.3-1) unstable; urgency=low + + * New upstream release. + + -- Gerfried Fuchs 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 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 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 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 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 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 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 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 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 Wed, 10 Jul 2002 10:30:32 +0200 + +t-prot (0.66-1) unstable; urgency=low + + * New upstream release + + -- Gerfried Fuchs 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 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 Tue, 11 Jun 2002 08:49:00 +0200 + +t-prot (0.61-1) unstable; urgency=low + + * New upstream release + + -- Gerfried Fuchs Mon, 3 Jun 2002 08:10:05 +0200 + +t-prot (0.60-1) unstable; urgency=low + + * New upstream release + + -- Gerfried Fuchs 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 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 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 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 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 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 Wed, 24 Apr 2002 08:34:24 +0200 + +t-prot (0.57-1) unstable; urgency=low + + * New upstream release + + -- Gerfried Fuchs Mon, 22 Apr 2002 08:38:16 +0200 + +t-prot (0.55-1) unstable; urgency=low + + * New upstream release + + -- Gerfried Fuchs Mon, 15 Apr 2002 12:15:41 +0200 + +t-prot (0.54.1-2) unstable; urgency=low + + * Updated debian-at listfooter. + + -- Gerfried Fuchs 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 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 Fri, 22 Mar 2002 08:19:55 +0100 + +t-prot (0.53-1) unstable; urgency=low + + * New upstream release + + -- Gerfried Fuchs 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 Wed, 20 Mar 2002 09:37:27 +0100 + +t-prot (0.51-1) unstable; urgency=low + + * New upstream release + + -- Gerfried Fuchs 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 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 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 Fri, 15 Mar 2002 17:28:15 +0100 + +t-prot (0.48-1) unstable; urgency=low + + * New upstream release + + -- Gerfried Fuchs Fri, 15 Mar 2002 10:19:58 +0100 + +t-prot (0.47-1) unstable; urgency=low + + * New upstream release + + -- Gerfried Fuchs Thu, 14 Mar 2002 09:27:07 +0100 + +t-prot (0.46-1) unstable; urgency=low + + * New upstream release + + -- Gerfried Fuchs 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 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 Tue, 05 Mar 2002 13:04:09 +0100 + +t-prot (0.42-1) unstable; urgency=low + + * New upstream release + + -- Gerfried Fuchs 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 Mon, 25 Feb 2002 09:55:29 +0100 diff --git a/debian/conffiles b/debian/conffiles new file mode 100644 index 0000000..490e691 --- /dev/null +++ b/debian/conffiles @@ -0,0 +1 @@ +/etc/Muttrc.t-prot diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..969afaa --- /dev/null +++ b/debian/control @@ -0,0 +1,29 @@ +Source: t-prot +Section: mail +Priority: extra +Maintainer: Gerfried Fuchs +Build-Depends-Indep: patch +Standards-Version: 3.6.1 + +Package: t-prot +Architecture: all +Depends: perl (>= 5.6.0-16), libgetopt-mixed-perl, debconf (>= 0.5) +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. It should be + possible to do similars with other mailers that allow to have a message run + through a program before it's displayed. If you have such an mailer I'd be + interested if you could let me know of your setup. There are also example + files for using t-prot within slrn or inn2. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..4c76507 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,15 @@ +This package was debianized by Gerfried Fuchs 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 + +Copyright: + This is free software; you may use the source to whatever + you like. Just keep in mind to mention the original + source of the script and the manpage when you give it + away. There is NO warranty; not even for MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/debian/footers/debian- b/debian/footers/debian- new file mode 100644 index 0000000..3150656 --- /dev/null +++ b/debian/footers/debian- @@ -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-at b/debian/footers/debian-at new file mode 100644 index 0000000..207667c --- /dev/null +++ b/debian/footers/debian-at @@ -0,0 +1,4 @@ +_______________________________________________ +Debian-at mailing list +Debian-at@mail.gibraltar.at +http://www.gibraltar.at/mailman/listinfo/debian-at diff --git a/debian/footers/debian-private b/debian/footers/debian-private new file mode 100644 index 0000000..7e1f62a --- /dev/null +++ b/debian/footers/debian-private @@ -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 . diff --git a/debian/footers/spi-private b/debian/footers/spi-private new file mode 100644 index 0000000..db2146b --- /dev/null +++ b/debian/footers/spi-private @@ -0,0 +1,4 @@ +_______________________________________________ +Spi-private mailing list +Spi-private@lists.spi-inc.org +http://lists.spi-inc.org/cgi-bin/listinfo/spi-private diff --git a/debian/footers/spi-www b/debian/footers/spi-www new file mode 100644 index 0000000..27253e2 --- /dev/null +++ b/debian/footers/spi-www @@ -0,0 +1,4 @@ +_______________________________________________ +Spi-www mailing list +Spi-www@lists.spi-inc.org +http://lists.spi-inc.org/cgi-bin/listinfo/spi-www diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..4a6c108 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e +# postinst for t-prot + +if [ "$1" = 'configure' -a -e /usr/share/debconf/confmodule ]; then + if dpkg --compare-versions "$2" lt "1.47-2" ; then + . /usr/share/debconf/confmodule + db_purge + db_stop + fi +fi diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b6de4d8 --- /dev/null +++ b/debian/rules @@ -0,0 +1,94 @@ +#!/usr/bin/make -f +# debian/rules for t-prot package + +PACKAGE = t-prot +TMP = $(CURDIR)/debian/$(PACKAGE) + +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 usr/bin usr/share/man/man1 \ + usr/share/slrn/macros usr/share/doc/$(PACKAGE)/examples + # usr/share/doc/$(PACKAGE)/contrib + $(INSTALL_SCRIPT) t-prot $(TMP)/usr/bin + cd $(TMP)/usr/bin/ && patch t-prot \ + $(TMP)/../../contrib/t-prot-r*-mutt156.diff + cd $(TMP)/usr/bin/ && patch t-prot \ + $(TMP)/../../contrib/t-prot-r*-gpg125.diff + rm $(TMP)/usr/bin/t-prot.orig + $(INSTALL_FILE) t-prot.1 $(TMP)/usr/share/man/man1 + $(INSTALL_FILE) debian/Muttrc.t-prot $(TMP)/etc + $(INSTALL_FILE) contrib/t-prot.sl $(TMP)/usr/share/slrn/macros + + $(INSTALL_FILE) BUGS TODO README $(TMP)/usr/share/doc/$(PACKAGE) + #$(INSTALL_FILE) contrib/README.patches contrib/t-prot-r*-gol.diff \ + # contrib/t-prot-r*-indentms.diff \ + # $(TMP)/usr/share/doc/$(PACKAGE)/contrib + cp -pR contrib/muttrc.t-prot contrib/filter_innd.pl debian/footers \ + debian/README.footers \ + $(TMP)/usr/share/doc/$(PACKAGE)/examples + $(INSTALL_FILE) ChangeLog \ + $(TMP)/usr/share/doc/$(PACKAGE)/changelog + cd $(TMP)/usr/share && gzip -9 doc/$(PACKAGE)/changelog \ + man/man1/t-prot.1 + find $(TMP) -print0 2>/dev/null | xargs -0r \ + chown --no-dereference 0.0 + find $(TMP) ! -type l -print0 2>/dev/null | xargs -0r \ + chmod go=rX,u+rw,a-s + + +binary-indep: build install + $(checkdir) + $(checkroot) + $(INSTALL_DIR) $(TMP)/DEBIAN + $(INSTALL_FILE) debian/copyright debian/README.Debian \ + debian/NEWS.Debian $(TMP)/usr/share/doc/$(PACKAGE) + $(INSTALL_FILE) debian/changelog \ + $(TMP)/usr/share/doc/$(PACKAGE)/changelog.Debian + cd $(TMP)/usr/share/doc/$(PACKAGE) && gzip -9 \ + changelog.Debian NEWS.Debian + $(INSTALL_SCRIPT) debian/postinst \ + $(TMP)/DEBIAN + $(INSTALL_FILE) debian/conffiles \ + $(TMP)/DEBIAN + dpkg-gencontrol -ldebian/changelog -isp -p$(PACKAGE) -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/watch b/debian/watch new file mode 100644 index 0000000..7e3b26a --- /dev/null +++ b/debian/watch @@ -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