summaryrefslogtreecommitdiff
path: root/mail/msmtp
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2005-04-10 13:14:44 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2005-04-10 13:14:44 +0000
commit76eb70eb7f14068774cba02e12c261d3d413ca4e (patch)
tree10db0973e6b0349577df2cf2e09ed26b37406bd1 /mail/msmtp
parentqmqtool is a qmail queue manipulation program geared towards the (diff)
Update to 1.4.0 (new stable version).
Notes
Notes: svn path=/head/; revision=132876
Diffstat (limited to 'mail/msmtp')
-rw-r--r--mail/msmtp/Makefile19
-rw-r--r--mail/msmtp/distinfo4
-rw-r--r--mail/msmtp/files/patch-src_net.h11
3 files changed, 23 insertions, 11 deletions
diff --git a/mail/msmtp/Makefile b/mail/msmtp/Makefile
index ccf9a47334b7..1f0c93adde0b 100644
--- a/mail/msmtp/Makefile
+++ b/mail/msmtp/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= msmtp
-PORTVERSION= 1.2.4
+PORTVERSION= 1.4.0
CATEGORIES= mail ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= msmtp
@@ -14,6 +14,7 @@ MASTER_SITE_SUBDIR= msmtp
MAINTAINER= novel@FreeBSD.org
COMMENT= SMTP plugin for MUAs
+USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GETOPT_LONG=yes
CPPFLAGS+= -I${LOCALBASE}/include
@@ -23,22 +24,22 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= msmtp.1
PLIST_FILES= bin/msmtp
-CONFLICTS= msmtp-devel-*
-
-.if !defined(WITH_OPENSSL)
-WITH_GNUTLS= yes
+# XXX we need gnutls >= 1.2.0 which is not avaible via ports tree
+.if defined(WITH_GNUTLS)
+.undef WITH_GNUTLS
.endif
.if defined(WITH_GNUTLS)
LIB_DEPENDS+= gnutls.12:${PORTSDIR}/security/gnutls
-.endif
-
-.if defined(WITH_OPENSSL)
+CONFIGURE_ARGS+= --with-ssl=gnutls
+.elif defined (WITH_OPENSSL)
USE_OPENSSL= yes
CONFIGURE_ARGS+= --with-ssl=openssl
+.else
+CONFIGURE_ARGS+= --disable-ssl
.endif
-.if defined(WITH_GNU_SASL)
+.if defined(WITH_GSASL)
LIB_DEPENDS+= gsasl.9:${PORTSDIR}/security/gsasl
.else
CONFIGURE_ARGS+= --disable-gsasl
diff --git a/mail/msmtp/distinfo b/mail/msmtp/distinfo
index d4bf4342c18b..fb5e3590ad73 100644
--- a/mail/msmtp/distinfo
+++ b/mail/msmtp/distinfo
@@ -1,2 +1,2 @@
-MD5 (msmtp-1.2.4.tar.gz) = 160567ff76a43a283071fbc15aeeb359
-SIZE (msmtp-1.2.4.tar.gz) = 159416
+MD5 (msmtp-1.4.0.tar.bz2) = 07af3a34f61cb533ab45d35e3c7163fd
+SIZE (msmtp-1.4.0.tar.bz2) = 404850
diff --git a/mail/msmtp/files/patch-src_net.h b/mail/msmtp/files/patch-src_net.h
new file mode 100644
index 000000000000..9c04381fc97c
--- /dev/null
+++ b/mail/msmtp/files/patch-src_net.h
@@ -0,0 +1,11 @@
+--- src/net.h.orig Sun Apr 10 17:00:50 2005
++++ src/net.h Sun Apr 10 17:01:02 2005
+@@ -26,7 +26,7 @@
+
+ #ifndef NET_H
+ #define NET_H
+-
++#include <unistd.h>
+
+ /* All 'errstr' arguments must point to buffers that are at least
+ * 'errstr_bufsize' characters long.