Bug 171244 - cciss_vol_status utility (new ebuild)
|
Bug#:
171244
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: chainsaw@gentoo.org
|
Reported By: mp@mpsw.hu
|
|
Component: Ebuilds
|
|
|
URL:
http://cciss.sourceforge.net/#cciss_utils
|
|
Summary: cciss_vol_status utility (new ebuild)
|
|
Keywords: EBUILD
|
|
Status Whiteboard:
|
|
Opened: 2007-03-17 13:07 0000
|
New ebuild for cciss_vol_status utility.
Reproducible: Always
A couple of notes:
- you shouldn't hardcode stuff in SRC_URI, just use ${P} there
- ${S} defaults to "${WORKDIR}/${P}", no need to define it here
- the whole src_compile is redundant as well
- no need to dodoc INSTALL COPYING
This is in portage:
<CIA-11> chainsaw * gentoo-x86/sys-apps/cciss_vol_status/ (4 files in 2 dirs):
<CIA-11> Initial commit. Ebuild by me, but based on the submission by Peter
Molnar <mp428@hszk.bme.hu> in bug #171244. AMD64 keyword approval from
KingTaco, tested by me on a HP Proliant DL365 G1.
<CIA-11> (Portage version: 2.1.2.4)
camilla ~ # emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1/server, gcc-4.1.1, glibc-2.5-r0,
2.6.18-hardened i686)
=================================================================
System uname: 2.6.18-hardened i686 Intel(R) Pentium(R) III CPU family
1400MHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 20 Apr 2007 07:00:01 +0000
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/
http://trumpetti.atm.tut.fi/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ "
LC_ALL="da_DK.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 bash-completion berkdb bitmap-fonts clamav cli cracklib crypt dri
fortran gdbm gpm hardened iconv imap ipv6 isdnlog ldap libg++ libwww logrotate
maildir mailwrapper midi mysql ncurses nls nptl nptlonly pam pcre perl postfix
ppds pppd python readline reflection sasl session snmp spl ssl tcpd threads
truetype truetype-fonts type1-fonts unicode vhosts x86 xml xorg zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m
maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix
dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge
savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware
voodoo"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY
-------
camilla ~ # cciss_vol_status -q /dev/cciss/c0d0
/dev/cciss/c0d0: (Smart Array 5i) Volume 0 status: OK.
Tested on x86 HP Proliant DL360 G2 and HP Proliant DL 380 G3
Please add keyword x86 to package
Please add x86 keyword to ebuild file.
Tested successfully on HP ProLiant DL380 G3, DL380 G4,
DL 360 and some others (15 servers running 32-bit gentoo linux on HP ProLiant)
Thank you for testing Alois, the keyword has just been added.