Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 2014 16:19:07 +0000 (UTC)
From:      Rodrigo Osorio <rodrigo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371140 - head/sysutils/zogftw
Message-ID:  <201410181619.s9IGJ768023263@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigo
Date: Sat Oct 18 16:19:06 2014
New Revision: 371140
URL: https://svnweb.freebsd.org/changeset/ports/371140
QAT: https://qat.redports.org/buildarchive/r371140/

Log:
  Update sysutils/zogftw to 2014-09-20-28bc862
  
  PR:		ports/193806
  Submitted by:	fk@fabiankeil.de (maintainer)
  Approved by:	mentors (implicit)

Modified:
  head/sysutils/zogftw/Makefile
  head/sysutils/zogftw/distinfo

Modified: head/sysutils/zogftw/Makefile
==============================================================================
--- head/sysutils/zogftw/Makefile	Sat Oct 18 16:12:18 2014	(r371139)
+++ head/sysutils/zogftw/Makefile	Sat Oct 18 16:19:06 2014	(r371140)
@@ -2,10 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	zogftw
-PORTVERSION=	0.0.2013.10.06
+PORTVERSION=	0.0.2014.09.20
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.fabiankeil.de/sourcecode/zogftw/
-DISTNAME=	${PORTNAME}-2013-10-06-4760e2c
+DISTNAME=	${PORTNAME}-2014-09-20-28bc862
 
 MAINTAINER=	fk@fabiankeil.de
 COMMENT=	Creates redundant backups on encrypted ZFS pools
@@ -13,8 +13,9 @@ COMMENT=	Creates redundant backups on en
 RUN_DEPENDS=	mbuffer:${PORTSDIR}/misc/mbuffer \
 		sudo:${PORTSDIR}/security/sudo
 
-OPTIONS_DEFINE=		GNUPG
+OPTIONS_DEFINE=		EXECUTE_TESTS GNUPG
 OPTIONS_DEFAULT=	GNUPG
+EXECUTE_TESTS_DESC=	Execute tests before staging. Adds build dependencies.
 
 PLIST_FILES=	sbin/zogftw \
 		man/man8/zogftw.8.gz
@@ -25,7 +26,17 @@ PORTSCOUT=	ignore:1
 GNUPG_RUN_DEPENDS=	gpg:${PORTSDIR}/security/gnupg1 \
 			gpg-agent:${PORTSDIR}/security/gnupg
 
-do-install:
+EXECUTE_TESTS_BUILD_DEPENDS=	atf-sh:${PORTSDIR}/devel/atf \
+				kyua:${PORTSDIR}/devel/kyua
+
+.include <bsd.port.options.mk>
+
+execute-tests: extract
+.if ${PORT_OPTIONS:MEXECUTE_TESTS}
+	${SETENV} HOME=${WRKDIR} kyua test --kyuafile ${WRKSRC}/tests/Kyuafile
+.endif
+
+do-install: execute-tests
 	${INSTALL_SCRIPT} ${WRKSRC}/zogftw ${STAGEDIR}${PREFIX}/sbin/zogftw
 	${INSTALL_MAN} ${WRKSRC}/zogftw.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
 

Modified: head/sysutils/zogftw/distinfo
==============================================================================
--- head/sysutils/zogftw/distinfo	Sat Oct 18 16:12:18 2014	(r371139)
+++ head/sysutils/zogftw/distinfo	Sat Oct 18 16:19:06 2014	(r371140)
@@ -1,2 +1,2 @@
-SHA256 (zogftw-2013-10-06-4760e2c.tar.gz) = 9ebcfe168ed3e8e333982ede3c7a0b6f8769162e7a6590499c412aef32e42c34
-SIZE (zogftw-2013-10-06-4760e2c.tar.gz) = 14651
+SHA256 (zogftw-2014-09-20-28bc862.tar.gz) = d2d61c4654e4b5ea1df7737d9722abb235ffbab525473e03e9a3accc7c28d151
+SIZE (zogftw-2014-09-20-28bc862.tar.gz) = 38589



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410181619.s9IGJ768023263>