diff options
author | kim <kim> | 2001-04-13 04:18:33 +0000 |
---|---|---|
committer | kim <kim> | 2001-04-13 04:18:33 +0000 |
commit | bb1033f8fb5ccc57e188cf30e8c655c1fa832734 (patch) | |
tree | 750a80c83ae09272387e67dc069a2151411c09a8 /mail/procmail/Makefile | |
parent | aba1ed288e648bdc13d24b6967c8648def245bb7 (diff) | |
download | pkgsrc-bb1033f8fb5ccc57e188cf30e8c655c1fa832734.tar.gz |
Allow setting TRUSTED_IDS in procmail.
Diffstat (limited to 'mail/procmail/Makefile')
-rw-r--r-- | mail/procmail/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile index 05907e868dd..97bfc9c9f8f 100644 --- a/mail/procmail/Makefile +++ b/mail/procmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2001/04/07 01:53:24 kim Exp $ +# $NetBSD: Makefile,v 1.22 2001/04/13 04:18:34 kim Exp $ # FreeBSD Id: Makefile,v 1.24 1997/05/14 14:40:34 ache Exp # @@ -15,10 +15,15 @@ MAKE_ENV= SHELL=/bin/sh .include "../../mk/bsd.prefs.mk" -BUILD_DEFS+= PROCMAIL_MAILSPOOLHOME +BUILD_DEFS+= PROCMAIL_MAILSPOOLHOME PROCMAIL_TRUSTED_IDS + +PROCMAIL_TRUSTED_IDS?=\ +"root","daemon","uucp","mail","x400","network","list","slist","lists","news",0 -.ifdef(PROCMAIL_MAILSPOOLHOME) pre-configure: + ${ECHO} "#define TRUSTED_IDS {${PROCMAIL_TRUSTED_IDS:Q}}" \ + >> ${WRKSRC}/config.h +.ifdef(PROCMAIL_MAILSPOOLHOME) ${ECHO} "#define MAILSPOOLHOME \"/${PROCMAIL_MAILSPOOLHOME}\"" \ >> ${WRKSRC}/src/authenticate.h .endif |