c693b38dd9
Database and regexp map functionality is now split into separate packages: - postfix-cdb - postfix-ldap - postfix-lmdb - postfix-mysql - postfix-pcre - postfix-pgsql - postfix-sqlite Upstream changelog follows. Postfix 3.0.2 ------------- No delta against 2.11.6. Postfix 3.0.1 ------------- - Build error when compiling the Postfix SMTP server with SASL support but no TLS support. - The DNS "resource record to text" converter, used for xxx_dns_reply_filter pattern matching, appended a '.' to TXT record resource values. - The postscreen(8) manpage specified an incorrect Postfix version number for the postscreen_dnsbl_timeout parameter. - The postfix-install script expanded macros in parameter values when trying to detect parameter overrides, causing unnecessary main.cf updates during "postfix start" etc. - Some low-level cleanup of UTF-8 string handling with no visible change in behavior (besides better performance). Postfix 3.0.0 ------------- - SMTPUTF8 support for internationalized domain names and address localparts as defined in RFC 6530 and related documents. - Support for Postfix dynamically-linked libraries and database plugins. - An OPT-IN safety net for the selective adoption of new Postfix default settings. If you do nothing, the old Postfix default settings *should* remain in effect (complain to your downstream maintainer if that is not the case). - Support for operations on multiple lookup tables. The pipemap:{map1,map2...} database type implements a pipeline of lookup tables where the result from one lookup table becomes a query for the next table; the unionmap:{map1,map2,...} database type sends the
47 lines
1.8 KiB
Text
47 lines
1.8 KiB
Text
# $NetBSD: Makefile.module,v 1.1 2015/09/07 09:47:01 fhajny Exp $
|
|
# used by mail/postfix-cdb/Makefile
|
|
# used by mail/postfix-ldap/Makefile
|
|
# used by mail/postfix-lmdb/Makefile
|
|
# used by mail/postfix-mysql/Makefile
|
|
# used by mail/postfix-pcre/Makefile
|
|
# used by mail/postfix-pgsql/Makefile
|
|
# used by mail/postfix-sqlite/Makefile
|
|
|
|
PKGNAME= ${DISTNAME:S/postfix/postfix-${POSTFIX_LIB}/}
|
|
|
|
.include "../../mail/postfix/Makefile.common"
|
|
|
|
DEPENDS+= postfix-${PKGVERSION_NOREV}{,nb[0-9]*}:../../mail/postfix
|
|
|
|
CCARGS+= -DHAS_${POSTFIX_LIB:tu}
|
|
MAKE_ENV+= AUXLIBS_${POSTFIX_LIB:tu}=${AUXLIBS_MODULE:Q}
|
|
|
|
# Define functionality to populate dynamicmaps.cf
|
|
POSTFIX_LIBFILE= postfix-${POSTFIX_LIB}.so
|
|
.if !empty(POSTFIX_LIB_DICT:Myes)
|
|
POSTFIX_LIB_FUNCS+= dict_${POSTFIX_LIB}_open
|
|
.endif
|
|
.if !empty(POSTFIX_LIB_MKMAP:Myes)
|
|
POSTFIX_LIB_FUNCS+= mkmap_${POSTFIX_LIB}_open
|
|
.endif
|
|
|
|
INSTALLATION_DIRS+= ${SHLIBDIR}
|
|
INSTALLATION_DIRS+= ${METADIR}/dynamicmaps.cf.d ${METADIR}/postfix-files.d
|
|
|
|
GENERATE_PLIST+= ${ECHO} "${SHLIBDIR}/${POSTFIX_LIBFILE}";
|
|
GENERATE_PLIST+= ${ECHO} "${METADIR}/dynamicmaps.cf.d/${POSTFIX_LIB}.cf";
|
|
GENERATE_PLIST+= ${ECHO} "${METADIR}/postfix-files.d/${POSTFIX_LIB}.cf";
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/src/util && ${BUILD_MAKE_CMD} update
|
|
cd ${WRKSRC}/${POSTFIX_LIBDIR} && ${BUILD_MAKE_CMD} ${POSTFIX_LIBFILE}
|
|
|
|
do-install:
|
|
${INSTALL_LIB} ${WRKSRC}/${POSTFIX_LIBDIR}/${POSTFIX_LIBFILE} \
|
|
${DESTDIR}${PREFIX}/${SHLIBDIR}
|
|
${ECHO} "${POSTFIX_LIB} ${POSTFIX_LIBFILE} ${POSTFIX_LIB_FUNCS}" > \
|
|
${DESTDIR}${PREFIX}/${METADIR}/dynamicmaps.cf.d/${POSTFIX_LIB}.cf
|
|
( ${ECHO} "\$$shlib_directory/${POSTFIX_LIBFILE}:f:root:-:755"; \
|
|
${ECHO} "\$$meta_directory/dynamicmaps.cf.d/${POSTFIX_LIB}.cf:f:root:-:644"; \
|
|
${ECHO} "\$$meta_directory/postfix-files.d/${POSTFIX_LIB}.cf:f:root:-:644"; ) \
|
|
> ${DESTDIR}${PREFIX}/${METADIR}/postfix-files.d/${POSTFIX_LIB}.cf
|