Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Sep 2005 15:42:06 -0300 (BRT)
From:      Marcus Grando <marcus@corp.grupos.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        seanc@FreeBSD.org
Subject:   ports/85662: Update port: databases/libdbi to 0.8.0
Message-ID:  <200509021842.j82Ig63w018032@marcus.grupos.com.br>
Resent-Message-ID: <200509021850.j82IoImG062449@freefall.freebsd.org>

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

>Number:         85662
>Category:       ports
>Synopsis:       Update port: databases/libdbi to 0.8.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 02 18:50:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Marcus Grando
>Release:        FreeBSD 6.0-BETA3 i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD marcus.grupos.com.br 6.0-BETA3 FreeBSD 6.0-BETA3 #34: Fri Sep 2 11:10:54 BRT 2005 root@marcus.grupos.com.br:/usr/obj/usr/src/sys/MARCUS i386


	
>Description:

- Update to 0.8.0

Removed files:

files/patch-configure
files/patch-src::Makefile.in

	
>How-To-Repeat:
	
>Fix:

	

--- libdbi.patch begins here ---
diff -ruN libdbi.orig/Makefile libdbi/Makefile
--- libdbi.orig/Makefile	Fri Jul  9 14:42:01 2004
+++ libdbi/Makefile	Thu Sep  1 22:43:37 2005
@@ -7,30 +7,30 @@
 #
 
 PORTNAME=	libdbi
-PORTVERSION=	0.7.2
+PORTVERSION=	0.8.0
 PORTREVISION=	0
 CATEGORIES=	databases devel
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
-		http://linux.ucla.edu/~dap24/%SUBDIR%/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	seanc@FreeBSD.org
 COMMENT=	Database Independent Abstraction Layer for C
 
