summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs>2006-04-01 22:02:19 +0000
committerabs <abs>2006-04-01 22:02:19 +0000
commit47018a7fba9714f012802c7330baa26a825cfad6 (patch)
tree6bf48cab7b13308f418a63de9ec7efa627f0c678
parent3f9987fd5da4842fe321aea86e9c3dd69dcff5e7 (diff)
downloadpkgsrc-47018a7fba9714f012802c7330baa26a825cfad6.tar.gz
Add exim-lookup-pgsql and exim-lookup-sqlite - as provided by Geert
Hendrickx.
-rw-r--r--mail/exim/options.mk17
-rw-r--r--mk/defaults/options.description2
2 files changed, 17 insertions, 2 deletions
diff --git a/mail/exim/options.mk b/mail/exim/options.mk
index cf900d8060b..28a683bdb1f 100644
--- a/mail/exim/options.mk
+++ b/mail/exim/options.mk
@@ -1,9 +1,10 @@
-# $NetBSD: options.mk,v 1.6 2005/10/23 20:07:19 rillig Exp $
+# $NetBSD: options.mk,v 1.7 2006/04/01 22:02:19 abs Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.exim
PKG_SUPPORTED_OPTIONS= exim-build-eximon exim-content-scan exim-lookup-dnsdb
PKG_SUPPORTED_OPTIONS+= exim-lookup-dsearch exim-lookup-ldap exim-lookup-mysql
-PKG_SUPPORTED_OPTIONS+= exim-lookup-whoson exim-old-demime gdbm inet6 saslauthd
+PKG_SUPPORTED_OPTIONS+= exim-lookup-pgsql exim-lookup-sqlite exim-lookup-whoson
+PKG_SUPPORTED_OPTIONS+= exim-old-demime gdbm inet6 saslauthd
PKG_SUGGESTED_OPTIONS= exim-content-scan exim-lookup-dsearch exim-old-demime
.include "../../mk/bsd.options.mk"
@@ -42,6 +43,18 @@ LOOKUP_LIBS+=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.mysql} -L${
. include "../../mk/mysql.buildlink3.mk"
.endif
+.if !empty(PKG_OPTIONS:Mexim-lookup-pgsql)
+LOCAL_MAKEFILE_OPTIONS+=LOOKUP_PGSQL=YES
+LOOKUP_LIBS+=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.pgsql} -L${LOCALBASE}/${BUILDLINK_LIBDIRS.mysql} -lpq
+. include "../../mk/pgsql.buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mexim-lookup-sqlite)
+LOCAL_MAKEFILE_OPTIONS+=LOOKUP_SQLITE=YES
+LOOKUP_LIBS+=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.sqlite3} -L${LOCALBASE}/${BUILDLINK_LIBDIRS.sqlite3} -lsqlite3
+. include "../../databases/sqlite3/buildlink3.mk"
+.endif
+
.if !empty(PKG_OPTIONS:Mexim-lookup-whoson)
LOCAL_MAKEFILE_OPTIONS+=LOOKUP_WHOSON=YES
LOOKUP_LIBS+=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.whoson} -L${LOCALBASE}/${BUILDLINK_LIBDIRS.whoson} -lwhoson
diff --git a/mk/defaults/options.description b/mk/defaults/options.description
index 9c56eed6299..ef74bc182aa 100644
--- a/mk/defaults/options.description
+++ b/mk/defaults/options.description
@@ -66,6 +66,8 @@ exim-lookup-dnsdb Use DNS for lookups (as general database facility).
exim-lookup-dsearch Lookup via key as filename in directory.
exim-lookup-ldap LDAP lookup using a query in the form of a URL.
exim-lookup-mysql Perform lookups in MySQL database.
+exim-lookup-pgsql Perform lookups in PostgreSQL database.
+exim-lookup-sqlite Perform lookups in SQLite database.
exim-lookup-whoson Lookup in whoson dynamic IP address.
exim-old-demime Use deprecated "demime" condition in the DATA ACL.
ezmlm-althash Patch to hash subscriber list case-insensitively.