summaryrefslogtreecommitdiff
path: root/mail/ssmtp/Makefile
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-10-22 14:45:47 +0000
committertv <tv@pkgsrc.org>2004-10-22 14:45:47 +0000
commitff43024122e09ce1ac0fc6a647bded0b2a09e213 (patch)
tree6174709ad0465345fd9abf55247c60010ab33035 /mail/ssmtp/Makefile
parent09b4166252932ce024d7fc388566a64d07b914e4 (diff)
downloadpkgsrc-ff43024122e09ce1ac0fc6a647bded0b2a09e213.tar.gz
Update to 2.61, and obey USE_INET6. Change highlights:
* Fixed two format string vulnerabilities (die() and log_event()) (Closes: #243945) * Segfaults when trying to send mail with authenticated smtp (Closes: #261975) * Make address rewriting possible to disable (Closes: #146238) * Add AuthUser, AuthPass, AuthMethod to configuration file (Closes: #249905) * Logic to choose cram-md5 authentication is backwards (Closes: #249907) * SSMTP builds with MD5 support but during the exchange it segfaults (Closes: #249203) * The source compilaton fails if ./configure --enable-logfile is selected (Closes: #242905) * SSL/TLS support cannot handle STARTTLS (Closes: #244666) * Creates bad date headers on some systems (Closes: #230864) * Fix 'MAIL FROM' problems with cron and the like setting bad 'From:' address when FromLineOverride=YES is set (Closes: #205513) * Update version string in ssmtp.c (Closes: #198763) * Work around missing spaces in headers (Closes: #192445)
Diffstat (limited to 'mail/ssmtp/Makefile')
-rw-r--r--mail/ssmtp/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/mail/ssmtp/Makefile b/mail/ssmtp/Makefile
index d47d4c84800..740562b7c74 100644
--- a/mail/ssmtp/Makefile
+++ b/mail/ssmtp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/10/03 00:12:54 tv Exp $
+# $NetBSD: Makefile,v 1.11 2004/10/22 14:45:47 tv Exp $
# FreeBSD Id: ports/mail/ssmtp/Makefile,v 1.10 2003/04/14 08:41:04 leeym Exp
#
# TLS functionality needs testing. Please let me know the result,
@@ -7,9 +7,8 @@
# pkg@pop.707.to
# Toru TAKAMIZU
-DISTNAME= ssmtp_2.60.3
-PKGNAME= ssmtp-2.60.3
-PKGREVISION= 3
+DISTNAME= ssmtp_2.61.orig
+PKGNAME= ssmtp-2.61
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/s/ssmtp/}
@@ -17,13 +16,18 @@ MAINTAINER= pkg@pop.707.to
HOMEPAGE= http://packages.debian.org/testing/mail/ssmtp.html
COMMENT= Extremely simple MTA to forward mail to a mail hub
-WRKSRC= ${WRKDIR}/${PKGBASE}-${PKGVERSION:C/([0-9]+.[0-9]+)(.[0-9]+)(nb[0-9]+)?$/\1/}
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:S/.orig$//}
USE_BUILDLINK3= YES
USE_PKGINSTALL= YES
USE_GNU_TOOLS+= make
GNU_CONFIGURE= YES
-CONFIGURE_ARGS+= --enable-ssl --enable-inet6
+CONFIGURE_ARGS+= --enable-ssl
+
+.include "../../mk/bsd.prefs.mk"
+.if !empty(USE_INET6:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+= --enable-inet6
+.endif
PKG_SYSCONFSUBDIR= ${PKGBASE}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}