Sun Jul 4 14:37:14 2010 UTC ()
Update to 4.1.0. From the changelog:

Changed the option "hostname-file" to read /var/qmail/control/me by default.
Added the option "dns-resolv-conf" to read the nameserver from a file other
  than /etc/resolv.conf if necessary.  Multiple files can be read, if needed.
Changed all uses of strncpy() to memcpy() because strncpy() will fill the
  remainder of the destination buffer with zeroes if the source string is
  too short.  This is not needed because all strings are being explicitly
  terminated after copies anyway.
Added two new parameters to search_file() to allow the matching line data to
  be returned to the caller.
Changed process_access() to save the contents of the RELAYCLIENT environment
  variable, if set.
Added the timefilter program to the utils folder.
Reversed a small change to spamdyke_log() made 4.0.8 that will prevent buffer
  overflows in obscure situations.
Changed is_ip_in_name() to look for more patterns of IP addresses in rDNS
  names: 044.033.022.011, 44.033.022.011, 44.33.022.011 and 44.33.22.011.
  Thanks to Eduard Svarc for suggesting this one.
Changed the syslog output to include an "encryption:" tag at the end that
  shows the current status of TLS/SSL encryption.  Thanks to Eric Shubert for
  suggesting this one.
Added a "-R" option to smtpdummy so it will reject all recipients.
Completely rewrote find_address() to completely conform to RFC 2822 when
  parsing addresses, including quoting, comments, folded whitespace and
  all the rest.
Added the option "reject-identical-sender-recipient" to block any messages
  where the sender and recipient are the same.  Thanks to almost everyone
  on the mailing list for suggesting this one.
Changed nihdns_mx() to tolerate MX records that contain IP addresses (illegal)
  instead of names.
Fixed Makefile.in to use the CPPFLAGS variable from the "configure" script, if
  the user provided it in an environment variable.  Thanks to Iavor Stoev for
  reporting this one.
Fixed the "configure" script to correctly include header files on FreeBSD 7.0.
  Thanks to Andrew Khon for reporting this one.
Added a "-S" flag to sendrecv to prevent it from starting a TLS session when
  it sees "STARTTLS".
Improved sendrecv's usage display to document what each option does.
Changed do_spamdyke() to set the stdin and stdout file descriptors to
  nonblocking before calling middleman().  This works around a bug in the SSL
  library that will block forever waiting for input, even after SSL_pending()
  and/or select() has already indicated the socket is ready.  Thanks to
  Teodor Milkov for identifying this problem more than a year ago and trog for
  producing a patch to fix it!
Fixed process_config_file() to reject configuration file lines with
  bad/missing characters.
Fixed process_config_file() to print an "unknown option" error message instead
  of an "illegal option" message when an unknown option is found in a
  configuration file.
Added option "rejection-text-identical-sender-recipient" to set the rejection
  message for the identical sender/recipient filter.
Created dnsdummy to simulate a nameserver but exit after a short while for
  testing spamdyke's DNS routines.
Converted all DNS-related tests to use dnsdummy and removed all references to
  spamdyke.org and silence.org.  This will also allow the removal of the
  (hundreds of) bogus entries from the spamdyke.org zone file.
Removed the use of getprotobyname() from dns.c and used the defined protocol
  values in netinet/in.h.
Changed nihdns_query() to retry DNS queries via TCP if the response received
  via UDP has the "truncation" flag set (indicating the answers are too large
  for a UDP packet).  Thanks to Roland Moelle for suggesting this one.
Added option "dns-tcp" to control if spamdyke will retry DNS queries via TCP.
Added option "dns-spoof" to control if spamdyke will attempt to detect DNS
  spoofing and, if so, what it should do about it.
Fixed smtp_filter() to offer and accept SMTP AUTH (when appropriate) even if
  the connection is already whitelisted.  Thanks to Ratko Rudic for
  reporting this one.


(schmonz)
diff -r1.23 -r1.24 pkgsrc/mail/spamdyke/Makefile
diff -r1.23 -r1.24 pkgsrc/mail/spamdyke/distinfo
diff -r1.6 -r1.7 pkgsrc/mail/spamdyke/PLIST

cvs diff -r1.23 -r1.24 pkgsrc/mail/spamdyke/Makefile (expand / switch to unified diff)

