pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Add exim-lookup-pgsql and exim-lookup-sqlite - as prov...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e28242936e29
branches:  trunk
changeset: 510669:e28242936e29
user:      abs <abs%pkgsrc.org@localhost>
date:      Sat Apr 01 22:02:19 2006 +0000

description:
Add exim-lookup-pgsql and exim-lookup-sqlite - as provided by Geert
Hendrickx.

diffstat:

 mail/exim/options.mk            |  17 +++++++++++++++--
 mk/defaults/options.description |   2 ++
 2 files changed, 17 insertions(+), 2 deletions(-)

diffs (47 lines):

diff -r 79974a4809b1 -r e28242936e29 mail/exim/options.mk
--- a/mail/exim/options.mk      Sat Apr 01 21:50:10 2006 +0000
+++ b/mail/exim/options.mk      Sat Apr 01 22:02:19 2006 +0000
@@ -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 @@
 .  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 -r 79974a4809b1 -r e28242936e29 mk/defaults/options.description
--- a/mk/defaults/options.description   Sat Apr 01 21:50:10 2006 +0000
+++ b/mk/defaults/options.description   Sat Apr 01 22:02:19 2006 +0000
@@ -66,6 +66,8 @@
 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.



Home | Main Index | Thread Index | Old Index