d49eed8431
2.8.2 2009/02/17 Request a signature with an "i=" tag if signing for subdomains and a keylist entry matches. Previously this only occurred when using an explicit domain list. Problem noted by S. Moonesamy of Eland Systems. Fixes in and around dkim_socket_cleanup(). Problem noted by S. Moonesamy of Eland Systems. LIBDKIM: When logging a d2i_PUBKEY_bio() or EVP_PKEY_get1_RSA() failure, also log the selector and domain involved so manual diagnostics are possible. LIBDKIM/LIBAR: Feature request #SF2380508: Add new test for WITHOUT_LIBSM which removes references to libsm's sm_strl*() functions, so that libdkim and libar can stand on their own on systems which provide the strl*() functions. Requested by Frederik Pettai. LIBDKIM: Report DKIM_STAT_NOSIG if the caller commands that all signatures should be ignored. LIBDKIM: Plug a memory leak caused when responding to a malloc() failure. LIBDKIM: New signature error code DKIM_SIGERROR_KEYDECODE, used if d2i_PUBKEY_BIO() or EVP_PKEY_get1_RSA fails in dkim_sig_process(). LIBAR: Make reference to the "_res" structure more thread-safe. BUILD: Make use of conf_dkim_filter_ENVDEF since site.config.m4.dist refers to it. Problem noted by S. Moonesamy of Eland Systems.
62 lines
1.4 KiB
Makefile
62 lines
1.4 KiB
Makefile
# $NetBSD: options.mk,v 1.7 2009/02/28 15:44:55 manu Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.dkim-milter
|
|
PKG_SUPPORTED_OPTIONS= inet6 dkim-milter-arlib debug dkim-stats without-libsm
|
|
|
|
.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
|
|
|
|
###
|
|
### 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
|
|
|
|
###
|
|
### Install dkim-stats(8) which outputs dkim-milter statistics
|
|
###
|
|
PLIST_VARS+= stats
|
|
.if !empty(PKG_OPTIONS:Mdkim-stats)
|
|
.include "../../mk/db1.builtin.mk"
|
|
PLIST.stats= yes
|
|
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
|