From owner-freebsd-ports Tue Nov 5 15:10:20 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80C0A37B417 for ; Tue, 5 Nov 2002 15:10:06 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB16143E9E for ; Tue, 5 Nov 2002 15:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gA5NA2x3035523 for ; Tue, 5 Nov 2002 15:10:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gA5NA258035522; Tue, 5 Nov 2002 15:10:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A36437B401 for ; Tue, 5 Nov 2002 15:09:27 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3F7B43E9E for ; Tue, 5 Nov 2002 15:09:26 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.6/8.12.6) with ESMTP id gA5N9Q7R061413 for ; Tue, 5 Nov 2002 15:09:26 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.6/8.12.6/Submit) id gA5N9Q3d061412; Tue, 5 Nov 2002 15:09:26 -0800 (PST) Message-Id: <200211052309.gA5N9Q3d061412@www.freebsd.org> Date: Tue, 5 Nov 2002 15:09:26 -0800 (PST) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/44960: Update port: databases/fastdb to 2.51 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 44960 >Category: ports >Synopsis: Update port: databases/fastdb to 2.51 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Nov 05 15:10:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.7-RELEASE i386 >Organization: >Environment: >Description: - Update to version 2.51 >How-To-Repeat: >Fix: diff -urN /usr/ports/databases/fastdb/Makefile databases/fastdb/Makefile --- /usr/ports/databases/fastdb/Makefile Tue Sep 10 20:07:12 2002 +++ databases/fastdb/Makefile Sun Nov 3 09:16:25 2002 @@ -7,26 +7,26 @@ # PORTNAME= fastdb -PORTVERSION= 2.41 +PORTVERSION= 2.51 CATEGORIES= databases -MASTER_SITES= http://www.ispras.ru/~knizhnik/ +MASTER_SITES= http://www.garret.ru/~knizhnik/ MAINTAINER= ports@FreeBSD.org WRKSRC= ${WRKDIR}/${PORTNAME} USE_GMAKE= yes -MAKE_ENV= PREFIX="${PREFIX}" \ +MAKE_ENV= OSTYPE="${OPSYS:L}" \ + PREFIX="${PREFIX}" \ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" MAKEFILE= makefile -INSTALL_TARGET= installlib INSTALLS_SHLIB= yes post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/FastDB.htm ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/FastDB.htm ${DOCSDIR} .endif .include diff -urN /usr/ports/databases/fastdb/distinfo databases/fastdb/distinfo --- /usr/ports/databases/fastdb/distinfo Tue Sep 10 20:07:12 2002 +++ databases/fastdb/distinfo Sun Nov 3 09:04:51 2002 @@ -1 +1 @@ -MD5 (fastdb-2.41.tar.gz) = d5cc58fd466c73d2627f4bbf57440892 +MD5 (fastdb-2.51.tar.gz) = 0371eff57d1e7ca958027253cb31ed54 diff -urN /usr/ports/databases/fastdb/files/patch-makefile databases/fastdb/files/patch-makefile --- /usr/ports/databases/fastdb/files/patch-makefile Tue Sep 10 20:07:12 2002 +++ databases/fastdb/files/patch-makefile Sun Nov 3 09:09:51 2002 @@ -1,7 +1,7 @@ ---- makefile.orig Thu Jul 4 23:46:37 2002 -+++ makefile Thu Jul 4 23:50:24 2002 -@@ -2,13 +2,13 @@ - # Makefile for Generic Unix with GCC compiler +--- makefile.orig Mon Oct 28 19:50:00 2002 ++++ makefile Sun Nov 3 09:09:41 2002 +@@ -4,13 +4,13 @@ + FAULT_TOLERANT=0 # Place where to copy GastDB header files -INCSPATH=/usr/local/include/fastdb @@ -16,19 +16,19 @@ +BINSPATH=${PREFIX}/bin OBJS = class.o compiler.o database.o hashtab.o file.o symtab.o ttree.o \ - cursor.o query.o wwwapi.o unisock.o sync.o -@@ -30,8 +30,8 @@ - TFLAGS=-pthread - THRLIBS= - else --TFLAGS=-D_REENTRANT -D_THREAD_SAFE --THRLIBS=-lpthread + cursor.o query.o wwwapi.o unisock.o sync.o localcli.o +@@ -29,8 +29,8 @@ + SUFF= + else + ifneq (,$(findstring freebsd,$(OSTYPE))) +-TFLAGS=-pthread +-THRLIBS= +TFLAGS=-D_REENTRANT ${PTHREAD_CFLAGS} +THRLIBS=${PTHREAD_LIBS} - endif - SUFF=_r - endif -@@ -60,7 +60,6 @@ + else + TFLAGS=-D_REENTRANT -D_THREAD_SAFE + THRLIBS=-lpthread +@@ -62,7 +62,6 @@ WEB_EXAMPLES = cgistub bugdb clidb @@ -36,12 +36,12 @@ # Possible FastDB compile time parameters (-Dxxx should be added to DEFS macro): # 1. USE_LOCALE_SETTING - use C locale for string comparison operations -@@ -93,13 +92,13 @@ - - #CFLAGS = $(TFLAGS) -c -Wall -O5 -g $(TFLAGS) +@@ -98,13 +97,13 @@ + DEFS = -DUSE_QUEUE_MANAGER -DUSE_LOCALE_SETTINGS + #CFLAGS = $(TFLAGS) -c -Wall -O5 -g $(DEFS) -CFLAGS = -c -Wall -O0 -g $(DEFS) $(TFLAGS) -+CFLAGS += -c $(TFLAGS) ++CFLAGS += -c $(DEFS) $(TFLAGS) #CFLAGS = -c -Wall -O0 -DDEBUG=DEBUG_TRACE -g $(DEFS) $(TFLAGS) -SHFLAGS=-shared +SHFLAGS=-shared -Wl,-soname,$@ @@ -53,7 +53,13 @@ AR = ar ARFLAGS = -cru -@@ -302,14 +301,13 @@ +@@ -314,14 +313,13 @@ + + install: subsql installlib + mkdir -p $(BINSPATH) +- cp subsql $(BINSPATH) +- strip $(BINSPATH)/subsql ++ ${BSD_INSTALL_PROGRAM} subsql $(BINSPATH) installlib: $(FASTDB_LIB) $(CLI_LIB) $(FASTDB_SHARED) $(CLI_SHARED) mkdir -p $(INCSPATH) @@ -61,13 +67,7 @@ + ${BSD_INSTALL_DATA} $(INCS) $(INCSPATH) mkdir -p $(LIBSPATH) - cp $(FASTDB_LIB) $(CLI_LIB) $(FASTDB_SHARED) $(CLI_SHARED) $(LIBSPATH) -- cp -P libcli.so $(LIBSPATH) + ${BSD_INSTALL_DATA} $(FASTDB_LIB) $(CLI_LIB) $(FASTDB_SHARED) $(CLI_SHARED) $(LIBSPATH) ln -f -s $(LIBSPATH)/$(FASTDB_SHARED) $(LIBSPATH)/libfastdb$(SUFF).so ln -f -s $(LIBSPATH)/$(CLI_SHARED) $(LIBSPATH)/libcli$(SUFF).so - mkdir -p $(BINSPATH) -- cp subsql $(BINSPATH) -+ ${BSD_INSTALL_PROGRAM} subsql $(BINSPATH) - - diff -urN /usr/ports/databases/fastdb/pkg-descr databases/fastdb/pkg-descr --- /usr/ports/databases/fastdb/pkg-descr Sat Mar 3 01:25:51 2001 +++ databases/fastdb/pkg-descr Sat Nov 2 20:48:27 2002 @@ -7,4 +7,4 @@ - Efficient log-less transactions - Zero time recovery -WWW: http://www.ispras.ru/~knizhnik/fastdb.html +WWW: http://www.garret.ru/~knizhnik/fastdb.html diff -urN /usr/ports/databases/fastdb/pkg-plist databases/fastdb/pkg-plist --- /usr/ports/databases/fastdb/pkg-plist Wed Aug 8 14:05:25 2001 +++ databases/fastdb/pkg-plist Sun Nov 3 09:16:43 2002 @@ -1,6 +1,7 @@ bin/subsql include/fastdb/array.h include/fastdb/class.h +include/fastdb/cli.h include/fastdb/cursor.h include/fastdb/database.h include/fastdb/datetime.h >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message