pkgsrc/mail/dkim-milter/options.mk

73 lines
1.6 KiB
Makefile
Raw Normal View History

# $NetBSD: options.mk,v 1.9 2012/06/12 15:45:57 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dkim-milter
PKG_SUPPORTED_OPTIONS= inet6 dkim-milter-arlib debug dkim-stats without-libsm vbr
PKG_SUGGESTED_OPTIONS= inet6
.include "../../mk/bsd.options.mk"
###
### IPv6 support.
###
.if !empty(PKG_OPTIONS:Minet6)
SUBST_SED.libs+= -e 's|@INET6@||g'
.else
SUBST_SED.libs+= -e 's|@INET6@|dnl|g'
.endif
###
### Debug support
###
.if !empty(PKG_OPTIONS:Mdebug)
SUBST_SED.libs+= -e 's|@DEBUG@||g'
.else
SUBST_SED.libs+= -e 's|@DEBUG@|dnl|g'
.endif
###
### Use asynchronous DNS resolver library shipping with dkim-milter.
###
PLIST_VARS+= arlib
.if !empty(PKG_OPTIONS:Mdkim-milter-arlib)
PLIST.arlib= yes
SUBST_SED.libs+= -e 's|@RESOLVLIB@||g'
SUBST_SED.libs+= -e 's|@ARLIB@||g'
.else
SUBST_SED.libs+= -e 's|@RESOLVLIB@|resolv bind|g'
SUBST_SED.libs+= -e 's|@ARLIB@|dnl|g'
.endif
Update to 2.5.4 - Add dkim-stats option to install dkim-stats(8) FFR - Only install dkim-stats(8) man page if dkim-stats option has been specified 2.5.4 2008/04/17 * Skip signatures with errors in dkimf_authorsigok(). * Avoid a NULL dereference in dkimf_config_reload() when starting without a configuration file. * Fix an alignment problem in dkimf_checkip(). Problem reported by Jeff A. Earickson. * LIBDKIM: Fix bug #SF1942387: Per RFC4871, disallow "l=" values that exceed the size of the canonicalized message body. 2.5.3 2008/04/14 * Add "AllowSHA1Only" configuration option which permits operation of verifiers that only know about SHA1. Without this, a filter compiled with only SHA1 support will refuse to start in verifier mode. * Add "LogWhy" configuration parameter and "-W" command line flag to request detailed logging about why a message was not signed by the filter. Intended for debugging; not intended for normal operation. * Another tweak to parameters passed to db->open(). Based on patches from Jukka Salmi and S. Moonesamy. * Fixes in ares_parse() to match the current syntax. In particular, deal with the fact that some of our tokens can legally appear in e-mail addresses. Problem noted by S. Moonesamy of Eland Systems. * LIBDKIM: Evaluate key granularity against the "i=" value rather than the value of the From: header per RFC4871. Problem noted by Jason Long. * LIBDKIM: Remove the chartable stuff from dkim-tables.c as it is not used anywhere. * LIBDKIM: Fix bug #SF1940302: Perform stronger validation of the value of the "h=" tag.
2008-04-20 19:20:20 +02:00
###
### Build with native strl*()
###
.if !empty(PKG_OPTIONS:Mwithout-libsm)
SUBST_SED.libs+= -e 's|@WITHOUTLIBSM@||g'
.else
SUBST_SED.libs+= -e 's|@WITHOUTLIBSM@|dnl|g'
.endif
###
### Build with VBR support
###
.if !empty(PKG_OPTIONS:Mvbr)
SUBST_SED.libs+= -e 's|@VBR@||g'
.else
SUBST_SED.libs+= -e 's|@VBR@|dnl|g'
.endif
Update to 2.5.4 - Add dkim-stats option to install dkim-stats(8) FFR - Only install dkim-stats(8) man page if dkim-stats option has been specified 2.5.4 2008/04/17 * Skip signatures with errors in dkimf_authorsigok(). * Avoid a NULL dereference in dkimf_config_reload() when starting without a configuration file. * Fix an alignment problem in dkimf_checkip(). Problem reported by Jeff A. Earickson. * LIBDKIM: Fix bug #SF1942387: Per RFC4871, disallow "l=" values that exceed the size of the canonicalized message body. 2.5.3 2008/04/14 * Add "AllowSHA1Only" configuration option which permits operation of verifiers that only know about SHA1. Without this, a filter compiled with only SHA1 support will refuse to start in verifier mode. * Add "LogWhy" configuration parameter and "-W" command line flag to request detailed logging about why a message was not signed by the filter. Intended for debugging; not intended for normal operation. * Another tweak to parameters passed to db->open(). Based on patches from Jukka Salmi and S. Moonesamy. * Fixes in ares_parse() to match the current syntax. In particular, deal with the fact that some of our tokens can legally appear in e-mail addresses. Problem noted by S. Moonesamy of Eland Systems. * LIBDKIM: Evaluate key granularity against the "i=" value rather than the value of the From: header per RFC4871. Problem noted by Jason Long. * LIBDKIM: Remove the chartable stuff from dkim-tables.c as it is not used anywhere. * LIBDKIM: Fix bug #SF1940302: Perform stronger validation of the value of the "h=" tag.
2008-04-20 19:20:20 +02:00
###
### Install dkim-stats(8) which outputs dkim-milter statistics
###
2008-04-20 19:36:15 +02:00
PLIST_VARS+= stats
Update to 2.5.4 - Add dkim-stats option to install dkim-stats(8) FFR - Only install dkim-stats(8) man page if dkim-stats option has been specified 2.5.4 2008/04/17 * Skip signatures with errors in dkimf_authorsigok(). * Avoid a NULL dereference in dkimf_config_reload() when starting without a configuration file. * Fix an alignment problem in dkimf_checkip(). Problem reported by Jeff A. Earickson. * LIBDKIM: Fix bug #SF1942387: Per RFC4871, disallow "l=" values that exceed the size of the canonicalized message body. 2.5.3 2008/04/14 * Add "AllowSHA1Only" configuration option which permits operation of verifiers that only know about SHA1. Without this, a filter compiled with only SHA1 support will refuse to start in verifier mode. * Add "LogWhy" configuration parameter and "-W" command line flag to request detailed logging about why a message was not signed by the filter. Intended for debugging; not intended for normal operation. * Another tweak to parameters passed to db->open(). Based on patches from Jukka Salmi and S. Moonesamy. * Fixes in ares_parse() to match the current syntax. In particular, deal with the fact that some of our tokens can legally appear in e-mail addresses. Problem noted by S. Moonesamy of Eland Systems. * LIBDKIM: Evaluate key granularity against the "i=" value rather than the value of the From: header per RFC4871. Problem noted by Jason Long. * LIBDKIM: Remove the chartable stuff from dkim-tables.c as it is not used anywhere. * LIBDKIM: Fix bug #SF1940302: Perform stronger validation of the value of the "h=" tag.
2008-04-20 19:20:20 +02:00
.if !empty(PKG_OPTIONS:Mdkim-stats)
.include "../../mk/db1.builtin.mk"
2008-04-20 19:36:15 +02:00
PLIST.stats= yes
Update to 2.5.4 - Add dkim-stats option to install dkim-stats(8) FFR - Only install dkim-stats(8) man page if dkim-stats option has been specified 2.5.4 2008/04/17 * Skip signatures with errors in dkimf_authorsigok(). * Avoid a NULL dereference in dkimf_config_reload() when starting without a configuration file. * Fix an alignment problem in dkimf_checkip(). Problem reported by Jeff A. Earickson. * LIBDKIM: Fix bug #SF1942387: Per RFC4871, disallow "l=" values that exceed the size of the canonicalized message body. 2.5.3 2008/04/14 * Add "AllowSHA1Only" configuration option which permits operation of verifiers that only know about SHA1. Without this, a filter compiled with only SHA1 support will refuse to start in verifier mode. * Add "LogWhy" configuration parameter and "-W" command line flag to request detailed logging about why a message was not signed by the filter. Intended for debugging; not intended for normal operation. * Another tweak to parameters passed to db->open(). Based on patches from Jukka Salmi and S. Moonesamy. * Fixes in ares_parse() to match the current syntax. In particular, deal with the fact that some of our tokens can legally appear in e-mail addresses. Problem noted by S. Moonesamy of Eland Systems. * LIBDKIM: Evaluate key granularity against the "i=" value rather than the value of the From: header per RFC4871. Problem noted by Jason Long. * LIBDKIM: Remove the chartable stuff from dkim-tables.c as it is not used anywhere. * LIBDKIM: Fix bug #SF1940302: Perform stronger validation of the value of the "h=" tag.
2008-04-20 19:20:20 +02:00
SUBST_SED.libs+= -e 's|@STATS@||g'
SUBST_SED.libs+= -e 's|@MAN_STATS@|dkim-stats.8|g'
SUBST_SED.libs+= -e 's|@DBLIB@|db|g'
.else
SUBST_SED.libs+= -e 's|@STATS@|dnl|g'
SUBST_SED.libs+= -e 's|@MAN_STATS@||g'
SUBST_SED.libs+= -e 's|@DBLIB@||g'
.endif