From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 29 17:40:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C39AC1065672 for ; Fri, 29 Jun 2012 17:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9A8698FC08 for ; Fri, 29 Jun 2012 17:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5THe1Qw064662 for ; Fri, 29 Jun 2012 17:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5THe1He064661; Fri, 29 Jun 2012 17:40:01 GMT (envelope-from gnats) Resent-Date: Fri, 29 Jun 2012 17:40:01 GMT Resent-Message-Id: <201206291740.q5THe1He064661@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Wesley Shields Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A184D106564A for ; Fri, 29 Jun 2012 17:31:41 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.49.45]) by mx1.freebsd.org (Postfix) with ESMTP id 5883F8FC17 for ; Fri, 29 Jun 2012 17:31:41 +0000 (UTC) Received: by syn.atarininja.org (Postfix, from userid 1001) id 9AFD65C48; Fri, 29 Jun 2012 13:31:35 -0400 (EDT) Message-Id: <20120629173135.9AFD65C48@syn.atarininja.org> Date: Fri, 29 Jun 2012 13:31:35 -0400 (EDT) From: Wesley Shields To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: mail@derzinn.de Subject: ports/169548: [PATCH]: Update databases/mongodb X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Wesley Shields List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2012 17:40:01 -0000 >Number: 169548 >Category: ports >Synopsis: [PATCH]: Update databases/mongodb >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 Jun 29 17:40:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Wesley Shields >Release: FreeBSD 9.0-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD syn.csh.rit.edu 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #7: Tue Jun 12 15:48:26 EDT 2012 root@syn.csh.rit.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: databases/mongodb is out of date. I've attached a patch which updates the port and converts it to use the new options support. I am CC'ing the maintainer on this. >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/databases/mongodb/Makefile,v retrieving revision 1.26 diff -u -r1.26 Makefile --- Makefile 22 Mar 2012 08:03:06 -0000 1.26 +++ Makefile 29 Jun 2012 17:28:16 -0000 @@ -6,7 +6,7 @@ # PORTNAME= mongodb -PORTVERSION= 2.0.4 +PORTVERSION= 2.0.6 CATEGORIES= databases net MASTER_SITES= http://downloads.mongodb.org/src/ DISTNAME= ${PORTNAME}-src-r${PORTVERSION} @@ -23,8 +23,9 @@ ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64" -OPTIONS= DEVEL "Install development files (library and headers)" off \ - V8 "Use v8 instead of spider monkey for javascript" off +OPTIONS_DEFINE= DEVEL V8 +DEVEL_DESC= Install development files (library and headers) +V8_DESC= Use v8 instead of spider monkey for javascript USE_SCONS= yes SCONS_TARGET= all @@ -35,16 +36,16 @@ USE_RC_SUBR= mongod -.include +.include -.if defined(WITH_DEVEL) +.if ${PORT_OPTIONS:MDEVEL} SCONS_ARGS+= --full PLIST_SUB+= DEVEL="" .else PLIST_SUB+= DEVEL="@comment " .endif -.if defined(WITH_V8) +.if ${PORT_OPTIONS:MV8} SCONS_ARGS+= --usev8 LIB_DEPENDS+= v8:${PORTSDIR}/lang/v8 .else @@ -57,4 +58,4 @@ ${TOUCH} ${PREFIX}/etc/mongodb.conf ; \ fi -.include +.include Index: distinfo =================================================================== RCS file: /home/ncvs/ports/databases/mongodb/distinfo,v retrieving revision 1.21 diff -u -r1.21 distinfo --- distinfo 22 Mar 2012 08:03:06 -0000 1.21 +++ distinfo 29 Jun 2012 13:51:37 -0000 @@ -1,2 +1,2 @@ -SHA256 (mongodb-src-r2.0.4.tar.gz) = 65296df2777778f49a72513483d048f271339683c89d676b80e76687496a38f9 -SIZE (mongodb-src-r2.0.4.tar.gz) = 2966431 +SHA256 (mongodb-src-r2.0.6.tar.gz) = a972725a7dc3d079f8070d3631956141a7fe2f422d350e6cd3288c9e19fa314e +SIZE (mongodb-src-r2.0.6.tar.gz) = 2973489 Index: files/patch-SConstruct =================================================================== RCS file: /home/ncvs/ports/databases/mongodb/files/patch-SConstruct,v retrieving revision 1.5 diff -u -r1.5 patch-SConstruct --- files/patch-SConstruct 22 Mar 2012 08:03:06 -0000 1.5 +++ files/patch-SConstruct 29 Jun 2012 14:34:12 -0000 @@ -1,18 +1,6 @@ ---- SConstruct.orig 2012-03-21 22:02:02.000000000 +0100 -+++ SConstruct 2012-03-21 23:21:09.000000000 +0100 -@@ -714,7 +714,10 @@ - - #make scons colorgcc friendly - env['ENV']['HOME'] = os.environ['HOME'] -- env['ENV']['TERM'] = os.environ['TERM'] -+ try: -+ env['ENV']['TERM'] = os.environ['TERM'] -+ except KeyError: -+ env['ENV']['TERM'] = 'dumb' - - if linux and has_option( "sharedclient" ): - env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " ) -@@ -797,8 +800,9 @@ +--- ./SConstruct.orig 2012-06-29 09:53:07.000000000 -0400 ++++ ./SConstruct 2012-06-29 10:34:03.000000000 -0400 +@@ -800,8 +800,9 @@ options_topass["nix"] = nix if has_option( "use-system-" + shortName ) or has_option( "use-system-all" ): @@ -24,7 +12,7 @@ else: myModule.configure( env , fileLists , options_topass ) -@@ -1458,7 +1462,7 @@ +@@ -1461,7 +1462,7 @@ fullInstallName = installDir + "/bin/" + name allBinaries += [ name ] >Release-Note: >Audit-Trail: >Unformatted: