Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 336296 Details for
Bug 453274
sys-block/lio-utils: reintroduce (was: snapshot request)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
lio-utils snapshot ebuild
lio-utils-3.1_p20130119.ebuild (text/plain), 2.49 KB, created by
Andrew Hamilton
on 2013-01-21 03:10:31 UTC
(
hide
)
Description:
lio-utils snapshot ebuild
Filename:
MIME Type:
Creator:
Andrew Hamilton
Created:
2013-01-21 03:10:31 UTC
Size:
2.49 KB
patch
obsolete
># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-block/lio-utils/lio-utils-9999.ebuild,v 1.2 2012/05/25 16:42:53 alexxy Exp $ > >EAPI=4 > >PYTHON_DEPEND="2" >RESTRICT_PYTHON_ABIS="3.*" >SUPPORT_PYTHON_ABIS="1" > >inherit eutils distutils python linux-info > >DESCRIPTION="Tools for controlling target_core_mod/ConfigFS" >HOMEPAGE="http://linux-iscsi.org/" >SRC_URI="http://www.tjhsst.edu/~ahamilto/gentoo/${P}.tar.xz" > >LICENSE="GPL-3" >SLOT="0" >KEYWORDS="~amd64" >IUSE="snmp" > >DEPEND="snmp? ( net-analyzer/net-snmp )" >RDEPEND="${DEPEND}" > >CONFIG_CHECK="~TARGET_CORE" > >pkg_setup() { > linux-info_pkg_setup > python_pkg_setup >} > >src_prepare(){ > local module > > for module in tcm-py lio-py; do > cd ${module} > distutils_src_prepare > cd .. > done > epatch "${FILESDIR}"/tools-makefile.patch > epatch "${FILESDIR}"/snmp-makefile.patch >} > >src_compile(){ > local module > > for module in tcm-py lio-py; do > cd ${module} > distutils_src_compile > cd .. > done > cd tools/ > emake || die "emake failed" > cd .. > if use snmp; then > cd mib-modules/ > emake || die "emake snmp failed" > cd .. > fi >} > >src_install(){ > local module > > for module in tcm-py lio-py; do > cd ${module} > distutils_src_install > cd .. > done > cd tools/ > emake DESTDIR="${ED}" install || die "emake install failed" > cd .. > > symlink_to_sbin(){ > local ver=$(python_get_version) sitedir="$(python_get_sitedir)" > ln -s "${sitedir}"/lio_dump.py \ > "${ED}"/usr/sbin/lio_dump-${ver} > python_convert_shebangs "${ver}" "${D}${sitedir}"/lio_dump.py > ln -s "${sitedir}"/lio_node.py \ > "${ED}"/usr/sbin/lio_node-${ver} > python_convert_shebangs "${ver}" "${D}${sitedir}"/lio_node.py > ln -s "${sitedir}"/tcm_dump.py \ > "${ED}"/usr/sbin/tcm_dump-${ver} > python_convert_shebangs "${ver}" "${D}${sitedir}"/tcm_dump.py > ln -s "${sitedir}"/tcm_node.py \ > "${ED}"/usr/sbin/tcm_node-${ver} > python_convert_shebangs "${ver}" "${D}${sitedir}"/tcm_node.py > ln -s "${sitedir}"/tcm_fabric.py \ > "${ED}"/usr/sbin/tcm_fabric-${ver} > python_convert_shebangs "${ver}" "${D}${sitedir}"/tcm_fabric.py > } > python_execute_function --action-message "Making symlinks to /usr/sbin" symlink_to_sbin > python_generate_wrapper_scripts "${ED}"/usr/sbin/{lio_dump,lio_node,tcm_node,tcm_dump,tcm_fabric} > > if use snmp; then > cd mib-modules/ > emake DESTDIR="${ED}" install || die "emake install snmp failed" > cd .. > fi > > emake DESTDIR="${ED}" conf_install || die "emake conf_install failed" > newinitd "${FILESDIR}/target.initd" target >}
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 453274
: 336296