Date: Mon, 11 Jan 2016 17:13:19 +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: r405790 - head/ports-mgmt/synth Message-ID: <201601111713.u0BHDJK9026415@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Mon Jan 11 17:13:19 2016 New Revision: 405790 URL: https://svnweb.freebsd.org/changeset/ports/405790 Log: ports-mgmt/synth: Fix two significant bugs The big one: FreeBSD distfiles are located by default inside the ports tree (which is kind of insane). I forgot this and people that did not modify DISTDIR had this directory full of files, which synth interprets as non-functioning ports. Make directory scans skip this directory if found to correct. The smaller one: Synth was supposed to squawk if it couldn't find a valid portsdir at the environment (PORTSDIR), /usr/dports, or /usr/ports. The squawk didn't work. Moreover, it wouldn't check PORTSDIR set at /etc/make.conf. This change makes synth check there after the env. check (thank you for the hint, bapt@). It also correctly squawks without creating synth.ini when PORTSDIR isn't valid. Modified: head/ports-mgmt/synth/Makefile head/ports-mgmt/synth/distinfo Modified: head/ports-mgmt/synth/Makefile ============================================================================== --- head/ports-mgmt/synth/Makefile Mon Jan 11 16:16:59 2016 (r405789) +++ head/ports-mgmt/synth/Makefile Mon Jan 11 17:13:19 2016 (r405790) @@ -3,6 +3,7 @@ PORTNAME= synth PORTVERSION= 0.98 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= ports-mgmt @@ -20,7 +21,7 @@ USES= ada:6 ncurses:port USE_GITHUB= yes GH_ACCOUNT= jrmarino GH_PROJECT= synth_external:bundle -GH_TAGNAME= v1.3:bundle +GH_TAGNAME= v1.3:bundle 9becf93 # When framework is moved to Ada6, the ada-util and ini-file-manager # libraries can be used as prebuilt (switch default.gpr url) Modified: head/ports-mgmt/synth/distinfo ============================================================================== --- head/ports-mgmt/synth/distinfo Mon Jan 11 16:16:59 2016 (r405789) +++ head/ports-mgmt/synth/distinfo Mon Jan 11 17:13:19 2016 (r405790) @@ -1,4 +1,4 @@ -SHA256 (jrmarino-synth-v0.98_GH0.tar.gz) = 4289e70f56c545f318695a2ee965e48181bd7f16659135640c419ea5e213c442 -SIZE (jrmarino-synth-v0.98_GH0.tar.gz) = 73424 +SHA256 (jrmarino-synth-v0.98-9becf93_GH0.tar.gz) = 81c91fc03e6600b67e3791aa9aa723a6e6076eceef51a2029fb10993835ec317 +SIZE (jrmarino-synth-v0.98-9becf93_GH0.tar.gz) = 73593 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?201601111713.u0BHDJK9026415>