Date: Thu, 17 Mar 2016 10:45:11 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411270 - head/ports-mgmt/synth Message-ID: <201603171045.u2HAjBdA068761@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603171045.u2HAjBdA068761>