From root@cainites.net  Sun Mar  4 12:27:45 2007
Return-Path: <root@cainites.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 4342016A402
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Mar 2007 12:27:45 +0000 (UTC)
	(envelope-from root@cainites.net)
Received: from mail.cainites.net (xs4all.cainites.net [80.126.212.243])
	by mx1.freebsd.org (Postfix) with ESMTP id BD2B213C48E
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Mar 2007 12:27:42 +0000 (UTC)
	(envelope-from root@cainites.net)
Received: by mail.cainites.net (Postfix, from userid 0)
	id 9609523E; Sun,  4 Mar 2007 13:27:40 +0100 (CET)
Message-Id: <20070304122740.9609523E@mail.cainites.net>
Date: Sun,  4 Mar 2007 13:27:40 +0100 (CET)
From: Ralf van der Enden <tremere@cainites.net>
Reply-To: Ralf van der Enden <tremere@cainites.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: databases/opendbx: update to 1.2.2 & add Sybase backend support
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         109850
>Category:       ports
>Synopsis:       databases/opendbx: update to 1.2.2 & add Sybase backend support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    rafan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 04 12:30:03 GMT 2007
>Closed-Date:    Mon Mar 05 12:17:22 GMT 2007
>Last-Modified:  Mon Mar  5 12:20:05 GMT 2007
>Originator:     Ralf van der Enden
>Release:        FreeBSD 6.2-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD lan.cainites.net 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #1: Sat Feb 10 10:33:32 CET 2007 root@lan.cainites.net:/usr/obj/usr/src/sys/HELLKERNEL i386


	
>Description:
	
Update to OpenDBX 1.2.2 (bugfix release)
Add Sybase backend support
Reflect new backend support in pkg-descr
>How-To-Repeat:
	
>Fix:

	

--- opendbx-1.2.2.diff begins here ---
Index: distinfo
===================================================================
--- distinfo	(revision 43)
+++ distinfo	(working copy)
@@ -1,3 +1,3 @@
-MD5 (opendbx-1.2.1.tar.gz) = 0c455109d6a4a6d758d99ca1d55adb51
-SHA256 (opendbx-1.2.1.tar.gz) = a9ff56ce3291e46c7cc66334e4b2fabdb341a86d52a02038818d833749befbfe
-SIZE (opendbx-1.2.1.tar.gz) = 461015
+MD5 (opendbx-1.2.2.tar.gz) = 4a420ff46c3eca6fac63d1066d83e4ad
+SHA256 (opendbx-1.2.2.tar.gz) = df8459b0f3c7faea3168eaaf3883fba6c72708090d493913ec28da128614d2a3
+SIZE (opendbx-1.2.2.tar.gz) = 465394
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 43)
+++ pkg-descr	(working copy)
@@ -1,10 +1,11 @@
 OpenDBX is an extremely lightweight but extensible C library for 
 accessing databases with a single API. It provides a clean and simple
 interface across all supported databases that leads to an elegant
-code design automatically. Currently MySQL, PostgreSQL and SQLite are
-supported and backends for more native database APIs can be written
-easily. If you want your application to support different databases
-with little effort, this is definitively the right thing for you!
+code design automatically. Currently MySQL, PostgreSQL, SQLite
+(v2 & 3), MSSQL and Sybase are supported and backends for more native
+database APIs can be written easily. If you want your application to
+support different databases with little effort, this is definitively
+the right thing for you!
 
 License: LGPL
 
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 43)
+++ pkg-plist	(working copy)
@@ -24,4 +24,8 @@
 %%WITHMSSQL%%lib/opendbx/libmssqlbackend.la
 %%WITHMSSQL%%lib/opendbx/libmssqlbackend.so
 %%WITHMSSQL%%lib/opendbx/libmssqlbackend.so.2
+%%WITHSYBASE%%lib/opendbx/libsybasebackend.a
+%%WITHSYBASE%%lib/opendbx/libsybasebackend.la
+%%WITHSYBASE%%lib/opendbx/libsybasebackend.so
+%%WITHSYBASE%%lib/opendbx/libsybasebackend.so.2
 @dirrm lib/opendbx
Index: Makefile
===================================================================
--- Makefile	(revision 43)
+++ Makefile	(working copy)
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	opendbx
-PORTVERSION=	1.2.1
+PORTVERSION=	1.2.2
 CATEGORIES=	databases
 MASTER_SITES=	http://www.linuxnetworks.de/opendbx/download/
 DISTNAME=	${PORTNAME}-${PORTVERSION}
@@ -30,6 +30,7 @@
 		SQLITE	"Support for the SQLite 2 database" off \
 		SQLITE3	"Support for the SQLite 3 database" off \
 		MSSQL	"Support for the MSSQL database" off \
+		SYBASE	"Support for the Sybase database" off \
 		GETTEXT	"Support for the gettext library" off
 
 .include <bsd.port.pre.mk>
@@ -87,6 +88,14 @@
 PLIST_SUB+=		WITHMSSQL="@comment "
 .endif
 
+.if defined(WITH_SYBASE)
+LIB_DEPENDS+=		ct.4:${PORTSDIR}/databases/freetds
+CONFIGURE_MODULES+=	"sybase"
+PLIST_SUB+=		WITHSYBASE=""
+.else
+PLIST_SUB+=		WITHSYBASE="@comment "
+.endif
+
 .if defined(WITH_GETTEXT)
 USE_GETTEXT=		YES
 .else
--- opendbx-1.2.2.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->rafan 
Responsible-Changed-By: rafan 
Responsible-Changed-When: Sun Mar 4 13:08:47 UTC 2007 
Responsible-Changed-Why:  
Eat. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109850 
State-Changed-From-To: open->closed 
State-Changed-By: rafan 
State-Changed-When: Mon Mar 5 12:17:21 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109850 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/109850: commit references a PR
Date: Mon,  5 Mar 2007 12:17:20 +0000 (UTC)

 rafan       2007-03-05 12:17:15 UTC
 
   FreeBSD ports repository
 
   Modified files:
     databases/opendbx    Makefile distinfo pkg-descr pkg-plist 
   Log:
   - Update to 1.2.2
   - Add optional Sybase backend support
   - Update pkg-descr
   
   PR:             ports/109850
   Submitted by:   Ralf van der Enden <tremere at cainites.net> (maintainer)
   
   Revision  Changes    Path
   1.4       +10 -1     ports/databases/opendbx/Makefile
   1.4       +3 -3      ports/databases/opendbx/distinfo
   1.2       +5 -4      ports/databases/opendbx/pkg-descr
   1.4       +4 -0      ports/databases/opendbx/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
