Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2005 18:23:32 +0400 (MSD)
From:      Alexander Novitsky <alecn2002@yandex.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        alecn2002@yandex.ru, knu@FreeBSD.org
Subject:   ports/81996: [PATCH] sysutils/portupgrade: [SUMMARIZE CHANGES]
Message-ID:  <200506071423.j57ENWgd025907@server.v42of.icc-vvd.ru>
Resent-Message-ID: <200506071430.j57EUYsm009524@freefall.freebsd.org>

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

>Number:         81996
>Category:       ports
>Synopsis:       [PATCH] sysutils/portupgrade: [SUMMARIZE CHANGES]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 07 14:30:34 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Novitsky
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
Inzhcomcentre VVD
>Environment:
System: FreeBSD server.v42of.icc-vvd.ru 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Fri May 13 16:59:19 MSD 2005
>Description:

It's too boring to change this port manually to BDB4 backend each time it changed, and it doesn't work with BDB1 backend on my machine (portsdb -u craches betwean 7000 and 8000 port).

So please add this option to choose betwean BDB1 and BDB4 backend by port config, not by manual fixing the port.

Port maintainer (knu@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- portupgrade-20041226_5.patch begins here ---
Index: Makefile
===================================================================
RCS file: /mnt/usr/local/ncvs/ports/sysutils/portupgrade/Makefile,v
retrieving revision 1.197
diff -u -r1.197 Makefile
--- Makefile	5 Jun 2005 23:49:17 -0000	1.197
+++ Makefile	7 Jun 2005 14:16:31 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	portupgrade
 PORTVERSION=	20041226
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	sysutils
 MASTER_SITES=	ftp://ftp.iDaemons.org/pub/distfiles/ \
 		${MASTER_SITE_LOCAL}
@@ -26,9 +26,13 @@
 MAINTAINER=	knu@FreeBSD.org
 COMMENT=	FreeBSD ports/packages administration and management tool suite
 
+OPTIONS=	BDB4 "BDB4 backend. (BDB1 if off)" on
+
+.if defined(WITH_BDB4)
+RUN_DEPENDS=	${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
+.else
 RUN_DEPENDS=	${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1
-# For PKG_DBDRIVER={bdb_btree,bdb_hash,bdb}
-#		${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
+.endif
 
 USE_RC_SUBR=	yes
 USE_BZIP2=	yes
--- portupgrade-20041226_5.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?200506071423.j57ENWgd025907>