diff options
author | crees <crees@FreeBSD.org> | 2012-06-07 00:47:08 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2012-06-07 00:47:08 +0800 |
commit | 72e10ea802fcb49fcebee1a8b262848c856ecbbc (patch) | |
tree | 8d2cc7ea012455fded0cf6240b55d1544d9db824 | |
parent | a08eabd218d94a4d5f956cdeaf8665f4bd2e0ac6 (diff) | |
download | freebsd-ports-gnome-72e10ea802fcb49fcebee1a8b262848c856ecbbc.tar.gz freebsd-ports-gnome-72e10ea802fcb49fcebee1a8b262848c856ecbbc.tar.zst freebsd-ports-gnome-72e10ea802fcb49fcebee1a8b262848c856ecbbc.zip |
Remove sysutils/linux-megacli; there is a native port at sysutils/megacli.
PR: ports/168283
Submitted by: Ruben van Staveren <ruben@verweg.com> (maintainer)
-rw-r--r-- | LEGAL | 1 | ||||
-rw-r--r-- | MOVED | 1 | ||||
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/linux-megacli/Makefile | 83 | ||||
-rw-r--r-- | sysutils/linux-megacli/distinfo | 2 | ||||
-rw-r--r-- | sysutils/linux-megacli/files/407.status-mfi-raid.in | 256 | ||||
-rw-r--r-- | sysutils/linux-megacli/files/README-status-mfi-raid.txt | 42 | ||||
-rw-r--r-- | sysutils/linux-megacli/files/megacli.sh.in | 66 | ||||
-rw-r--r-- | sysutils/linux-megacli/files/mfi_tty_log.in | 63 | ||||
-rw-r--r-- | sysutils/linux-megacli/pkg-descr | 10 | ||||
-rw-r--r-- | sysutils/linux-megacli/pkg-message | 47 | ||||
-rw-r--r-- | sysutils/linux-megacli/pkg-plist | 9 |
12 files changed, 1 insertions, 580 deletions
@@ -308,7 +308,6 @@ libamrwb audio/libamrwb No redistribution allowed libdvdcss-*.tar.bz2 multimedia/libdvdcss CSS code may violate the DMCA ecw_jpeg_2000_*.zip graphics/libecwj2 Must be downloaded manually from Ermapper site libots-*.alpha.rpm lang/compaq-cc Distribution not allowed -Linux_MegaCli_* sysutils/linux-megacli Redistribution not allowed *_FreeBSD_MegaCLI.zip sysutils/megacli Reproduction or redistribution prohibited rpm/i386/fedora/4/gtk2-* x11-toolkits/linux-gtk2 LGPL binary, no source @@ -3456,3 +3456,4 @@ www/hs-happstack-util||2012-06-03|Removed: this package is obsolete. www/hs-http-enumerator||2012-06-03|Removed: this package is obsolete. graphics/libungif|graphics/giflib|2012-06-05|Replaced by giflib mail/kavmilter||2012-06-06|Removed: security package unmaintained upstream. +sysutils/linux-megacli|sysutils/megacli|2012-06-06|Removed: native version available. diff --git a/sysutils/Makefile b/sysutils/Makefile index 78904363823c..cd135e2b0d2e 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -468,7 +468,6 @@ SUBDIR += lineakd SUBDIR += linrename SUBDIR += linux-afaapps - SUBDIR += linux-megacli SUBDIR += linux-megamgr SUBDIR += linux-nero SUBDIR += linux-procps diff --git a/sysutils/linux-megacli/Makefile b/sysutils/linux-megacli/Makefile deleted file mode 100644 index 9aa95b915e3d..000000000000 --- a/sysutils/linux-megacli/Makefile +++ /dev/null @@ -1,83 +0,0 @@ -# Ports collection makefile for: linux-megacli -# Date created: Wed, Nov 29th, 2006 -# Whom: Ruben van Staveren (ruben@verweg.com) -# -# $FreeBSD$ -# - -PORTNAME= megacli -PORTVERSION= 2.00.15 -PORTREVISION= 1 -CATEGORIES= sysutils linux -MASTER_SITES= # -PKGNAMEPREFIX= linux- -DISTNAME= ${PORTVERSION}_Linux_MegaCLI - -MAINTAINER= ruben@verweg.com -COMMENT= LSI MegaRAID SAS controller management utility - -NO_WRKSUBDIR= yes -USE_ZIP= yes -RESTRICTED= Redistribution prohibited, see: http://lsi.com/cm/License.do -NO_PACKAGE= Redistribution prohibited, see: http://lsi.com/cm/License.do -DOWNLOAD_URL= http://www.lsi.com/cm/License.do?url=http://www.lsi.com/DistributionSystem/AssetDocument/support/downloads/megaraid/miscellaneous/linux/2.00.15_Linux_MegaCLI.zip&prodName=MegaRAID%%20SAS%%208708EM2&subType=Miscellaneous&locale=EN -ONLY_FOR_ARCHS= i386 amd64 -USE_LINUX= yes -SUB_FILES= megacli.sh -SUB_FILES+= 407.status-mfi-raid -SUB_FILES+= mfi_tty_log - -# From bsd.linux.rpm.mk -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -.include <bsd.port.pre.mk> - -.if !defined(PACKAGE_BUILDING) && !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) #{ -DISTFILE_INSTRUCTIONS=\n\ -${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}\n\ -Because of licensing restrictions, you must fetch the distribution\n\ -manually.\n\n -.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})#{ -DISTFILE_INSTRUCTIONS+=Please access\n\n\ -\ \ \ \ ${DOWNLOAD_URL}\n\n\ -with a web browser and \"Accept\" the End User License Agreement for\n\ -\"MegaCLI - Linux ${PORTVERSION}\".\n\n -.endif#} -DISTFILE_INSTRUCTIONS+=Please place the downloaded file(s) in ${DISTDIR}.\n\n -.endif#} - -pre-fetch: -.if defined(DISTFILE_INSTRUCTIONS) - @${PRINTF} "${DISTFILE_INSTRUCTIONS}" - @exit 1 -.endif - -post-extract: - cd ${WRKSRC} && \ - ${UNZIP_CMD} MegaCliLin.zip && \ - ${RPM2CPIO} MegaCli-${PORTVERSION}-1.i386.rpm | ${CPIO} -id --quiet - -do-build: - @${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_SCRIPT} ${WRKSRC}/mfi_tty_log ${PREFIX}/etc/rc.d - ${INSTALL_PROGRAM} ${WRKSRC}/opt/MegaRAID/MegaCli/MegaCli ${PREFIX}/libexec - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${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} - -.if ${OSVERSION} < 602000 -IGNORE= needs at least FreeBSD 6.2 and mfi_linux.ko -.endif - -.include <bsd.port.post.mk> diff --git a/sysutils/linux-megacli/distinfo b/sysutils/linux-megacli/distinfo deleted file mode 100644 index 18962fca2ccd..000000000000 --- a/sysutils/linux-megacli/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (2.00.15_Linux_MegaCLI.zip) = 11d93efc59307ac3321c187d01b86511839ddb33ead8567783d877fff3f7284e -SIZE (2.00.15_Linux_MegaCLI.zip) = 1373388 diff --git a/sysutils/linux-megacli/files/407.status-mfi-raid.in b/sysutils/linux-megacli/files/407.status-mfi-raid.in deleted file mode 100644 index cd785ad61db4..000000000000 --- a/sysutils/linux-megacli/files/407.status-mfi-raid.in +++ /dev/null @@ -1,256 +0,0 @@ -#!/bin/sh -# -# Show status of LSI Logic's MegaRAID SAS RAID controllers. -# -# $FreeBSD$ -# - -# If there is a global system configuration file, suck it in. -# -if test -r /etc/defaults/periodic.conf; then - . /etc/defaults/periodic.conf - source_periodic_confs -fi - -# Defaults. -: ${daily_status_mfi_raid_enable:=NO} -: ${daily_status_mfi_raid_verbose:=NO} -: ${daily_status_mfi_raid_persist_logs:=YES} -: ${daily_status_mfi_raid_tty_log:=NO} - -megacli=${megacli:-%%PREFIX%%/sbin/megacli} -logdir=${logdir:-/var/log} - -case "$daily_status_mfi_raid_enable" in - [Yy][Ee][Ss]) - echo - echo 'Checking status of MFI RAID controllers:' - ;; - *) - exit 0 - ;; -esac - -if test `id -u` -ne 0; then - echo "You must be root to run `basename $0`." >&2 - exit 1 -fi - -ADPCOUNT=$(${megacli} -adpCount -NoLog | \ - awk '/Controller Count:/ { gsub("\\.", ""); print $3 }') - -case ${ADPCOUNT} in - 0) echo "Error: Cannot find an adapter." >&2 - exit 1 - ;; - [1-9]|[1-9][0-9]|[1-2][0-9][0-9]) - ;; - *) - echo "Error: Cannot get the number of adapters: ${ADPCOUNT}" >&2 - exit 1 - ;; -esac - -ADPMINIDX=0 -ADPMAXIDX=`expr ${ADPCOUNT} - 1` - -rc=0 -for ctrl in `jot ${ADPCOUNT} ${ADPMINIDX} ${ADPMAXIDX}`; do - echo "Adapter: ${ctrl}" - - # Print summary information. - echo "------------------------------------------------------------------------" - echo "Physical Drive Information:" - echo "ENC SLO DEV SEQ MEC OEC PFC LPF STATE" - ${megacli} -PDList -a${ctrl} -NoLog | \ - awk ' - BEGIN { - E=-1; S=-1; D=-1; s=-1; mec=-1; oec=-1; pfc=-1; lpfeqn=-1; - state=""; - } - /^Enclosure Number:/ { E=$3; } - /^Enclosure Device ID:/ { E=$4; } - /^Slot Number:/ { S=$3; } - /^Device Id:/ { D=$3; } - /^Sequence Number:/ { s=$3; } - /^Media Error Count:/ { mec=$4; } - /^Other Error Count:/ { oec=$4; } - /^Predictive Failure Count:/ { pfc=$4; } - /^Last Predictive Failure Event Seq Number:/ { lpfeqn=$7 } - /^Firmware state:/ { state=$3; } - /^$/ { - if (E!=-1 && S!=-1 && D!=-1) { - printf "%-3d %-3d %-3d %-3d %-3d %-3d %-3d %-3d %s\n", - E, S, D, s, mec, oec, pfc, lpfeqn, state; - } - E=-1; S=-1; D=-1; s=-1; mec=-1; oec=-1; pfc=-1; lpfeqn=-1; - state=""; - } - ' | sort -n -k1 -k2 -k3 - echo - echo "Virtual Drive Information:" - ${megacli} -LDInfo -lall -a${ctrl} -NoLog | \ - awk ' - BEGIN { - drvs=-1; vd=-1; state=""; name=""; s=-1; strs=-1; - rlp=-1; rls=-1; rlq=-1; - printf "VD DRV RLP RLS RLQ STS SIZE STATE NAME\n"; - } - /^Name:/ { sub("^Name:", ""); name=$0; } - /^RAID Level:/ { - #Primary-1, Secondary-0, RAID Level Qualifier-0 - _p=_s=_q=$0; - sub(".*Primary-", "", _p); - sub(", Secondary.*", "", _p); - rlp=_p; - sub(".*Secondary-", "", _s); - sub(", RAID Level.*", "", _s); - rls=_s; - sub(".*Qualifier-", "", _q); - rlq=_q; - } - /^Size:/ { sub("^Size:", ""); s=$0; } - /^State:/ { state=$2; } - /^Stripe Size:/ { strs=$3; } - /^Number Of Drives:/ { sub("Drives:", "", $3); drvs=$3; } - /^Virtual Disk:/ { - if (vd!=-1) { - printf "%-3d %-3d %-3d %-3d %-3d %-6s %-11s %-13s %s\n", - vd, drvs, rlp, rls, rlq, strs, s, state, name; - } - drvs=-1; vd=-1; state=""; name=""; s=-1; strs=-1; - rlp=-1; rls=-1; rlq=-1; - vd=$3; - } - END { - if (vd!=-1) { - printf "%-3d %-3d %-3d %-3d %-3d %-6s %-11s %-13s %s\n", - vd, drvs, rlp, rls, rlq, strs, s, state, name; - } - } - ' - # Print BBU Information, if we found something - ${megacli} -AdpBbuCmd -a${ctrl} -NoLog | \ - awk ' - BEGIN { - type=""; temp=-1; isok="-"; rsoc=-1; asoc=-1; - rc=-1; cc=-1; me=-1; - } - /^BatteryType:/ { type=$2; } - /^Temperature:/ { temp=$2; } - /^isSOHGood:/ { isok=$2; } - /^Relative State of Charge:/ { rsoc=$5; } - /^Absolute State of charge:/ { asoc=$5; } - /^Remaining Capacity:/ { rc=$3; } - /^Cycle Count:/ { cc=$3; } - /^Max Error:/ { me=$3; } - END { - if (type == "") { exit 0 }; - printf "\nBBU Information:\n" - printf "TYPE TEMP OK RSOC ASOC RC CC ME\n"; - printf "%-5s %2dC %-3s %4d%% %4d%% %4dmAh %4d %2d%%\n", - type, temp, isok, rsoc, asoc, rc, cc, me; - - } - ' - echo - - # Give very long outputs. - case "$daily_status_mfi_raid_verbose" in - [Yy][Ee][Ss]) - ${megacli} -AdpAllInfo -a${ctrl} -NoLog - ${megacli} -EncInfo -a${ctrl} -NoLog - ${megacli} -PDList -a${ctrl} -NoLog - ${megacli} -LDGetNUm -a${ctrl} -NoLog - ${megacli} -LDInfo -Lall -a${ctrl} -NoLog - ${megacli} -AdpBbuCmd -GetBbuStatus -a${ctrl} -NoLog - ;; - *) - ;; - esac - - # Diff daily logs. - echo "Controller Logs:" - ctrl_log=${logdir}/mfi_raid_${ctrl} - case "$daily_status_mfi_raid_persist_logs" in - [Yy][Ee][Ss]) - if test ! -f ${ctrl_log}.today; then - touch ${ctrl_log}.today - fi - mv -f ${ctrl_log}.today ${ctrl_log}.yesterday - ;; - *) - ;; - esac - ${megacli} -AdpEventLog -GetEvents -f ${ctrl_log}.tmp -a${ctrl} -NoLog - awk ' - BEGIN { - inrecord=0; - } - printed=0; - /^seqNum: / { - inrecord=0; - print ""; - print "====================================" \ - "===================================="; - } - /^Event Data:/ { inrecord=1; printed=1; } - /^seqNum: /, /^Event Data:/ - /^===========/ { printed=1; } - /^$/ { printed=1; } - { if (inrecord && !printed) { printf "\t%s\n", $0; } } - ' < ${ctrl_log}.tmp > ${ctrl_log}.today - rm -f ${ctrl_log}.tmp - # Now show the differences or the entire log. - case "$daily_status_mfi_raid_persist_logs" in - [Yy][Ee][Ss]) - cmp -s ${ctrl_log}.yesterday ${ctrl_log}.today - raid_rc=$? - if test $raid_rc -ne 0; then - diff -u ${ctrl_log}.yesterday ${ctrl_log}.today | \ - grep -v '^-\|^$' - fi - ;; - *) - # XXX we might consider clearing the logs here - # ${megacli} -AdpEventLog -Clear -a${ctrl} -NoLog - raid_rc=0 - lines=`wc -l ${ctrl_log}.today | awk '{ print $1 }'` - if test $lines -gt 4; then - cat ${ctrl_log}.today - raid_rc=1 - fi - esac - if test $raid_rc -eq 0; then - echo " No new log messages." - fi - - # TTY Log - echo "TTY Log:" - tty_log=${logdir}/mfi_raid_${ctrl}_tty - tty_rc=0 - case "$daily_status_mfi_raid_tty_log" in - [Yy][Ee][Ss]) - if test ! -f ${tty_log}.today; then - touch ${tty_log}.today - fi - mv -f ${tty_log}.today ${tty_log}.yesterday - ${megacli} -FwTermLog Dsply -a${ctrl} > ${tty_log}.today -NoLog - cmp -s ${tty_log}.yesterday ${tty_log}.today - tty_rc=$? - if test $tty_rc -ne 0; then - diff -u ${tty_log}.yesterday ${tty_log}.today | \ - grep -v '^-\|^$' - else - echo " No new TTY log messages." - fi - ;; - *) - ;; - esac - [ $rc -eq 0 ] && [ $raid_rc -ne 0 -o $tty_rc -ne 0 ] && rc=3 -done - -exit ${rc} - -# end diff --git a/sysutils/linux-megacli/files/README-status-mfi-raid.txt b/sysutils/linux-megacli/files/README-status-mfi-raid.txt deleted file mode 100644 index 7f6cbae76998..000000000000 --- a/sysutils/linux-megacli/files/README-status-mfi-raid.txt +++ /dev/null @@ -1,42 +0,0 @@ -# $FreeBSD$ - -The output of periodic/daily/407.status-mfi-raid uses several -abbreviations. This document maps the abbreviations to the -names MegaCli uses, which were just too long for summary mails. - -Section 'Physical Drive Information:' --------------------------------------------------- -ENC Enclosure Number -SLO Slot Number -DEV Device Id -SEQ Sequence Number -MEC Media Error Count -OEC Other Error Count -PFC Predictive Failure Count -LPF Last Predictive Failure Event Seq Number -STATE Firmware state - -Section 'Virtual Drive Information:' --------------------------------------------------- -VD Virtual Disk -DRV Number Of Drives -RLP RAID Level: Primary -RLS RAID Level: Secondary -RLQ RAID Level: RAID Level Qualifier -STS Stripe Size -SIZE Size -STATE State -NAME Name - -Section 'BBU Information:' --------------------------------------------------- -TYPE BatteryType -TEMP Temperature -OK isSOHGood -RSOC Relative State of Charge -ASOC Absolute State of charge -RC Remaining Capacity -CC Cycle Count -ME Max Error - -# end diff --git a/sysutils/linux-megacli/files/megacli.sh.in b/sysutils/linux-megacli/files/megacli.sh.in deleted file mode 100644 index acd82899f556..000000000000 --- a/sysutils/linux-megacli/files/megacli.sh.in +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/sh - -# check for root user -# -if [ `id -u` -ne 0 ] -then - echo "You must be root to run `basename $0`." >&2 - exit 1 -fi - -osrelease=`sysctl -n compat.linux.osrelease` - -case $osrelease in - 2.6.*) - if [ `echo $osrelease | cut -d . -f 3` -lt 12 ]; then - osrelease=TOOLOW - fi - ;; - 2.*) - if [ `echo $osrelease | cut -d . -f 2` -lt 6 ]; then - osrelease=TOOLOW - fi - ;; - *) - if [ `echo $osrelease | cut -d . -f 1` -lt 2 ]; then - osrelease=TOOLOW - fi - ;; -esac - -if [ $osrelease = "TOOLOW" ]; then - echo "You need to set compat.linux.osrelease to atleast 2.6.12 to run `basename $0`." >&2 - exit 1 -fi - - -lpfs=`mount -t linprocfs | awk 'END{ print NR }'` -if [ ${lpfs} -le 0 ]; then - echo "You need to mount linprocfs to run `basename $0`." >&2 - exit 1 -fi -lsfs=`mount -t linsysfs | awk 'END{ print NR }'` -if [ ${lsfs} -le 0 ]; then - echo "You need to mount linsysfs to run `basename $0`." >&2 - exit 1 -fi - -# check for active mfi_linux.ko -# -if ! kldstat -q -m mfi_linux -then - if kldload mfi_linux - then - echo 'mfi_linux module loaded.' >&2 - else - echo 'mfi_linux module failed to load.' >&2 - exit 1 - fi -fi - -if [ $# -le 0 ]; then - echo "usage: `basename $0` [options]" >&2 - exec %%PREFIX%%/libexec/MegaCli -h -fi - -exec %%PREFIX%%/libexec/MegaCli ${*} diff --git a/sysutils/linux-megacli/files/mfi_tty_log.in b/sysutils/linux-megacli/files/mfi_tty_log.in deleted file mode 100644 index e83a10867bc8..000000000000 --- a/sysutils/linux-megacli/files/mfi_tty_log.in +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh -# -# $FreeBSD: /tmp/pcvs/ports/sysutils/linux-megacli/files/Attic/mfi_tty_log.in,v 1.1 2008-10-13 17:22:20 stefan Exp $ -# - -# PROVIDE: mfi_tty_log -# REQUIRE: abi -# KEYWORD: nojail - -: ${rc_mfi_raid_tty_log:=NO} - -. /etc/rc.subr - -name="mfi_tty_log" -start_cmd="${name}_start" -stop_cmd=":" - -mfi_tty_log_start() -{ - megacli=${megacli:-%%PREFIX%%/sbin/megacli} - logdir=${logdir:-/var/log} - - case "$rc_mfi_raid_tty_log" in - [Yy][Ee][Ss]) - echo - echo 'Checking for TTY logs of MFI(4) RAID controllers:' - ;; - *) - return 0 - ;; - esac - - if test `id -u` -ne 0; then - echo "You must be root to run `basename $0`." >&2 - return 1 - fi - - ADPCOUNT=$(${megacli} -adpCount | \ - awk '/Controller Count:/ { gsub("\\.", ""); print $3 }') - - case ${ADPCOUNT} in - 0) echo "Error: Cannot find an adapter." >&2 - return 1 - ;; - [1-9]|[1-9][0-9]|[1-2][0-9][0-9]) - ;; - *) - echo "Error: Cannot get the number of adapters: ${ADPCOUNT}" >&2 - return 1 - ;; - esac - - ADPMINIDX=0 - ADPMAXIDX=`expr ${ADPCOUNT} - 1` - - for ctrl in `jot ${ADPCOUNT} ${ADPMINIDX} ${ADPMAXIDX}`; do - tty_log=${logdir}/mfi_raid_${ctrl}_tty.boot - echo " Adapter: ${ctrl} - TTY log saved to ${tty_log}" - ${megacli} -FwTermLog Dsply -a${ctrl} > ${tty_log} - done -} - -run_rc_command "$1" diff --git a/sysutils/linux-megacli/pkg-descr b/sysutils/linux-megacli/pkg-descr deleted file mode 100644 index b6c873ae443a..000000000000 --- a/sysutils/linux-megacli/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -LSI Logic MegaRAID SAS MegaCLI Release - -This is the Linux console based management utility for the LSI -MegaRAID SAS family of controllers. - -FreeBSD >= 6.1 supports running this tool by the means of the -mfi_linux.ko kernel module and the /dev/mfi0 device. - -Author: LSI Logic Corporation -WWW: http://www.lsi.com/ diff --git a/sysutils/linux-megacli/pkg-message b/sysutils/linux-megacli/pkg-message deleted file mode 100644 index 4e4a56e2ba26..000000000000 --- a/sysutils/linux-megacli/pkg-message +++ /dev/null @@ -1,47 +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 - -=================================================================== - -Add the following to /boot/loader.conf - - # For MegaCLi - mfi_linux_load="YES" - -Add the following to /etc/sysctl.conf - - # For MegaCLi - compat.linux.osrelease=2.6.12 - -Add the following to /etc/fstab - - # For MegaCLi - linproc /compat/linux/proc linprocfs rw 0 0 - linsys /compat/linux/sys linsysfs rw 0 0 - -Add the following to /etc/periodic.conf - - # !!! Warning: test before running on a production system !!! - # !!! Warning: might hang your system !!! - # For daily summary mails and log diffs: - daily_status_mfi_raid_enable="YES" - # In case you want really lots of details enable this: - daily_status_mfi_raid_verbose="YES" - # In case you want the tty logs from the controller - daily_status_mfi_raid_tty_log="YES" - -Add the following to /etc/rc.conf - -# Save tty log on reboot (you want this) -rc_mfi_raid_tty_log="YES" - - -If you find mfi(4) too verbose, see mfi_evt_class_t in -/usr/src/sys/dev/mfi/mfireg.h for values you can use in the - hw.mfi.event_class -sysctl variable. - diff --git a/sysutils/linux-megacli/pkg-plist b/sysutils/linux-megacli/pkg-plist deleted file mode 100644 index c565df0de4a7..000000000000 --- a/sysutils/linux-megacli/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -sbin/megacli -libexec/MegaCli -etc/periodic/daily/407.status-mfi-raid -etc/rc.d/mfi_tty_log -%%PORTDOCS%%%%DOCSDIR%%/readme.txt -%%PORTDOCS%%%%DOCSDIR%%/README-status-mfi-raid.txt -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrmtry etc/periodic/daily -@dirrmtry etc/periodic |