Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 269835 Details for
Bug 60690
sys-block/3dm2: 3ware Device Manager Ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
3dm2-10.2-r1.ebuild
3dm2-10.2-r1.ebuild (text/plain), 2.47 KB, created by
Stefan Behte (RETIRED)
on 2011-04-13 14:22:56 UTC
(
hide
)
Description:
3dm2-10.2-r1.ebuild
Filename:
MIME Type:
Creator:
Stefan Behte (RETIRED)
Created:
2011-04-13 14:22:56 UTC
Size:
2.47 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="3" > >inherit eutils > >MY_ARCH="${ARCH/amd64/x86_64}" > >DESCRIPTION="3ware Disk Managment web utility and RAID controller CLI tool" >HOMEPAGE="http://www.lsi.com/" >SRC_URI="http://www.lsi.com/DistributionSystem/AssetDocument/3DM2_CLI-Linux-${PV}.zip" > >LICENSE="LSI" >SLOT="0" >KEYWORDS="amd64 ~x86" >IUSE="" > >RESTRICT="mirror" >PROPERTIES="interactive" > >RDEPEND="virtual/libc > virtual/logger > virtual/mta" > >DEPEND="${RDEPEND}" > >S=${WORKDIR} > >pkg_setup() { > # Enforce EULA > check_license > > # Display some supplimental information about controller support > echo > einfo "This binary supports should support all 3ware controllers, including:" > einfo "PATA: 6xxx, 72xx, 74xx, 78xx, 7000, 7500, 7506" > einfo "SATA: 8006, 8500, 8506, 9500S, 9550SX, 9590SE" > einfo " 9550SXU, 9650SE" > einfo " SAS: 9690SA, 9750-4i, 9750-8i" > echo >} > >src_unpack() { > unpack ${A} > tar zxf tdmCliLnx.tgz > mkdir help msg > tar zxf tdm2Help.tgz -C help > tar zxf tdm2Msg.tgz -C msg >} > >src_prepare() { > # update conf paths for Gentoo standards > sed -i -e 's;MsgPath /opt/3ware/3DM2/msg;MsgPath /usr/share/3dm2/msg;' \ > -e 's;Help /opt/3ware/3DM2/help;Help /usr/share/3dm2/help;' \ > -e 's;imgPath /etc/3dm2;imgPath /usr/share/3dm2;' \ > 3dm2.conf || die "sed update 3dm2.conf" >} > >src_install() { > newsbin "3dm2.${MY_ARCH}" ${PN} || die "dosbin 3dm2.${MY_ARCH}" > > dodir /etc/${PN} > insinto /etc/${PN} > doins 3dm2.conf || die "doins 3dm2.conf" > > insinto /usr/share/${PN} > doins logo.gif || die "doins logo.gif" > doins -r help || die "doins help" > doins -r msg || die "doins msg" > > newinitd "${FILESDIR}/${PN}.init" ${PN} || die "newinitd 3dm2.init" > > dodoc LGPL_License.txt OpenSSL.txt >} > >pkg_preinst() { > RESTART=0 > if [ $(pgrep 3dm2 >/dev/null; echo $?) -eq 0 ]; then > /etc/init.d/${PN} stop > RESTART=1 > fi >} > >pkg_postinst() { > if [ ${RESTART} -eq 0 ]; then > echo > einfo "Start 3dm2, then connect to the server at https://localhost:888/" > einfo "Default password for both user and administrator is: 3ware" > einfo "Note that remote access is *enabled* by default." > einfo > einfo "To change the ssl cert, place a file called 3dm2.pem in /etc/3dm2" > einfo "It must contain the certificate and the key." > einfo "Under normal circumstances you don't need to change it." > else > echo > ewarn "Note: 3dm2 was automatically stopped to complete this upgrade." > ewarn "You should restart it now with: /etc/init.d/${PN} start" > fi > echo >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 60690
:
37615
|
37616
|
37617
|
61761
|
61762
|
61763
|
102513
|
102514
|
102515
|
104358
|
104359
|
165263
|
165265
|
165267
|
174418
|
174420
|
185465
|
196481
|
196482
|
196486
|
240053
|
241011
|
241013
|
241015
|
241017
|
241171
| 269835 |
302101
|
364494