Bug 22656 - port update to correct mail/exmh2 support of security/pgp5
Summary: port update to correct mail/exmh2 support of security/pgp5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Bruce A. Mah
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-07 03:00 UTC by tweten
Modified: 2001-02-03 17:52 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.