From nobody@FreeBSD.org  Tue Mar 18 09:25:09 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 81FA0106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Mar 2008 09:25:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 654D78FC1D
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Mar 2008 09:25:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2I9LfHM022657
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Mar 2008 09:21:41 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m2I9Lf9A022655;
	Tue, 18 Mar 2008 09:21:41 GMT
	(envelope-from nobody)
Message-Id: <200803180921.m2I9Lf9A022655@www.freebsd.org>
Date: Tue, 18 Mar 2008 09:21:41 GMT
From: Zhen REN <bg1tpt@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [UPDATE] update sysutils/linux-megacli to 1.01.40
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: ruben@verweg.com

>Number:         121823
>Category:       ports
>Synopsis:       [UPDATE] update sysutils/linux-megacli to 1.01.40
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 18 09:30:01 UTC 2008
>Closed-Date:    Wed Mar 19 03:24:18 UTC 2008
>Last-Modified:  Wed Mar 19 03:30:00 UTC 2008
>Originator:     Zhen REN
>Release:        7.0-STABLE
>Organization:
>Environment:
FreeBSD razor 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Mar 17 10:49:08 CST 2008     root@razor:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The current port of linux-megacli(1.01.09) is broken, the file on lsi.com has been removed. So, update the port to 1.01.40 using the new URL.
>How-To-Repeat:
N/A
>Fix:
N/A

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/linux-megacli/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	27 Dec 2007 00:15:48 -0000	1.5
+++ Makefile	18 Mar 2008 09:20:56 -0000
@@ -6,12 +6,11 @@
 #
 
 PORTNAME=	megacli
-PORTVERSION=	1.01.09
-PORTREVISION=	2
+PORTVERSION=	1.01.40
 CATEGORIES=	sysutils linux
-MASTER_SITES=	http://lsi.com/files/support/rsa/MR_SAS_1.0/
+MASTER_SITES=	http://www.lsi.com/support/downloads/megaraid/miscellaneous/linux/
 PKGNAMEPREFIX=	linux-
-DISTNAME=		Linux_MegaCli_${PORTVERSION}
+DISTNAME=	${PORTVERSION}_Linux_Cli
 
 MAINTAINER=	ruben@verweg.com
 COMMENT=	LSI MegaRAID SAS controller management utility
@@ -29,23 +28,22 @@
 EXTRACT_DEPENDS+=		${RPM2CPIO}:${PORTSDIR}/archivers/rpm
 
 post-extract:
-	@cd ${WRKSRC} && \
-		${UNZIP_CMD} MegaCliLin.zip && \
+	cd ${WRKSRC} && \
 		${RPM2CPIO} MegaCli-${PORTVERSION}-0.i386.rpm | ${CPIO} -id --quiet
 
 do-build:
-	@${BRANDELF} -t Linux ${WRKSRC}/usr/sbin/MegaCli
+	@${BRANDELF} -t Linux ${WRKSRC}/opt/MegaRAID/MegaCli/MegaCli
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/megacli.sh ${PREFIX}/sbin/megacli
 	${MKDIR} ${PREFIX}/etc/periodic/daily
 	${INSTALL_SCRIPT} ${WRKSRC}/407.status-mfi-raid ${PREFIX}/etc/periodic/daily
-	${INSTALL_PROGRAM} ${WRKSRC}/usr/sbin/MegaCli ${PREFIX}/libexec
+	${INSTALL_PROGRAM} ${WRKSRC}/opt/MegaRAID/MegaCli/MegaCli ${PREFIX}/libexec
 
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/Read-me.txt ${DOCSDIR}/readme.txt
+	${INSTALL_MAN} ${WRKSRC}/${PORTVERSION}_Linux_Cli.txt ${DOCSDIR}/readme.txt
 	${INSTALL_MAN} ${FILESDIR}/README-status-mfi-raid.txt ${DOCSDIR}/README-status-mfi-raid.txt
 .endif
 	@${CAT} ${PKGMESSAGE}
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/sysutils/linux-megacli/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	1 Dec 2006 15:26:24 -0000	1.1
+++ distinfo	18 Mar 2008 09:13:43 -0000
@@ -1,3 +1,3 @@
-MD5 (Linux_MegaCli_1.01.09.zip) = 819808210ba2233432386b00fdfe138d
-SHA256 (Linux_MegaCli_1.01.09.zip) = b0a8a6f15338ecc36cb15f5da876722ff8d7e2fddc3b820fb2231afee2f95f48
-SIZE (Linux_MegaCli_1.01.09.zip) = 576961
+MD5 (1.01.40_Linux_Cli.zip) = 3907170d460f701222280f0829f4ab7c
+SHA256 (1.01.40_Linux_Cli.zip) = b3b4cdce85bdb14bebb88ad3ab3f072f22f27ca86a12a62308b40e5227157080
+SIZE (1.01.40_Linux_Cli.zip) = 1325516


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Mar 18 09:30:07 UTC 2008 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121823 

From: Ruben van Staveren <ruben@verweg.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/121823: [UPDATE] update sysutils/linux-megacli to 1.01.40
Date: Tue, 18 Mar 2008 10:52:21 +0100

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --Apple-Mail-106--106525413
 Content-Type: text/plain; charset=US-ASCII; format=flowed
 Content-Transfer-Encoding: 7bit
 
 
 Ok go ahead, just checked on our 6.2 PE2950
 
 Thanks for submitting!
 
 On 18 Mar 2008, at 10:30, Edwin Groothuis wrote:
 
 > Maintainer of sysutils/linux-megacli,
 >
 > Please note that PR ports/121823 has just been submitted.
 >
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 >
 > The full text of the PR can be found at:
 >    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/121823
 >
 > -- 
 > Edwin Groothuis via the GNATS Auto Assign Tool
 > edwin@FreeBSD.org
 
 
 --Apple-Mail-106--106525413
 content-type: application/pgp-signature; x-mac-type=70674453;
 	name=PGP.sig
 content-description: This is a digitally signed message part
 content-disposition: inline; filename=PGP.sig
 content-transfer-encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.6 (Darwin)
 
 iD8DBQFH35DVZ88+mcQxRw0RAqX4AJ9u89i36eezs4FIdylWk9uieLaKWACeNyCP
 2a1HF/7cvhc5Sj5J8HdyvEA=
 =F6yC
 -----END PGP SIGNATURE-----
 
 --Apple-Mail-106--106525413--
State-Changed-From-To: feedback->closed 
State-Changed-By: delphij 
State-Changed-When: Wed Mar 19 03:23:50 UTC 2008 
State-Changed-Why:  
Committed with maintainer approval, thanks! 


Responsible-Changed-From-To: freebsd-ports-bugs->delphij 
Responsible-Changed-By: delphij 
Responsible-Changed-When: Wed Mar 19 03:23:50 UTC 2008 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121823 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/121823: commit references a PR
Date: Wed, 19 Mar 2008 03:23:42 +0000 (UTC)

 delphij     2008-03-19 03:23:36 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/linux-megacli Makefile distinfo 
   Log:
   Update to 1.01.40.
   
   Submitted by:   Zhen Ren <bg1tpt at gmail dot com>
   PR:             ports/121823
   Approved by:    maintainer
   
   Revision  Changes    Path
   1.6       +7 -9      ports/sysutils/linux-megacli/Makefile
   1.2       +3 -3      ports/sysutils/linux-megacli/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
