Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  3 Jul 2009 10:07:38 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        "Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net>, Ruben van Staveren <ruben@verweg.com>
Subject:   ports/136273: sysutils/linux-megacli fix
Message-ID:  <20090703100738.CF9384899B5@storage.int.zabbadoz.net>
Resent-Message-ID: <200907031030.n63AU6Gr002815@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         136273
>Category:       ports
>Synopsis:       sysutils/linux-megacli fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 03 10:30:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Bjoern A. Zeeb
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
Zabbadoz.NeT
>Environment:

>Description:
	
	When run there are awk errors introduced in PR126040
	to 407.status-mfi-raid.in (in a later diff) due to
	an unquoted ( which had been there intially to catch
	bot Enclosure lines.

	Even though the port is restricted, try make it install
	properly; The name of the ``README'' is different.
	

>How-To-Repeat:
	make install; run under matchuing conditions.

>Fix:

Index: sysutils/linux-megacli/Makefile
===================================================================
RCS file: /mirror/FreeBSD/r/pcvs/ports/sysutils/linux-megacli/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- sysutils/linux-megacli/Makefile	30 Apr 2009 11:39:07 -0000	1.10
+++ sysutils/linux-megacli/Makefile	3 Jul 2009 10:00:30 -0000
@@ -70,7 +70,7 @@ do-install:
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/${PORTVERSION}_Linux_Cli.txt ${DOCSDIR}/readme.txt
+	${INSTALL_MAN} ${WRKSRC}/${PORTVERSION}_Linux_MegaCLI.txt ${DOCSDIR}/readme.txt
 	${INSTALL_MAN} ${FILESDIR}/README-status-mfi-raid.txt ${DOCSDIR}/README-status-mfi-raid.txt
 .endif
 	@${CAT} ${PKGMESSAGE}
Index: sysutils/linux-megacli/files/407.status-mfi-raid.in
===================================================================
RCS file: /mirror/FreeBSD/r/pcvs/ports/sysutils/linux-megacli/files/407.status-mfi-raid.in,v
retrieving revision 1.6
diff -u -p -r1.6 407.status-mfi-raid.in
--- sysutils/linux-megacli/files/407.status-mfi-raid.in	30 Apr 2009 11:39:08 -0000	1.6
+++ sysutils/linux-megacli/files/407.status-mfi-raid.in	3 Jul 2009 10:00:30 -0000
@@ -68,7 +68,7 @@ for ctrl in `jot ${ADPCOUNT} ${ADPMINIDX
 			E=-1; S=-1; D=-1; s=-1; mec=-1; oec=-1; pfc=-1; lpfeqn=-1;
 			state="";
 		}
-		/^Enclosure (Number:/ { E=$3; }
+		/^Enclosure Number:/ { E=$3; }
 		/^Enclosure Device ID:/ { E=$4; }
 		/^Slot Number:/ { S=$3; }
 		/^Device Id:/ { D=$3; }
>Release-Note:
>Audit-Trail:
>Unformatted:



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