summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoradam <adam>2012-06-09 11:45:38 +0000
committeradam <adam>2012-06-09 11:45:38 +0000
commitc90cd5afb9875dbbf388e0aa7d1ec9ca20ef9375 (patch)
tree8c32f493ed8d0cbbf18158ced837e09e67518736 /net
parentad00d9d27371371531b0c996d3602bcf15878ee6 (diff)
downloadpkgsrc-c90cd5afb9875dbbf388e0aa7d1ec9ca20ef9375.tar.gz
Changes 0.68.1:
* rfc2045mkboundary.c was broken in 0.68 Changes 0.68: * rfc2045/rfc2045mkboundary.c (rfc2045_mk_boundary): truncate the hostname portion of the boundary to 30 chars. * courier/doc/courier.sgml: Remove descriptions of some configuration files that were moved to the courier-authlib package a while ago. They don't belong here any more. * courier/submit.C: Use the authenticated address, instead of the return address, for domain-based virtual configuration. * courier/libs/cfilename.c (config_has_vhost): Checks whether vhost.[ip] exists. * courier/module.esmtp/courieresmtpd.c (main): Only set a message's virtual host if vhost.[ip] exists. * courier/module.esmtp/esmtpclient.c (get_sourceaddr): Make sure the input buffer is null-terminated. * courier/submit.C (getrcpts): If there's no vhost setting from the sender's IP address (this includes local mail!) if vhost.domain exists, use [domain] as the virtual host. * Remove config_search(), which simply called config_localfilename(). Change all current callers to call config_localfilename(). * courier/libs/cfilename.c (config_set_local_vhost): saves a string that gets appended as a suffix, by config_localfilename(), and if that filename exists, that's returned as the filename, otherwise it's the original string without the suffix. config_get_local_vhost() returns the suffix string. to config_set_local_vhost(). * courier/libs/comsubmitclient.c (submit_fork): If config_get_local_vhost(), add a -vhost parameter to submit(). * courier/submit.C (cppmain): -vhost sets config_set_local_vhost(). * courier/submit2.C (closectl): New COMCTLFILE_VHOST parameter in the config file, taken from the vhost setting. * courier/libs/comctlfile.c (ctlfile_setvhost): If COMCTLFILE_VHOST is set, call ctlfile_setvhost(), return an indication if the vhost has changed. Absence of a COMCTLFILE_VHOST treated as a discrete "(null)" setting. * courier/module.esmtp/esmtpclient.c (esmtpchild): If ctlfile_setvhost() then disconnect the current socket, if one is open. * courier/module.esmtp/esmtpclient.c (get_sourceaddr): The IP address specified in ipout or ip6out overrides SOURCE_ADDRESS and SOURCE_ADDRESS_IPV6 environment variable. * courier/module.local/localmail.c (main): Call ctlfile_setvhost(). * courier/module.uucp/uucp.c (uux): Call ctlfile_setvhost(). * courier/module.dsn/dsn.c (main): Call ctlfile_setvhost(). * liblock/mail.c (dotlock_exists): Quell a compiler warning. * courier/courierd.dist.in SOURCE_ADDRESS: Add a note that this setting is deprecated.
Diffstat (limited to 'net')
-rw-r--r--net/couriertcpd/Makefile10
-rw-r--r--net/couriertcpd/distinfo8
2 files changed, 9 insertions, 9 deletions
diff --git a/net/couriertcpd/Makefile b/net/couriertcpd/Makefile
index 51f2330b526..45f3c7333be 100644
--- a/net/couriertcpd/Makefile
+++ b/net/couriertcpd/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2012/03/03 00:14:27 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2012/06/09 11:45:39 adam Exp $
DISTNAME= courier-${COURIER_VERSION}
PKGNAME= ${DISTNAME:S/-/tcpd-/}
-PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/}
EXTRACT_SUFX= .tar.bz2
@@ -33,11 +32,12 @@ WRKSRC_FILES= courier/courier.c config.guess config.sub \
configure depcomp install-sh ltmain.sh missing \
sysconftool
WRKSRC_FILES+= Makefile.in courier.spec.in courier.lpspec.in \
- dbobj.h.in dbobj.config.in courier.sysvinit.in
+ dbobj.h.in dbobj.config.in courier.service.in \
+ courier.sysvinit.in
# These are subdirectories containing libraries used by couriertcpd.
-WRKSRC_SUBDIRS= bdbobj numlib soxwrap md5 random128 rfc1035 \
- liblock waitlib tcpd
+WRKSRC_SUBDIRS= bdbobj numlib soxwrap md5 random128 unicode \
+ rfc822 rfc1035 liblock waitlib tcpd
EXTRACT_ELEMENTS= ${WRKSRC_FILES:S/^/${DISTNAME}\//}
EXTRACT_ELEMENTS+= ${WRKSRC_SUBDIRS:S/^/${DISTNAME}\//}
diff --git a/net/couriertcpd/distinfo b/net/couriertcpd/distinfo
index 90d4edf6d95..0b36c67c93e 100644
--- a/net/couriertcpd/distinfo
+++ b/net/couriertcpd/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2010/11/10 10:40:15 adam Exp $
+$NetBSD: distinfo,v 1.12 2012/06/09 11:45:39 adam Exp $
-SHA1 (courier-0.65.2.tar.bz2) = 784893216ea6c43c91606fa550cfdff13060855d
-RMD160 (courier-0.65.2.tar.bz2) = 6a81f74c85f9e78e6514f840598dde634fe070ce
-Size (courier-0.65.2.tar.bz2) = 7152680 bytes
+SHA1 (courier-0.68.1.tar.bz2) = fbd7cd0bc88876dc12d02b9404cea95877805ebe
+RMD160 (courier-0.68.1.tar.bz2) = 3f062aae0d34a71055a5ff5ad172ca191ab3f0e4
+Size (courier-0.68.1.tar.bz2) = 7024234 bytes