Date: Mon, 31 Dec 2018 16:39:50 +0000 (UTC) From: Josh Paetzel <jpaetzel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r488801 - in head/sysutils/tw_cli: . files Message-ID: <201812311639.wBVGdo5e045106@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jpaetzel Date: Mon Dec 31 16:39:50 2018 New Revision: 488801 URL: https://svnweb.freebsd.org/changeset/ports/488801 Log: Two enhancements User Facing: Avoid error in the diff command run by the periodic script included in this port. Port Infrastructure: Reorder the port Makefile to be compliant with the FreeBSD port infrastructure. PR: 234383 Submitted by: takefu@airport.fm Modified: head/sysutils/tw_cli/Makefile head/sysutils/tw_cli/files/407.status-3ware-raid.in Modified: head/sysutils/tw_cli/Makefile ============================================================================== --- head/sysutils/tw_cli/Makefile Mon Dec 31 16:36:04 2018 (r488800) +++ head/sysutils/tw_cli/Makefile Mon Dec 31 16:39:50 2018 (r488801) @@ -2,6 +2,7 @@ PORTNAME= tw_cli PORTVERSION= 9.5.5 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/ DISTNAME= CLI_freebsd-from_the_10-2-2-1_9-5-5-1_codesets @@ -17,13 +18,12 @@ LICENSE_TEXT= Source recipient must acknowledge licens See https://www.broadcom.com/cs/Satellite?pagename=AVG2/Utilities/EulaMsg LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept +ONLY_FOR_ARCHS= amd64 i386 + USES= zip -ONLY_FOR_ARCHS= amd64 i386 - NO_BUILD= yes NO_WRKSUBDIR= yes - SUB_FILES= 407.status-3ware-raid PORTDOCS= tw_cli.8.html PLIST_FILES= etc/periodic/daily/407.status-3ware-raid\ Modified: head/sysutils/tw_cli/files/407.status-3ware-raid.in ============================================================================== --- head/sysutils/tw_cli/files/407.status-3ware-raid.in Mon Dec 31 16:36:04 2018 (r488800) +++ head/sysutils/tw_cli/files/407.status-3ware-raid.in Mon Dec 31 16:39:50 2018 (r488801) @@ -43,7 +43,7 @@ case "$daily_status_3ware_raid_enable" in mv -f ${ctrl_log}.today ${ctrl_log}.yesterday ${tw_cli} info ${ctrl} > ${ctrl_log}.today lines=`wc -l ${ctrl_log}.today | awk '{ print $1 }'` - diff -u -$lines ${ctrl_log}.yesterday ${ctrl_log}.today + diff -U $lines ${ctrl_log}.yesterday ${ctrl_log}.today raid_rc=$? if test $raid_rc -eq 0; then cat ${ctrl_log}.today
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812311639.wBVGdo5e045106>