summaryrefslogtreecommitdiff
path: root/mail/opendkim
diff options
context:
space:
mode:
authorpettai <pettai>2011-02-21 00:04:21 +0000
committerpettai <pettai>2011-02-21 00:04:21 +0000
commita98880077c733419f2eb3e57c059003625295cb5 (patch)
tree2f92eca3c1a28fb799a1aececbfb070f818a592b /mail/opendkim
parent5928286bbbc97f7640f86f93e14d23ad8cb8dd5e (diff)
downloadpkgsrc-a98880077c733419f2eb3e57c059003625295cb5.tar.gz
2.2.2 2010/11/28
Fix bug #SF2903325: Clean up numerous signed vs. unsigned warnings. Fix bug #SF3095782: When VBR is enabled, only perform a query when the "md" domain in the VBR-Info header field matches the "d" field for any valid signature. Fix bug #SF3105993: Better handling of missing records in Lua DB lookups. When reading keys, ensure what's being read is a regular file and not something else. Complain if TrustAnchorFile names something that can't be opened for reading. LIBOPENDKIM: Don't complain about multiple records returned if one of them was an RRSIG. LIBAR: Rework some I/O logic to avoid a deadlock when the nameserver becomes unresponsive during response processing. BUILD: Move all scripts and executables except opendkim to a bin directory for adminstrator convenience. They were previously in the sbin directory. BUILD: Fix bug #SF3101842: Fix opendkim-genzone build when OpenDBX is in use. BUILD: opendkim-testkey can require SASL build information when used with OpenLDAP, or Lua information when built with Lua. BUILD: Dissociate libopendkim and libunbound, as this is now handled through the application rather than the library. BUILD: Convert to using git for source code management. STATS: Additional reporting improvements. STATS: Fix bug #SF3107659: Add additional diagnostic output to opendkim-importstats when malformed input is found. TOOLS: Handle input generated with and without the _FFR_STATS_I extensions. 2.2.1 2010/10/25 Avoid assertion failures when using "-V" and arlib. Fix "refile" loading. Fix collision between "ReputationRoot" and "StatisticsName" in the configuration file. Convert sender's domain name to lowercase prior to doing any database queries with it. This was done before, but lost during the database overhaul in 1.2.0. Fix up Authentication-Results header field generation for VBR. Reported by Fredrik Pettai. Add _FFR_STATS_I enabling statistics reporting of "i=" signature properties. LIBOPENDKIM: Fix bug #SF3081964: dkim.h requires <sys/time.h>. LIBOPENDKIM: Fix bug #SF3087251: Use thread-safe resolver functions when avaialble. LIBOPENDKIM: Cancel completed reputation queries. LIBOPENDKIM: Simplify DKIM_OPTS_ALWAYSHDRS handling. LIBAR: Fix bug #SF3080720: Don't compute timeouts based on completed or dead queries. LIBVBR: Fix some pointer errors causing false negatives. TOOLS: Write "v=" tags in key records output by opendkim-genzone. 2.2.0 2010/10/03 Feature request #SF2874043: Add _FFR_ADSP_LISTS allowing control over action taken when mail is sent to known lists from ADSP "discardable" sources. Feature request #SF2964366: Allow arbitrary data set operations from inside Lua script hooks. Feature request #SF2981598: Add "NoHeaderB" and "SingleAuthResult" settings so that only one Authentication-Results header field is added, and reduce its variability. Feature request #SF3013084: Add "DomainKeysCompat" setting. Feature request #SF3017358: Allow a token in the KeyTable that gets replaced with the sender's domain name. Feature request #SF3019876: Enable registration and use of generic DNS functions. Feature request #SF3021566: Change "ADSPDiscard" to "ADSPAction", allowing selection of what action to take when a message is determined by ADSP to be "discardable". Feature request #SF3023232: Allow selection of a signer (for the signature's "i=" tag) when calling odkim.sign() or via an optional second parameter in the SigningTable. Feature request #SF3024854: Always log a warning if a key file has unsafe group/other read/write bits set. Further, if the new "RequireSafeKeys" setting is true, refuse to use the data. Feature request #SF3030548: Add _FFR_DEFAULT_SENDER, adding the "DefaultSender" setting. Feature request #SF3049483: Use ReportAddress for ADSP Reports and for the sender envelope address. Feature request #SF3056571: Extend signer selection in the SigningTable to include a token that will be replaced by the From: domain. Feature request #SF3062077: Allow the specification of additional recipients when delivering DKIM/ADSP failure reports through a new ReportBccAddress configuration option. Fix bug #SF3004995: Don't apply "SenderHeaders" to the library as that impacts how ADSP works. Fix bug #SF3025856: Fix "AllowSHA1Only", which was not working at all. Fix bug #SF3037504: Rework database schema and tools to meet revised reporting requirements. Fix bug #SF3051536: Allow disabling of reputation queries. Fix bug #SF3058204: Fix numerous possible double-free() incidents in dkimf_config_free(). Fix PeerList to work with IPv6 addresses. Fix loop boundary check in dkimf_db_close(). Fix assertion failure in dkimf_db_get() when used with a "match both" operation. Fix "LocalADSP", which was not working at all. Fix some Lua test mode logic and a build issue that prevented "ScreenPolicyScript" from working. Added MTACommand for overriding default (mainly for testing). Ignore "Domain" and "Selector" settings if "KeyTable" is set. Add "On-PolicyError" to configuration tables. Don't automatically temp-fail messages bearing signatures that reference revoked keys. Some fixes to the "final" Lua script self-test code. Include libmilter version in "-V" output. Single-thread DB queries done via OpenDBX handles as they can't be used to do parallel queries. Attempt to reconnect after SQL disconnections. Revise text/plain portion of policy reports. Fix up DSN parsing so that it is not needlessly restrictive. Add _FFR_STATSEXT: Allows arbitrary local extensions to statistics gathering via a fourth Lua script that can cause the generation of additional SQL insertion operations. LIBOPENDKIM: Feature request #SF3026287: Add dkim_getuser() function. LIBOPENDKIM: Feature request #SF3065035: Apply library query configuration to ADSP lookups as well, mainly to support auotmated testing. LIBOPENDKIM: Fix bug #SF3071368: Fix tiny memory leak in dkim_init(). LIBOPENDKIM: Fix bug #SF3051762: Don't error out of dkim_get_key() when in test mode by testing signature-specific features when against dummy data. LIBOPENDKIM: Don't build against pthread libraries if not needed. LIBOPENDKIM: Add dkim_get_signer(), dkim_policy_state_new() and dkim_policy_state_free(). LIBOPENDKIM: Don't assert a "g=" default when processing keys so that statistics reporting can tell whether or not it was originally there. LIBOPENDKIM: Minor fix to internal state machine when dealing with unsigned messages. LIBOPENDKIM: Rename DKIM_PRESULT_AUTHOR to DKIM_PRESULT_FOUND. LIBOPENDKIM: Improved error reporting from dkim_ohdrs(). LIBOPENDKIM: Improved re-entrancy of dkim_eoh_verify(). LIBOPENDKIM: Undefine DKIM_FEATURE_ASYNC_DNS (obsolete). MILTERTEST: Feature request #SF3005002: Enable testing of "unspecified" protocol family connections. MILTERTEST: Add "-u" option to report resource usage statistics on completion. MILTERTEST: Add mt.signal() to allow signaling of filters for things like configuration file reloads. MILTERTEST: Enhance mt.connect() to accept optional retry and interval arguments. MILTERTEST: Add "-w" option to request no waiting for the child process to exit and report status. MILTERTEST: Allow partial seconds argument to mt.sleep(). TOOLS: Feature request #SF3004335: Add support to opendkim-testkey to get configuration file values and validate an entire KeyTable. TOOLS: Update opendkim-genkeys script to support draft-ietf-marf-dkim-reporting. TOOLS: Flip logic of "-a" flag to opendkim-stats. TOOLS: Fix bug #SF3037452: Change owner/group/mode of stats database when resetting it to whatever the replaced file had. CONTRIB: Add opendkim-reportstats, contributed by John Wood. BUILD: Fix --with-db. Activate _FFR_ZTAGS.
Diffstat (limited to 'mail/opendkim')
-rw-r--r--mail/opendkim/Makefile4
-rw-r--r--mail/opendkim/PLIST30
-rw-r--r--mail/opendkim/distinfo10
-rw-r--r--mail/opendkim/patches/patch-aa51
4 files changed, 69 insertions, 26 deletions
diff --git a/mail/opendkim/Makefile b/mail/opendkim/Makefile
index b66854111d1..b99c6fae54d 100644
--- a/mail/opendkim/Makefile
+++ b/mail/opendkim/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2010/10/19 23:11:42 pettai Exp $
+# $NetBSD: Makefile,v 1.2 2011/02/21 00:04:21 pettai Exp $
#
-DISTNAME= opendkim-2.1.3
+DISTNAME= opendkim-2.2.2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opendkim/}
diff --git a/mail/opendkim/PLIST b/mail/opendkim/PLIST
index e1e8912de87..85d23815e58 100644
--- a/mail/opendkim/PLIST
+++ b/mail/opendkim/PLIST
@@ -1,4 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2010/10/19 23:11:42 pettai Exp $
+@comment $NetBSD: PLIST,v 1.2 2011/02/21 00:04:21 pettai Exp $
+bin/opendkim-genkey
+bin/opendkim-genzone
+bin/opendkim-testadsp
+bin/opendkim-testkey
include/opendkim/dkim.h
lib/libopendkim.la
lib/pkgconfig/opendkim.pc
@@ -6,15 +10,12 @@ man/man8/opendkim-genkey.8
man/man8/opendkim-genzone.8
man/man8/opendkim-testadsp.8
man/man8/opendkim-testkey.8
-sbin/opendkim-genkey.sh
-sbin/opendkim-genzone
-sbin/opendkim-testadsp
-sbin/opendkim-testkey
share/doc/opendkim/FEATURES
share/doc/opendkim/KNOWNBUGS
share/doc/opendkim/LICENSE
share/doc/opendkim/LICENSE.Sendmail
share/doc/opendkim/README
+share/doc/opendkim/README.opendkim-reportstats
share/doc/opendkim/RELEASE_NOTES.Sendmail
share/doc/opendkim/authheaders-check-setup-hook.lua
share/doc/opendkim/convert_keylist.sh
@@ -33,6 +34,7 @@ share/doc/opendkim/dkim_flush_cache.html
share/doc/opendkim/dkim_free.html
share/doc/opendkim/dkim_get_msgdate.html
share/doc/opendkim/dkim_get_reputation.html
+share/doc/opendkim/dkim_get_signer.html
share/doc/opendkim/dkim_get_sigsubstring.html
share/doc/opendkim/dkim_get_user_context.html
share/doc/opendkim/dkim_getcachestats.html
@@ -48,6 +50,7 @@ share/doc/opendkim/dkim_getsighdr.html
share/doc/opendkim/dkim_getsighdr_d.html
share/doc/opendkim/dkim_getsiglist.html
share/doc/opendkim/dkim_getsignature.html
+share/doc/opendkim/dkim_getuser.html
share/doc/opendkim/dkim_header.html
share/doc/opendkim/dkim_init.html
share/doc/opendkim/dkim_key_syntax.html
@@ -62,6 +65,8 @@ share/doc/opendkim/dkim_param_t.html
share/doc/opendkim/dkim_policy.html
share/doc/opendkim/dkim_policy_getdnssec.html
share/doc/opendkim/dkim_policy_getreportinfo.html
+share/doc/opendkim/dkim_policy_state_free.html
+share/doc/opendkim/dkim_policy_state_new.html
share/doc/opendkim/dkim_policy_syntax.html
share/doc/opendkim/dkim_policy_t.html
share/doc/opendkim/dkim_presult.html
@@ -78,7 +83,6 @@ share/doc/opendkim/dkim_set_signature_handle.html
share/doc/opendkim/dkim_set_signature_handle_free.html
share/doc/opendkim/dkim_set_signature_tagvalues.html
share/doc/opendkim/dkim_set_signer.html
-share/doc/opendkim/dkim_set_trust_anchor.html
share/doc/opendkim/dkim_set_user_context.html
share/doc/opendkim/dkim_setpartial.html
share/doc/opendkim/dkim_sig_getbh.html
@@ -108,11 +112,16 @@ share/doc/opendkim/dkim_sign.html
share/doc/opendkim/dkim_ssl_version.html
share/doc/opendkim/dkim_stat.html
share/doc/opendkim/dkim_verify.html
-share/doc/opendkim/draft-ietf-dkim-mailinglists-00.txt
-share/doc/opendkim/draft-ietf-marf-base-06.txt
+share/doc/opendkim/dns.html
+share/doc/opendkim/draft-ietf-dkim-implementation-report-05.txt
+share/doc/opendkim/draft-ietf-dkim-mailinglists-04.txt
share/doc/opendkim/draft-ietf-marf-dkim-reporting-00.txt
-share/doc/opendkim/draft-kucherawy-authres-header-b-04.txt
+share/doc/opendkim/draft-kucherawy-authres-vbr-00.txt
share/doc/opendkim/index.html
+share/doc/opendkim/opendkim-reportstats
+share/examples/opendkim/opendkim.conf.sample
+share/examples/opendkim/opendkim.conf.simple
+share/examples/opendkim/opendkim.conf.simple-verify
share/doc/opendkim/opendkim.init
share/doc/opendkim/opendkim.spec
share/doc/opendkim/overview.html
@@ -125,4 +134,5 @@ share/doc/opendkim/rfc5585.txt
share/doc/opendkim/rfc5617.txt
share/doc/opendkim/rfc5672.txt
share/doc/opendkim/rfc5863.txt
-share/examples/opendkim/opendkim.conf.sample
+share/doc/opendkim/rfc5965.txt
+share/doc/opendkim/rfc6008.txt
diff --git a/mail/opendkim/distinfo b/mail/opendkim/distinfo
index 0c6b0c79577..f7f1907e334 100644
--- a/mail/opendkim/distinfo
+++ b/mail/opendkim/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/10/19 23:11:42 pettai Exp $
+$NetBSD: distinfo,v 1.2 2011/02/21 00:04:21 pettai Exp $
-SHA1 (opendkim-2.1.3.tar.gz) = 81911d2a2ff15f49c039b0c90d6209e5ec7f76a3
-RMD160 (opendkim-2.1.3.tar.gz) = 09a215481eda0dee4f5248b1f1981ccf17f800f2
-Size (opendkim-2.1.3.tar.gz) = 1011019 bytes
-SHA1 (patch-aa) = 892ba5e6d7f40bf095e97d8538d63e598579f82c
+SHA1 (opendkim-2.2.2.tar.gz) = cd79dacf24ce1ba742618d7cf676f990841172ba
+RMD160 (opendkim-2.2.2.tar.gz) = 6122e160b79de039d5ae0ab5a2f8689d51c81938
+Size (opendkim-2.2.2.tar.gz) = 1098812 bytes
+SHA1 (patch-aa) = 47c743d72d2cb0eb40043a71fa87b959dd62b9d2
diff --git a/mail/opendkim/patches/patch-aa b/mail/opendkim/patches/patch-aa
index 02ceef33d9a..22838132312 100644
--- a/mail/opendkim/patches/patch-aa
+++ b/mail/opendkim/patches/patch-aa
@@ -1,13 +1,46 @@
-$NetBSD: patch-aa,v 1.1.1.1 2010/10/19 23:11:42 pettai Exp $
+$NetBSD: patch-aa,v 1.2 2011/02/21 00:04:22 pettai Exp $
---- opendkim/Makefile.in.orig 2010-10-18 11:31:04.000000000 +0000
+--- opendkim/Makefile.in.orig 2011-02-20 23:52:59.000000000 +0000
+++ opendkim/Makefile.in
-@@ -410,7 +410,7 @@ top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
+@@ -255,7 +255,7 @@ man8dir = $(mandir)/man8
+ NROFF = nroff
+ MANS = $(man_MANS)
+ am__dist_doc_DATA_DIST = opendkim.conf.sample opendkim.conf.simple \
+- opendkim.conf.simple-verify README.SQL setup.lua.sample \
++ opendkim.conf.simple-verify setup.lua.sample \
+ screen.lua.sample final.lua.sample
+ am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+ am__vpath_adj = case $$p in \
+@@ -422,6 +422,7 @@ builddir = @builddir@
+ datadir = @datadir@
+ datarootdir = @datarootdir@
+ docdir = @docdir@
++EGDIR = @EGDIR@
+ domainname = @domainname@
+ dvidir = @dvidir@
+ exec_prefix = @exec_prefix@
+@@ -462,7 +463,7 @@ top_srcdir = @top_srcdir@
@DEBUG_TRUE@AM_CFLAGS = -g
- dist_sbin_SCRIPTS = opendkim-genkey.sh
--exampledir = $(docdir)
-+exampledir = @EGDIR@
- dist_example_DATA = opendkim.conf.sample
- @BUILD_FILTER_TRUE@opendkim_SOURCES = opendkim.c opendkim.h opendkim-ar.c opendkim-ar.h opendkim-arf.c opendkim-arf.h opendkim-config.h opendkim-crypto.c opendkim-crypto.h opendkim-db.c opendkim-db.h opendkim-lua.c opendkim-lua.h config.c config.h stats.c stats.h test.c test.h util.c util.h
+ dist_bin_SCRIPTS = opendkim-genkey
+ dist_doc_DATA = opendkim.conf.sample opendkim.conf.simple \
+- opendkim.conf.simple-verify README.SQL $(am__append_51)
++ opendkim.conf.simple-verify $(am__append_51)
+ @BUILD_FILTER_TRUE@opendkim_SOURCES = opendkim.c opendkim.h opendkim-ar.c opendkim-ar.h opendkim-arf.c opendkim-arf.h opendkim-config.h opendkim-crypto.c opendkim-crypto.h opendkim-db.c opendkim-db.h opendkim-dns.c opendkim-dns.h opendkim-lua.c opendkim-lua.h config.c config.h stats.c stats.h test.c test.h util.c util.h
@BUILD_FILTER_TRUE@opendkim_CC = $(PTHREAD_CC)
+ @BUILD_FILTER_TRUE@opendkim_CFLAGS = $(PTHREAD_CFLAGS) \
+@@ -1187,12 +1188,12 @@ uninstall-man8:
+ done
+ install-dist_docDATA: $(dist_doc_DATA)
+ @$(NORMAL_INSTALL)
+- test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
++ test -z "$(EGDIR)" || $(MKDIR_P) "$(DESTDIR)$(EGDIR)"
+ @list='$(dist_doc_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+- echo " $(dist_docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
+- $(dist_docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
++ echo " $(dist_docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(EGDIR)/$$f'"; \
++ $(dist_docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(EGDIR)/$$f"; \
+ done
+
+ uninstall-dist_docDATA: