svn commit: r411437 - head/ports-mgmt/synth
John Marino
marino at FreeBSD.org
Sun Mar 20 11:50:00 UTC 2016
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
More information about the svn-ports-all
mailing list