Subject: pkg/32057: mail/msmtp: Use pkginstall framework
To: None <,,>
From: None <>
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
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
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/"
  be added (it uses getopt)?

By the way, what purpose does the inet6 option in have?  This
confuses me a bit.

A small patch can be found here: