From owner-svn-ports-all@freebsd.org Mon Jan 11 17:13:21 2016 Return-Path: Delivered-To: svn-ports-all@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 1D8F4A652A1; Mon, 11 Jan 2016 17:13:21 +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 C936110EA; Mon, 11 Jan 2016 17:13:20 +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 u0BHDJRa026417; Mon, 11 Jan 2016 17:13:19 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0BHDJK9026415; Mon, 11 Jan 2016 17:13:19 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201601111713.u0BHDJK9026415@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Mon, 11 Jan 2016 17:13:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405790 - 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-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2016 17:13:21 -0000 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