Thu Sep 26 10:16:23 2019 UTC ()
libesmtp: update to 1.0.6nb4.

Disable ntlm plugin. It is not built by default on NetBSD 9.0.
I read the configure output and script and couldn't determine
the problem. This makes the build succeed again, and someone
who is more interested in ntlm support can fix it.

For perspective, last update in 2010 and no upstream available.

Some pkglint cleanup while here.


(wiz)
diff -r1.36 -r1.37 pkgsrc/mail/libesmtp/Makefile
diff -r1.6 -r1.7 pkgsrc/mail/libesmtp/PLIST

cvs diff -r1.36 -r1.37 pkgsrc/mail/libesmtp/Makefile (expand / switch to unified diff)

--- pkgsrc/mail/libesmtp/Makefile 2017/09/16 12:47:45 1.36
+++ pkgsrc/mail/libesmtp/Makefile 2019/09/26 10:16:23 1.37
@@ -1,34 +1,33 @@ @@ -1,34 +1,33 @@
1# $NetBSD: Makefile,v 1.36 2017/09/16 12:47:45 tnn Exp $ 1# $NetBSD: Makefile,v 1.37 2019/09/26 10:16:23 wiz Exp $
2 2
3DISTNAME= libesmtp-1.0.6 3DISTNAME= libesmtp-1.0.6
4PKGREVISION= 3 4PKGREVISION= 4
5CATEGORIES= mail devel 5CATEGORIES= mail devel
6#MASTER_SITES= http://www.stafford.uklinux.net/libesmtp/ 6#MASTER_SITES= http://www.stafford.uklinux.net/libesmtp/
7EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= dolemite@wuli.nu 9MAINTAINER= dolemite@wuli.nu
10#HOMEPAGE= http://www.stafford.uklinux.net/libesmtp/ 10#HOMEPAGE= http://www.stafford.uklinux.net/libesmtp/
11COMMENT= Library to manage posting of electronic mail 11COMMENT= Library to manage posting of electronic mail
 12LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
12 13
13USE_TOOLS+= gmake 14USE_TOOLS+= gmake
14USE_LIBTOOL= yes 15USE_LIBTOOL= yes
15GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
16 17
17USE_OLD_DES_API= yes 18USE_OLD_DES_API= yes
18CONFIGURE_ARGS+= --enable-all 19CONFIGURE_ARGS+= --enable-all
 20CONFIGURE_ARGS+= --disable-ntlm
19CONFIGURE_ARGS+= --disable-isoc 21CONFIGURE_ARGS+= --disable-isoc
20 22
 23CPPFLAGS+= -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1
 24
21.include "../../mk/bsd.prefs.mk" 25.include "../../mk/bsd.prefs.mk"
22 26
23.if !empty(MACHINE_PLATFORM:MIRIX-5*) 27.if !empty(MACHINE_PLATFORM:MIRIX-5.*)
24CONFIGURE_ARGS+= --enable-emulate-getaddrinfo 28CONFIGURE_ARGS+= --enable-emulate-getaddrinfo
25.endif 29.endif
26 30
27.if !empty(MACHINE_PLATFORM:M*) 
28# assume all platforms have working snprintf these days. 
29CPPFLAGS+= -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 
30.endif 
31 
32.include "../../security/openssl/buildlink3.mk" 31.include "../../security/openssl/buildlink3.mk"
33.include "../../mk/pthread.buildlink3.mk" 32.include "../../mk/pthread.buildlink3.mk"
34.include "../../mk/bsd.pkg.mk" 33.include "../../mk/bsd.pkg.mk"

cvs diff -r1.6 -r1.7 pkgsrc/mail/libesmtp/PLIST (expand / switch to unified diff)

--- pkgsrc/mail/libesmtp/PLIST 2009/06/14 18:04:36 1.6
+++ pkgsrc/mail/libesmtp/PLIST 2019/09/26 10:16:23 1.7
@@ -1,10 +1,9 @@ @@ -1,10 +1,9 @@
1@comment $NetBSD: PLIST,v 1.6 2009/06/14 18:04:36 joerg Exp $ 1@comment $NetBSD: PLIST,v 1.7 2019/09/26 10:16:23 wiz Exp $
2bin/libesmtp-config 2bin/libesmtp-config
3include/auth-client.h 3include/auth-client.h
4include/auth-plugin.h 4include/auth-plugin.h
5include/libesmtp.h 5include/libesmtp.h
6lib/esmtp-plugins/sasl-cram-md5.la 6lib/esmtp-plugins/sasl-cram-md5.la
7lib/esmtp-plugins/sasl-login.la 7lib/esmtp-plugins/sasl-login.la
8lib/esmtp-plugins/sasl-ntlm.la 
9lib/esmtp-plugins/sasl-plain.la 8lib/esmtp-plugins/sasl-plain.la
10lib/libesmtp.la 9lib/libesmtp.la