summaryrefslogtreecommitdiff
path: root/mail/t-prot
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2007-04-15 21:18:46 +0000
committeragc <agc@pkgsrc.org>2007-04-15 21:18:46 +0000
commit077f52e3ef3b58561cc550d6ddaf8722899b7440 (patch)
treec26f33db5779a0f69db0e4d2dac48f51e0c93eae /mail/t-prot
parentd9389015f7377dba1263ec374c59baa9b0e9d8c0 (diff)
downloadpkgsrc-077f52e3ef3b58561cc550d6ddaf8722899b7440.tar.gz
Initial import of mail/t-prot-2.4 to the packages collection.
t-prot is a TOFU enhancement for the mutt MUA. It condenses quoted text into a single line, hides overlong signatures, and other email sins. TOFU is an abbreviation which mixes German and English words; it expands to "text oben, full-quote unten" which means "text above - full quote below" and describes the style of so many users who let their mailer or newsreader quote everything of the previous message and just add some text at the top; obviously they think that quoted text must not be changed at all. This is quite annoying as it needlessly sends a lot of data even when it is not required. Some editing of messages is desired. Please point these people to the page http://www.river.com/users/share/etiquette/edit.html t-prot detects, and when demanded hides annoying parts in rfc2822 messages: TOFU, huge quoted blocks, signatures (especially when they are too long), excessive punktuation, blocks of empty lines, trailing spaces and tabs. For use inside of MTAs or MDAs it exits with appropriate libc exit codes, so annoying messages may be bounced easily.
Diffstat (limited to 'mail/t-prot')
-rw-r--r--mail/t-prot/DESCR20
-rw-r--r--mail/t-prot/Makefile24
-rw-r--r--mail/t-prot/PLIST5
-rw-r--r--mail/t-prot/distinfo5
4 files changed, 54 insertions, 0 deletions
diff --git a/mail/t-prot/DESCR b/mail/t-prot/DESCR
new file mode 100644
index 00000000000..93a54ebbbc0
--- /dev/null
+++ b/mail/t-prot/DESCR
@@ -0,0 +1,20 @@
+t-prot is a TOFU enhancement for the mutt MUA. It condenses quoted
+text into a single line, hides overlong signatures, and other email
+sins.
+
+TOFU is an abbreviation which mixes German and English words; it
+expands to "text oben, full-quote unten" which means "text above -
+full quote below" and describes the style of so many users who let
+their mailer or newsreader quote everything of the previous message
+and just add some text at the top; obviously they think that quoted
+text must not be changed at all. This is quite annoying as it
+needlessly sends a lot of data even when it is not required. Some
+editing of messages is desired. Please point these people to the page
+http://www.river.com/users/share/etiquette/edit.html
+
+t-prot detects, and when demanded hides annoying parts in rfc2822
+messages: TOFU, huge quoted blocks, signatures (especially when they
+are too long), excessive punktuation, blocks of empty lines, trailing
+spaces and tabs. For use inside of MTAs or MDAs it exits with
+appropriate libc exit codes, so annoying messages may be bounced
+easily.
diff --git a/mail/t-prot/Makefile b/mail/t-prot/Makefile
new file mode 100644
index 00000000000..bd26bb05d50
--- /dev/null
+++ b/mail/t-prot/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/04/15 21:18:46 agc Exp $
+#
+
+DISTNAME= t-prot-2.4
+CATEGORIES= mail
+MASTER_SITES= http://www.escape.de/users/tolot/mutt/t-prot/downloads/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.escape.de/users/tolot/mutt/t-prot/
+COMMENT= TOFU enhancement to mutt for condensing quoted text
+
+DEPENDS+= p5-Getopt-Mixed>=1.10:../../devel/p5-Getopt-Mixed
+
+REPLACE_PERL+= t-prot
+
+do-configure do-build:
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/t-prot ${PREFIX}/bin/t-prot
+ ${INSTALL_MAN} ${WRKSRC}/t-prot.1 ${PREFIX}/${PKGMANDIR}/man1/t-prot.1
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/t-prot
+ ${INSTALL_DATA} ${WRKSRC}/contrib/muttrc.t-prot ${PREFIX}/share/doc/t-prot/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/t-prot/PLIST b/mail/t-prot/PLIST
new file mode 100644
index 00000000000..6125e19e8e0
--- /dev/null
+++ b/mail/t-prot/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/04/15 21:18:46 agc Exp $
+bin/t-prot
+man/man1/t-prot.1
+share/doc/t-prot/muttrc.t-prot
+@dirrm share/doc/t-prot
diff --git a/mail/t-prot/distinfo b/mail/t-prot/distinfo
new file mode 100644
index 00000000000..a08ce22df7a
--- /dev/null
+++ b/mail/t-prot/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/04/15 21:18:46 agc Exp $
+
+SHA1 (t-prot-2.4.tar.gz) = 299eaa7b9613f1bec44502522bdf1cc34d5cde89
+RMD160 (t-prot-2.4.tar.gz) = e65039f582b089784982c6e59030fe9fed13ac92
+Size (t-prot-2.4.tar.gz) = 40876 bytes