mirror of https://github.com/eLvErDe/hwraid.git
Import adaptec-storage-manager-linux-32bit
This commit is contained in:
parent
47b975e591
commit
43f2f64ca4
|
@ -0,0 +1,17 @@
|
|||
adaptec-storage-manager-linux-64bit (7.31.18856-1) unstable; urgency=low
|
||||
|
||||
Sources have been repacked from the following upstream archive:
|
||||
|
||||
2bdfd5e999a86ac5bd8c7b43d858fdfd asm_linux_x86_v7_31_18856.tgz
|
||||
|
||||
Contained RPM package has been cleaned and turned into a tarball.
|
||||
See debian/rules repack target for more informations.
|
||||
|
||||
Upstream licence has been reformated using the following command:
|
||||
|
||||
cat /tmp/1 | sed 's!$!\n!' | \
|
||||
sed "s|Bureau of Industry and Security's Lists to Check|http://www.bis.doc.gov/ComplianceAndEnforcement/ListsToCheck.htm|" | \
|
||||
awk 'NR==1 || NF || prvNF {print} {prvNF=NF}' | sed 's!^$!.!' | \
|
||||
vim - -c '%!fold -s -w76' -c '%s/^/ /'
|
||||
|
||||
-- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Tue, 21 Aug 2012 23:28:47 +0200
|
|
@ -0,0 +1,3 @@
|
|||
usr/sbin
|
||||
var/lib/adaptec-storage-manager-agent
|
||||
var/log/adaptec-storage-manager-agent
|
|
@ -0,0 +1 @@
|
|||
StorMan/README.TXT
|
|
@ -0,0 +1,109 @@
|
|||
#! /bin/sh
|
||||
### BEGIN INIT INFO
|
||||
# Provides: adaptec-storage-manager-agent
|
||||
# Required-Start: $remote_fs
|
||||
# Required-Stop: $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Adaptec Storage Manager Agent
|
||||
# Description: Manage and monitor Adaptec RAID HBAs with one main
|
||||
# storage-manager-gui.
|
||||
### END INIT INFO
|
||||
|
||||
# Author: Adam Cécile (Le_Vert) <gandalf@le-vert.net>
|
||||
|
||||
# PATH should only include /usr/* if it runs after the mountnfs.sh script
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
DESC="Adaptec Storage Manager Agent"
|
||||
NAME=adaptec-storage-manager-agent
|
||||
DAEMON=/usr/sbin/$NAME
|
||||
DAEMON_ARGS=""
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
SCRIPTNAME=/etc/init.d/$NAME
|
||||
|
||||
# Exit if the package is not installed
|
||||
[ -x "$DAEMON" ] || exit 0
|
||||
|
||||
# Define LSB log_* functions.
|
||||
# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
# Read configuration variable file if it is present
|
||||
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
|
||||
|
||||
#
|
||||
# Function that starts the daemon/service
|
||||
#
|
||||
do_start()
|
||||
{
|
||||
# Return
|
||||
# 0 if daemon has been started
|
||||
# 1 if daemon was already running
|
||||
# other if daemon could not be started
|
||||
PID=`ps aux | grep '/usr/lib/adaptec-storage-manager/RaidMan.jar' | grep -v grep | awk '{ print $2 }' | tr "\n" " "`
|
||||
if [ -z "$PID" ]; then
|
||||
$DAEMON $DAEMON_ARGS &
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Function that stops the daemon/service
|
||||
#
|
||||
do_stop()
|
||||
{
|
||||
# Return
|
||||
# 0 if daemon has been stopped
|
||||
# 1 if daemon was already stopped
|
||||
# other if a failure occurred
|
||||
PID=`ps aux | grep '/usr/lib/adaptec-storage-manager/RaidMan.jar' | grep -v grep | awk '{ print $2 }' | tr "\n" " "`
|
||||
if [ ! -z "$PID" ]; then
|
||||
kill $PID
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
|
||||
do_start
|
||||
case "$?" in
|
||||
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
|
||||
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
|
||||
esac
|
||||
;;
|
||||
stop)
|
||||
[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
|
||||
do_stop
|
||||
case "$?" in
|
||||
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
|
||||
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
|
||||
esac
|
||||
;;
|
||||
restart|force-reload)
|
||||
log_daemon_msg "Restarting $DESC" "$NAME"
|
||||
do_stop
|
||||
case "$?" in
|
||||
0|1)
|
||||
do_start
|
||||
case "$?" in
|
||||
0) log_end_msg 0 ;;
|
||||
1) log_end_msg 1 ;; # Old process is still running
|
||||
*) log_end_msg 1 ;; # Failed to start
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
# Failed to stop
|
||||
log_end_msg 1
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
|
||||
exit 3
|
||||
;;
|
||||
esac
|
||||
|
||||
:
|
|
@ -0,0 +1 @@
|
|||
debian/agent-wrapper/adaptec-storage-manager-agent usr/sbin
|
|
@ -0,0 +1,8 @@
|
|||
var/lib/adaptec-storage-manager-agent/RaidAgnt.pps etc/adaptec-storage-manager-agent.conf
|
||||
var/lib/adaptec-storage-manager-agent/RaidErr.log var/log/adaptec-storage-manager-agent/RaidErr.log
|
||||
var/lib/adaptec-storage-manager-agent/RaidErrA.log var/log/adaptec-storage-manager-agent/RaidErrA.log
|
||||
var/lib/adaptec-storage-manager-agent/RaidEvtA.log var/log/adaptec-storage-manager-agent/RaidEvtA.log
|
||||
var/lib/adaptec-storage-manager-agent/RaidJob.ser var/log/adaptec-storage-manager-agent/RaidJob.ser
|
||||
var/lib/adaptec-storage-manager-agent/RaidNLst.ser var/log/adaptec-storage-manager-agent/RaidNLst.ser
|
||||
var/lib/adaptec-storage-manager-agent/RaidSLst.ser var/log/adaptec-storage-manager-agent/RaidSLst.ser
|
||||
var/lib/adaptec-storage-manager-agent/RaidSMTP.ser var/log/adaptec-storage-manager-agent/RaidSMTP.ser
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
|
||||
configure)
|
||||
chown root:adm /var/log/adaptec-storage-manager-agent
|
||||
chmod 750 /var/log/adaptec-storage-manager-agent
|
||||
# Dirty hack
|
||||
test -e /bin/sort || ln -s /usr/bin/sort /bin/sort
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
|
||||
purge)
|
||||
# Remove lib dir
|
||||
rm -rf /var/lib/adaptec-storage-manager-agent
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
|
@ -0,0 +1 @@
|
|||
usr/lib/adaptec-storage-manager
|
|
@ -0,0 +1 @@
|
|||
StorMan/README.TXT
|
|
@ -0,0 +1,2 @@
|
|||
StorMan/RaidMan.jar usr/lib/adaptec-storage-manager
|
||||
StorMan/libSTOR*.so usr/lib/adaptec-storage-manager
|
|
@ -0,0 +1,2 @@
|
|||
usr/bin
|
||||
usr/share/adaptec-storage-manager-gui
|
|
@ -0,0 +1 @@
|
|||
StorMan/README.TXT
|
|
@ -0,0 +1,2 @@
|
|||
StorMan/help usr/share/adaptec-storage-manager-gui
|
||||
debian/gui-wrapper/adaptec-storage-manager-gui usr/bin
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
|
||||
configure)
|
||||
# Dirty hack
|
||||
test -e /bin/sort || ln -s /usr/bin/sort /bin/sort
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
|
@ -0,0 +1 @@
|
|||
StorMan/README.TXT
|
|
@ -0,0 +1,28 @@
|
|||
adaptec-universal-storage-snmpd for Debian
|
||||
==========================================
|
||||
|
||||
Required SNMPd configuration
|
||||
----------------------------
|
||||
|
||||
After installing this package, some additional configuration is required to
|
||||
connect it to snmp daemon.
|
||||
|
||||
Please add the following lines /etc/snmp/snmpd.conf:
|
||||
master agentx
|
||||
agentxsocket /var/agentx/master
|
||||
|
||||
Then you need to enable aus-snmpd. Set ENABLE to true in
|
||||
/etc/default/adaptec-universal-storage-snmpd
|
||||
|
||||
You can now restart both snmpd and adaptec-universal-storage-snmpd services.
|
||||
|
||||
All information can be read by running (may depends of your SNMPd config):
|
||||
snmpwalk -v2c -c public -m ADAPTEC-UNIVERSAL-STORAGE-MIB 127.0.0.1 .1.3.6.1.4.1.795
|
||||
|
||||
You SHOULD really install adaptec-universal-storage-mib package to get
|
||||
"human-readable" information.
|
||||
|
||||
Starting Squeeze release, Debian doesn't include default snmpb mibs anymore.
|
||||
Please install "snmp-mibs-downloader" package.
|
||||
|
||||
-- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Fri, 13 Feb 2009 23:54:46 +0100
|
|
@ -0,0 +1,5 @@
|
|||
# This connector requires additional configuration to work.
|
||||
# Please read /usr/share/doc/adaptec-universal-storage-snmpd/README.Debian
|
||||
# And then set ENABLE to "true".
|
||||
|
||||
ENABLE=false
|
|
@ -0,0 +1 @@
|
|||
StorMan/README.TXT
|
|
@ -0,0 +1,110 @@
|
|||
#! /bin/sh
|
||||
### BEGIN INIT INFO
|
||||
# Provides: adaptec-universal-storage-snmpd
|
||||
# Required-Start: $local_fs $remote_fs snmpd
|
||||
# Required-Stop: $local_fs $remote_fs snmpd
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Adaptec Storage Manager SNMP connector
|
||||
# Description: aus-snmpd connects the SNMP daemon to Adaptec Storage
|
||||
# Manager
|
||||
### END INIT INFO
|
||||
|
||||
# Author: Adam Cécile (Le_Vert) <gandalf@le-vert.net>
|
||||
|
||||
# PATH should only include /usr/* if it runs after the mountnfs.sh script
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
DESC="Adaptec Storage Manager SNMP connector"
|
||||
NAME=adaptec-universal-storage-snmpd
|
||||
DAEMON=/usr/sbin/$NAME
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
SCRIPTNAME=/etc/init.d/$NAME
|
||||
ENABLE=true
|
||||
|
||||
# Exit if the package is not installed
|
||||
[ -x "$DAEMON" ] || exit 0
|
||||
|
||||
# Read configuration variable file if it is present
|
||||
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
|
||||
|
||||
# If not enabled then exit gracefully
|
||||
[ "$ENABLE" = "true" ] || exit 0
|
||||
|
||||
# Load the VERBOSE setting and other rcS variables
|
||||
. /lib/init/vars.sh
|
||||
|
||||
# Define LSB log_* functions.
|
||||
# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
do_start()
|
||||
{
|
||||
# Return
|
||||
# 0 if daemon has been started
|
||||
# 1 if daemon was already running
|
||||
# 2 if daemon could not be started
|
||||
# Sleep five seconds to let snmpd and asm start
|
||||
sleep 5
|
||||
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
|
||||
|| return 1
|
||||
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --make-pidfile --background -- -f \
|
||||
|| return 2
|
||||
}
|
||||
|
||||
do_stop()
|
||||
{
|
||||
# Return
|
||||
# 0 if daemon has been stopped
|
||||
# 1 if daemon was already stopped
|
||||
# 2 if daemon could not be stopped
|
||||
# other if a failure occurred
|
||||
start-stop-daemon --stop --quiet --pidfile $PIDFILE --signal 9
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
rm -f $PIDFILE
|
||||
return "$RETVAL"
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
|
||||
do_start
|
||||
case "$?" in
|
||||
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
|
||||
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
|
||||
esac
|
||||
;;
|
||||
stop)
|
||||
[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
|
||||
do_stop
|
||||
case "$?" in
|
||||
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
|
||||
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
|
||||
esac
|
||||
;;
|
||||
restart|force-reload)
|
||||
log_daemon_msg "Restarting $DESC" "$NAME"
|
||||
do_stop
|
||||
case "$?" in
|
||||
0|1)
|
||||
do_start
|
||||
case "$?" in
|
||||
0) log_end_msg 0 ;;
|
||||
1) log_end_msg 1 ;; # Old process is still running
|
||||
*) log_end_msg 1 ;; # Failed to start
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
# Failed to stop
|
||||
log_end_msg 1
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
|
||||
exit 3
|
||||
;;
|
||||
esac
|
||||
|
||||
:
|
|
@ -0,0 +1,2 @@
|
|||
# Hardcoded into the binary :/
|
||||
/var/lib/adaptec-storage-manager-agent/RaidAgnt.pps /usr/StorMan/RaidAgnt.pps
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Now we can run storage manager withing this directory
|
||||
cd /var/lib/adaptec-storage-manager-agent; LD_LIBRARY_PATH=/usr/lib/adaptec-storage-manager:$LD_LIBRARY_PATH java -Djava.net.preferIPv4Stack=true -Djava.compiler=NONE -cp /usr/lib/adaptec-storage-manager/RaidMan.jar com.ibm.sysmgt.raidmgr.agent.ManagementAgent $* &
|
|
@ -0,0 +1 @@
|
|||
usr/sbin
|
|
@ -0,0 +1 @@
|
|||
StorMan/README.TXT
|
|
@ -0,0 +1 @@
|
|||
StorMan/arcconf usr/sbin
|
|
@ -0,0 +1,65 @@
|
|||
adaptec-storage-manager-linux-32bit (7.31.18856-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* Rewrite debian/copyright to use new machine readable format.
|
||||
|
||||
-- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Tue, 21 Aug 2012 23:28:47 +0200
|
||||
|
||||
adaptec-storage-manager-linux-32bit (7.30.18837-1) unstable; urgency=low
|
||||
|
||||
* New upstream release (Closes: #91).
|
||||
* Fix SNMP mib and its README.Debian (Closes: #95).
|
||||
|
||||
-- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Sat, 28 Jan 2012 16:43:27 +0100
|
||||
|
||||
adaptec-storage-manager-linux-32bit (7.00.18781-1) unstable; urgency=low
|
||||
|
||||
* New upstream release (Closes: #28, #29).
|
||||
* Fix SNMP agent packaging.
|
||||
|
||||
-- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Sat, 10 Sep 2011 23:20:24 +0200
|
||||
|
||||
adaptec-storage-manager-linux-32bit (6.50.18570-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* Rewrite most of the packaging to fit current standards.
|
||||
* Drop Sarge compatibility.
|
||||
* Force IPV4, IPV6 support is broken.
|
||||
|
||||
-- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Wed, 18 Aug 2010 11:37:48 +0200
|
||||
|
||||
adaptec-storage-manager-linux-32bit (6.10.18451-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* Update download link and homepage.
|
||||
* Update my own copyright statement.
|
||||
* Bump Standards-Version to 3.8.2.
|
||||
|
||||
-- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Fri, 10 Jul 2009 15:08:49 +0200
|
||||
|
||||
adaptec-storage-manager-linux-32bit (6.10.18359-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* New repack target in debian/rules.
|
||||
* Add libstdc++5 build-dep (required for Lenny build).
|
||||
* Add libwrap0 build-dep (was missing).
|
||||
* Two new awesome packages added:
|
||||
- adaptec-universal-storage-snmpd: contains a connector between SNMP
|
||||
daemon and Adaptec Storage Manager
|
||||
- adaptec-universal-storage-mibs: the associated MIB
|
||||
|
||||
-- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Fri, 13 Feb 2009 23:54:46 +0100
|
||||
|
||||
adaptec-storage-manager-linux-32bit (6.10.18350-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* Replace libstdc++5-3.3-dev bdep by libstdc++5 rdep (dev packages doesn't
|
||||
exist anymore in Debian Lenny).
|
||||
|
||||
-- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Mon, 22 Dec 2008 21:16:50 +0100
|
||||
|
||||
adaptec-storage-manager-linux-32bit (5.20.17414-1) unstable; urgency=low
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Wed, 13 Feb 2008 13:48:34 +0100
|
|
@ -0,0 +1 @@
|
|||
5
|
|
@ -0,0 +1,80 @@
|
|||
Source: adaptec-storage-manager-linux-32bit
|
||||
Section: admin
|
||||
Priority: optional
|
||||
Maintainer: Adam Cécile (Le_Vert) <gandalf@le-vert.net>
|
||||
Build-Depends: debhelper (>= 5), libwrap0, libstdc++5, quilt
|
||||
Homepage: http://www.adaptec.com/en-US/support/raid/sas_raid/SAS-5805Z/
|
||||
Standards-Version: 3.9.3
|
||||
|
||||
Package: arcconf
|
||||
Architecture: i386
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Suggests: adaptec-storage-manager-gui | adaptec-storage-manager-agent
|
||||
Description: Adaptec AACRaid HBAs command line tool
|
||||
Management and monitoring command line tool by Adaptec for the
|
||||
Adaptec Advanced Raid HBAs (aacraid).
|
||||
.
|
||||
It replace the old afacli command line utility.
|
||||
.
|
||||
Adaptec AACRaid controllers are also used under theses names:
|
||||
Dell PERC2, 2/Si, 3/Si, 3/Di, HP NetRAID-4M, IBM ServeRAID
|
||||
& ICP SCSI driver
|
||||
|
||||
Package: hrconf
|
||||
Architecture: i386
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Suggests: adaptec-storage-manager-gui | adaptec-storage-manager-agent
|
||||
Description: Adaptec HostRaid HBAs command line tool
|
||||
Management and monitoring command line tool by Adaptec for the
|
||||
Adaptec HostRaid HBAs.
|
||||
|
||||
Package: adaptec-storage-manager-common
|
||||
Architecture: i386
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, sun-java6-jre | sun-java5-jre
|
||||
Description: Common files for storage-manager-gui and storage-manager-agent
|
||||
This package contains shared files between storage-manager-gui and
|
||||
storage-manager-agent.
|
||||
.
|
||||
You should not install this package directly.
|
||||
|
||||
Package: adaptec-storage-manager-gui
|
||||
Architecture: i386
|
||||
Depends: ${misc:Depends}, adaptec-storage-manager-common (= ${binary:Version})
|
||||
Suggests: arcconf | hrconf, storage-manager-agent
|
||||
Description: Adaptec Storage Manager Java UI
|
||||
Graphical interface to monitor and manage RAID arrays
|
||||
on Adaptec HBAs.
|
||||
.
|
||||
This utility can be used to aggregate several servers with
|
||||
RAID HBAs if they run storage-manager-agent or standalone.
|
||||
|
||||
Package: adaptec-storage-manager-agent
|
||||
Architecture: i386
|
||||
Depends: ${misc:Depends}, adaptec-storage-manager-common (= ${binary:Version}), lsb-base
|
||||
Suggests: arcconf | hrconf, adaptec-storage-manager-gui
|
||||
Description: Adaptec Storage Manager Agent
|
||||
Installing this agent on all your servers with Adaptec RAID HBAs
|
||||
will allow you to monitor and manage them with one main
|
||||
storage-manager-gui.
|
||||
.
|
||||
In exemple, install this agent on your server and then install
|
||||
storage-manager-gui on you primary workstation.
|
||||
|
||||
Package: adaptec-universal-storage-snmpd
|
||||
Architecture: i386
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, adaptec-storage-manager-agent (= ${binary:Version}), lsb-base, snmpd
|
||||
Recommends: adaptec-universal-storage-mib
|
||||
Suggests: arcconf | hrconf, adaptec-storage-manager-gui
|
||||
Description: Adaptec Storage Manager SNMP daemon
|
||||
This agent connects Adaptec Storage Manager to your SNMP daemon, so you can
|
||||
monitor your RAID system through SNMP.
|
||||
.
|
||||
This package contains aus-snmpd tool.
|
||||
|
||||
Package: adaptec-universal-storage-mib
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}
|
||||
Suggests: adaptec-storage-manager-snmpd
|
||||
Description: Adaptec Universal SNMP mib
|
||||
This package contains the SNMP mib that describes Adaptec Storage
|
||||
Manager's OIDs.
|
|
@ -0,0 +1,215 @@
|
|||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: adaptec-storage-manager
|
||||
Source: http://www.adaptec.com/en-us/downloads/storage_manager/sm/productid=sas-6805tq&dn=adaptec+raid+6805tq.html
|
||||
|
||||
Files: *
|
||||
Copyright: Copyright (C) 2003-2012 Adaptec by PMC
|
||||
License: Proprietary
|
||||
ADAPTEC, INC.
|
||||
DOWNLOADABLE SOFTWARE LICENSE
|
||||
.
|
||||
This License is granted by Adaptec, Inc., referred to in this License as
|
||||
"ADAPTEC" or "we" or "us." ADAPTEC reserves the right to record all
|
||||
activities and to use any information obtained in accordance with the
|
||||
privacy policy which you can access below.
|
||||
.
|
||||
Directions to Obtain Your File:
|
||||
.
|
||||
CAREFULLY READ THE FOLLOWING TERMS AND CONDITIONS AS WELL AS THE EXPORT
|
||||
COMPLIANCE REQUIREMENTS SET OUT BELOW. YOU MUST ANSWER THE REQUIRED
|
||||
QUESTION TRUTHFULLY TO LET US KNOW WHETHER YOU HAVE READ AND UNDERSTOOD THE
|
||||
TERMS AND CONDITIONS AND EXPORT COMPLIANCE REQUIREMENTS AND WHETHER YOU
|
||||
AGREE TO COMPLY. YOU MUST CLICK A FURTHER BUTTON TO CONFIRM YOUR ANSWER AND
|
||||
IF YOU ANSWER IN THE AFFIRMATIVE, A BINDING LICENSE AGREEMENT ("LICENSE")
|
||||
WILL BE CONCLUDED BETWEEN US. YOU MAY THEN PROCEED TO DOWNLOAD THE SOFTWARE.
|
||||
.
|
||||
IF YOU DO NOT AGREE TO THESE TERMS, CONDITIONS, AND EXPORT COMPLIANCE
|
||||
REQUIREMENTS THEN DO NOT DOWNLOAD THE SOFTWARE. IF YOU WISH TO CANCEL THIS
|
||||
LICENSE AT ANY TIME YOU MAY DO SO BY DESTROYING ALL COPIES AND PARTIAL
|
||||
COPIES OF THE SOFTWARE WHICH YOU HAVE DOWNLOADED.
|
||||
.
|
||||
YOU ALSO AGREE THAT YOU HAVE ALL NECESSARY INFORMATION IN ORDER TO ENTER
|
||||
INTO THIS LICENSE WHETHER UNDER AN APPLICABLE EUROPEAN E-COMMERCE DIRECTIVE
|
||||
OR OTHERWISE. IF YOU DO NOT AGREE TO THESE TERMS, CONDITIONS, AND
|
||||
REQUIREMENTS, DO NOT DOWNLOAD ANY FILES.
|
||||
.
|
||||
Please retain a copy of the License for your files or you may contact
|
||||
ADAPTEC's Legal Department at the address listed below for a further copy.
|
||||
This license may be concluded in English or the language in which it is
|
||||
drafted by ADAPTEC and appears to you online, as applicable. If you are a
|
||||
consumer residing in Europe (a "European Consumer") then this License shall
|
||||
not affect your statutory rights under the local laws in Europe.
|
||||
.
|
||||
This License grants you a non-exclusive license to use the ADAPTEC Software
|
||||
and related documentation ("Software") on the following terms, conditions,
|
||||
and export compliance requirements:
|
||||
.
|
||||
If you are NOT an individual consumer residing in Europe then the following
|
||||
terms, conditions and export compliance requirements apply and are a part
|
||||
of your license: ALL SECTIONS EXCEPT AS SPECIFIED HEREIN.
|
||||
.
|
||||
If you are an individual consumer residing in Europe ("European Consumer")
|
||||
then the following terms, conditions and export compliance requirements
|
||||
apply and are made part of your License: 1, 2, 3, 4, applicable parts of 6,
|
||||
7, 9 and the first paragraph of export compliance. IF YOU ARE A EUROPEAN
|
||||
CONSUMER THIS LICENSE SHALL NOT AFFECT YOUR RIGHTS UNDER THE STATUTORY LAWS
|
||||
OF EUROPE.
|
||||
.
|
||||
Your right to use the Software.You may use the Software in machine readable
|
||||
form (i.e. the form you download from us) within a single working location.
|
||||
You may copy the Software in the same form solely for back-up purposes or
|
||||
use within a single working location. You must reproduce ADAPTEC's
|
||||
copyright notice and proprietary legends. These requirements apply to
|
||||
European Consumers.
|
||||
.
|
||||
Restrictions. This Software contains trade secrets and in order to protect
|
||||
them you may not: (1) distribute copies of the Software in any manner,
|
||||
including, but not limited to, distribution through web site posting; (2)
|
||||
decompile, reverse engineer, disassemble, or otherwise reduce the Software
|
||||
to a human perceivable form; (3) MODIFY, ADAPT OR TRANSLATE THE SOFTWARE
|
||||
INTO ANY OTHER FORM; (4) RENT, LEASE, LOAN, RESELL FOR PROFIT, OR CREATE
|
||||
DERIVATIVE WORKS BASED UPON THE SOFTWARE OR ANY PART OF IT. These
|
||||
requirements apply to European Consumers.
|
||||
.
|
||||
Ownership. The Software is copyrighted by, proprietary to and a trade
|
||||
secret of ADAPTEC. ADAPTEC retains the title, ownership and intellectual
|
||||
property rights in and to the Software and all subsequent copies regardless
|
||||
of the form or media. The Software is protected by the copyright laws of
|
||||
the United States, the European Union, and international copyright
|
||||
treaties. This License is not a sale of the Software. These terms apply to
|
||||
European consumers.
|
||||
.
|
||||
Termination. This License is effective until terminated. This License will
|
||||
terminate automatically without notice if you fail to comply with any of
|
||||
the provisions. Upon termination you shall destroy all copies of the
|
||||
Software including any partial copies. This provision applies to European
|
||||
Consumers.
|
||||
.
|
||||
Disclaimer of Warranty. IF YOU ARE A EUROPEAN CONSUMER THEN THIS SECTION 5
|
||||
DOES NOT APPLY TO YOU AND DOES NOT FORM PART OF YOUR LICENSE WITH US.
|
||||
PROCEED TO SECTION 6. THE SOFTWARE IS LICENSED TO YOU "AS IS." YOU ACCEPT
|
||||
ALL RISKS WHICH MAY ARISE FROM THE DOWNLOADING OF THE SOFTWARE, INCLUDING
|
||||
BUT NOT LIMITED TO ERRORS IN TRANSMISSION OR CORRUPTION OF EXISTING DATA OR
|
||||
SOFTWARE. ADAPTEC MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND SPECIFICALLY
|
||||
DISCLAIMS ANY WARRANTY OF NON INFRINGEMENT OF THIRD PARTIES' RIGHTS,
|
||||
WARRANTIES OF SATISFACTORY QUALITY AND OF FITNESS FOR A PARTICULAR PURPOSE.
|
||||
Some states do not allow the exclusion of implied warranties or limitations
|
||||
of how long an implied warranty may last, so the above exclusion may not
|
||||
apply to you. You may also have other rights which vary from state to state.
|
||||
.
|
||||
Limitation of Liability. FOR EUROPEAN CONSUMERS: WE WILL NOT BE LIABLE TO
|
||||
YOU WHERE YOU SUFFER LOSS WHICH WAS NOT FORESEEABLE TO YOU AND TO US WHEN
|
||||
YOU DOWNLOADED THE SOFTWARE (EVEN IF IT RESULTS FROM OUR FAILURE TO COMPLY
|
||||
WITH THIS LICENSE OR OUR NEGLIGENCE); WHERE YOU SUFFER ANY BUSINESS LOSS
|
||||
INCLUDING LOSS OF REVENUE, PROFITS OR ANTICIPATED SAVINGS (WHETHER THOSE
|
||||
LOSSES ARE THE DIRECT OR INDIRECT RESULT OF OUR DEFAULT); OR WHERE YOUR
|
||||
LOSS DOES NOT RESULT FROM OUR FAILURE TO COMPLY WITH THIS LICENSE OR OUR
|
||||
NEGLIGENCE. THE SOFTWARE HAS BEEN MADE AVAILABLE TO YOU FREE OF CHARGE. YOU
|
||||
MAY AT ANY TIME DOWNLOAD A FURTHER COPY OF THE SOFTWARE FREE OF CHARGE TO
|
||||
REPLACE YOUR ORIGINAL COPY OF THE SOFTWARE (CONSEQUENTLY, WE AND OUR
|
||||
SUPPLIERS WILL ONLY BE LIABLE TO YOU UP TO A MAXIMUM TOTAL LIMIT OF TWO
|
||||
THOUSAND DOLLARS U.S. OR ITS EURO EQUIVALENT AT THE TIME A CLAIM IS MADE).
|
||||
OUR MAXIMUM FINANCIAL RESPONSIBILITY TO YOU AND THAT OF OUR SUPPLIERS WILL
|
||||
NOT EXCEED THIS LIMIT EVEN IF THE ACTUAL LOSS YOU SUFFER IS MORE THAN THAT.
|
||||
HOWEVER, NOTHING IN THIS LICENSE SHALL RESTRICT ANY PARTY'S LIABILITY FOR
|
||||
FRAUD, DEATH OR PERSONAL INJURY ARISING FROM ITS NEGLIGENCE OR FOR FRAUD OR
|
||||
ANY FRAUDULENT MISREPRESENTATION.
|
||||
.
|
||||
ALL OTHERS DOWNLOADING THE SOFTWARE: THE SOFTWARE IS PROVIDED FREE OF
|
||||
CHARGE TO YOU, THEREFORE UNDER NO CIRCUMSTANCES EXCEPT AS DESCRIBED HEREIN
|
||||
AND UNDER NO LEGAL THEORY, TORT (INCLUDING NEGLIGENCE), CONTRACT, OR
|
||||
OTHERWISE, SHALL ADAPTEC OR ITS SUPPLIERS OR RESELLERS BE LIABLE TO YOU OR
|
||||
ANY OTHER PERSON FOR ANY ECONOMIC LOSS (INCLUDING LOSS OF PROFIT) OR FOR
|
||||
ANY LOSS OF DATA, LOSS OF BUSINESS, LOSS OF GOODWILL, LOSS OF ANTICIPATED
|
||||
SAVINGS (IN EACH CASE WHETHER DIRECT OR INDIRECT) OR FOR ANY OTHER DIRECT
|
||||
OR INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER
|
||||
EVEN IF ADAPTEC SHALL HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
HOWEVER, NOTHING IN THIS LICENSE SHALL RESTRICT ANY PARTY'S LIABILITY FOR
|
||||
FRAUD, DEATH OR PERSONAL INJURY ARISING FROM ITS NEGLIGENCE OR FOR FRAUD OR
|
||||
ANY FRAUDULENT MISREPRESENTATION.
|
||||
.
|
||||
Export. By downloading, you acknowledge that the laws and regulations of
|
||||
the United States and relevant countries within the European Union,
|
||||
restrict the export and re-export of the Software. Further, you agree that
|
||||
you will not export or re-export the Software or media in any form without
|
||||
the appropriate United States and foreign government approval. If you are a
|
||||
European Consumer you must not export Software outside the country in which
|
||||
you download it without our prior written permission. (See below for
|
||||
details on Export Compliance Requirements.)
|
||||
.
|
||||
U.S. Government Restricted Rights. IF YOU ARE A EUROPEAN CONSUMER THEN THIS
|
||||
CLAUSE WILL NOT APPLY TO YOU AND DOES NOT FORM PART OF YOUR LICENSE
|
||||
AGREEMENT WITH US. PLEASE PROCEED TO SECTION 9. If the Software is acquired
|
||||
under the terms of a United States GSA contract, use, reproduction or
|
||||
disclosure is subject to the restrictions set forth in the applicable ADP
|
||||
Schedule contract. If the Software is acquired under the terms of a DoD or
|
||||
civilian agency contract, use, duplication or disclosure by the Government
|
||||
is subject to the restrictions of this License in accordance with 48 C.F.R.
|
||||
12.212 of the Federal Acquisition Regulations and its successors and 48
|
||||
C.F.R. 227.7202-1 of the DoD FAR Supplement and its successors. (See below
|
||||
for details on Export Compliance Requirements.)
|
||||
.
|
||||
General. California residents entered into and to be performed within
|
||||
California, except as governed by Federal law. Should any provision of this
|
||||
License be declared unenforceable in any jurisdiction, then such provision
|
||||
shall be deemed to be severable from this License and shall not affect the
|
||||
remainder hereof. All rights in the Software not specifically granted in
|
||||
this License are reserved by Adaptec.
|
||||
.
|
||||
EXPORT COMPLIANCE REQUIREMENTS
|
||||
.
|
||||
Export of any information from the Adaptec web site (including Confidential
|
||||
Information obtained through Adaptec Access) outside of the United States
|
||||
is subject to all U.S. export control laws. You will abide by such laws and
|
||||
also to the provision of the U.S. Export-Re-export Requirements and
|
||||
Enhanced Proliferation Control Initiative set forth here. You and your
|
||||
organization will not sell, license, or otherwise provide or ship Adaptec
|
||||
products or technical data (or the direct product thereof) for export or
|
||||
re-export to the embargoed or restricted* countries listed below:
|
||||
.
|
||||
Afghanistan (Taliban controlled area), Cuba, Iran, Iraq, North Korea*,
|
||||
Sudan, and Syria*
|
||||
.
|
||||
You agree not to transfer, export or re-export Adaptec products, technology
|
||||
or software to your customers or any intermediate entity in the chain of
|
||||
supply if our products will be used in the design, development, production,
|
||||
stockpiling or use of missiles, chemical or biological weapons or for
|
||||
nuclear end uses without obtaining prior authorization from the U.S.
|
||||
Government.
|
||||
.
|
||||
You also agree that unless you receive prior authorization from the U.S.
|
||||
Department of Commerce, you shall not transfer, export or re-export,
|
||||
directly or indirectly, any Adaptec technology or software (or the direct
|
||||
product of such technology or software or any part thereof, or any process
|
||||
or service which is the direct product of such technology or software) to
|
||||
any Sanctioned and/or Embargoed entity listed on:
|
||||
.
|
||||
http://www.bis.doc.gov/ComplianceAndEnforcement/ListsToCheck.htm
|
||||
.
|
||||
If you have any questions concerning this License, contact:
|
||||
.
|
||||
Adaptec, Inc.
|
||||
Legal Department
|
||||
691 South Milpitas Boulevard
|
||||
Milpitas, California 95035
|
||||
|
||||
Files: debian/*
|
||||
Copyright: Copyright (C) 2008-2012 Adam Cécile (Le_Vert)
|
||||
License: GPL-2.0+
|
||||
|
||||
License: GPL-2.0+
|
||||
This package is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
.
|
||||
This package is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Well, everything must be in current directory
|
||||
# Let's create this one first
|
||||
test -d $HOME/.adaptec-storage-manager-gui || mkdir $HOME/.adaptec-storage-manager-gui
|
||||
|
||||
# We should have doc here
|
||||
test -L $HOME/.adaptec-storage-manager-gui/help || ln -s /usr/share/adaptec-storage-manager-gui/help $HOME/.adaptec-storage-manager-gui/help
|
||||
|
||||
# Now we can run storage manager withing this directory
|
||||
cd $HOME/.adaptec-storage-manager-gui; LD_LIBRARY_PATH=/usr/lib/adaptec-storage-manager:$LD_LIBRARY_PATH java -Djava.net.preferIPv4Stack=true -Djava.compiler=NONE -cp /usr/lib/adaptec-storage-manager/RaidMan.jar com.ibm.sysmgt.raidmgr.mgtGUI.Launch $*
|
|
@ -0,0 +1 @@
|
|||
usr/sbin
|
|
@ -0,0 +1 @@
|
|||
StorMan/README.TXT
|
|
@ -0,0 +1 @@
|
|||
StorMan/hrconf usr/sbin
|
|
@ -0,0 +1,38 @@
|
|||
--- 1/StorMan/aus.mib 2012-01-28 16:43:00.000000000 +0100
|
||||
+++ /tmp/ADAPTEC-UNIVERSAL-STORAGE-MIB.txt 2012-01-28 17:58:10.929553485 +0100
|
||||
@@ -177,7 +177,7 @@
|
||||
{
|
||||
unknown(0),
|
||||
okay(1),
|
||||
- charging/notReady(2),
|
||||
+ charging(2),
|
||||
failed(3),
|
||||
notInstalled(4)
|
||||
}
|
||||
@@ -568,7 +568,7 @@
|
||||
SYNTAX INTEGER
|
||||
{
|
||||
Dynamic(0),
|
||||
- OLTP/Database(3)
|
||||
+ OLTPDatabase(3)
|
||||
}
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
@@ -3054,7 +3054,7 @@
|
||||
ausArrayMaxCachePreferredCacheSetting OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
{
|
||||
- Not Supported(0),
|
||||
+ NotSupported(0),
|
||||
Disabled(1),
|
||||
Enabled(2)
|
||||
}
|
||||
@@ -3068,7 +3068,7 @@
|
||||
ausArrayMaxCacheSetting OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
{
|
||||
- Not Supported(0),
|
||||
+ NotSupported(0),
|
||||
Disabled(1),
|
||||
Enabled(2)
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
000-Adaptec_mib_patch.diff
|
|
@ -0,0 +1,71 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
# Quilt patch system
|
||||
include /usr/share/quilt/quilt.make
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
# Example:
|
||||
# debian/rules repack FILE=../repack/manager/StorMan-7.31.i386.rpm VERSION=7.31.18856
|
||||
repack:
|
||||
BASE_NAME=adaptec-storage-manager-linux-32bit &&\
|
||||
ABS_FILE=`readlink -f $(FILE)` &&\
|
||||
TMP_DIR=`mktemp -d` &&\
|
||||
# VERSION=`basename $(FILE) | sed 's!^.*StorMan\-\(.*\)\.i386\.rpm$$!\1!'` &&\
|
||||
cd $$TMP_DIR && rpm2cpio $$ABS_FILE | cpio -i --make-directories &&\
|
||||
rm -vf $$TMP_DIR/usr/StorMan/sun-jre*.tgz &&\
|
||||
cd $$TMP_DIR && tar czf $$BASE_NAME-$$VERSION.tar.gz usr &&\
|
||||
mv $$TMP_DIR/$$BASE_NAME-$$VERSION.tar.gz /tmp/ &&\
|
||||
rm -rf $$TMP_DIR &&\
|
||||
echo "-----------------------------------------" &&\
|
||||
echo /tmp/$$BASE_NAME-$$VERSION.tar.gz
|
||||
|
||||
build: build-arch build-indep patch
|
||||
build-arch:
|
||||
build-indep:
|
||||
|
||||
clean: unpatch
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean
|
||||
|
||||
install:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
install -D -m 755 StorMan/aus-snmpd \
|
||||
$(CURDIR)/debian/adaptec-universal-storage-snmpd/usr/sbin/adaptec-universal-storage-snmpd
|
||||
# Do not try to fix the MIBS path. It segfaults when something is found...
|
||||
# Otherwise it just shows warning but seem to work as expected.
|
||||
#
|
||||
# Fix mibs path INSIDE the binary itself (OMG :/)
|
||||
#sed -i 's!/usr/local/share/snmp/mibs!/usr/share/./././snmp/mibs!' \
|
||||
# $(CURDIR)/debian/adaptec-universal-storage-snmpd/usr/sbin/adaptec-universal-storage-snmpd
|
||||
install -D -m 644 StorMan/aus.mib \
|
||||
$(CURDIR)/debian/adaptec-universal-storage-mib/usr/share/snmp/mibs/ADAPTEC-UNIVERSAL-STORAGE-MIB.txt
|
||||
dh_install
|
||||
|
||||
binary-indep: build install
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs
|
||||
dh_installdocs
|
||||
dh_installinit -Nadaptec-universal-storage-snmpd
|
||||
# Priority 21, so it will start after snmpd
|
||||
dh_installinit -padaptec-universal-storage-snmpd -- defaults 21
|
||||
dh_link
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_makeshlibs
|
||||
dh_strip
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-arch binary-indep
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
|
@ -0,0 +1 @@
|
|||
1.0
|
Loading…
Reference in New Issue