From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 13 22:00:17 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 798D316A41F for ; Sun, 13 Nov 2005 22:00:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC84043D4C for ; Sun, 13 Nov 2005 22:00:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jADM0GRt051825 for ; Sun, 13 Nov 2005 22:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jADM0GVR051824; Sun, 13 Nov 2005 22:00:16 GMT (envelope-from gnats) Resent-Date: Sun, 13 Nov 2005 22:00:16 GMT Resent-Message-Id: <200511132200.jADM0GVR051824@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, "Michael C. Shultz" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AD5616A41F for ; Sun, 13 Nov 2005 21:55:09 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id C00B043D46 for ; Sun, 13 Nov 2005 21:55:08 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from ringworm.mechee.com ([71.102.14.129]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IPW00CO3Y7LHV97@vms040.mailsrvcs.net> for FreeBSD-gnats-submit@freebsd.org; Sun, 13 Nov 2005 15:54:59 -0600 (CST) Received: by ringworm.mechee.com (Postfix, from userid 1001) id 59C4C130C23; Sun, 13 Nov 2005 13:45:30 -0800 (PST) Message-Id: <20051113214530.59C4C130C23@ringworm.mechee.com> Date: Sun, 13 Nov 2005 13:45:30 -0800 (PST) From: "Michael C. Shultz" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/88953: [MAINTAINER] update sysutils/portmanager X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Michael C. Shultz" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2005 22:00:17 -0000 >Number: 88953 >Category: ports >Synopsis: [MAINTAINER] update sysutils/portmanager >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Nov 13 22:00:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Michael C. Shultz >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD ringworm.mechee.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Nov 4 06:35:37 PST 2005 root@ringworm.mechee.com:/usr5/obj/usr5/src/sys/RINGWORM5 i386 >Description: update sysutils/portmanager to 0.3.4_2 1. Fixes bug where on initial installation if portmanager is run in single port update mode first it is missing a database 2. Added WITH_BUILD_DEPENDS_ARE_LEAVES information to man page Note to comitter: adds files/patch-0.3.4_2 >How-To-Repeat: N/A >Fix: --- portmanager-0.3.4_2.diff begins here --- diff -ruN portmanager/Makefile portmanager-0.3.4_2/Makefile --- portmanager/Makefile Sat Nov 12 11:27:26 2005 +++ portmanager-0.3.4_2/Makefile Sun Nov 13 13:34:57 2005 @@ -7,7 +7,7 @@ PORTNAME= portmanager PORTVERSION= 0.3.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://portmanager.sunsite.dk/distfiles/ \ ${MASTER_SITE_SOURCEFORGE} diff -ruN portmanager/files/patch-0.3.4_2 portmanager-0.3.4_2/files/patch-0.3.4_2 --- portmanager/files/patch-0.3.4_2 Wed Dec 31 16:00:00 1969 +++ portmanager-0.3.4_2/files/patch-0.3.4_2 Sun Nov 13 13:34:57 2005 @@ -0,0 +1,77 @@ +diff -ruN ../0.3.4_1/libMGPM/src/MGPMrController.c ./libMGPM/src/MGPMrController.c +--- ../0.3.4_1/libMGPM/src/MGPMrController.c Sat Nov 12 15:33:52 2005 ++++ ./libMGPM/src/MGPMrController.c Sat Nov 12 18:57:48 2005 +@@ -428,6 +428,24 @@ + */ + if( property->resume == 0 ) /* skip this if --resume */ + { ++ if( ( errorCode = MGPMrCreateInstalledDb( property ) ) ) ++ { ++ fprintf( stdout, "%s %s error: %s returned errorCode %d\n", id, PACKAGE_VERSION, "MGPMrCreateStatusDb", errorCode ); ++ free( command ); ++ free( oldPortDir ); ++ free( oldPortName ); ++ free( xtermTitle ); ++ if( property->log ) ++ { ++ strcpy( command, "echo \" end of log \" " ); ++ strcat( command, " >> /var/log/portmanager.log" ); ++ system( command ); ++ strcpy( command, "date >> /var/log/portmanager.log" ); ++ system( command ); ++ } ++ return( 1 ); ++ } ++ + if( ( errorCode = MGPMrSinglePortCreateStatusDb( property, path ) ) ) + { + fprintf( stdout, "%s %s error: %s returned errorCode %d\n", id, PACKAGE_VERSION, "MGPMrSinglePortCreateStatusDb", errorCode ); +diff -ruN ../0.3.4_1/portmanager/portmanager.1 ./portmanager/portmanager.1 +--- ../0.3.4_1/portmanager/portmanager.1 Sat Nov 12 15:33:52 2005 ++++ ./portmanager/portmanager.1 Sun Nov 13 08:08:10 2005 +@@ -198,6 +198,33 @@ + #START\&|/mail/postfix /usr/local/sbin/postfix start\&| + .sp + .\"======================================================================= ++.Sh KNOBS ++.sp ++Portmanager may be built in various configurations by setting certain ++\&"knobs\&" on or off. ++.sp ++WITH_DEBUG ++.sp ++ a) set with either make config from sysutils/portmanager or ++by adding \fBsysutils/portmanager|WITH_DEBUG=1|\fR to pm-020.conf ++.sp ++ b) effects: when portmanager is built all warnings are enabled ++and is built with -ggdb option so symbols may be seen with gdb debugger. ++.sp ++WITH_BUILD_DEPENDS_ARE_LEAVES ++.sp ++ a) portmanager normally tries to keep ports that are only build dependencies ++for other ports installed and current, some people have expressed a dislike ++of tracking build dependencies this close. By setting ++WITH_BUILD_DEPENDS_ARE_LEAVES=1 in pm-020.conf or through make config, build ++dependencies that are missing won't be tracked and -sl -slid will list these ++type of ports as leaves. ++.sp ++ b) ports/java, ports in this category are allowed to build even if build ++dependencies are missing in normal mode, all though in normal mode build ++dependencies will still get identified as missing. ++.sp ++.\"======================================================================= + .Sh DIAGNOSTICS + Detail of how portmanager upgrade cycle works: + .sp +Binary files ../0.3.4_1/portmanager-0.3.5.tar.gz and ./portmanager-0.3.5.tar.gz differ +diff -ruN ../0.3.4_1/programmer-notes.txt ./programmer-notes.txt +--- ../0.3.4_1/programmer-notes.txt Sat Nov 12 15:33:53 2005 ++++ ./programmer-notes.txt Sun Nov 13 03:05:41 2005 +@@ -2,6 +2,7 @@ + + TODO list + ++ PICK up all paths through make -V's if possible + add pkgtools-to-portmanager.rb to tarball + move MGPMrGetPortName from MGPMrCreateAllUpdateStatusDb.c next new tarball to its own file + move database files to /var/db/portmanager --- portmanager-0.3.4_2.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: