Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
t-prot
t-prot.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File t-prot.spec of Package t-prot
# # spec file for package t-prot (Version 2.5) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: t-prot BuildRequires: perl-Getopt-Mixed perl-gettext Url: http://www.escape.de/users/tolot/mutt/ License: Any permissive Group: Productivity/Networking/Email/Utilities AutoReqProv: on Requires: perl-Getopt-Mixed perl-gettext Version: 2.5 Release: 63 Summary: A Display Filter for RFC822 Messages Source: %{name}-%{version}.tar.bz2 Source1: muttrc.t-prot BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %define _prefix /usr %description t-prot detects and, when demanded, hides annoying parts in rfc822 messages: TOFU (see below), huge quoted blocks, signatures (especially when they are too long), excessive punctuation, blocks of empty lines, and trailing spaces and tabs. For use inside of MTAs or MDAs, it may exit with appropriate libc exit codes, so annoying messages may be bounced easily. TOFU is an abbreviation that mixes German and English words. It expands to "text oben, full-quote unten" that means "text above - full quote below" and describes the style of many users who let their mailer or newsreader quote everything of the previous message and just add some text at the top. Authors: -------- Jochen Striepe <jochen@tolot.escape.de> %prep %setup -q cp %{SOURCE1} . %build sed -e "s#@docdir@#%{_defaultdocdir}/%{name}#g" t-prot.1 > x && mv x t-prot.1 %install install -d %{buildroot}%{_prefix}/bin install -d %{buildroot}%{_defaultdocdir}/%{name} install -d %{buildroot}%{_mandir}/man1 install -m 755 t-prot %{buildroot}%{_prefix}/bin/t-prot install -m 644 t-prot.1 %{buildroot}/%{_mandir}/man1/t-prot.1 %clean rm -rf %buildroot %files %defattr(-,root,root) %doc ChangeLog README TODO muttrc.t-prot %{_prefix}/bin/t-prot %{_mandir}/man1/t-prot.1.gz %changelog * Thu Oct 18 2007 pth@suse.de - Update to 2.5 which officially incorporates the Groupwise filtering: * Hide TOFU produced by Novell Groupwise. * Wed Sep 05 2007 pth@suse.de - Incorporate upstream patch that adds filtering groupwise style TOFU. - Add an entry for --groupwise to the man page. * Mon Mar 12 2007 pth@suse.de - Update to 2.4. Changes since 1.99: t-prot: - Add feature to skip processing very large messages. - Fix formatting for better reading. - Add string to detect gmx.de's M$ style TOFU. - More tolerant handling of signatures -- trailing newlines are no longer counted as signature lines, thus fixing some mailing list software behaviour. - Detected MS TOFU hidden in MIME attachments. - The case-sensitivity of the Content-Type: header (vs. Content-type:) seems not to be absolutely clear. RFC 1049 should be obsoleted by RFCs 2045-2049 by now, but to be sure, we will accept both strings. - More regex fixes. - Many fixes to many regexes, fixing performance issues und readability. Some were entirely replaced by faster means. - We must not forget to remove ad and mailing list footers within the first MIME/Multipart attachment when processing raw messages (lacking -M). - Mailing list footers (and probably ad footers) were not detected when processing raw MIME/Multipart messages: We have to look at the very end of the message, not only at the end of the first attachment. Fix this by calling remove_footers() before dealing with raw multipart attachments. t-prot.1: - Fix spelling and grammar. - Add section about performance issues. - Add section about exit status. - LICENSE CHANGE! it is the Right Thing to simply switch to a BSD license (slightly modified, as there is no binary code in t-prot). - RFC 822 is no longer important. RFC 2822 should suffice. - Add some clarifications and missing details. t-prot, t-prot.1: - Add --body to make sure we are not looking for any headers when there are none in the input. contrib/t-prot.sl: - Use S-Lang calls popen(), fputs(), and remove() instead of system() and pipe_article() to reduce flickering (and for cleaner code). - Mention mimedecode as filter for Quoted Printable. - Change key bindings: ESC-0 and ESC-1 are prefixes for other commands, so we should not overwrite those. - Make sure users get a hint if they look why t-prot.sl does not work on their system (just as I did and wondered what was wrong). contrib/filter_innd.pl: - We don't submit any headers, so use --body. Use unlink() instead of system(). Mention the temp file problem. * Fri Feb 09 2007 meissner@suse.de - build as nonroot. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue Mar 29 2005 pth@suse.de - Update to 1.99 * Mon Jan 10 2005 pth@suse.de - Update to 1.48.1 * Mon Nov 25 2002 pthomas@suse.de - Initial package creation.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor