From owner-freebsd-ports Sat Aug 31 8:20:25 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97E2A37B400 for ; Sat, 31 Aug 2002 08:20:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3B8043E6E for ; Sat, 31 Aug 2002 08:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7VFK3JU050775 for ; Sat, 31 Aug 2002 08:20:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7VFK3aa050774; Sat, 31 Aug 2002 08:20:03 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9960237B422 for ; Sat, 31 Aug 2002 08:16:36 -0700 (PDT) Received: from wearix.com (ad96e1d2b.dsl.de.colt.net [217.110.29.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id B577743E6A for ; Sat, 31 Aug 2002 08:16:35 -0700 (PDT) (envelope-from root@wearix.com) Received: from wearix.com (localhost [127.0.0.1]) by wearix.com (8.12.5/8.12.5) with ESMTP id g7VFGSU8000253 for ; Sat, 31 Aug 2002 17:16:28 +0200 (CEST) (envelope-from root@wearix.com) Received: (from root@localhost) by wearix.com (8.12.5/8.12.5/Submit) id g7VFGRwV000252; Sat, 31 Aug 2002 17:16:27 +0200 (CEST) Message-Id: <200208311516.g7VFGRwV000252@wearix.com> Date: Sat, 31 Aug 2002 17:16:27 +0200 (CEST) From: Harald Schmalzbauer Reply-To: Harald Schmalzbauer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/42254: News Port: 3ware RAID manager Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42254 >Category: ports >Synopsis: News Port: 3ware RAID manager >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 31 08:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Harald Schmalzbauer >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD wearix.com 4.6-STABLE FreeBSD 4.6-STABLE #2: Thu Aug 29 13:52:43 CEST 2002 root@releng.muc.wearix.com:/usr/obj/usr/src/sys/BONHAM i386 >Description: This is a convenience port for 3ware's binary release of their web based management tool for the Escalade RAID controller series. Default listening port changed from 1080 to 8080 since mozilla doesn't allow connections to 1080 and 1080 is socks. >How-To-Repeat: >Fix: --- 3dm-bsd.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # 3dm-bsd # 3dm-bsd/Makefile # 3dm-bsd/distinfo # 3dm-bsd/pkg-plist # 3dm-bsd/pkg-comment # 3dm-bsd/pkg-descr # 3dm-bsd/files # 3dm-bsd/files/3dmd.sh # 3dm-bsd/pkg-message # echo c - 3dm-bsd mkdir -p 3dm-bsd > /dev/null 2>&1 echo x - 3dm-bsd/Makefile sed 's/^X//' >3dm-bsd/Makefile << 'END-of-3dm-bsd/Makefile' X# New ports collection makefile for: 3dm-bsd X# Date created: 8 August 2002 X# Whom: Harald Schmalzbauer X# X# $FreeBSD$ X# X XPORTNAME= 3dm-bsd XPORTVERSION= 1.10.0.011 XCATEGORIES= sysutils XMASTER_SITES= http://people.freebsd.org/~msmith/RAID/3ware/ X XMAINTAINER= h@schmalzbauer.de X XONLY_FOR_ARCHS= i386 XNO_WRKSUBDIR= Yes X Xdo-build: X @(cd ${WRKDIR}; ${TAR} -xvzf 3dm-help.tgz) X Xdo-install: X if [ ! -d ${LOCALBASE}/sbin ]; then \ X ${INSTALL} -d -v -g wheel -m 0755 -o root ${LOCALBASE}/sbin; \ X fi X X if [ ! -d ${LOCALBASE}/etc/3dmd ]; then \ X ${INSTALL} -d -v -g wheel -m 0755 -o root ${LOCALBASE}/etc/3dmd; \ X fi X X if [ ! -d ${LOCALBASE}/etc/rc.d ]; then \ X ${INSTALL} -d -v -g wheel -m 0755 -o root ${LOCALBASE}/etc/rc.d; \ X fi X X @${INSTALL} -v -g wheel -m 0755 -o root ${WRKDIR}/3dmd ${LOCALBASE}/sbin; \ X ${INSTALL} -v -g wheel -m 0644 -o root ${WRKDIR}/etc/3dmd.conf ${LOCALBASE}/etc/3dmd; \ X ${CAT} ${LOCALBASE}/etc/3dmd/3dmd.conf | ${SED} 's?/usr/local/doc/3dm?${LOCALBASE}/etc/3dmd/doc?g ; s?1080?8080?g'> ${LOCALBASE}/etc/3dmd/3dmd.conf; \ X ${INSTALL} -d -v -g wheel -m 0644 -o root ${LOCALBASE}/etc/3dmd/doc X ${CP} -R ${WRKDIR}/3dm/* ${LOCALBASE}/etc/3dmd/doc; \ X ${CHMOD} -R 444 ${LOCALBASE}/etc/3dmd/doc/*; \ X ${CHMOD} -R +X ${LOCALBASE}/etc/3dmd/doc/*; \ X ${LN} -s ${LOCALBASE}/etc/3dmd/3dmd.conf /etc/3dmd.conf; \ X ${INSTALL} -v -g wheel -m 0755 -o root ${PATCHDIR}/3dmd.sh ${LOCALBASE}/etc/rc.d; \ X cd /dev && ./MAKEDEV twe0; \ X Xpost-install: X @${CAT} ${WRKDIR}/../pkg-message X X.include END-of-3dm-bsd/Makefile echo x - 3dm-bsd/distinfo sed 's/^X//' >3dm-bsd/distinfo << 'END-of-3dm-bsd/distinfo' XMD5 (3dm-bsd-1.10.0.011.tar.gz) = e8b9d745df1085d9e4bbb07ff5301350 END-of-3dm-bsd/distinfo echo x - 3dm-bsd/pkg-plist sed 's/^X//' >3dm-bsd/pkg-plist << 'END-of-3dm-bsd/pkg-plist' Xsbin/3dmd Xetc/rc.d/3dmd.sh Xetc/3dmd/3dmd.conf Xetc/3dmd/doc/3DM_browser.html Xetc/3dmd/doc/3DM_contact.html Xetc/3dmd/doc/3DM_email.html Xetc/3dmd/doc/3DM_help.html Xetc/3dmd/doc/3DM_hot_spare.html Xetc/3dmd/doc/3DM_hot_swap.html Xetc/3dmd/doc/3DM_linux_install.html Xetc/3dmd/doc/3DM_popup_linux.html Xetc/3dmd/doc/3DM_popup_windows.html Xetc/3dmd/doc/3DM_rebuild.html Xetc/3dmd/doc/3DM_windows_install.html Xetc/3dmd/doc/images/3DM-logo-no-transparency.gif Xetc/3dmd/doc/images/3DM-logo-transparency.gif Xetc/3dmd/doc/images/CAS_alarm.gif Xetc/3dmd/doc/images/CAS_details.gif Xetc/3dmd/doc/images/CAS_home.gif Xetc/3dmd/doc/images/CAS_monitor.gif Xetc/3dmd/doc/images/CAS_settings.gif Xetc/3dmd/doc/images/MAM_configure.gif Xetc/3dmd/doc/images/MAM_rebuild.gif Xetc/3dmd/doc/images/PNL_event_notification.gif Xetc/3dmd/doc/images/PNW_event_notification.gif Xetc/3dmd/doc/images/PNW_icon.gif Xetc/3dmd/doc/images/PNW_main.gif Xetc/3dmd/doc/images/PNW_snapshot.gif Xetc/3dmd/doc/images/WI_email_notification.gif Xetc/3dmd/doc/images/WI_remote_monitoring.gif Xetc/3dmd/doc/styles/3DMstyle.css X@dirrm etc/3dmd/doc/styles X@dirrm etc/3dmd/doc/images X@dirrm etc/3dmd/doc X@dirrm etc/3dmd X@cwd /etc X3dmd.conf END-of-3dm-bsd/pkg-plist echo x - 3dm-bsd/pkg-comment sed 's/^X//' >3dm-bsd/pkg-comment << 'END-of-3dm-bsd/pkg-comment' XWeb management daemon for 3ware Escalade RAID controllers END-of-3dm-bsd/pkg-comment echo x - 3dm-bsd/pkg-descr sed 's/^X//' >3dm-bsd/pkg-descr << 'END-of-3dm-bsd/pkg-descr' XThis is a "convinience-port" for 3ware's binary release of a web-based Xmanagement tool for their ESCALADE controllers. XThe driver developed by M.Smith is in the GENERIC KERNEL but you need this Xtool to manage the controllers arrays. X XWWW: http://people.freebsd.org/~msmith/RAID/#3ware X X-Harry XH@Schmalzbauer.de END-of-3dm-bsd/pkg-descr echo c - 3dm-bsd/files mkdir -p 3dm-bsd/files > /dev/null 2>&1 echo x - 3dm-bsd/files/3dmd.sh sed 's/^X//' >3dm-bsd/files/3dmd.sh << 'END-of-3dm-bsd/files/3dmd.sh' X#!/bin/sh X Xif ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then X echo "$0: Cannot determine the PREFIX" >&2 X exit 1 Xfi X Xcase "$1" in X start) X [ -x ${PREFIX}/sbin/3dmd ] && ${PREFIX}/sbin/3dmd && echo -n ' 3ware Web-Manager' X ;; X stop) X /usr/bin/killall 3dmd > /dev/null 2>&1 && echo -n ' 3ware Web-Manager' X ;; X reload) X /usr/bin/killall -HUP 3dmd > /dev/null 2>&1 && echo -n ' 3ware Web-Manager' X ;; X *) X echo "" X echo "Usage: `basename $0` { start | stop | reload }" X echo "" X exit 1 X ;; Xesac END-of-3dm-bsd/files/3dmd.sh echo x - 3dm-bsd/pkg-message sed 's/^X//' >3dm-bsd/pkg-message << 'END-of-3dm-bsd/pkg-message' X X X------------------------------------------------------- X| This port has no manpage but online-help | X| After startup Daemon is listening on port 8080 | X| Don't forget to change the default password (3ware) | X| and enable it afterwards! | X------------------------------------------------------- X X END-of-3dm-bsd/pkg-message exit --- 3dm-bsd.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message