Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 2009 11:09:37 +0100 (CET)
From:      Michael Fuckner <michael@fuckner.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/140718: [MAINTAINER] sysutils/arcconf: update to 18530
Message-ID:  <20091120100937.BE8C61CCFD@g33.rebootking.de>
Resent-Message-ID: <200911201010.nAKAA1Jj056429@freefall.freebsd.org>

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

>Number:         140718
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/arcconf: update to 18530
>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:   Fri Nov 20 10:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Michael Fuckner
>Release:        FreeBSD 8.0-RC1 amd64
>Organization:
>Environment:
System: FreeBSD g33.rebootking.de 8.0-RC1 FreeBSD 8.0-RC1 #17: Sat Oct  3 12:01:29 CEST
>Description:
[DESCRIBE CHANGES]
2nd try- with pach for update to 18530 and script

Added file(s):
- files/410.status-aac-raid.in

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- arcconf-v6.40.18530.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/arcconf/Makefile /acard/ports/sysutils/arcconf.new/Makefile
--- /usr/ports/sysutils/arcconf/Makefile	2009-11-20 09:50:02.980476370 +0100
+++ /acard/ports/sysutils/arcconf.new/Makefile	2009-11-20 10:13:07.926906797 +0100
@@ -5,7 +5,7 @@
 # $FreeBSD: ports/sysutils/arcconf/Makefile,v 1.5 2009/03/24 22:43:40 pav Exp $
 
 PORTNAME=	arcconf
-DISTVERSION=	v6_10_18359
+DISTVERSION=	v6_40_18530
 CATEGORIES=	sysutils
 MASTER_SITES=	http://download.adaptec.com/raid/storage_manager/
 DISTNAME=	asm_freebsd${DIST_TYPE}_${DIST_EXT}_${DISTVERSION}
@@ -15,6 +15,10 @@
 
 ONLY_FOR_ARCHS=	i386 amd64
 
+PERIODICSCRIPT=	410.status-aac-raid
+
+SUB_FILES+=	${PERIODICSCRIPT}
+
 RESTRICTED=	May not be redistributed in binary form
 NO_CDROM=	yes
 
