Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2000 07:06:14 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/17460: Update port: databases/cdb to 0.75
Message-ID:  <200003181506.HAA54913@freefall.freebsd.org>

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

>Number:         17460
>Category:       ports
>Synopsis:       Update port: databases/cdb to 0.75
>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:   Sat Mar 18 07:10:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        3.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.75

Remove file:
patches/patch-aa

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/databases/cdb/Makefile databases/cdb/Makefile
--- /usr/ports/databases/cdb/Makefile	Sun Nov 21 21:12:47 1999
+++ databases/cdb/Makefile	Mon Mar 13 02:51:24 2000
@@ -1,19 +1,30 @@
 # ports collection makefile for:	Constant DataBase
-# Version required:			0.55
+# Version required:			0.75
 # Date created:				18th July 1998
 # Whom:					Gary Palmer <gpalmer@freebsd.org>
 #
 # $FreeBSD: ports/databases/cdb/Makefile,v 1.8 1999/11/20 22:09:14 cpiazza Exp $
 #
 
-DISTNAME=	cdb-0.55
+DISTNAME=	cdb-0.75
 CATEGORIES=	databases
-MASTER_SITES=	http://cr.yp.to/software/
+MASTER_SITES=	http://cr.yp.to/cdb/
 
 MAINTAINER=	ports@FreeBSD.org
 
 ALL_TARGET=	it
-MAN1=		cdbget.1 cdbmake.1 cdbdump.1 cdbstats.1 cdbtest.1
-MAN3=		cdb.3
+INSTALL_TARGET=	setup
+
+do-configure:
+	@${MV} ${WRKSRC}/conf-home ${WRKSRC}/conf-home.orig
+	${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
+	@${MV} ${WRKSRC}/conf-cc ${WRKSRC}/conf-cc.orig
+	${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
+	@${MV} ${WRKSRC}/conf-ld ${WRKSRC}/conf-ld.orig
+	${ECHO} ${CC} -s > ${WRKSRC}/conf-ld
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/cdb.h ${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/cdb.a ${PREFIX}/lib/libcdb.a
 
 .include <bsd.port.mk>
diff -urN /usr/ports/databases/cdb/files/md5 databases/cdb/files/md5
--- /usr/ports/databases/cdb/files/md5	Sun Jul 19 00:00:00 1998
+++ databases/cdb/files/md5	Mon Mar 13 01:57:15 2000
@@ -1 +1 @@
-MD5 (cdb-0.55.tar.gz) = bc6f32de8df81c699d5d76431ce76e79
+MD5 (cdb-0.75.tar.gz) = 81fed54d0bde51b147dd6c20cdb92d51
diff -urN /usr/ports/databases/cdb/patches/patch-aa databases/cdb/patches/patch-aa
--- /usr/ports/databases/cdb/patches/patch-aa	Sun Jul 19 00:00:00 1998
+++ databases/cdb/patches/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,13 +0,0 @@
---- Makefile.orig	Sat Jul 18 22:00:09 1998
-+++ Makefile	Sat Jul 18 22:17:04 1998
-@@ -152,3 +152,10 @@
- 	./tryulong32 ) >/dev/null 2>&1 \
- 	&& cat uint32.h2 || cat uint32.h1 ) > uint32.h
- 	rm -f tryulong32.o tryulong32
-+
-+install: it
-+	${INSTALL} -C -s cdbget cdbmake cdbdump cdbstats cdbtest ${PREFIX}/bin
-+	${INSTALL} -C libcdb.a libcdbmake.a ${PREFIX}/lib
-+	${INSTALL} -C cdbget.1 cdbmake.1 cdbdump.1 cdbstats.1 cdbtest.1 \
-+		${PREFIX}/man/man1
-+	${INSTALL} -C cdb.3 ${PREFIX}/man/man3
diff -urN /usr/ports/databases/cdb/pkg/PLIST databases/cdb/pkg/PLIST
--- /usr/ports/databases/cdb/pkg/PLIST	Mon Aug 17 10:14:00 1998
+++ databases/cdb/pkg/PLIST	Mon Mar 13 02:47:13 2000
@@ -1,7 +1,9 @@
+bin/cdbdump
 bin/cdbget
 bin/cdbmake
-bin/cdbdump
+bin/cdbmake-12
+bin/cdbmake-sv
 bin/cdbstats
 bin/cdbtest
+include/cdb.h
 lib/libcdb.a
-lib/libcdbmake.a


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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