From owner-svn-ports-head@freebsd.org Fri Jul 22 01:40:04 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 67CE1BA07EC; Fri, 22 Jul 2016 01:40:04 +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 45BDA1965; Fri, 22 Jul 2016 01:40:04 +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 u6M1e3FA040730; Fri, 22 Jul 2016 01:40:03 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u6M1e3Jk040728; Fri, 22 Jul 2016 01:40:03 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201607220140.u6M1e3Jk040728@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Fri, 22 Jul 2016 01:40:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r418906 - 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.22 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: Fri, 22 Jul 2016 01:40:04 -0000 Author: marino Date: Fri Jul 22 01:40:03 2016 New Revision: 418906 URL: https://svnweb.freebsd.org/changeset/ports/418906 Log: ports-mgmt/synth: Upgrade version 1.41 => 1.42 This is a bug fix version. Changes include: * Fix potential exception seen with a large number of builders. The height of the log area was determined by subtracting the height of the other two zones from the overall xterm height. This allowed for the possibility of a negative height for the log area resulting in a thrown exception. Now the log is defined to be at least 10 lines log, but ncurses will just truncate as necessary. * Detection of bad OPSYS value added. There's a rare case where pkg can corrupt the configuration value of the Operating System. If it happens on FreeBSD, Synth thinks it is running on DragonFly which causes all sorts of problems. The corruption can't be auto-fixed, but Synth will gracefully abort with instructions on how to correct the issue. * Fix filtering of port-mgmt/pkg in list of ports. Synth was designed to always skip building pkg and thus remove it from a given list of ports, but the filtering didn't work correctly resulting in an exception with a misleading message. * Redirect failed jail setup command output to a new log: /var/log/synth/05_abnormal_cmd.out. Under normal operation, the log will be empty, but any abnormal output will now be sent there rather than corrupt the ncurses display as it before now. * Fix mount cleanup procedure. The output of "df -h" was being sorted alphabetically which caused mounts-on-mounts (an exception condition that dillon has been getting with H2 testing) to fail during dismount. The df output is already in the correct order so it only needs to be iterated in reverse without the pre-sort. Change: * Synth now links curses statically so it should not pull in any additional packages when the Synth binary package is installed. The only known bug is the curses display will freeze if running in an xterm window that gets resized. The cause is still unknown because in theory Synth should correctly react to a window-resize event. Some people may have success with ^z followed by fg command, but it's best to avoid resizing the window at all. Modified: head/ports-mgmt/synth/Makefile head/ports-mgmt/synth/distinfo Modified: head/ports-mgmt/synth/Makefile ============================================================================== --- head/ports-mgmt/synth/Makefile Fri Jul 22 01:37:51 2016 (r418905) +++ head/ports-mgmt/synth/Makefile Fri Jul 22 01:40:03 2016 (r418906) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= synth -PORTVERSION= 1.41 +PORTVERSION= 1.42 DISTVERSIONPREFIX= v CATEGORIES= ports-mgmt @@ -12,17 +12,20 @@ COMMENT= Custom package repository build LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/License.txt -BUILD_DEPENDS= ${GPR}/ini_file_manager.gpr:misc/ini_file_manager \ +BUILD_DEPENDS= ${LOCALBASE}/lib/libncurses.a:devel/ncurses \ + ${GPR}/ini_file_manager.gpr:misc/ini_file_manager \ ${GPR}/adacurses.gpr:devel/adacurses -USES= ada:6 ncurses:port +USES= ada:6 USE_GITHUB= yes GH_ACCOUNT= jrmarino GPR= ${LOCALBASE}/lib/gnat +MAKE_ENV= NCURSES_LINK=static post-extract: @${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|" \ + ${WRKSRC}/default.gpr \ ${WRKSRC}/src/definitions.ads do-build: Modified: head/ports-mgmt/synth/distinfo ============================================================================== --- head/ports-mgmt/synth/distinfo Fri Jul 22 01:37:51 2016 (r418905) +++ head/ports-mgmt/synth/distinfo Fri Jul 22 01:40:03 2016 (r418906) @@ -1,3 +1,3 @@ -TIMESTAMP = 1466440794 -SHA256 (jrmarino-synth-v1.41_GH0.tar.gz) = 2a94fa4caf0e54214257dcff3c50e8174a1a33182d869b04c893bdf4b7635c31 -SIZE (jrmarino-synth-v1.41_GH0.tar.gz) = 101507 +TIMESTAMP = 1469058852 +SHA256 (jrmarino-synth-v1.42_GH0.tar.gz) = a54911b461e07e83d5f98b7890c22d4673e3907817bfd01363126d6336320b5b +SIZE (jrmarino-synth-v1.42_GH0.tar.gz) = 102061