svn commit: r488801 - in head/sysutils/tw_cli: . files
Josh Paetzel
jpaetzel at FreeBSD.org
Mon Dec 31 16:39:51 UTC 2018
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 at 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
More information about the svn-ports-all
mailing list