pkgsrc/mail/opendkim/Makefile
pettai 4dc6b6f9ed 2.9.3 2014/12/27
Fix bug #177: Plug leaking "result" structures when OpenLDAP is in use.
        Truncate configuration file lines at carriage return.
        Replace overlapping strlcpy() with memmove() in dkim_get_key_file().
        Patch #32: Re-arrange the execution logic to drop privileges in
                proper order.
        LIBOPENDKIM: dkim_header() is now a lot more strict about the input
                it will accept (see RFC5322 Section 2.2).
        LIBOPENDKIM: Tighten relaxed modes to break on only DKIM-defined
                whitespace characters.
        LIBOPENDKIM: Fix bug #208: If a signature fails to verify for either
                reason (header hash mismatched or body hash mismatched), set
                DKIM_SIGERROR_BADSIG so that Authentication-Results doesn't
                report a failure with "no signature error".
        TOOLS: Feature request #178: Add "-F" flag to opendkim-genzone so
                records are created with the FQDN.
        REPUTATION: Handle parameters safely in repute.php.
2015-01-04 21:52:05 +00:00

50 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.22 2015/01/04 21:52:05 pettai Exp $
DISTNAME= opendkim-2.9.3
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opendkim/}
MAINTAINER= pettai@NetBSD.org
HOMEPAGE= http://opendkim.org/
COMMENT= Open source DKIM library, MTA filter implementation and tools
LICENSE= sendmail-open-source-license
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config perl:run
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
REPLACE_PERL+= opendkim/opendkim-genkey.in
FILES_SUBST+= DKIM_USER=${DKIM_USER} DKIM_GROUP=${DKIM_GROUP}
BUILD_DEFS+= VARBASE DKIM_USER DKIM_GROUP
DKIM_USER?= opendkim
DKIM_GROUP?= opendkim
PKG_GROUPS= ${DKIM_USER}
PKG_USERS= ${DKIM_USER}:${DKIM_GROUP}
PKG_GROUPS_VARS+= DKIM_GROUP
PKG_USERS_VARS+= DKIM_USER
OWN_DIRS_PERMS+= ${VARBASE}/run/opendkim \
${DKIM_USER} ${DKIM_GROUP} 0750
OWN_DIRS_PERMS+= ${VARBASE}/db/opendkim \
${DKIM_USER} ${DKIM_GROUP} 0700
SUBST_CLASSES+= path
SUBST_STAGE.path= pre-configure
SUBST_MESSAGE.path= Fixing default paths
SUBST_FILES.path= opendkim/opendkim.conf.sample
SUBST_SED.path= -e 's,/var/db/dkim,${VARBASE}/db/opendkim,g'
PKGCONFIG_OVERRIDE+= libopendkim/opendkim.pc.in
.include "options.mk"
PLIST_SRC+= ${PKGDIR}/PLIST
BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.8
.include "../../security/openssl/buildlink3.mk"
BUILDLINK_API_DEPENDS.libmilter+= libmilter>=8.13.0
.include "../../mail/libmilter/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"