pkgsrc-Bugs archive

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

pkg/32540: /etc/mk.conf settings not applied to mimedefang package



>Number:         32540
>Category:       pkg
>Synopsis:       /etc/mk.conf settings not applied to mimedefang package
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 15 23:05:03 +0000 2006
>Originator:     Anne Bennett
>Release:        NetBSD 3.0, last cvs update on pkgsrc: 2005-01-10
>Organization:
>Environment:
System: NetBSD newquill.porcupine.montreal.qc.ca 3.0 NetBSD 3.0 (QUILL_AMD64) 
#4: Mon Jan 2 17:33:19 EST 2006 
root%newquill.porcupine.montreal.qc.ca@localhost:/disks/nobak/netbsd/netbsd-3.0/src/sys/arch/amd64/compile/QUILL_AMD64
 amd64
Architecture: x86_64
Machine: amd64

>Description:
I set the following values in /etc/mk.conf:

        # 2006/01/15 Anne Bennett: MIMEDefang de-spammer settings:
        DEFANG_GROUP=antispam
        DEFANG_USER=antispam
        DEFANG_SPOOLDIR=${VARBASE}/spool/mimedefang

but "make configure" in /usr/pkgsrc/mail/mimedefang fails to
pick them up or use them.
>How-To-Repeat:
See above.
>Fix:
--- /usr/pkgsrc/mail/mimedefang/Makefile.original       2005-12-29 
01:21:51.000000000 -0500
+++ /usr/pkgsrc/mail/mimedefang/Makefile        2006-01-15 15:42:56.000000000 
-0500
@@ -23,6 +23,10 @@

 INSTALL_EXTRA_TMPL+=   ${.CURDIR}/INSTALL

+# 2006/01/15 Anne Bennett: this was missing, so my settings in /etc/mk.conf
+#  for the DEFANG_* variables were not being picked up:
+.include "../../mk/bsd.prefs.mk"
+
 DEFANG_SPOOLDIR?=      ${VARBASE}/spool/MIMEDefang
 DEFANG_USER?=          defang
 DEFANG_GROUP?=         defang
@@ -50,6 +54,8 @@
 CONFIGURE_ARGS+=       --with-milterlib=${BUILDLINK_PREFIX.libmilter}/lib
 CONFIGURE_ARGS+=       --with-spooldir=${DEFANG_SPOOLDIR:Q}
 CONFIGURE_ARGS+=       --with-quarantinedir=${DEFANG_SPOOLDIR:Q}
+# 2006/01/15 Anne Bennett: this was missing too, so my setting was ineffective:
+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