Bug 22656

Summary: port update to correct mail/exmh2 support of security/pgp5
Product: Ports & Packages Reporter: tweten <tweten>
Component: Individual Port(s)Assignee: Bruce A. Mah <bmah>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description tweten 2000-11-07 03:00:01 UTC
	One problem from my previous PR, ports/21437 remains:

	"Exmh will not use pgpv to check a Multipart/MIME Clear signature.
        Since the call to pgpv is in batch mode, there is nobody to ask if
        the user would like to overwrite /dev/null. (!)"

Fix: 

The fix required hasn't changed from ports/21437 either:

	"Make batch mode PGP 5.0i calls use the "+force" option, thereby
        eliminating the dubious need to request confirmation for
        overwriting /dev/null."

	The patch to do that follows:

	--- lib/pgpPgp5.tcl.orig        Wed Apr 19 09:54:14 2000
	+++ lib/pgpPgp5.tcl     Mon Nov  6 17:53:46 2000
	@@ -88,7 +88,7 @@
	 #############
	 # Exec_Batch
	 # Batchmode flags
	-set pgp(pgp5,flags_batch) {+armorlines=0 +batchmode=on +verbose=0}
	+set pgp(pgp5,flags_batch) {+armorlines=0 +batchmode=on +force +verbose=0}
	 #
	 proc Pgp_pgp5_PassFdSet {} {
	     global env
How-To-Repeat: 
	Send yourself a message with any kind of clear signature.
	Attempt to read it.  Exmh will refuse with an error message
	mentioning "+force".
Comment 1 Bruce A. Mah freebsd_committer freebsd_triage 2000-11-08 20:50:15 UTC
Responsible Changed
From-To: freebsd-ports->bmah

My port.
Comment 2 Bruce A. Mah freebsd_committer freebsd_triage 2001-01-04 06:23:53 UTC
State Changed
From-To: open->feedback

Finally got around to looking at this.  Patch has been applied to 
both the FreeBSD port and the CVS repository. 

Thanks for submitting this, if it works for you now, I'll close 
the PR.
Comment 3 Bruce A. Mah freebsd_committer freebsd_triage 2001-02-03 17:51:25 UTC
State Changed
From-To: feedback->closed

Dave Tweten <tweten@nas.nasa.gov> writes: 

> It's all fixed now, and exmh  
> seems to be working properly too.