Date: Mon, 6 Feb 2017 21:16:17 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433522 - in head/x11/xauth: . files Message-ID: <201702062116.v16LGHF5078174@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 "$@"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702062116.v16LGHF5078174>