sys-block/tgt: 1.0.73 stable amd64 and x86 with cleanup

Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
Matthew Thode
2018-02-03 18:49:06 -06:00
parent dfc80c818d
commit 479cf0077d
3 changed files with 1 additions and 67 deletions

View File

@@ -1,3 +1,2 @@
DIST tgt-1.0.71.tar.gz 296540 BLAKE2B 89cc4a79119b07bd61a74c838a647b44e0c05b4cdf7e1b2d93580c503c588e6e75ba25a81f30ff4eeeeec2bcfa2669847aff2c3243ce95b50fd53b15a25f6112 SHA512 db74deb199ef341577ab505b7202651e6c28aa9d62d37d3492b1775a2944284e1d3bb7c99b6d8bedd3456807641952876719ecd66553bd8c8dabbee5669f9428
DIST tgt-1.0.72.tar.gz 296698 BLAKE2B 6625bf87b37f4683aaf0c29264e69e400c6d238c9eaa7d9bb6fd46a76b542a8477ad8c7e9913d3dde70caaf02c323a2c01a3bd78b2d092829f4530015225012f SHA512 4fdb1b8f3c2487f66629024132f7fa53ab69b9eba67d380fb18aa2d9c143e77bdf808b3ff8d1e2bf1d4420cf1792944d6f79731ddbb095d52b53d573d9f1281c
DIST tgt-1.0.73.tar.gz 296814 BLAKE2B a3c81c00f716678aa9388f6a4562bd0b6fe0e2c705aee9655f942ffafae4bab3bbbaff521a8b7aefab208a354e0c1c617b85cdd08247a77d1026d0482d2b6528 SHA512 e6410f16c54f71d9a33d511438169a0ca305a7b9a9dd6abbaae9f0b31c18223fa1f3a11b575322d3bb94df129b4f9b186079a7d7cbd27e31734151154edab1da

View File

@@ -1,65 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit flag-o-matic toolchain-funcs
MY_TREE="f2a6db5"
DESCRIPTION="Linux SCSI target framework (tgt)"
HOMEPAGE="http://stgt.sourceforge.net"
SRC_URI="https://github.com/fujita/tgt/tarball/v${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="fcoe fcp ibmvio infiniband rbd"
CDEPEND="dev-perl/Config-General
dev-libs/libxslt
rbd? ( sys-cluster/ceph )
infiniband? (
sys-fabric/libibverbs:=
sys-fabric/librdmacm:=
)"
DEPEND="${CDEPEND}
app-text/docbook-xsl-stylesheets"
RDEPEND="${DEPEND}
dev-libs/libaio
sys-apps/sg3_utils"
S=${WORKDIR}/fujita-tgt-${MY_TREE}
pkg_setup() {
tc-export CC
}
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.0.69-sysmacros.patch #580594
sed -i -e 's:\($(CC)\) $^:\1 $(LDFLAGS) $^:' usr/Makefile || die
# make sure xml docs are generated before trying to install them
sed -i -e "s@install: @& all @g" doc/Makefile || die
}
src_compile() {
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"
use rbd && myconf="${myconf} CEPH_RBD=1"
emake -C usr/ KERNELSRC="${KERNEL_DIR}" ISCSI=1 ${myconf}
emake -C doc
}
src_install() {
emake install-programs install-scripts install-doc DESTDIR="${D}" docdir=/usr/share/doc/${PF}
newinitd "${FILESDIR}"/tgtd.initd tgtd
newconfd "${FILESDIR}"/tgtd.confd tgtd
dodir /etc/tgt
keepdir /etc/tgt
}

View File

@@ -12,7 +12,7 @@ SRC_URI="https://github.com/fujita/tgt/tarball/v${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
KEYWORDS="amd64 ~arm64 x86"
IUSE="fcoe fcp ibmvio infiniband rbd"
CDEPEND="dev-perl/Config-General