Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  4 Mar 2007 13:27:40 +0100 (CET)
From:      Ralf van der Enden <tremere@cainites.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/109850: databases/opendbx: update to 1.2.2 & add Sybase backend support
Message-ID:  <20070304122740.9609523E@mail.cainites.net>
Resent-Message-ID: <200703041231.l24CV6E2042980@freefall.freebsd.org>

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

>Number:         109850
>Category:       ports
>Synopsis:       databases/opendbx: update to 1.2.2 & add Sybase backend support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 04 12:30:03 GMT 2007
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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