Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 122744 Details for
Bug 182835
net-analyzer/afasnmp - Dell AACRAID-based PERC RAID controller SNMP agent
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
afasnmpd daemon for Dell's PERC 3Di raid controler.
afasnmpd-bin-2.7.1.ebuild (text/plain), 2.72 KB, created by
Alex Barker
on 2007-06-21 22:35:38 UTC
(
hide
)
Description:
afasnmpd daemon for Dell's PERC 3Di raid controler.
Filename:
MIME Type:
Creator:
Alex Barker
Created:
2007-06-21 22:35:38 UTC
Size:
2.72 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://support.dell.com/support/edocs/storage/57kgr/cli/en/index.htm" >SRC_URI="http://ftp.dell.com/scsi-raid/afa-linux-app-A01.tar.gz > amd64? ( 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 ) > net-analyzer/net-snmp" > >RPM_PV=$(replace_version_separator 2 '-') > >src_unpack() { > unpack ${A} > rpm_unpack "${WORKDIR}/afasnmp-${RPM_PV}.i386.rpm" >} > >src_install() { > mkdir -p ${D}/usr/sbin ${D}/dev/ ${D}/etc/init.d/ > mv ${WORKDIR}/usr/sbin/* ${D}/usr/sbin/ > mv ${WORKDIR}/dev/MAKEDEV* ${D}/dev/ > mv ${WORKDIR}/etc/rc.d/init.d/* ${D}/etc/init.d/ > > # Need to fix issues with incorrect lib symlinks > # Figure out the path for the lib sym-link > if use amd64 ; then > LIBCRYPT_LOC="/usr/lib32/"; > else > LIBCRYPT_LOC="/usr/lib/"; > fi > mkdir -p ${D}/${LIBCRYPT_LOC} > > # Link up the libcrypto if it doesnt exist. > if [[ ! -e ${LIBCRYPT_LOC}/libcrypto.so.1 ]]; then > ln -s libcrypto.so ${D}/${LIBCRYPT_LOC}/libcrypto.so.1 > fi > > # Link up the libssl if it doesnt exist. > if [[ ! -e ${LIBCRYPT_LOC}/libssl.so.1 ]]; then > ln -s libssl.so ${D}/${LIBCRYPT_LOC}/libssl.so.1 > fi >} > >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 > > einfo "" > einfo "afasnmpd requires that snmpd be setup and running prior to start." > einfo "please be sure to create your /etc/snmp/snmpd.conf and start the deamon." > einfo "To auto start afasnmpd please run 'rc-update add afasnmpd default'." >} > >pkg_prerm() { > # if we dont have the cli tool isntalled, remove. > if ! has_version "sys-fs/afacli-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/afacli-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 182835
:
122744
|
164090
|
164091