Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2005 09:45:43 GMT
From:      Gerrit Beine <tux@pinguru.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/88782: Update port: sysutils/megarc
Message-ID:  <200511100945.jAA9jhRT040163@www.freebsd.org>
Resent-Message-ID: <200511100950.jAA9oEn7040306@freefall.freebsd.org>

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

>Number:         88782
>Category:       ports
>Synopsis:       Update port: sysutils/megarc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 10 09:50:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Gerrit Beine
>Release:        FreeBSD 5.4-RELEASE-p7
>Organization:
>Environment:
FreeBSD asus.beine-computer.de 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #2: Sun Oct  2 13:06:59 CEST 2005     root@asus.beine-computer.de:/usr/src/sys/i386/compile/ASUS  i386

>Description:
Modifications to the port by Mikhail Teterin:

The changes offer a direct download URL, allowing users to install the port 
without a browser, and they make sure the extracted Release History.txt has 
Unix-style end-of-line.

Also, in addition to the i386, the program works (or should work) on amd64 and 
ia64, which can both run the 32-bit i386 executables.
>How-To-Repeat:
              
>Fix:
diff -Nur /usr/ports/sysutils/megarc/Makefile megarc/Makefile
--- /usr/ports/sysutils/megarc/Makefile	Wed Jun 29 01:05:44 2005
+++ megarc/Makefile	Thu Nov 10 10:43:22 2005
@@ -8,7 +8,7 @@
 PORTNAME=	megarc
 PORTVERSION=	1.51
 CATEGORIES=	sysutils
-MASTER_SITES=
+MASTER_SITES=	http://www.lsilogic.com/files/support/rsa/beta/drivers/
 DISTNAME=	dr_freebsd_${PORTVERSION}
 
 MAINTAINER=	tux@pinguru.net
@@ -18,21 +18,14 @@
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 
-ONLY_FOR_ARCHS=	i386
-RESTRICTED=	"Restrictive license"
-DOWNLOAD_URL=	http://www.lsilogic.com/products/megaraid/
+ONLY_FOR_ARCHS=	i386 amd64 ia64
+RESTRICTED=	Must be downloaded directly from the manufacturer
 
 PLIST_FILES=	sbin/megarc
 PORTDOCS=	*
 
-.include <bsd.port.pre.mk>
-
-.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
-IGNORE=		can not be automatically fetched due to licensing restrictions. You must manually fetch the distribution files from ${DOWNLOAD_URL} (Support -> Downloads -> freebsd151), place it in ${DISTDIR} and run make again
-.endif
-
 post-extract:
-	@cd ${WRKSRC} && ${UNZIP_CMD} -qo 'MegaRC 1.04.zip'
+	@cd ${WRKSRC} && ${UNZIP_CMD} -aqo 'MegaRC 1.04.zip'
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/megarc ${PREFIX}/sbin
@@ -41,4 +34,4 @@
 	${INSTALL_DATA} ${WRKSRC}/Release\ History.txt ${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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