From owner-svn-ports-head@freebsd.org Thu Mar 17 10:45:12 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 6C32DAD3117; Thu, 17 Mar 2016 10:45:12 +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 1F85719A2; Thu, 17 Mar 2016 10:45:12 +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 u2HAjBC0068763; Thu, 17 Mar 2016 10:45:11 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2HAjBdA068761; Thu, 17 Mar 2016 10:45:11 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201603171045.u2HAjBdA068761@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Thu, 17 Mar 2016 10:45:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411270 - 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: Thu, 17 Mar 2016 10:45:12 -0000 Author: marino Date: Thu Mar 17 10:45:10 2016 New Revision: 411270 URL: https://svnweb.freebsd.org/changeset/ports/411270 Log: ports-mgmt/synth: Upgrade version 1.30 => 1.31 Pkg(8) bug workaround: The pkg rquery man page is incorrect. It lists the invocation of pkg rquery as "-U -r reponame" but if it's invoked in that order, it will squawk errors if any of the repositories are misconfigured. The command must be "pkg rquery -r reponame -U" in order to limit pkg(8) to a single repository. The order sensitivity came into play with "synth upgrade-system" command on a brand new system. The 00_synth.conf pkg(8) configuration file was created but there were no repository files created yet, cause pkg(8) to emit errors on Synth repo when checking the official FreeBSD package repo. This resulted in no packages prefetching even though "synth status" indicated some would be fetched. Rearranging the internal rquery commands works around the misleading pkg(8) documentation (or bug?). FreeBSD-specific system root validity check. The $SYSROOT/boot directory doesn't have to be present, but if it is, there must also be present $SYSROOT/boot/modules directory. Synth now checks for this on FreeBSD and stops with an informative message when the modules directory needs to be created by the root user. Modified: head/ports-mgmt/synth/Makefile head/ports-mgmt/synth/distinfo Modified: head/ports-mgmt/synth/Makefile ============================================================================== --- head/ports-mgmt/synth/Makefile Thu Mar 17 10:38:22 2016 (r411269) +++ head/ports-mgmt/synth/Makefile Thu Mar 17 10:45:10 2016 (r411270) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= synth -PORTVERSION= 1.30 +PORTVERSION= 1.31 DISTVERSIONPREFIX= v CATEGORIES= ports-mgmt Modified: head/ports-mgmt/synth/distinfo ============================================================================== --- head/ports-mgmt/synth/distinfo Thu Mar 17 10:38:22 2016 (r411269) +++ head/ports-mgmt/synth/distinfo Thu Mar 17 10:45:10 2016 (r411270) @@ -1,4 +1,4 @@ -SHA256 (jrmarino-synth-v1.30_GH0.tar.gz) = 1404cdde2409301c9b4f8ec1092844522ab882dc248683d16af2973f0b8a60c8 -SIZE (jrmarino-synth-v1.30_GH0.tar.gz) = 98649 +SHA256 (jrmarino-synth-v1.31_GH0.tar.gz) = 77f29183b7005f5ed2c1ad8489dfc53e7cae43a749d7879e12b381f2e4563e4b +SIZE (jrmarino-synth-v1.31_GH0.tar.gz) = 99010 SHA256 (jrmarino-synth_external-v1.3_GH0.tar.gz) = 2afc03e494d2394446eabdb5244967c202a79b449c7cad7ea67a87807cc25f44 SIZE (jrmarino-synth_external-v1.3_GH0.tar.gz) = 209283