Subject: pkg/32057: mail/msmtp: Use pkginstall framework
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <lems@gmx.net>
List: pkgsrc-bugs
Date: 11/12/2005 17:35:00
>Number:         32057
>Category:       pkg
>Synopsis:       mail/msmtp: Use pkginstall framework
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 12 17:35:00 +0000 2005
>Originator:     Leonard Schmidt
>Release:        2.1.0_STABLE
>Organization:
>Environment:
NetBSD kafka 2.1.0_STABLE NetBSD 2.1.0_STABLE (GENERIC_APM) #0: Sat Oct 29 13:01:20 GMT 2005  lems@kafka:/usr/src/sys/arch/i386/compile/GENERIC_APM i386
>Description:
I think there is some stuff missing in mail/msmtp/Makefile:

- USE_TOOLS+=pkg-config has to be added.

- I also let the pkginstall framework copy over the msmtprc-user.example
  to ${PKG_SYSCONFDIR}/msmtprc (I chose the user configuration file since
  most people will use msmtp like that) because this is one of the
  locations msmtp looks for configuration files.

- No sure on this one: should "../../devel/libgetopt/buildlink3.mk"
  be added (it uses getopt)?

By the way, what purpose does the inet6 option in options.mk have?  This
confuses me a bit.
>How-To-Repeat:

>Fix:
A small patch can be found here:
http://rootshell.be/~lems/pkgsrc/msmtp-cleanup.diff