Bug 968699

Summary: server:mail/mutt: missing dependency
Product: [openSUSE] openSUSE Distribution Reporter: Forgotten User SK4BVlRiaA <forgotten_SK4BVlRiaA>
Component: OtherAssignee: Dr. Werner Fink <werner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None CC: astieger, forgotten_SK4BVlRiaA, vmiklos
Version: 13.2   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE 13.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User SK4BVlRiaA 2016-02-29 14:41:48 UTC
+++ This bug was initially created as a clone of Bug #961470 +++
(it was cloned to get the responsible person right, and #961470 was the most recent mutt bug)

the mutt package on opensuse 13.2 (and probably Leap/Tumbleweed) is missing a dependency for the smime script.

The smime_keys installed by mutt depends on perl:Expect.

This is easily added by zypper in perl:Expect, and didn't result in much more dependencies on a machine already having e-Mail related cli-software installed.

a) make mutt depend on perl:Expect.
b) make the smime script and the related documentation (included twice?) an optional sub-package.
Comment 1 Dr. Werner Fink 2016-02-29 15:06:33 UTC
IMHO this is not a clone nor a dup nor depends on bug #961470.

Why do you think that smime_keys depends on perl:Expect:

 grep ^use /usr/bin/smime_keys
 use strict;
 use File::Copy;
 use File::Glob ':glob';
 use File::Temp qw(tempfile tempdir);
 use Time::Local;
Comment 2 Forgotten User SK4BVlRiaA 2016-02-29 15:15:26 UTC
because I needed 
/usr/share/doc/packages/mutt/contrib/smime_keys_test.pl

to understand it,
and this script needs Expect in line 6.

Sorry for being unclear, but It took me hours to get past the microfocus login this morning to this bugzilla.

The package includes the script twice, once dated 2014-12-05, another dated 2008-03-19, in sample and contrib, but with the same size.
Comment 3 Dr. Werner Fink 2016-02-29 15:17:20 UTC
There is a difference between documentation and the contributions therein
and the installed script its self:

 rpm -ql mutt | grep smime_keys
 /usr/bin/smime_keys
 /usr/share/doc/packages/mutt/samples/smime_keys_test.pl
 /usr/share/man/man1/smime_keys.1.gz
Comment 4 Dr. Werner Fink 2016-02-29 15:19:28 UTC
(In reply to Matthias Subik from comment #2)

May I ask: What exactly is the adavantage of the script mime_keys_test.pl
Comment 5 Forgotten User SK4BVlRiaA 2016-02-29 15:41:48 UTC
Here is the fun part:

rpm -ql mutt | grep smime_keys
/usr/bin/smime_keys
/usr/share/doc/packages/mutt/contrib/smime_keys_test.pl
/usr/share/doc/packages/mutt/samples/smime_keys_test.pl
/usr/share/man/man1/smime_keys.1.gz

tested right now on opensuse 13.2, there is samples and contrib in there.
fixed in Tumbleweed.

the script helped me identify when I had already files in places, which smime_keys commented with the wrong error text.

I admit, I did play trial and error for a while, since the documentation is sparse on smime integration. So the test script mainly is a reference for all the openssl commands needed.
Comment 6 Bernhard Wiedemann 2016-02-29 16:00:13 UTC
This is an autogenerated message for OBS integration:
This bug (968699) was mentioned in
https://build.opensuse.org/request/show/363017 Factory / mutt
Comment 7 Dr. Werner Fink 2016-02-29 16:18:51 UTC
I guess this should be fixed now as you are the only one who used the smaple script ;)
Comment 8 Swamp Workflow Management 2016-09-26 12:10:48 UTC
SUSE-RU-2016:2383-1: An update that has three recommended fixes can now be installed.

Category: recommended (low)
Bug References: 961470,968699,983722
CVE References: 
Sources used:
SUSE Linux Enterprise Server 12-SP1 (src):    mutt-1.6.0-54.1
SUSE Linux Enterprise Desktop 12-SP1 (src):    mutt-1.6.0-54.1