pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/postfix-current Updated postfix-current to 2.6.20...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba8be6fd3f51
branches:  trunk
changeset: 539928:ba8be6fd3f51
user:      martti <martti%pkgsrc.org@localhost>
date:      Mon Mar 17 07:11:42 2008 +0000

description:
Updated postfix-current to 2.6.20080221

* Bug fixes
* Create /var/db/postfix like in pkgsrc/mail/postfix

diffstat:

 mail/postfix-current/Makefile |  14 +++++++++-----
 mail/postfix-current/distinfo |   8 ++++----
 2 files changed, 13 insertions(+), 9 deletions(-)

diffs (68 lines):

diff -r c5d35a79bef2 -r ba8be6fd3f51 mail/postfix-current/Makefile
--- a/mail/postfix-current/Makefile     Mon Mar 17 07:10:31 2008 +0000
+++ b/mail/postfix-current/Makefile     Mon Mar 17 07:11:42 2008 +0000
@@ -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 @@
 # 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_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 @@
 
 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
diff -r c5d35a79bef2 -r ba8be6fd3f51 mail/postfix-current/distinfo
--- a/mail/postfix-current/distinfo     Mon Mar 17 07:10:31 2008 +0000
+++ b/mail/postfix-current/distinfo     Mon Mar 17 07:11:42 2008 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.42 2008/02/18 17:46:22 ghen Exp $
+$NetBSD: distinfo,v 1.43 2008/03/17 07:11:42 martti Exp $
 
-SHA1 (postfix/postfix-2.6-20080216.tar.gz) = e711a0169a5d711f9bc01569cd79ef5ae6cedbd5
-RMD160 (postfix/postfix-2.6-20080216.tar.gz) = 3db1697bffeaf9fab7c3c5dc115a53d7d3e49864
-Size (postfix/postfix-2.6-20080216.tar.gz) = 3143908 bytes
+SHA1 (postfix/postfix-2.6-20080221.tar.gz) = 0e874c9dc0022812af8487ace7a6433231900c7c
+RMD160 (postfix/postfix-2.6-20080221.tar.gz) = 69596410cfeda7f969a285f0c43e4d3ba3bb2428
+Size (postfix/postfix-2.6-20080221.tar.gz) = 3141991 bytes
 SHA1 (patch-aa) = 757b6f1be1a51696f1c7d41ad520cba3b8420dcf
 SHA1 (patch-ag) = 4d66026fe81dde97470bd01d529af191f1547228
 SHA1 (patch-ai) = 7b19361e77d25139134511331a82abcd26b5336d



Home | Main Index | Thread Index | Old Index