-USE_INC_LIBTOOL_VER=	13
-INSTALLS_SHLIB=	yes
+USE_REINPLACE=		yes
+USE_INC_LIBTOOL_VER=	15
+INSTALLS_SHLIB=		yes
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-O20|${CFLAGS}|g' ${WRKSRC}/configure
 
 post-install:
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/*.pdf \
-		${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCSDIR}
 	@${MKDIR} ${DOCSDIR}/driver-guide
-	${INSTALL_DATA} ${WRKSRC}/doc/driver-guide/*.html \
-		${DOCSDIR}/driver-guide
+	${INSTALL_DATA} ${WRKSRC}/doc/driver-guide/*.html ${DOCSDIR}/driver-guide
 	@${MKDIR} ${DOCSDIR}/programmers-guide
-	${INSTALL_DATA} ${WRKSRC}/doc/programmers-guide/*.html \
-		${DOCSDIR}/programmers-guide
+	${INSTALL_DATA} ${WRKSRC}/doc/programmers-guide/*.html ${DOCSDIR}/programmers-guide
 .endif
 
 .include <bsd.port.mk>
diff -ruN libdbi.orig/distinfo libdbi/distinfo
--- libdbi.orig/distinfo	Fri Jun 25 16:50:39 2004
+++ libdbi/distinfo	Thu Sep  1 22:14:35 2005
@@ -1,2 +1,2 @@
-MD5 (libdbi-0.7.2.tar.gz) = 308e5746a2d0804be1d638319ad7b9c0
-SIZE (libdbi-0.7.2.tar.gz) = 516197
+MD5 (libdbi-0.8.0.tar.gz) = 1ea2b4ec8ad7c2e443f65ae7edb0a746
+SIZE (libdbi-0.8.0.tar.gz) = 1021069
diff -ruN libdbi.orig/files/patch-Makefile.in libdbi/files/patch-Makefile.in
--- libdbi.orig/files/patch-Makefile.in	Tue Nov 18 02:04:12 2003
+++ libdbi/files/patch-Makefile.in	Thu Sep  1 22:16:22 2005
@@ -1,11 +1,11 @@
---- Makefile.in.orig	Thu Oct 30 10:24:07 2003
-+++ Makefile.in	Thu Oct 30 10:24:15 2003
-@@ -88,7 +88,7 @@
- 
+--- Makefile.in.orig	Mon Aug 29 16:47:49 2005
++++ Makefile.in	Thu Sep  1 22:16:12 2005
+@@ -176,7 +176,7 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
  AUTOMAKE_OPTIONS = foreign dist-zip
- 
 -SUBDIRS = src include doc
 +SUBDIRS = src include
- 
- EXTRA_DIST = AUTHORS COPYING ChangeLog INSTALL README README.win32 README.osx TODO libdbi.spec.in config.h.in Makefile.w32 autogen.sh
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ EXTRA_DIST = AUTHORS COPYING ChangeLog INSTALL README README.win32 README.osx TODO NEWS libdbi.spec.in config.h.in Makefile.w32 autogen.sh drivers/example/AUTHORS drivers/example/Makefile.am drivers/example/README drivers/example/TODO drivers/example/.cvsignore drivers/example/dbd_example.c drivers/example/dbd_example.h drivers/example/dbd_example.sgml
+ all: config.h
+ 	$(MAKE) $(AM_MAKEFLAGS) all-recursive
diff -ruN libdbi.orig/files/patch-configure libdbi/files/patch-configure
--- libdbi.orig/files/patch-configure	Wed Nov  6 14:38:20 2002
+++ libdbi/files/patch-configure	Wed Dec 31 21:00:00 1969
@@ -1,21 +0,0 @@
---- configure.orig	Mon Oct 28 02:01:23 2002
-+++ configure	Sun Nov  3 09:35:03 2002
-@@ -5412,6 +5412,7 @@
- 
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
- 
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-@@ -5452,8 +5453,8 @@
-                 PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
-         *)
-                 DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
--                CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char"
--                PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
-+                CFLAGS="$CFLAGS -D__NO_MATH_INLINES -fsigned-char"
-+                PROFILE="$CFLAGS -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
-         esac
- fi
- 
diff -ruN libdbi.orig/files/patch-src::Makefile.in libdbi/files/patch-src::Makefile.in
--- libdbi.orig/files/patch-src::Makefile.in	Wed Nov  6 14:38:20 2002
+++ libdbi/files/patch-src::Makefile.in	Wed Dec 31 21:00:00 1969
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig	Mon Oct 28 02:01:32 2002
-+++ src/Makefile.in	Sun Nov  3 09:31:37 2002
-@@ -96,7 +96,7 @@
- libdbi_la_SOURCES = dbi_main.c dbi_result.c dbd_helper.c atoll.c asprintf.c
- libdbi_la_LDFLAGS = -version-info @LIB_CURRENT@:@LIB_REVISION@:@LIB_AGE@
- 
--CFLAGS = -DDBI_DRIVER_DIR=\"@driverdir@\"
-+CFLAGS = @CFLAGS@ -DDBI_DRIVER_DIR=\"@driverdir@\"
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = ../config.h
- CONFIG_CLEAN_FILES = 
diff -ruN libdbi.orig/pkg-plist libdbi/pkg-plist
--- libdbi.orig/pkg-plist	Tue Nov 18 02:04:12 2003
+++ libdbi/pkg-plist	Thu Sep  1 22:26:07 2005
@@ -3,6 +3,7 @@
 include/dbi/dbi-dev.h
 include/dbi/dbi.h
 lib/libdbi.a
+lib/libdbi.la
 lib/libdbi.so
 lib/libdbi.so.0
 %%PORTDOCS%%%%DOCSDIR%%/driver-guide.pdf
@@ -11,6 +12,7 @@
 %%PORTDOCS%%%%DOCSDIR%%/driver-guide/description.html
 %%PORTDOCS%%%%DOCSDIR%%/driver-guide/driverfuncs-dbquery.html
 %%PORTDOCS%%%%DOCSDIR%%/driver-guide/driverfuncs-infrastructure.html
+%%PORTDOCS%%%%DOCSDIR%%/driver-guide/driverfuncs-publicdbquery.html
 %%PORTDOCS%%%%DOCSDIR%%/driver-guide/driverfuncs.html
 %%PORTDOCS%%%%DOCSDIR%%/driver-guide/gnugpl.html
 %%PORTDOCS%%%%DOCSDIR%%/driver-guide/helperfuncs.html
@@ -32,6 +34,9 @@
 %%PORTDOCS%%%%DOCSDIR%%/programmers-guide/reference-database.html
 %%PORTDOCS%%%%DOCSDIR%%/programmers-guide/reference-driver.html
 %%PORTDOCS%%%%DOCSDIR%%/programmers-guide/reference-field.html
+%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/reference-field-idx.html
+%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/reference-field-meta.html
+%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/reference-query.html
 %%PORTDOCS%%%%DOCSDIR%%/programmers-guide/reference.html
 %%PORTDOCS%%%%DOCSDIR%%/programmers-guide/terminology.html
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/programmers-guide
--- libdbi.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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