Hello community, here is the log from the commit of package t-prot for openSUSE:Factory checked in at Fri Apr 16 01:41:39 CEST 2010. -------- --- t-prot/t-prot.changes 2010-03-15 16:53:38.000000000 +0100 +++ /mounts/work_src_done/STABLE/t-prot/t-prot.changes 2010-04-09 11:20:14.000000000 +0200 @@ -1,0 +2,7 @@ +Fri Apr 9 09:13:35 UTC 2010 - puzel@novell.com + +- update to 2.98 + * Clarify --lax-security description. + * Use descriptive temp variable names when parsing command line. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- t-prot-2.97.1.tar.bz2 New: ---- t-prot-2.98.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ t-prot.spec ++++++ --- /var/tmp/diff_new_pack.o5OfIL/_old 2010-04-16 01:40:16.000000000 +0200 +++ /var/tmp/diff_new_pack.o5OfIL/_new 2010-04-16 01:40:16.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package t-prot (Version 2.97.1) +# spec file for package t-prot (Version 2.98) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -24,7 +24,7 @@ Group: Productivity/Networking/Email/Utilities AutoReqProv: on Requires: perl-Getopt-Mixed perl-gettext -Version: 2.97.1 +Version: 2.98 Release: 1 Summary: A Display Filter for RFC822 Messages Source: %{name}-%{version}.tar.bz2 ++++++ t-prot-2.97.1.tar.bz2 -> t-prot-2.98.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/t-prot-2.97.1/ChangeLog new/t-prot-2.98/ChangeLog --- old/t-prot-2.97.1/ChangeLog 2010-03-12 11:42:08.000000000 +0100 +++ new/t-prot-2.98/ChangeLog 2010-04-09 08:49:01.000000000 +0200 @@ -1,3 +1,16 @@ +2010-04-09 06:47 Jochen Striepe + + * t-prot: Release as v2.98. + +2010-04-09 06:45 Jochen Striepe + + * t-prot.1: Clarify --lax-security description. + +2010-04-09 06:36 Jochen Striepe + + * t-prot: Use descriptive temp variable names when parsing command + line. + 2010-03-06 12:26 Jochen Striepe * t-prot.1: Mention configuration files for Heirloom mailx and diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/t-prot-2.97.1/t-prot new/t-prot-2.98/t-prot --- old/t-prot-2.97.1/t-prot 2010-03-12 11:42:08.000000000 +0100 +++ new/t-prot-2.98/t-prot 2010-04-09 08:49:01.000000000 +0200 @@ -1,13 +1,13 @@ #!/usr/bin/perl -w -# $Id: t-prot,v 1.298 2010/03/06 01:32:50 jochen Exp $ +# $Id: t-prot,v 1.300 2010/04/09 06:47:11 jochen Exp $ require 5.006; use strict; use Fcntl qw(O_EXCL O_WRONLY O_CREAT); use Getopt::Long qw(:config gnu_getopt no_ignore_case); -use constant VER => '2.97'; +use constant VER => '2.98'; use constant REV => ''; -use constant REL => q$Revision: 1.298 $=~m/(\d+(?:\.\d+)+)/; +use constant REL => q$Revision: 1.300 $=~m/(\d+(?:\.\d+)+)/; # MTA expecting mail on STDIN # (you might have to adjust this if using a different MTA) use constant SENDMAIL => '/usr/sbin/sendmail -oi'; @@ -999,87 +999,87 @@ my $ifile = '-'; # use STDIN if nothing specified # temp vals: -my ($_t1, $_t2, $_t3, $_t4, $_t5, $_t6, $_t7, $_t8, $_t9, $_ta, $_tb, $_tc, - $_td) = undef; +my ($_t_bigq, $_t_help, $_t_kminl, $_t_kmaxl, $_t_kdiff, $_t_maxsig, $_t_mua, + $_t_redir, $_t_check, $_t_sigsmax, $_t_ver, $_t_nohdr, $_t_cr) = undef; # get command line params: if (!Getopt::Long::GetOptions( 'a' => \$ad, 'A=s' => \$ads, - 'bigq:s' => \$_t1, - 'body' => \$_tc, - 'c:i' => \$_td, - 'check:s' => \$_t9, + 'bigq:s' => \$_t_bigq, + 'body' => \$_t_nohdr, + 'c:i' => \$_t_cr, + 'check:s' => \$_t_check, 'debug|d' => \$sysl, 'diff' => \$diff, 'e' => \$elli, 'ftr-ad' => \$ftr_ad, 'ftr-ml' => \$ftr_ml, 'groupwise' => \$gw, - 'help|h' => \$_t2, + 'help|h' => \$_t_help, 'i=s' => \$ifile, 'k' => \$kamm, - 'kminl=i' => \$_t3, - 'kmaxl=i' => \$_t4, - 'kdiff=i' => \$_t5, + 'kminl=i' => \$_t_kminl, + 'kmaxl=i' => \$_t_kmaxl, + 'kdiff=i' => \$_t_kdiff, 'L=s' => \$footers, 'l' => \$ml, 'lax-security' => \$lax, 'locale=s' => \$locale, 'max-lines:i' => \$maxlines, 'ms-smart' => \$ms_smart, - 'mua|M=s' => \$_t7, + 'mua|M=s' => \$_t_mua, 'm' => \$ms, 'o=s' => \$ofile, 'P=s' => \$boun, - 'p:s' => \$_t8, + 'p:s' => \$_t_redir, 'pgp-short' => \$pgpshort, 'pgp-move' => \$pgpmove, 'pgp-move-vrf' => \$pgpmovevrf, 'r' => \$hdrs, 'reply' => \$reply, - 'S:i' => \$_t6, + 'S:i' => \$_t_maxsig, 's' => \$sig, 'sani' => \$sani, - 'sigsmax:i' => \$_ta, + 'sigsmax:i' => \$_t_sigsmax, 'spass' => \$spass, 't' => \$trad, - 'version|v' => \$_tb, + 'version|v' => \$_t_ver, 'w' => \$trsp )) { help(); } # clean up temp vals: -if (defined $_t1) { - if ($_t1 !~ /^(?:(\d+)(?:,(\d+))?)?$/) { help(); } +if (defined $_t_bigq) { + if ($_t_bigq !~ /^(?:(\d+)(?:,(\d+))?)?$/) { help(); } $bigqn = $1?$1:30; $bigqx = $2?$2:10; if ($bigqn<=0 || $bigqx<=0 || $bigqn<=$bigqx) { help(); } } -if (defined $_t2) { help(); } -if (defined $_t3) { $kminl = $_t3; $kamm = 1; } -if (defined $_t4) { $kmaxl = $_t4; $kamm = 1; } -if (defined $_t5) { $kdiff = $_t5; $kamm = 1; } -if (defined $_t6) { $lsig = $_t6 ? $_t6 : $maxsig; } -if (defined $_t7) { - $mua = lc($_t7); +if (defined $_t_help) { help(); } +if (defined $_t_kminl) { $kminl = $_t_kminl; $kamm = 1; } +if (defined $_t_kmaxl) { $kmaxl = $_t_kmaxl; $kamm = 1; } +if (defined $_t_kdiff) { $kdiff = $_t_kdiff; $kamm = 1; } +if (defined $_t_maxsig) { $lsig = $_t_maxsig ? $_t_maxsig : $maxsig; } +if (defined $_t_mua) { + $mua = lc($_t_mua); # mutt still displays the message when ^C'ing pgp verification: if ($mua eq 'mutt') { $SIG{'INT'} = 'sigint_handler'; } } -if (defined $_t8) { $mda = $_t8 ? $_t8 : '1'; } -if (defined $_t9) { +if (defined $_t_redir) { $mda = $_t_redir ? $_t_redir : '1'; } +if (defined $_t_check) { $check = 1; - while ($_t9 && $_t9 =~ /^([^,\s]+)(?:,(\S+))?$/) { + while ($_t_check && $_t_check =~ /^([^,\s]+)(?:,(\S+))?$/) { my $foo = $1; - $_t9 = $2; + $_t_check = $2; if ($foo =~ /^ratio(?:=(0?\.\d+))?$/) { $check_ratio = $1?$1:0.75; } } } -if (defined $_ta) { $sign = $_ta ? $_ta : undef; } -if (defined $_tb) { version(); } -if (defined $_tc) { $nohdr=1; $hdrs=1; } -if (defined $_td) { $cr = $_td ? $_td : $crshrink; } +if (defined $_t_sigsmax) { $sign = $_t_sigsmax ? $_t_sigsmax : undef; } +if (defined $_t_ver) { version(); } +if (defined $_t_nohdr) { $nohdr=1; $hdrs=1; } +if (defined $_t_cr) { $cr = $_t_cr ? $_t_cr : $crshrink; } if ($ms_smart) { $ms = 1; } if ($mua eq 'mutt') { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/t-prot-2.97.1/t-prot.1 new/t-prot-2.98/t-prot.1 --- old/t-prot-2.97.1/t-prot.1 2010-03-12 11:42:08.000000000 +0100 +++ new/t-prot-2.98/t-prot.1 2010-04-09 08:49:01.000000000 +0200 @@ -1,6 +1,6 @@ -.\" $Id: t-prot.1,v 1.181 2010/03/06 12:26:19 jochen Exp $ +.\" $Id: t-prot.1,v 1.182 2010/04/09 06:45:35 jochen Exp $ .\" -.TH T-PROT "1" "March 2010" "T-PROT" +.TH T-PROT "1" "April 2010" "T-PROT" .SH NAME t-prot \- TOFU Protection - Display Filter for RFC 5322 messages .SH SYNOPSIS @@ -73,7 +73,9 @@ a security issue.) .sp You can use this option safely to enable -.BR "\-o" " /dev/null and the like." +.B "\-o" +/dev/null (or other files which cannot be changed with the user's +privileges). .TP .BR "\-\-max\-lines" =x Maximum number of lines a message may count (with headers). If the message ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org