--- pkgsrc/mail/spamdyke/Makefile 2008/12/25 16:43:35 1.23
+++ pkgsrc/mail/spamdyke/Makefile 2010/07/04 14:37:13 1.24
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.23 2008/12/25 16:43:35 schmonz Exp $ 1# $NetBSD: Makefile,v 1.24 2010/07/04 14:37:13 schmonz Exp $
2# 2#
3 3
4DISTNAME= spamdyke-4.0.10 4DISTNAME= spamdyke-4.1.0
5CATEGORIES= mail 5CATEGORIES= mail
6MASTER_SITES= ${HOMEPAGE}releases/ 6MASTER_SITES= ${HOMEPAGE}releases/
7EXTRACT_SUFX= .tgz 7EXTRACT_SUFX= .tgz
8 8
9MAINTAINER= schmonz@NetBSD.org 9MAINTAINER= schmonz@NetBSD.org
10HOMEPAGE= http://www.spamdyke.org/ 10HOMEPAGE= http://www.spamdyke.org/
11COMMENT= Monitors and intercept incoming SMTP connections to qmail 11COMMENT= Monitors and intercept incoming SMTP connections to qmail
12 12
13PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
14 14
15WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}/${PKGBASE} 15WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}/${PKGBASE}
16 16
17GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes

cvs diff -r1.23 -r1.24 pkgsrc/mail/spamdyke/distinfo (expand / switch to unified diff)

--- pkgsrc/mail/spamdyke/distinfo 2008/12/25 16:43:35 1.23
+++ pkgsrc/mail/spamdyke/distinfo 2010/07/04 14:37:13 1.24
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.23 2008/12/25 16:43:35 schmonz Exp $ 1$NetBSD: distinfo,v 1.24 2010/07/04 14:37:13 schmonz Exp $
2 2
3SHA1 (spamdyke-4.0.10.tgz) = 69a94678a78ab845030177fa2916438b0ee98d9e 3SHA1 (spamdyke-4.1.0.tgz) = bdf9c1759c367edff6f872368185fa6fa1a78166
4RMD160 (spamdyke-4.0.10.tgz) = 2f31c939c949038265039c10704dfed3cea68802 4RMD160 (spamdyke-4.1.0.tgz) = f4e9430ba9e6d3b1cb061ebebf9fda78880a8a7b
5Size (spamdyke-4.0.10.tgz) = 454117 bytes 5Size (spamdyke-4.1.0.tgz) = 490106 bytes
6SHA1 (patch-aa) = 1eeea810a457a9560258c761d828987a440c7f29 6SHA1 (patch-aa) = 1eeea810a457a9560258c761d828987a440c7f29

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

--- pkgsrc/mail/spamdyke/PLIST 2009/06/14 18:04:43 1.6
+++ pkgsrc/mail/spamdyke/PLIST 2010/07/04 14:37:13 1.7
@@ -1,14 +1,13 @@ @@ -1,14 +1,13 @@
1@comment $NetBSD: PLIST,v 1.6 2009/06/14 18:04:43 joerg Exp $ 1@comment $NetBSD: PLIST,v 1.7 2010/07/04 14:37:13 schmonz Exp $
2bin/spamdyke 2bin/spamdyke
3share/doc/spamdyke/Changelog.txt 3share/doc/spamdyke/Changelog.txt
4share/doc/spamdyke/FAQ.html 4share/doc/spamdyke/FAQ.html
5share/doc/spamdyke/GNUGPL.txt 5share/doc/spamdyke/GNUGPL.txt
6share/doc/spamdyke/INSTALL.txt 6share/doc/spamdyke/INSTALL.txt
7share/doc/spamdyke/README.html 7share/doc/spamdyke/README.html
8share/doc/spamdyke/README_ip_file_format.html 8share/doc/spamdyke/README_ip_file_format.html
9share/doc/spamdyke/README_rdns_directory_format.html 9share/doc/spamdyke/README_rdns_directory_format.html
10share/doc/spamdyke/README_rdns_file_format.html 10share/doc/spamdyke/README_rdns_file_format.html
11share/doc/spamdyke/TODO.txt 
12share/doc/spamdyke/UPGRADING.txt 11share/doc/spamdyke/UPGRADING.txt
13share/doc/spamdyke/UPGRADING_version_3_to_version_4.txt 12share/doc/spamdyke/UPGRADING_version_3_to_version_4.txt
14share/examples/spamdyke/spamdyke.conf.example 13share/examples/spamdyke/spamdyke.conf.example