diff options
author | Dawid Węgliński <cla@gentoo.org> | 2010-10-20 13:30:07 +0000 |
---|---|---|
committer | Dawid Węgliński <cla@gentoo.org> | 2010-10-20 13:30:07 +0000 |
commit | 2e2863a070212ebd404de7e6089603d10bf46ac3 (patch) | |
tree | 978e7e99885dbf1fed76192e961a5f5bb570c6fe | |
parent | Marking qt-assistant-4.7.0 ~ppc for bug 338289 (diff) | |
download | historical-2e2863a070212ebd404de7e6089603d10bf46ac3.tar.gz historical-2e2863a070212ebd404de7e6089603d10bf46ac3.tar.bz2 historical-2e2863a070212ebd404de7e6089603d10bf46ac3.zip |
Revbump for respecting LDFLAGS and die on sed
Package-Manager: portage-2.2_rc78/cvs/Linux x86_64
-rw-r--r-- | sys-block/tgt/ChangeLog | 7 | ||||
-rw-r--r-- | sys-block/tgt/Manifest | 3 | ||||
-rw-r--r-- | sys-block/tgt/tgt-1.0.7-r1.ebuild | 52 |
3 files changed, 60 insertions, 2 deletions
diff --git a/sys-block/tgt/ChangeLog b/sys-block/tgt/ChangeLog index 8a788c2c17be..e89b9e7cdcba 100644 --- a/sys-block/tgt/ChangeLog +++ b/sys-block/tgt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-block/tgt # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/tgt/ChangeLog,v 1.6 2010/10/20 12:50:43 cla Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/tgt/ChangeLog,v 1.7 2010/10/20 13:30:07 cla Exp $ + +*tgt-1.0.7-r1 (20 Oct 2010) + + 20 Oct 2010; Dawid Węgliński <cla@gentoo.org> +tgt-1.0.7-r1.ebuild: + Revbump for respecting LDFLAGS and die on sed 20 Oct 2010; Dawid Węgliński <cla@gentoo.org> tgt-1.0.7.ebuild: Respect LDFLAGS (#332725) diff --git a/sys-block/tgt/Manifest b/sys-block/tgt/Manifest index 72cb30359b37..948df0a05274 100644 --- a/sys-block/tgt/Manifest +++ b/sys-block/tgt/Manifest @@ -1,5 +1,6 @@ AUX tgtd 3497 RMD160 9d5879263cd154d44429413d5e509ed51c980940 SHA1 3ede20bb7bfea2b8130565e987d50ecc128e466e SHA256 5c6e599c63d3c8a0567b5d1eed7fb470c8dac1fe0f7a90b15cc37a92a8f5788c DIST tgt-1.0.7.tar.gz 323808 RMD160 4f82fd149d9a2d26882af7acdb4b6139b32da4cd SHA1 28784a319e8fc27ad514851023e98f31babd6ae3 SHA256 708e7b8e5e7b5f6f4fea9fb9085e66ca9d967127d60fcbd136bcfd89a2c1db3b +EBUILD tgt-1.0.7-r1.ebuild 1311 RMD160 bd7a6bd45b1eed6803b9ed5b5f2809c9cde88487 SHA1 b4a2a148eda271f89cb2aab80f58ff69582cbd58 SHA256 b2a1a40ed98da47552e488f70de3f883a2cd259e86aba0e2350c94c17cb947ef EBUILD tgt-1.0.7.ebuild 1288 RMD160 0f5fc67e1992a2c86ac5bc423f0cfdd5a0cb3d8c SHA1 7a22783f78ed87995137913aace1353c5519d43a SHA256 d5d769374973be2837c7a129d971094bc5dac9ae5892127aa2032d9d9bc4a5b2 -MISC ChangeLog 959 RMD160 3e987667c64b69d3d12ba469d824f60304802bb5 SHA1 55d3575a2f9836b62688bab6776f5e607443f2e5 SHA256 8722fca90465a334802fbeb7ec1892fa928bf30dca5af2a2f6e2b83e110517ed +MISC ChangeLog 1109 RMD160 48992a0a6cc5346a79c201c3fb755884b0b91f92 SHA1 5c9126b95cbde6741963631aef32eaa5af129cc6 SHA256 5d8b456c5787c3585f214173fd074082cdd605e23db703298bc0adee53506bdc MISC metadata.xml 543 RMD160 b0d3677bf1fba5558a59be35c20b13145eb23857 SHA1 42d2e81ccbe31a14effdef6282dc4941eb1dadc5 SHA256 aae4c8747ac788f5ddeb7c6a5d5f33adb83c7606a3974ce7396e198431544de9 diff --git a/sys-block/tgt/tgt-1.0.7-r1.ebuild b/sys-block/tgt/tgt-1.0.7-r1.ebuild new file mode 100644 index 000000000000..db7bcf595813 --- /dev/null +++ b/sys-block/tgt/tgt-1.0.7-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/tgt/tgt-1.0.7-r1.ebuild,v 1.1 2010/10/20 13:30:07 cla Exp $ + +EAPI="3" + +inherit flag-o-matic linux-info + +DESCRIPTION="Linux SCSI target framework (tgt)" +HOMEPAGE="http://stgt.sourceforge.net" +SRC_URI="http://stgt.sourceforge.net/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ibmvio infiniband fcp fcoe" + +DEPEND="dev-perl/config-general + infiniband? ( + sys-infiniband/libibverbs + sys-infiniband/librdmacm + )" +RDEPEND="${DEPEND} + sys-apps/sg3_utils" + +pkg_setup() { + CONFIG_CHECK="~SCSI_TGT" + WARNING_SCSI_TGT="Your kernel needs CONFIG_SCSI_TGT" + linux-info_pkg_setup +} + +src_configure() { + local myconf + use ibmvio && myconf="${myconf} IBMVIO=1" + use infiniband && myconf="${myconf} ISCSI_RDMA=1" + use fcp && myconf="${myconf} FCP=1" + use fcoe && myconf="${myconf} FCOE=1" + + sed -e 's:\($(CC)\):\1 $(LDFLAGS):' -i usr/Makefile || die "sed failed" +} + +src_compile() { + emake -C usr/ KERNELSRC="${KERNEL_DIR}" ISCSI=1 ${myconf} +} + +src_install() { + emake install-programs install-scripts install-doc DESTDIR="${D}" \ + docdir=/usr/share/doc/${PF} \ + || die "install failed" + doinitd "${FILESDIR}/tgtd" + dodir "/etc/tgt" +} |