Subject: Re: libexec/gnupg/gpgkeys_mailto: No such file or directory
To: maintainer for security/gnupg <wiz@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/08/2004 15:50:44
On Thu, 8 Apr 2004, maintainer for security/gnupg wrote:
> So far this looks ok. Please track this down.
Under Linux:
./gnupg-1.2.4/keyserver/Makefile:GPGKEYS_MAILTO =
./keyserver/Makefile:EXTRA_SCRIPTS = gpgkeys_mailto
./keyserver/Makefile:CONFIG_CLEAN_FILES = gpgkeys_mailto gpgkeys_test
Under NetBSD:
./keyserver/Makefile:GPGKEYS_MAILTO = gpgkeys_mailto
./keyserver/Makefile:EXTRA_SCRIPTS = gpgkeys_mailto
./keyserver/Makefile:libexec_SCRIPTS = gpgkeys_mailto
./keyserver/Makefile:CONFIG_CLEAN_FILES = gpgkeys_mailto gpgkeys_test
So I looked at the configure script ... it was obvious for me:
It defines GPGKEYS_MAILTO for when it has a mail transport program.
-checking for sendmail... no
+checking for sendmail... /usr/sbin/sendmail
So I added:
CONFIGURE_ARGS+= --with-mailprog=/usr/sbin/sendmail
And then:
checking for a mail transport program... /usr/sbin/sendmail
(It does not really check.)
And then:
$ grep MAILTO work.puget/gnupg-1.2.4/Makefile
GPGKEYS_MAILTO = gpgkeys_mailto
We don't have any package to say this is a "sendmail".
And, yes, I don't currently have a /usr/sbin/sendmail installed. (Maybe if
I installed mailwrapper first, I wouldn't have seen this.)
Anyways, the package should build consistently.
Can I commit this line?
CONFIGURE_ARGS+= --with-mailprog=/usr/sbin/sendmail
It seems fine for Linux and NetBSD.
It seems like I read another discussion that was assume
/usr/sbin/sendmail (versus /usr/lib/sendmail) anyways with pkgsrc.
> > By the way, I am now building it with USE_BUILDLINK3.
>
> I converted the package to use bl3.
Thanks.
Jeremy C. Reed
http://bsd.reedmedia.net/