From owner-svn-ports-head@freebsd.org Sun Mar 20 11:50:00 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A727EAD608A; Sun, 20 Mar 2016 11:50:00 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5AB4813D0; Sun, 20 Mar 2016 11:50:00 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2KBnxei094080; Sun, 20 Mar 2016 11:49:59 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2KBnxTK094078; Sun, 20 Mar 2016 11:49:59 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201603201149.u2KBnxTK094078@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sun, 20 Mar 2016 11:49:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411437 - head/ports-mgmt/synth X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2016 11:50:00 -0000 Author: marino Date: Sun Mar 20 11:49:59 2016 New Revision: 411437 URL: https://svnweb.freebsd.org/changeset/ports/411437 Log: ports-mgmt/synth: Upgrade version 1.31 => 1.32 prepare-system, upgrade-system package deletion bug: These two commands had a serious logic flaw that resulted in newly-built packages to be immediately deleted prior the pkg(8) repo command. (And the obvious result of the system not getting updated without re-running the same command.) The cause was that the first package validity scan marked the package for deletion, and this setting was never reset. The obsolete package was correctly deleted and rebuilt, but then it was quickly deleted again during the second package scan because the previous deletion mark was still present. The fix was simple: Reset the deletion marks before rebuilding the repository so the second scan proceeds accurately. Test case provided by Wapcaplet in FreeBSD forums Modified: head/ports-mgmt/synth/Makefile head/ports-mgmt/synth/distinfo Modified: head/ports-mgmt/synth/Makefile ============================================================================== --- head/ports-mgmt/synth/Makefile Sun Mar 20 11:26:09 2016 (r411436) +++ head/ports-mgmt/synth/Makefile Sun Mar 20 11:49:59 2016 (r411437) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= synth -PORTVERSION= 1.31 +PORTVERSION= 1.32 DISTVERSIONPREFIX= v CATEGORIES= ports-mgmt Modified: head/ports-mgmt/synth/distinfo ============================================================================== --- head/ports-mgmt/synth/distinfo Sun Mar 20 11:26:09 2016 (r411436) +++ head/ports-mgmt/synth/distinfo Sun Mar 20 11:49:59 2016 (r411437) @@ -1,4 +1,4 @@ -SHA256 (jrmarino-synth-v1.31_GH0.tar.gz) = 77f29183b7005f5ed2c1ad8489dfc53e7cae43a749d7879e12b381f2e4563e4b -SIZE (jrmarino-synth-v1.31_GH0.tar.gz) = 99010 +SHA256 (jrmarino-synth-v1.32_GH0.tar.gz) = 3a04c9c7b3287d48ea12620ea0deb86282894cceb8bee630b13b891c1f2f00f4 +SIZE (jrmarino-synth-v1.32_GH0.tar.gz) = 99037 SHA256 (jrmarino-synth_external-v1.3_GH0.tar.gz) = 2afc03e494d2394446eabdb5244967c202a79b449c7cad7ea67a87807cc25f44 SIZE (jrmarino-synth_external-v1.3_GH0.tar.gz) = 209283