@@ -41,5 +45,7 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/opt/StorMan/arcconf  ${PREFIX}/sbin
+	@${MKDIR} ${PREFIX}/etc/periodic/daily
+	${INSTALL_SCRIPT} ${WRKDIR}/${PERIODICSCRIPT} ${PREFIX}/etc/periodic/daily
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/sysutils/arcconf/distinfo /acard/ports/sysutils/arcconf.new/distinfo
--- /usr/ports/sysutils/arcconf/distinfo	2009-11-20 09:50:02.979472601 +0100
+++ /acard/ports/sysutils/arcconf.new/distinfo	2009-11-20 09:54:24.715067032 +0100
@@ -1,12 +1,12 @@
-MD5 (asm_freebsd7_x64_v6_10_18359.pkg.tbz) = 24b874d029597b315aa4197fc15d4cd5
-SHA256 (asm_freebsd7_x64_v6_10_18359.pkg.tbz) = e1f9a7c79c2fd78e762031c4ae8e110f6160994e9b85dc19daf03063cfc4e3a5
-SIZE (asm_freebsd7_x64_v6_10_18359.pkg.tbz) = 48972124
-MD5 (asm_freebsd7_x86_v6_10_18359.pkg.tbz) = e0ecafbc4ebbdeb6dc04a0da159817d1
-SHA256 (asm_freebsd7_x86_v6_10_18359.pkg.tbz) = 9e0c78b3de2b392623a333cd9962086263886aa473f68a4748f4307ede97c186
-SIZE (asm_freebsd7_x86_v6_10_18359.pkg.tbz) = 50130269
-MD5 (asm_freebsd6_x64_v6_10_18359.pkg.tgz) = 3685aae692e903b72226314ff29433bb
-SHA256 (asm_freebsd6_x64_v6_10_18359.pkg.tgz) = acfd04e964d0432b959877fe529922e6b243fa2881580d86e6a31577f70112f5
-SIZE (asm_freebsd6_x64_v6_10_18359.pkg.tgz) = 49277310
-MD5 (asm_freebsd6_x86_v6_10_18359.pkg.tgz) = cdbb4bc2443d108ad3a82255367aaa52
-SHA256 (asm_freebsd6_x86_v6_10_18359.pkg.tgz) = bac035f3ad3fa7c4cfa3c0dcc9be8a96571079477e9b8865e201bd69ecc5b63c
-SIZE (asm_freebsd6_x86_v6_10_18359.pkg.tgz) = 50525801
+MD5 (asm_freebsd6_x64_v6_40_18530.pkg.tgz) = af004488c8f5004113d816d7558ab6eb
+SHA256 (asm_freebsd6_x64_v6_40_18530.pkg.tgz) = 1330c09738e6bfd84b230ea5c42ff1120b121ac4778ecec61fda4caf843060b5
+SIZE (asm_freebsd6_x64_v6_40_18530.pkg.tgz) = 49478750
+MD5 (asm_freebsd6_x86_v6_40_18530.pkg.tgz) = bed383a8584c4391dcaf1fa128c1bcf0
+SHA256 (asm_freebsd6_x86_v6_40_18530.pkg.tgz) = 2d83345e817a18781686dc2c48164c47a4bc6cb1e470fec4f4749f42ec4f52a3
+SIZE (asm_freebsd6_x86_v6_40_18530.pkg.tgz) = 50718306
+MD5 (asm_freebsd7_x64_v6_40_18530.pkg.tbz) = 63512db7821f2c7be14d25f9350bc4de
+SHA256 (asm_freebsd7_x64_v6_40_18530.pkg.tbz) = 9fbd8fe5a8a794ac1d0c4060294e396075a7979262f16f45b41c9f94fc1f09ae
+SIZE (asm_freebsd7_x64_v6_40_18530.pkg.tbz) = 49129975
+MD5 (asm_freebsd7_x86_v6_40_18530.pkg.tbz) = a565807e7a82d49be1ca4236e50a150c
+SHA256 (asm_freebsd7_x86_v6_40_18530.pkg.tbz) = a847f9638b18d7c2ded51d219d600ff37f08ec87a9d58e2c6af72a21dcd9da56
+SIZE (asm_freebsd7_x86_v6_40_18530.pkg.tbz) = 50266745
diff -ruN --exclude=CVS /usr/ports/sysutils/arcconf/files/410.status-aac-raid.in /acard/ports/sysutils/arcconf.new/files/410.status-aac-raid.in
--- /usr/ports/sysutils/arcconf/files/410.status-aac-raid.in	1970-01-01 01:00:00.000000000 +0100
+++ /acard/ports/sysutils/arcconf.new/files/410.status-aac-raid.in	2009-11-20 09:57:24.489915000 +0100
@@ -0,0 +1,30 @@
+#!/bin/sh
+ 
+if [ -r /etc/defaults/periodic.conf ]
+then
+    . /etc/defaults/periodic.conf
+    source_periodic_confs
+fi
+ 
+case "$daily_status_aac_raid_enable" in
+    [Yy][Ee][Ss])
+        echo
+        echo 'Checking status of Adaptec RAID:'
+ 
+        rc=0
+        arcconf=/usr/local/sbin/arcconf
+        tmpfile=`mktemp -q /tmp/aac-raid.XXXXXX`
+        $arcconf GETCONFIG 1 AD | tee $tmpfile
+        control_ok=`grep -i -c 'Controller Status.*Optimal' $tmpfile`
+        $arcconf GETCONFIG 1 LD | tee $tmpfile
+        volume_ok=`grep -i -c 'Status of logical device.*Optimal' $tmpfile`
+        rm $tmpfile
+        if [ $control_ok -eq 0 -o $volume_ok -eq 0 ]; then
+            rc=3
+        fi
+        ;;
+ 
+    *)  rc=0;;
+esac
+ 
+exit $rc
--- arcconf-v6.40.18530.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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