summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2019-09-26 10:16:23 +0000
committerwiz <wiz@pkgsrc.org>2019-09-26 10:16:23 +0000
commitbbd4ba57ab40687d97179554394eb761f8c2cba6 (patch)
treedf37c431b3e6a5a46e9e3c48cd928d814872e401 /mail
parenta4d9f51feb5ba9d355b44fc6c81547a6fb579201 (diff)
downloadpkgsrc-bbd4ba57ab40687d97179554394eb761f8c2cba6.tar.gz
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.
Diffstat (limited to 'mail')
-rw-r--r--mail/libesmtp/Makefile15
-rw-r--r--mail/libesmtp/PLIST3
2 files changed, 8 insertions, 10 deletions
diff --git a/mail/libesmtp/Makefile b/mail/libesmtp/Makefile
index 8cbad0653f8..6cf92ee2378 100644
--- a/mail/libesmtp/Makefile
+++ b/mail/libesmtp/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.36 2017/09/16 12:47:45 tnn Exp $
+# $NetBSD: Makefile,v 1.37 2019/09/26 10:16:23 wiz Exp $
DISTNAME= libesmtp-1.0.6
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= mail devel
#MASTER_SITES= http://www.stafford.uklinux.net/libesmtp/
EXTRACT_SUFX= .tar.bz2
@@ -9,6 +9,7 @@ EXTRACT_SUFX= .tar.bz2
MAINTAINER= dolemite@wuli.nu
#HOMEPAGE= http://www.stafford.uklinux.net/libesmtp/
COMMENT= Library to manage posting of electronic mail
+LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
USE_TOOLS+= gmake
USE_LIBTOOL= yes
@@ -16,19 +17,17 @@ GNU_CONFIGURE= yes
USE_OLD_DES_API= yes
CONFIGURE_ARGS+= --enable-all
+CONFIGURE_ARGS+= --disable-ntlm
CONFIGURE_ARGS+= --disable-isoc
+CPPFLAGS+= -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1
+
.include "../../mk/bsd.prefs.mk"
-.if !empty(MACHINE_PLATFORM:MIRIX-5*)
+.if !empty(MACHINE_PLATFORM:MIRIX-5.*)
CONFIGURE_ARGS+= --enable-emulate-getaddrinfo
.endif
-.if !empty(MACHINE_PLATFORM:M*)
-# assume all platforms have working snprintf these days.
-CPPFLAGS+= -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1
-.endif
-
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/libesmtp/PLIST b/mail/libesmtp/PLIST
index 57488756cf0..4f4fa62597e 100644
--- a/mail/libesmtp/PLIST
+++ b/mail/libesmtp/PLIST
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.6 2009/06/14 18:04:36 joerg Exp $
+@comment $NetBSD: PLIST,v 1.7 2019/09/26 10:16:23 wiz Exp $
bin/libesmtp-config
include/auth-client.h
include/auth-plugin.h
include/libesmtp.h
lib/esmtp-plugins/sasl-cram-md5.la
lib/esmtp-plugins/sasl-login.la
-lib/esmtp-plugins/sasl-ntlm.la
lib/esmtp-plugins/sasl-plain.la
lib/libesmtp.la