ports/81996: [PATCH] sysutils/portupgrade: [SUMMARIZE CHANGES]

Alexander Novitsky alecn2002 at yandex.ru
Tue Jun 7 14:30:37 UTC 2005


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list