From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 20 10:10:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A85EA106568B for ; Fri, 20 Nov 2009 10:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5D2498FC13 for ; Fri, 20 Nov 2009 10:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nAKAA1ae056430 for ; Fri, 20 Nov 2009 10:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nAKAA1Jj056429; Fri, 20 Nov 2009 10:10:01 GMT (envelope-from gnats) Resent-Date: Fri, 20 Nov 2009 10:10:01 GMT Resent-Message-Id: <200911201010.nAKAA1Jj056429@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Fuckner Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2AA9106566C for ; Fri, 20 Nov 2009 10:09:51 +0000 (UTC) (envelope-from root@g33.rebootking.de) Received: from dedihh.fuckner.net (dedihh.fuckner.net [81.209.183.161]) by mx1.freebsd.org (Postfix) with ESMTP id 4BEEB8FC17 for ; Fri, 20 Nov 2009 10:09:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dedihh.fuckner.net (Postfix) with ESMTP id 2A940CFAD for ; Fri, 20 Nov 2009 11:10:24 +0100 (CET) Received: from dedihh.fuckner.net ([127.0.0.1]) by localhost (dedihh.fuckner.net [127.0.0.1]) (amavisd-new, port 10024) with SMTP id tSQzl+unwcpM for ; Fri, 20 Nov 2009 11:10:18 +0100 (CET) Received: from g33.rebootking.de (e176134025.adsl.alicedsl.de [85.176.134.25]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by dedihh.fuckner.net (Postfix) with ESMTPSA id 72DB8CF9D for ; Fri, 20 Nov 2009 11:10:18 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by g33.rebootking.de (Postfix) with ESMTP id 2A9A41CCB4 for ; Fri, 20 Nov 2009 11:09:44 +0100 (CET) Received: from g33.rebootking.de ([127.0.0.1]) by localhost (g33.rebootking.de [127.0.0.1]) (amavisd-new, port 10024) with SMTP id he3aU5AjMuFW for ; Fri, 20 Nov 2009 11:09:37 +0100 (CET) Received: by g33.rebootking.de (Postfix, from userid 0) id BE8C61CCFD; Fri, 20 Nov 2009 11:09:37 +0100 (CET) Message-Id: <20091120100937.BE8C61CCFD@g33.rebootking.de> Date: Fri, 20 Nov 2009 11:09:37 +0100 (CET) From: Michael Fuckner To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/140718: [MAINTAINER] sysutils/arcconf: update to 18530 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2009 10:10:01 -0000 >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 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: