mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Sometimes the LSI-server redirects to a EULA acceptance page, which
breaks the download. Provide download instructions in pre-fetch. Also make buildable by non-root and clean up EOLs in the readme file.
This commit is contained in:
parent
64d2fcbb2f
commit
b3dff3f74b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295234
2 changed files with 16 additions and 11 deletions
|
@ -16,13 +16,16 @@ COMMENT= LSI MegaRAID controller management utility
|
||||||
|
|
||||||
NO_WRKSUBDIR= yes
|
NO_WRKSUBDIR= yes
|
||||||
USE_ZIP= yes
|
USE_ZIP= yes
|
||||||
RESTRICTED= Redistribution prohibited, see: http://www.lsi.com/cm/License.do
|
RESTRICTED= Redistribution seems to be prohibited
|
||||||
ONLY_FOR_ARCHS= i386 amd64
|
ONLY_FOR_ARCHS= i386 amd64
|
||||||
USE_LINUX= yes
|
USE_LINUX= yes
|
||||||
SUB_FILES= megamgr.sh
|
SUB_FILES= megamgr.sh
|
||||||
|
USE_DOS2UNIX= ut_linux_mgr_5.20.txt
|
||||||
|
|
||||||
do-build:
|
do-build:
|
||||||
@${BRANDELF} -t Linux ${WRKSRC}/megamgr.bin
|
${CHMOD} 755 ${WRKSRC}/megamgr.bin
|
||||||
|
${BRANDELF} -t Linux ${WRKSRC}/megamgr.bin
|
||||||
|
${REINPLACE_CMD} -E -e 's,[[:blank:]]+$$,,' ${WRKSRC}/ut_linux_mgr_5.20.txt
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/megamgr.sh ${PREFIX}/sbin/megamgr
|
${INSTALL_SCRIPT} ${WRKSRC}/megamgr.sh ${PREFIX}/sbin/megamgr
|
||||||
|
@ -33,7 +36,6 @@ post-install:
|
||||||
${MKDIR} ${DOCSDIR}
|
${MKDIR} ${DOCSDIR}
|
||||||
${INSTALL_MAN} ${WRKSRC}/${DISTNAME}.txt ${DOCSDIR}/readme.txt
|
${INSTALL_MAN} ${WRKSRC}/${DISTNAME}.txt ${DOCSDIR}/readme.txt
|
||||||
.endif
|
.endif
|
||||||
@${CAT} ${PKGMESSAGE}
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
@ -41,4 +43,15 @@ post-install:
|
||||||
IGNORE= needs at least FreeBSD 6.1 and amr_linux.ko
|
IGNORE= needs at least FreeBSD 6.1 and amr_linux.ko
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
pre-fetch:
|
||||||
|
#
|
||||||
|
# You may need to accept LSI's End-User License Agreement
|
||||||
|
# before downloading. If the automatic fetching fails,
|
||||||
|
# please, paste the following URL into your browser:
|
||||||
|
#
|
||||||
|
# ${MASTER_SITES}${_DISTFILES}
|
||||||
|
#
|
||||||
|
# and save the downloaded file into ${DISTDIR}/
|
||||||
|
#
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
|
|
||||||
===================================================================
|
|
||||||
This port installed a commercial software product with a restricted
|
|
||||||
license. Please review the license terms at this URL:
|
|
||||||
|
|
||||||
http://www.lsi.com/cm/License.do
|
|
||||||
|
|
||||||
===================================================================
|
|
Loading…
Add table
Reference in a new issue