ports/85925: add sqlite option to jabberd
Vivek Khera
vivek at khera.org
Fri Sep 9 20:40:10 UTC 2005
>Number: 85925
>Category: ports
>Synopsis: add sqlite option to jabberd
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 09 20:40:09 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Vivek Khera
>Release: FreeBSD 5.4-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD t02.m1e.net 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #1: Tue Sep 6 14:48:46 EDT 2005 root at t02.m1e.net:/u/t02/usr.obj/n/lorax1/usr5/src/sys/T02 i386
>Description:
allow ports/net/jabberd to use sqlite as storage, which is supported as
of version 2.0s9.
>How-To-Repeat:
>Fix:
--- Makefile.orig Fri Sep 9 14:11:05 2005
+++ Makefile Fri Sep 9 14:19:02 2005
@@ -21,6 +21,7 @@
MYSQL "Use MySQL for storage and authentication" off \
LDAP "Use LDAP for authentication" off \
BDB "Use BDB for storage and authentication" off \
+ SQLITE "Use SQLITE3 for storage" off \
PAM "Use PAM for authentication" off \
PIPE "Enable pipe auth/reg support" off \
DEBUG "Compile with debug information" on
@@ -46,6 +47,13 @@
CONFIGURE_ARGS+=--enable-pgsql
.else
CONFIGURE_ARGS+=--disable-pgsql
+.endif
+
+.if defined(WITH_SQLITE)
+CONFIGURE_ARGS+=--enable-sqlite
+LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite3
+.else
+CONFIGURE_ARGS+=--disable-sqlite
.endif
.if defined(WITH_MYSQL)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list