From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 18 15:40:28 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 60FC716A41F for ; Fri, 18 Nov 2005 15:40:28 +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 EA7CD43D73 for ; Fri, 18 Nov 2005 15:40: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 jAIFeGQj036753 for ; Fri, 18 Nov 2005 15:40:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAIFeG7B036749; Fri, 18 Nov 2005 15:40:16 GMT (envelope-from gnats) Resent-Date: Fri, 18 Nov 2005 15:40:16 GMT Resent-Message-Id: <200511181540.jAIFeG7B036749@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 36F2716A41F; Fri, 18 Nov 2005 15:36:47 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E13243D46; Fri, 18 Nov 2005 15:36:46 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from ringworm.mechee.com ([71.102.14.129]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IQ500JYMQ18H7K2@vms048.mailsrvcs.net>; Fri, 18 Nov 2005 09:36:45 -0600 (CST) Received: by ringworm.mechee.com (Postfix, from userid 1001) id E8D7B130C21; Fri, 18 Nov 2005 07:27:34 -0800 (PST) Message-Id: <20051118152734.E8D7B130C21@ringworm.mechee.com> Date: Fri, 18 Nov 2005 07:27:34 -0800 (PST) From: "Michael C. Shultz" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Pav Lucistnik Subject: ports/89242: [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: Fri, 18 Nov 2005 15:40:28 -0000 >Number: 89242 >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: Fri Nov 18 15:40: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.7 1. Modifies bsd.port.mk to use portmanager as data source when registering installed ports or creating backup packages, returns bsd.port.mk to original state after each port is rebuilt/updated Note to comitter: New tar ball, please remove files/ and any patches, thank you. >How-To-Repeat: N/A >Fix: --- portmanager-0.3.7.diff begins here --- diff -ruN portmanager/Makefile portmanager-0.3.7/Makefile --- portmanager/Makefile Tue Nov 15 19:17:13 2005 +++ portmanager-0.3.7/Makefile Fri Nov 18 06:51:53 2005 @@ -6,8 +6,7 @@ # PORTNAME= portmanager -PORTVERSION= 0.3.5 -PORTREVISION= 1 +PORTVERSION= 0.3.7 CATEGORIES= sysutils MASTER_SITES= http://portmanager.sunsite.dk/distfiles/ \ ${MASTER_SITE_SOURCEFORGE} @@ -51,7 +50,7 @@ CONFIGURE_ARGS+= --with-treatBuildDependsAsLeaves=yes .endif -# Keep this in post-configure. After run configure, he change this value. +# Keep this in post-configure. After run configure, this value is changed. post-configure: @${REINPLACE_CMD} -e \ 's|PACKAGE_VERSION "${PORTVERSION}"|PACKAGE_VERSION "${PORTVERSION}_${PORTREVISION}"|g' \ diff -ruN portmanager/distinfo portmanager-0.3.7/distinfo --- portmanager/distinfo Tue Nov 15 06:06:08 2005 +++ portmanager-0.3.7/distinfo Fri Nov 18 06:59:10 2005 @@ -1,3 +1,3 @@ -MD5 (portmanager-0.3.5.tar.gz) = b19edf48625ba3565a2b60a0a3f681b0 -SHA256 (portmanager-0.3.5.tar.gz) = e9713a0fd223fb942dca06378f8199b6c5f1e58375201097e55c7ec38fdf2434 -SIZE (portmanager-0.3.5.tar.gz) = 437330 +MD5 (portmanager-0.3.7.tar.gz) = e666f4f8b2fdb8ae2ca480b64dc5c00c +SHA256 (portmanager-0.3.7.tar.gz) = 6184bbaa78437cbbc0b828efdabf4666dfb858d94bde9d36d46e99531ba0287d +SIZE (portmanager-0.3.7.tar.gz) = 439992 diff -ruN portmanager/files/patch-0.3.5_1 portmanager-0.3.7/files/patch-0.3.5_1 --- portmanager/files/patch-0.3.5_1 Tue Nov 15 19:17:13 2005 +++ portmanager-0.3.7/files/patch-0.3.5_1 Wed Dec 31 16:00:00 1969 @@ -1,93 +0,0 @@ -diff -ruN ../0.3.5/libMGPM/src/MGPMlogAdd.c ./libMGPM/src/MGPMlogAdd.c ---- ../0.3.5/libMGPM/src/MGPMlogAdd.c Mon Nov 14 13:55:34 2005 -+++ ./libMGPM/src/MGPMlogAdd.c Mon Nov 14 23:17:47 2005 -@@ -48,7 +48,7 @@ - } - - logFileStream = fopen( property->logFile->parent.path, "a" ); -- fprintf( logFileStream, "%-25s %-25s\n\t%-25s %-25s %-25s\n", victemName, victemDir, crime, suspectName, suspectDir ); -+ fprintf( logFileStream, "%-35s %-30s\n %-35s %-35s %-30s\n\n", victemName, victemDir, crime, suspectName, suspectDir ); - fclose( logFileStream ); - return( 0 ); - } -diff -ruN ../0.3.5/libMGPM/src/MGPMrController.c ./libMGPM/src/MGPMrController.c ---- ../0.3.5/libMGPM/src/MGPMrController.c Mon Nov 14 14:46:52 2005 -+++ ./libMGPM/src/MGPMrController.c Tue Nov 15 10:04:32 2005 -@@ -270,6 +270,46 @@ - - if( path && ( strcmp( path, "PMSTATUS" ) == 0 ) ) - { -+ property->pmMode = 1; /* fake like we are in single port update */ -+ if( property->resume == 0 ) -+ { -+ property->cacheDb = MGdbCreate( -+ property->cacheDbFileName, -+ property->fieldCacheDbPortDir, -+ property->fieldCacheDbAvailablePortName, -+ property->fieldCacheDbMakeFileSize, -+ property->fieldCacheDbMakeFileTime, -+ NULL ); -+ MGdbDestroy( property->cacheDb ); -+ if( ( errorCode = MGPMrCreateInstalledDb( property ) ) ) -+ { -+ fprintf( stdout, "%s %s error: %s returned errorCode %d\n", id, PACKAGE_VERSION, -+ "MGPMrCreateInstalledDb", errorCode ); -+ return( 1 ); -+ } -+ if( ( errorCode = MGPMrCreateAllUpdateStatusDb( property ) ) ) -+ { -+ fprintf( stdout, "%s %s error: %s returned errorCode %d\n", id, PACKAGE_VERSION, -+ "MGPMrCreateAllUpdateStatusDb", errorCode ); -+ return( 1 ); -+ } -+ } -+ if( ( errorCode = MGPMrCreateInstalledDb( property ) ) ) -+ { -+ fprintf( stdout, "%s %s error: %s returned errorCode %d\n", id, PACKAGE_VERSION, "MGPMrCreateStatusDb", errorCode ); -+ return( 1 ); -+ } -+ -+ if( ( errorCode = MGPMrSinglePortStatus( property ) ) ) -+ { -+ fprintf( stdout, "%s %s error: %s returned errorCode %d\n", id, PACKAGE_VERSION, "MGPMrSinglePortStatus", errorCode ); -+ return( 1 ); -+ } -+ return( 0 ); -+ } -+/* -+ * old way of doing things -+ * - if( ( errorCode = MGPMrCreateInstalledDb( property ) ) ) - { - fprintf( stdout, "%s %s error: %s returned errorCode %d\n", id, PACKAGE_VERSION, "MGPMrCreateStatusDb", errorCode ); -@@ -308,7 +348,7 @@ - free( xtermTitle ); - MGPMlogDestroy( property ); - return(0); -- } -+*/ - - if( path && strcmp( path, "PMUPGRADE" ) == 0 ) - { -diff -ruN ../0.3.5/libMGPM/src/MGPMrSinglePortStatus.c ./libMGPM/src/MGPMrSinglePortStatus.c ---- ../0.3.5/libMGPM/src/MGPMrSinglePortStatus.c Mon Nov 14 14:54:02 2005 -+++ ./libMGPM/src/MGPMrSinglePortStatus.c Mon Nov 14 19:10:08 2005 -@@ -159,7 +159,7 @@ - MGdbAdd( property->oldPortsDb, - installedPortsDbPortDir, - installedPortsDbPortName, -- "1 built with OLD dependency", -+ "built with OLD dependency", - oldDependencyName, - oldDependencyDir, - NULL ); -@@ -226,7 +226,7 @@ - MGdbAdd( property->oldPortsDb, - installedPortsDbPortDir, - installedPortsDbPortName, -- "2 built with OLD dependency", -+ "built with OLD dependency", - MGdbGet( property->dependencyPortsDb, - MGdbGetRecno( property->dependencyPortsDb ) - 1, - property->fieldDependencyDbDependencyPortName ), -Binary files ../0.3.5/portmanager-0.3.6.tar.gz and ./portmanager-0.3.6.tar.gz differ diff -ruN portmanager/pkg-plist portmanager-0.3.7/pkg-plist --- portmanager/pkg-plist Sat Nov 5 05:49:10 2005 +++ portmanager-0.3.7/pkg-plist Fri Nov 18 06:39:02 2005 @@ -3,6 +3,7 @@ @unexec rm -f %D/share/portmanager/configure.db 2>/dev/null || true @unexec rm -f %D/share/portmanager/configure.db.temp 2>/dev/null || true @unexec rm -f %D/share/portmanager/ignore.db 2>/dev/null || true +@unexec rm -f %D/share/portmanager/pkg.db || true @unexec rm -f %D/share/portmanager/portCache.tmp 2>/dev/null || true @unexec rm -f %D/share/portmanager/ports_available.db 2>/dev/null || true @unexec rm -f %D/share/portmanager/ports_available_dependencies.db 2>/dev/null || true @@ -11,6 +12,7 @@ @unexec rm -f %D/share/portmanager/ports_installed.db 2>/dev/null || true @unexec rm -f %D/share/portmanager/ports_old.db 2>/dev/null || true %%DATADIR%%/help.txt +%%DATADIR%%/patch-bsd.port.mk-0.3.6 bin/portmanager etc/portmanager/pm-020.conf.SAMPLE include/libMG.h --- portmanager-0.3.7.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: