From owner-svn-ports-all@freebsd.org Mon Feb 6 21:16:19 2017 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 3AB07CD3B04; Mon, 6 Feb 2017 21:16:19 +0000 (UTC) (envelope-from bapt@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 12C3E1AE6; Mon, 6 Feb 2017 21:16:18 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v16LGId3078178; Mon, 6 Feb 2017 21:16:18 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v16LGHF5078174; Mon, 6 Feb 2017 21:16:17 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201702062116.v16LGHF5078174@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Mon, 6 Feb 2017 21:16:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433522 - in head/x11/xauth: . files 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.23 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, 06 Feb 2017 21:16:19 -0000 Author: bapt Date: Mon Feb 6 21:16:17 2017 New Revision: 433522 URL: https://svnweb.freebsd.org/changeset/ports/433522 Log: Update to 1.0.10 plug to the test framework unGNUify the testsuite Added: head/x11/xauth/files/patch-tests_020-xauth-add-local.script (contents, props changed) head/x11/xauth/files/patch-tests_setup-sourced (contents, props changed) Deleted: head/x11/xauth/files/patch-Makefile.in Modified: head/x11/xauth/Makefile head/x11/xauth/distinfo Modified: head/x11/xauth/Makefile ============================================================================== --- head/x11/xauth/Makefile Mon Feb 6 21:12:38 2017 (r433521) +++ head/x11/xauth/Makefile Mon Feb 6 21:16:17 2017 (r433522) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= xauth -PORTREVISION= 1 -PORTVERSION= 1.0.9 +PORTVERSION= 1.0.10 CATEGORIES= x11 MAINTAINER= x11@FreeBSD.org @@ -10,9 +9,17 @@ COMMENT= X authority file utility LICENSE= MIT +TEST_DEPENDS= cmdtest:devel/py-cmdtest + +USES= shebangfix XORG_CAT= app USE_XORG= x11 xau xext xmuu INSTALL_TARGET= install-strip +TEST_TARGET= check +SHEBANG_FILES= ${WRKSRC}/tests/*.script +SHEBANG_LANG= nobash +nobash_OLD_CMD= /bin/bash +nobash_CMD= /bin/sh PLIST_FILES= bin/xauth man/man1/xauth.1.gz Modified: head/x11/xauth/distinfo ============================================================================== --- head/x11/xauth/distinfo Mon Feb 6 21:12:38 2017 (r433521) +++ head/x11/xauth/distinfo Mon Feb 6 21:16:17 2017 (r433522) @@ -1,2 +1,3 @@ -SHA256 (xorg/app/xauth-1.0.9.tar.bz2) = 56ce1523eb48b1f8a4f4244fe1c3d8e6af1a3b7d4b0e6063582421b0b68dc28f -SIZE (xorg/app/xauth-1.0.9.tar.bz2) = 154976 +TIMESTAMP = 1486412665 +SHA256 (xorg/app/xauth-1.0.10.tar.bz2) = 5afe42ce3cdf4f60520d1658d2b17face45c74050f39af45dccdc95e73fafc4d +SIZE (xorg/app/xauth-1.0.10.tar.bz2) = 162176 Added: head/x11/xauth/files/patch-tests_020-xauth-add-local.script ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xauth/files/patch-tests_020-xauth-add-local.script Mon Feb 6 21:16:17 2017 (r433522) @@ -0,0 +1,11 @@ +--- tests/020-xauth-add-local.script.orig 2017-02-06 20:55:37 UTC ++++ tests/020-xauth-add-local.script +@@ -11,7 +11,7 @@ xauth add :3.5 . b90b0fd1 + xauth add :4 . b90b0fd1cf6a0e7a2c74c00000000004 + + # List the number of entries added +-xauth list | wc -l ++xauth list | wc -l | xargs echo + + # Try to match them and print cookie + xauth list unix:0 | awk '{print $3}' Added: head/x11/xauth/files/patch-tests_setup-sourced ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xauth/files/patch-tests_setup-sourced Mon Feb 6 21:16:17 2017 (r433522) @@ -0,0 +1,19 @@ +--- tests/setup-sourced.orig 2017-01-29 20:59:17 UTC ++++ tests/setup-sourced +@@ -11,14 +11,14 @@ export XAUTHORITY=${DATADIR:-/tmp}/.Xaut + # Start a new authority file + rm -f $XAUTHORITY ; touch $XAUTHORITY + +-function xauth() ++xauth() + { + echo "> xauth" "$@" + ../xauth "$@" + echo " exits with $?" + } + +-function xauth_silent() ++xauth_silent() + { + echo "> xauth" "some silent commands which should not be logged..." + ../xauth "$@"