diff options
author | martti <martti@pkgsrc.org> | 2008-03-17 07:11:42 +0000 |
---|---|---|
committer | martti <martti@pkgsrc.org> | 2008-03-17 07:11:42 +0000 |
commit | b1792d8013e26bb27ba8196f30d14b4b57b076bc (patch) | |
tree | b6dd1544e3c43345eca9078d8956ccd0ab0b4d34 /mail/postfix-current/Makefile | |
parent | 47216dae45f6231dc8cbc101cd4c7c8d46984bd0 (diff) | |
download | pkgsrc-b1792d8013e26bb27ba8196f30d14b4b57b076bc.tar.gz |
Updated postfix-current to 2.6.20080221
* Bug fixes
* Create /var/db/postfix like in pkgsrc/mail/postfix
Diffstat (limited to 'mail/postfix-current/Makefile')
-rw-r--r-- | mail/postfix-current/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile index 261d9aee463..aeccff0eeea 100644 --- a/mail/postfix-current/Makefile +++ b/mail/postfix-current/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.96 2008/03/10 10:33:38 wiz Exp $ +# $NetBSD: Makefile,v 1.97 2008/03/17 07:11:42 martti Exp $ -DISTNAME= postfix-2.6-20080216 -PKGNAME= postfix-2.6.20080216 +DISTNAME= postfix-2.6-20080221 +PKGNAME= postfix-2.6.20080221 CATEGORIES= mail MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ DIST_SUBDIR= postfix @@ -25,17 +25,18 @@ CHECK_HEADERS_SKIP+= src/global/mail_params.h # merely a default, and may be changed by setting "queue_directory" in # ${PKG_SYSCONFDIR}/main.cf. # +POSTFIX_DATA_DIR?= ${VARBASE}/db/postfix POSTFIX_QUEUE_DIR?= ${VARBASE}/spool/postfix -BUILD_DEFS+= VARBASE POSTFIX_QUEUE_DIR +BUILD_DEFS+= VARBASE POSTFIX_DATA_DIR POSTFIX_QUEUE_DIR # CCARGS is a list of options to pass to the preprocessor/compiler. # AUXLIBS is a list of options to pass to the linker. # CCARGS= -DUSE_SASL_AUTH AUXLIBS= ${LDFLAGS} -FIX_RPATH+= AUXLIBS # Set some default paths to override ${WRKSRC}/src/global/mail_params.h. +CCARGS+= -DDEF_DATA_DIR=\"${POSTFIX_DATA_DIR}\" CCARGS+= -DDEF_QUEUE_DIR=\"${POSTFIX_QUEUE_DIR}\" CCARGS+= -DDEF_DAEMON_DIR=\"${LIBEXECDIR}\" CCARGS+= -DDEF_COMMAND_DIR=\"${PREFIX}/sbin\" @@ -54,6 +55,8 @@ SUBST_CLASSES+= postfix SUBST_STAGE.postfix= post-configure SUBST_FILES.postfix= conf/main.cf src/global/mail_params.h SUBST_SED.postfix= \ + -e 's|^\(data_directory\) =.*|\1 = ${POSTFIX_DATA_DIR}|' +SUBST_SED.postfix+= \ -e 's|^\(queue_directory\) =.*|\1 = ${POSTFIX_QUEUE_DIR}|' SUBST_SED.postfix+= \ -e 's|^\(command_directory\) =.*|\1 = ${PREFIX}/sbin|' @@ -102,6 +105,7 @@ MAKE_ENV+= AUXLIBS=${AUXLIBS:Q} CCARGS=${CCARGS:Q} RCD_SCRIPTS= postfix OWN_DIRS+= ${POSTFIX_QUEUE_DIR} ${POSTFIX_QUEUE_DIR}/etc +OWN_DIRS_PERMS+= ${POSTFIX_DATA_DIR} postfix postfix 0700 MAKE_DIRS+= ${PKG_SYSCONFDIR} PKG_GROUPS?= postfix maildrop |