Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  9 Sep 2005 16:36:11 -0400 (EDT)
From:      Vivek Khera <vivek@khera.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/85925: add sqlite option to jabberd
Message-ID:  <20050909203611.E043A4361@t02.m1e.net>
Resent-Message-ID: <200509092040.j89Ke9R6040360@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050909203611.E043A4361>