Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171244 - cciss_vol_status utility (new ebuild)
Summary: cciss_vol_status utility (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Tony Vroon (RETIRED)
URL: http://cciss.sourceforge.net/#cciss_u...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-03-17 13:07 UTC by Peter Molnar
Modified: 2007-05-30 15:59 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
New ebuild for the cciss_vol_status utility. (cciss-vol-status-1.01.ebuild,684 bytes, text/plain)
2007-03-17 13:09 UTC, Peter Molnar
Details
cciss_vol_status-1.02.ebuild (cciss_vol_status-1.02.ebuild,502 bytes, text/plain)
2007-04-12 14:24 UTC, Tony Vroon (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Molnar 2007-03-17 13:07:24 UTC
New ebuild for cciss_vol_status utility.

Reproducible: Always
Comment 1 Peter Molnar 2007-03-17 13:09:15 UTC
Created attachment 113563 [details]
New ebuild for the cciss_vol_status utility.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-17 13:32:23 UTC
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
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2007-04-12 14:24:41 UTC
Created attachment 116071 [details]
cciss_vol_status-1.02.ebuild

Please confirm that this ebuild compiles correctly and that the resulting binary is usable for you. I am willing to maintain this.
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2007-04-19 16:28:40 UTC
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)
Comment 5 Anders Bach Madsen 2007-04-20 07:47:30 UTC
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
Comment 6 Alois Schmid 2007-05-30 15:13:06 UTC
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)
Comment 7 Tony Vroon (RETIRED) gentoo-dev 2007-05-30 15:59:21 UTC
Thank you for testing Alois, the keyword has just been added.