Subject: pkg/5149: elm pkg: pgp is run as ${PREFIX}/bin/pgp
To: None <gnats-bugs@gnats.netbsd.org>
From: Jaromir Dolecek <dolecek@ics.muni.cz>
List: netbsd-bugs
Date: 03/11/1998 13:43:03
>Number:         5149
>Category:       pkg
>Synopsis:       elm pkg: pgp is run as ${PREFIX}/bin/pgp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 11 04:35:00 1998
>Last-Modified:
>Originator:     Jaromir Dolecek
>Organization:
	ICS MU, Brno, Czech Republic
>Release:        1.3
>Environment:
	
System: NetBSD saruman.ics.muni.cz 1.3 NetBSD 1.3 (SARUMAN) #3: Wed Jan 21 13:29:49 MET 1998 dolecek@saruman.ics.muni.cz:/usr/home/dolecek/N13/usr/src/sys/arch/i386/compile/SARUMAN i386


>Description:
	elm has support for signing/encrypting e-mail via pgp. It
	runs external pgp program to do the work. Under our
	package system, pgp is invoked as /usr/pkg/bin/pgp.
	Besides fact there is no pgp package in pkgsrc yet,
	pgp can be installed somewhere else. So full path
	to binary cannot be used.
>How-To-Repeat:
	Try to read e-mail signed by pgp in elm
>Fix:
	
--- scripts/pre-configure_old	Wed Mar 11 13:35:51 1998
+++ scripts/pre-configure	Wed Mar 11 13:36:29 1998
@@ -300,8 +300,8 @@
 d_xenix='undef'
 d_bsd='define'
 d_pgp='define'
-pgp="${PREFIX}/bin/pgp"
-pgp_path="${PREFIX}/bin/pgp"
+pgp="pgp"
+pgp_path="pgp"
 d_remailer='define'
 finger='/usr/bin/finger'
 finger_path='/usr/bin/finger'
>Audit-Trail:
>Unformatted: