pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/mimedefang - Applied the code from the patch in P...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8782de09d241
branches:  trunk
changeset: 506440:8782de09d241
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Jan 16 00:45:13 2006 +0000

description:
- Applied the code from the patch in PR 32540 by Anne Bennett, which
  allows the user to define DEFANG_USER and DEFANG_GROUP in the
  MAKECONF file. Fixes PR 32540.
- Added the configurable variables to BUILD_DEFS, so that they are shown
  during the build process.
- Bumped PKGREVISION.

diffstat:

 mail/mimedefang/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r 284c991acf9d -r 8782de09d241 mail/mimedefang/Makefile
--- a/mail/mimedefang/Makefile  Mon Jan 16 00:29:23 2006 +0000
+++ b/mail/mimedefang/Makefile  Mon Jan 16 00:45:13 2006 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.30 2005/12/29 06:21:51 jlam Exp $
+# $NetBSD: Makefile,v 1.31 2006/01/16 00:45:13 rillig Exp $
 
 DISTNAME=              mimedefang-2.54
+PKGREVISION=           1
 CATEGORIES=            mail
 MASTER_SITES=          http://www.mimedefang.org/static/
 
@@ -17,6 +18,8 @@
 DEPENDS+=              p5-MIME-tools>=5.411.1:../../mail/p5-MIME-tools
 DEPENDS+=              spamassassin>=2.31:../../mail/spamassassin
 
+.include "../../mk/bsd.prefs.mk"
+
 USE_TOOLS+=            perl:run
 GNU_CONFIGURE=         YES
 PKG_SYSCONFSUBDIR?=    mimedefang
@@ -30,6 +33,9 @@
 PKG_GROUPS=            ${DEFANG_GROUP}
 PKG_USERS=             ${DEFANG_USER}:${DEFANG_GROUP}
 
+BUILD_DEFS+=           PKG_SYSCONFSUBDIR DEFANG_SPOOLDIR
+BUILD_DEFS+=           DEFANG_USER DEFANG_GROUP
+
 EGDIR=                 ${PREFIX}/share/examples/mimedefang
 SHAREDIR=              ${PREFIX}/share/mimedefang
 
@@ -50,6 +56,7 @@
 CONFIGURE_ARGS+=       --with-milterlib=${BUILDLINK_PREFIX.libmilter}/lib
 CONFIGURE_ARGS+=       --with-spooldir=${DEFANG_SPOOLDIR:Q}
 CONFIGURE_ARGS+=       --with-quarantinedir=${DEFANG_SPOOLDIR:Q}
+CONFIGURE_ARGS+=       --with-user=${DEFANG_USER:Q}
 # CONFIGURE_ARGS+=     --disable-anti-virus
 #      list the paths where they _would_ be installed, so they
 #      can be found at runtime. -- they have to be listed



Home | Main Index | Thread Index | Old Index