Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 122743 Details for
Bug 182833
afacli-bin-2.7.1.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
afacli tool for Dell's PERC 3Di raid controler.
afacli-bin-2.7.1.ebuild (text/plain), 1.85 KB, created by
Alex Barker
on 2007-06-21 22:25:04 UTC
(
hide
)
Description:
afacli tool for Dell's PERC 3Di raid controler.
Filename:
MIME Type:
Creator:
Alex Barker
Created:
2007-06-21 22:25:04 UTC
Size:
1.85 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit rpm versionator > >DESCRIPTION="Dell(tm) Command Line Interface" >HOMEPAGE="http://linux.dell.com/storage.shtml" >SRC_URI="http://ftp.dell.com/scsi-raid/afa-linux-app-A01.tar.gz > mirror://gentoo/arts-3.5.5.tbz2" > >LICENSE="Dell" ># The license is unclear. >#RESTRICT="nomirror" >SLOT="0" >KEYWORDS="-* amd64 x86" >IUSE="" > >DEPEND="" >RDEPEND="${DEPEND} > amd64? ( app-emulation/emul-linux-x86-baselibs )" > >RPM_PV=$(replace_version_separator 2 '-') > >src_unpack() { > unpack ${A} > rpm_unpack "${WORKDIR}/afaapps-${RPM_PV}.i386.rpm" >} > >src_install() { > mkdir -p ${D}/usr/sbin ${D}/dev/ > mv ${WORKDIR}/usr/sbin/* ${D}/usr/sbin/ > mv ${WORKDIR}/dev/MAKEDEV* ${D}/dev/ >} > >pkg_postinst() { > for i in 0 1 2 3 4 5 6 7; do > /dev/MAKEDEV.afa /dev/afa${i} > done > > # Dirty hack becuase this program requires arts sound and its a cli raid app. > # If we dont do this we would have to install the sound emulation libs, x11 and > # about 8 more depends for that or x86 would need to install 53 packages for kde. > if ( use amd64 && ! built_with_use app-emulation/emul-linux-x86-soundlibs arts ) || ( use x86 && ! has_version "kde-base/arts" ) ; then > mv ${WORKDIR}/usr/kde/3.5/lib32/libartsc.so* /lib32/ > fi >} > >pkg_prerm() { > # if we dont have the snmp deamon installed, remove. > if ! has_version "sys-fs/afasnmpd-bin" ; then > for i in 0 1 2 3 4 5 6 7; do > rm /dev/afa${i} > done > fi > > # Dirty hack becuase this program requires arts sound and its a cli raid app. > # If we dont do this we would have to install the sound emulation libs, x11 and > # about 8 more depends for that. > if ( use amd64 && ! built_with_use app-emulation/emul-linux-x86-soundlibs arts ) || ( use x86 && ! has_version "kde-base/arts" ) && ( ! has_version "sys-fs/afasnmpd-bin" ) ; then > rm /lib32/libartsc.so* > fi >}
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 182833
: 122743