From b284a3168fa91a038925d2ecf5e4791011ea5e7d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 18 Nov 2019 10:15:03 +0000 Subject: gentoo resync : 18.11.2019 --- sys-block/Manifest.gz | Bin 10876 -> 10872 bytes sys-block/arcconf/Manifest | 4 +- sys-block/arcconf/arcconf-2.01.22270-r1.ebuild | 2 +- sys-block/arcconf/arcconf-3.01.23531.ebuild | 2 +- sys-block/fio/Manifest | 5 +- sys-block/fio/files/fio-3.16-snprintf.patch | 44 ++++++++ sys-block/fio/fio-3.16.ebuild | 129 +++++++++++++++++++++++ sys-block/fio/metadata.xml | 2 + sys-block/open-iscsi/Manifest | 2 + sys-block/open-iscsi/open-iscsi-2.1.0.ebuild | 140 +++++++++++++++++++++++++ sys-block/viaideinfo/Manifest | 2 +- sys-block/viaideinfo/viaideinfo-0.5-r1.ebuild | 2 +- 12 files changed, 327 insertions(+), 7 deletions(-) create mode 100644 sys-block/fio/files/fio-3.16-snprintf.patch create mode 100644 sys-block/fio/fio-3.16.ebuild create mode 100644 sys-block/open-iscsi/open-iscsi-2.1.0.ebuild (limited to 'sys-block') diff --git a/sys-block/Manifest.gz b/sys-block/Manifest.gz index 4ce32ec2f2ed..65c4160581d5 100644 Binary files a/sys-block/Manifest.gz and b/sys-block/Manifest.gz differ diff --git a/sys-block/arcconf/Manifest b/sys-block/arcconf/Manifest index 3cf4ce775e0b..2a1d95cd883d 100644 --- a/sys-block/arcconf/Manifest +++ b/sys-block/arcconf/Manifest @@ -1,5 +1,5 @@ DIST arcconf_v2_01_22270.zip 47168976 BLAKE2B 95693a1408e5a4d0d638bbf265f2e1e64247dfec2b1078b56860c5fcd4b13ffa5967bfb9967abfd4b79c788aaeb20759b3a9070a84b083c1653e4868a96ac4cf SHA512 0f91a697c44ea0c0561bec9e432e7d4eba8eb8a2b0255a9867bdb183f81e745aee1dcc2b0017847803dbb27f55cad3e985f4bcd3a202c52f5b557fb724e94d9e DIST arcconf_v3_01_23531.zip 76188493 BLAKE2B bb939262e89a76fe28cca60ce647df53bd66625d8273cf80ad0b9daa31de8ac33d181a5ad864e52ce5b599d9631a503d2e4a132ec3369b67f0e12887a4bccc0c SHA512 93ab1b5f3f35ad403ac52456ffb16b5b57c4851dbaa3d4922194b29b72957944a0a3e02346362f62b3f6ba5f73394a3720a1f5a371b34e9a03f31bd793348822 -EBUILD arcconf-2.01.22270-r1.ebuild 977 BLAKE2B 1880ca5cb6d3351ec0da2c221fc3da405a75a4b5b5206160e8aba6df93780cd5f6e25a4a3512e203c3abf6a8a5eef7fc851792b6a1bc0223b48890cf4b4f7134 SHA512 0420b47745554a8c316ba4a77d72821f8c5a429d957b4962c3f185e0d65d08ecf61db3b5421c344222c32894136448ba87d74d0eaf24c5b7ecab07d490a9546e -EBUILD arcconf-3.01.23531.ebuild 946 BLAKE2B bf894169e4293dd45346219cf54f7e0523081151be19b2687c3e8d1ab92149c9c63ca2f7cd7377abc01c1b5e9da9a103328d69e3776ec628b31f988a4c665f84 SHA512 1a83b9882143db017e7362c11bd1c5837cfbed4744c0e62261cf7144ac048b1acafa6591533d548010299c3aae9170e48a30fde28a971358e625abc1fbe98b25 +EBUILD arcconf-2.01.22270-r1.ebuild 976 BLAKE2B 0a01569201cfc356bf515ba378b473231ea071f5d158e75fc54f471bb4a30720045fb5efc5704e36095d948f6d4c0eac57992dcb46754ffd0e3bfe66c8eb0d9e SHA512 e47138663ccd6f0e1f89dc9481bbd0a866fb179aa6a06e12102931ca617c5d76c3103a421e161bbce23f01d372f09ad30cbdb3d4ea8e65590caa45ea4358f80b +EBUILD arcconf-3.01.23531.ebuild 945 BLAKE2B 8558110c3399589ecb2d57d964b3a2bbe8fa7b0b170d01dbf779b8baccf26a1a01c9b2fd1d7f7da740b2cf4809565c055ef5092dd1e93df358cb0b963e7786f7 SHA512 3d762d943fecc99eb952789f246a51dacec22cf036fa2c601e291230a70ab2ff146c604977e3f58182e0500e25db5fa0fdfc99d6d49f92dd1e6870d1524446c5 MISC metadata.xml 938 BLAKE2B 93135d11cb82ab2618fcc991f26c71e89d991d27947a734871d6eeecf50cc9b4c5508738e329774e5d2ad4954988bc501659476c37d964e9dac0c188641c3926 SHA512 93858d9f2d59413f53dc80c959edf2d6e176a5fd9a8e4eea51d51fe1ddf481722fc20920d330d63cd40e294c9ea17c2076bc3c4abb8ff5243631440a069826d4 diff --git a/sys-block/arcconf/arcconf-2.01.22270-r1.ebuild b/sys-block/arcconf/arcconf-2.01.22270-r1.ebuild index 34fc0c4eeda4..637716b01581 100644 --- a/sys-block/arcconf/arcconf-2.01.22270-r1.ebuild +++ b/sys-block/arcconf/arcconf-2.01.22270-r1.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="Microsemi Adaptec RAID Controller Command Line Utility" HOMEPAGE="https://www.microsemi.com/" SRC_URI="https://download.adaptec.com/raid/storage_manager/${PN}_${MY_PV}.zip" -KEYWORDS="-* ~amd64 x86" +KEYWORDS="-* amd64 x86" LICENSE="Microsemi" SLOT="0" diff --git a/sys-block/arcconf/arcconf-3.01.23531.ebuild b/sys-block/arcconf/arcconf-3.01.23531.ebuild index 71d1211cab8e..87eb25fc6037 100644 --- a/sys-block/arcconf/arcconf-3.01.23531.ebuild +++ b/sys-block/arcconf/arcconf-3.01.23531.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://download.adaptec.com/raid/storage_manager/${PN}_${MY_PV}.zip" LICENSE="Microsemi" SLOT="0" -KEYWORDS="-* ~amd64" +KEYWORDS="-* amd64" DEPEND="app-arch/unzip" diff --git a/sys-block/fio/Manifest b/sys-block/fio/Manifest index 5ffbdc7603b4..686141049205 100644 --- a/sys-block/fio/Manifest +++ b/sys-block/fio/Manifest @@ -1,11 +1,14 @@ AUX fio-2.2.13-libmtd.patch 398 BLAKE2B b1519ed240879f1260e3f5859c9cada3f41161457b7e06e5e764ac3a6656c3a6439fb5f0380cf90bbd6f2133f25e80419e108d725ea4672adfdd976bee94846f SHA512 18792d4ea3dbc2664d9e24541a07d82a50cd60bb7ff2d14bcdadd2207341c003ad2d298d99d65fd72c88813073b17d03a710a50db4df52ee72d49d9e9bcfe400 AUX fio-2.2.15-rdma.patch 1667 BLAKE2B 7744c58500f0d3c73eb63314bc939f03190907c232ea29b73db5e0ed44cae14e02a621e843c24e37d4a3f877a847800f42c87f5a5b62b8fe2a2ee6ea0e2f511b SHA512 aad747697693a8cef151ae9f60ea5c187cfab92aefd68046fd08c28bc1f173d5bd3c3315f5f5f6de082e7d5ceb357beb3becd159bfec1507e3ab1707eb8b796d +AUX fio-3.16-snprintf.patch 1723 BLAKE2B e1a8cbae3cc41163cd33118622d6d1888d47769bfa8d3fcd1df8def3b2dcfa8678d69c91cdac945a93172d21026efdb60363c0430765ef08519e6355e92b2732 SHA512 c9119a6c057367aa82ea204f29e78ce7c49c5fe2ea46dba3d6d109e9654a85feb47f7dfd04e8dbed76ddab642242f84fe7d5ff566493df018ecd496f64ac14a1 DIST fio-2.15.tar.bz2 545809 BLAKE2B 163530097a6ff08016c977a328bc499d052c423890c8e7074bc91fb00b02b3d951dd0369ff772fa5f36a37e0b1b7d6b358c3df99bf70db9bec2bbc7f90eee596 SHA512 fa3380031e6e0a597eb34e597af91efbc824a3d5753793fdb00cb10e693943e0358afaad9624eb4333e81182c94424a56fbd1d434eeff098dbf2fc4e19167db0 DIST fio-2.16.tar.bz2 558662 BLAKE2B cbc6e6000bd497fc92779c34688c0862f3adccd7c399ca5d4e4ce9ee9c40faddfec9b3fcca2fad2cd91ca00eee95c4a108273496c9e63db8017695ecf42d294d SHA512 f71c8ab8423e82ceae160bae8c17ac1222c1b2dde2ccb1b2aedb2288e0eb60485f8e9f3908640d4f6cebf166a148f4ad64026c035381c5db5141bf3059349d75 +DIST fio-3.16.tar.bz2 881436 BLAKE2B fee99930d0245474eb67ceee2d1a6ec2f1a0eb4da6d52cf8616d7eda64699a8c2727715284134fd4931e91efad69b064f66a80a78f70ea03e66d4eab4e601120 SHA512 2d651b20cbc6c7babf3adc082dbe78e1f7de920764653cf5ffd99df7516cf6190ffefe2152d2739326d3102949d9bad7db978ff88866cfa54020f9ec3b0a2a23 DIST fio-3.2.tar.bz2 613565 BLAKE2B e721d698338dd8d2c6215780a2d9a10c643a5912d3c27b3e759b4c14585ae1afe4edab5bdc54df8cf19c6f3727f8f4b19ce9da3298a5f0ef3753a5d8f423f4ef SHA512 97ea5ed6587d1e7382a67ab7ad933b6e332ba84cb648d17dcebad3c95c9eb6b1c04a4537e3470f890607f2921da77fcd4e49079b8b78f2d15e9c199dab850d1e DIST fio-3.7.tar.bz2 629354 BLAKE2B 99a1c88481c7a693e31b1a0bc23bc80e85df92385f9d5a7de8d6479be8bc425326a20d794eb4809f822adfcd06e07c66ebed321faa9dbae7a2c1d3c766a6467d SHA512 b1f5cb35fe1c06e030c570959ab9a96d936f9eaa2f7f30d5a34f34fd93fae057da07c4084a06143cd5188ad6b2cc06b564484f8867e050cfeddc0ee3fb0fe266 EBUILD fio-2.15.ebuild 2693 BLAKE2B 302c54d0b33a6b4a14e1a19ff8cb1848438d87a2732860bfe947f50105eff2a59abb457cb2aefa5cac302a81c0146c3f6858ed91caceaeb54da44864e2c49b60 SHA512 5052d1f15e6250f0802a6a9786aef3ea95fa61a54cb1c7a58c29e80a8b79ed3170096b51fe20f3e8cf4b7ba264fcc4beb25a8e32f222ef7619af6324d73b7a91 EBUILD fio-2.16.ebuild 2907 BLAKE2B b524791f0ecea03ae3a17994295224963fb9eb10b2b339f4dbdcbb546fbafd24cf905777817878cecd22df2158f84ed1ddfc6d311909ca569bd5ef91da0f1218 SHA512 ae8bd404cddedd37a41729e1ec570df997dd9b4484daa9e77a75c4887ee0bb26d5cffbb015fd1e154103d276f2db11486bb49d09b8dbc897f3d5ba5865fb1559 +EBUILD fio-3.16.ebuild 3556 BLAKE2B 7c8890345b27fe582f5ad82581267bd7e22b5a0d8d76733f696de9ca0ec0f25ecc1d09c0c7ab5e7306dc0f081b2dff2403820aed427b78197433e6953a646ad7 SHA512 f984a03787f909ff32268c2b40d980c7087e67e0b9a9dd575ab22c5c5b107bc15d83257ffc2d8a1b5f415f8a6b14528bc0bec9afc04b0ee434f8c8a1200b50f7 EBUILD fio-3.2.ebuild 2855 BLAKE2B 9496bc95ff5ad4511285897285904b352e8e5e1ba547f8eed4932bece1b98f229c7677405c3f6af7e6948ab710e13d79612b94d9442f8371f63cd2a15003b9c6 SHA512 72db1a54e4e876142a7e4c1b16fa467fc0024a1d67eda20a77c97a9685833a03d5a0acaa54b07e0e62e3e12ebd128d2e49ccd58e36758f70c62ca9df25d09bd1 EBUILD fio-3.7.ebuild 3016 BLAKE2B ce0efa6db051517641f759d5422954937c529b7dc6467deb584f261dae79b2ff567822963065fda944c152648b1db36c7b477c4093ce63f6d36cb8225bcd910e SHA512 e2b5c497e3d11bc6ebd8ed6a9709be3a3b88fcbd93591648bcbba48e38204dbf6de0a8622726f18d58bf39c65f5f574161f1f17cc596e1c3e07964c9ce40a6fc -MISC metadata.xml 761 BLAKE2B 196d8933527b9a6ca6731e173a00543723452f972edf59f44273a33259ffd77d9bed0bd8652d718608f741d49338e69a4e6eddc77e65478749aef8a76f4871cd SHA512 b5f10abbb437a0833b0a02e870b91b56c49c264d190e65e2a88fe45f4d19f40040c300e91dc11d8055118a30a7f334cc2283b9f55852f5baf985eae44cb26e01 +MISC metadata.xml 1000 BLAKE2B b31d96139431d807a30a3d310a259aee985e0bcbc8bd8a0ca55951aa9fd7d11441e837a2fce8f92c8f53601bcdebc64b432d93bab2ff976e6a1d19726e91a853 SHA512 d2c849aae5d4c80bce349d6f34de456602cbb04a0c670e60a126a7ff2e77b0e48b66d08aecfe0ad9f75b10a580a8f2e9214a0864310abff066d6d06077ba6613 diff --git a/sys-block/fio/files/fio-3.16-snprintf.patch b/sys-block/fio/files/fio-3.16-snprintf.patch new file mode 100644 index 000000000000..1470290f3cb4 --- /dev/null +++ b/sys-block/fio/files/fio-3.16-snprintf.patch @@ -0,0 +1,44 @@ +From 5b215853ed4b438b5b2d4ac3e56d5f0d19e145d9 Mon Sep 17 00:00:00 2001 +From: Anatol Pomozov +Date: Mon, 23 Sep 2019 14:12:12 -0700 +Subject: [PATCH] Fix compilation error with gfio +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Commit 36833fb04 replaced many usages of strncpy with snprintf. +But there is one place where new arguments were added but the function +name has not been changed. It leads to the following compilation error: + +gclient.c:333:2: error: too many arguments to function ‘strncpy’ + 333 | strncpy(message, sizeof(message), "%s", status_message); + | ^~~~~~~ +In file included from /usr/include/features.h:450, + from /usr/include/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from gclient.c:1: +/usr/include/bits/string_fortified.h:103:1: note: declared here + 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ + +Signed-off-by: Anatol Pomozov +--- + gclient.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gclient.c b/gclient.c +index 64324177..d8dc62d2 100644 +--- a/gclient.c ++++ b/gclient.c +@@ -330,7 +330,7 @@ static void gfio_update_thread_status_all(struct gui *ui, char *status_message, + static char message[100]; + const char *m = message; + +- strncpy(message, sizeof(message), "%s", status_message); ++ snprintf(message, sizeof(message), "%s", status_message); + gtk_progress_bar_set_text(GTK_PROGRESS_BAR(ui->thread_status_pb), m); + gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(ui->thread_status_pb), perc / 100.0); + gtk_widget_queue_draw(ui->window); +-- +2.24.0 + diff --git a/sys-block/fio/fio-3.16.ebuild b/sys-block/fio/fio-3.16.ebuild new file mode 100644 index 000000000000..440fa1282c4a --- /dev/null +++ b/sys-block/fio/fio-3.16.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python2_7 python3_5 python3_6 ) + +inherit python-r1 toolchain-funcs + +MY_PV="${PV/_rc/-rc}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="Jens Axboe's Flexible IO tester" +HOMEPAGE="https://brick.kernel.dk/snaps/" +SRC_URI="https://brick.kernel.dk/snaps/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86" +IUSE="aio curl glusterfs gnuplot gtk libressl numa rbd rdma static tcmalloc zlib" +REQUIRED_USE="gnuplot? ( ${PYTHON_REQUIRED_USE} ) + libressl? ( curl )" + +BDEPEND="virtual/pkgconfig" + +# GTK+:2 does not offer static libaries. +LIB_DEPEND="aio? ( dev-libs/libaio[static-libs(+)] ) + curl? ( + net-misc/curl:=[static-libs(+)] + !libressl? ( dev-libs/openssl:0=[static-libs(+)] ) + libressl? ( dev-libs/libressl:0=[static-libs(+)] ) + ) + glusterfs? ( sys-cluster/glusterfs[static-libs(+)] ) + gtk? ( dev-libs/glib:2[static-libs(+)] ) + numa? ( sys-process/numactl[static-libs(+)] ) + rbd? ( sys-cluster/ceph[static-libs(+)] ) + rdma? ( + sys-fabric/libibverbs[static-libs(+)] + sys-fabric/librdmacm[static-libs(+)] + ) + tcmalloc? ( dev-util/google-perftools:=[static-libs(+)] ) + zlib? ( sys-libs/zlib[static-libs(+)] )" +RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) + gtk? ( x11-libs/gtk+:2 )" +DEPEND="${RDEPEND} + static? ( ${LIB_DEPEND} )" +RDEPEND+=" + gnuplot? ( + sci-visualization/gnuplot + $(python_gen_any_dep 'dev-python/pandas[${PYTHON_USEDEP}]') + ${PYTHON_DEPS} + )" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}"/fio-2.2.13-libmtd.patch + "${FILESDIR}"/fio-3.16-snprintf.patch +) + +python_check_deps() { + has_version "dev-python/pandas[${PYTHON_USEDEP}]" +} + +src_prepare() { + default + + sed -i '/^DEBUGFLAGS/s: -D_FORTIFY_SOURCE=2::g' Makefile || die + + # Many checks don't have configure flags. + sed -i \ + -e "s:\:$(tc-getPKG_CONFIG):" \ + -e '/if compile_prog "" "-lz" "zlib" *; *then/ '"s::if $(usex zlib true false) ; then:" \ + -e '/if compile_prog "" "-laio" "libaio" ; then/'"s::if $(usex aio true false) ; then:" \ + configure || die +} + +src_configure() { + chmod g-w "${T}" + # not a real configure script + # TODO: pmem + set -- \ + ./configure \ + --disable-optimizations \ + --extra-cflags="${CFLAGS} ${CPPFLAGS}" \ + --cc="$(tc-getCC)" \ + --disable-pmem \ + $(usex curl '' '--disable-http') \ + $(usex glusterfs '' '--disable-gfapi') \ + $(usex gtk '--enable-gfio' '') \ + $(usex numa '' '--disable-numa') \ + $(usex rbd '' '--disable-rbd') \ + $(usex rdma '' '--disable-rdma') \ + $(usex static '--build-static' '') \ + $(usex tcmalloc '' '--disable-tcmalloc') + echo "$@" + "$@" || die 'configure failed' +} + +src_compile() { + emake V=1 OPTFLAGS= +} + +src_install() { + emake install DESTDIR="${D}" prefix="${EPREFIX}/usr" mandir="${EPREFIX}/usr/share/man" + + if use gnuplot ; then + sed -i 's:python2.7:python:g' \ + "${ED}/usr/bin/fio2gnuplot" \ + "${ED}/usr/bin/fiologparser_hist.py" \ + "${ED}/usr/bin/fiologparser.py" + python_replicate_script \ + "${ED}/usr/bin/fio2gnuplot" \ + "${ED}/usr/bin/fiologparser_hist.py" \ + "${ED}/usr/bin/fiologparser.py" + else + rm "${ED}"/usr/bin/{fio2gnuplot,fio_generate_plots} || die + rm "${ED}"/usr/share/man/man1/{fio2gnuplot,fio_generate_plots}.1 || die + rm "${ED}"/usr/share/fio/*.gpm || die + rmdir "${ED}"/usr/share/fio/ 2>/dev/null + fi + + # This tool has security/parallel issues -- it hardcodes /tmp/template.fio. + rm "${ED}"/usr/bin/genfio || die + + dodoc README REPORTING-BUGS HOWTO + docinto examples + dodoc examples/* +} diff --git a/sys-block/fio/metadata.xml b/sys-block/fio/metadata.xml index 008fec0e1b2a..10bc8be5f59a 100644 --- a/sys-block/fio/metadata.xml +++ b/sys-block/fio/metadata.xml @@ -9,10 +9,12 @@ Enable AIO ioengine + Enable HTTP engine for S3 and WebDav support support via net-misc/curl Enable GlusterFS gfapi support via sys-cluster/glusterfs Install tools for generating gnuplots Enable numa support Enable Rados block device support via sys-cluster/ceph Enable infiniband support via sys-fabric/librdmacm + Link against dev-util/google-perftools by default which will speed up USE=rbd up to 20% diff --git a/sys-block/open-iscsi/Manifest b/sys-block/open-iscsi/Manifest index 68f34eb917ed..ba16182713ef 100644 --- a/sys-block/open-iscsi/Manifest +++ b/sys-block/open-iscsi/Manifest @@ -16,8 +16,10 @@ DIST open-iscsi-2.0-873.tar.gz 667069 BLAKE2B edb427f8483c31499cdde644bbf8d65895 DIST open-iscsi-2.0.875.tar.gz 635121 BLAKE2B 34a7083087c53ed0e59d293d26efe166b09c5ea18b6022869cc9ff3d2edb2fb8b69e2c1ce6c9011bd20fc590b02dafd6d7c13d8bfa1eae6408c4bace13992e5e SHA512 1709011d7d12d3dd9278a0d775af064d5f7da37357f35d6d5c5b3aa8ec16385c28b201b1261f4581dbbbbca3d815015ed8696e1694aa19f3231132f90d1e5b36 DIST open-iscsi-2.0.877.tar.gz 605075 BLAKE2B 85106a7137b2a70a56418e2c76df81d5bf464268b5030fef2560addd8a96a0b6ba767c811f7c8a181a7b30a902d3973f0f7dad7cd3cc0796979a8a1b2f9164ef SHA512 1e6a6772c59dd7a809938f1ef4c9fe0310d70bf0e0f7e80643bcfa22236af8a8027122cf9ff598ce70a3ff51ccb9d5ef99fc5b9c517379bf590b8da74bfeb9a6 DIST open-iscsi-2.0.878.tar.gz 607489 BLAKE2B f08f7a49dee6a377aed1d5efba100c4c357e95683e841e3c7960a49a40601cf8047dd28403866d963ef6850eb23c03ac39e0861575e21c452190a20534cbec48 SHA512 2eb26e5e69b88614d9b6262fffce94b93f9afc0742415ad6c2505daacd3014cd9d73bd89c36f452d004e2c4f312f372aab1ddc55e1bdec73c58de60181d73b33 +DIST open-iscsi-2.1.0.tar.gz 604689 BLAKE2B 1741f4ac5072e3e952ba8268b1f52c6d296156b4c2696efad9fd0ccfe54870f74ac54b21144e4e71eed03cf8674a6aff96eee4f72f8a608fde40dc463f962b6f SHA512 bb1a4ff2bab0562bfd4281d757dd888e8f5d2d1ae16561cabf5598073c343e8c2dc9b35992c2bc51398faffceb9b70ea2eae214ab205a586bcb971d741d5f59d EBUILD open-iscsi-2.0.873-r1.ebuild 2545 BLAKE2B c6b89937392718933e75616429acab05e7be548457b9aadaa1be77863dc8ed66e3acbaf482a320479b9c7f73507425615af86839209e2e956e08a12061097a41 SHA512 11de4116925ebe35a63ee19bb49a87bccff3c2648f3ea94ea05726d48cb0fe950a3aae9420b697c51f9f1387cea9075dfbffbeae7ca20af1e411769c34610339 EBUILD open-iscsi-2.0.875.ebuild 3713 BLAKE2B b3ec80066fd3c7bf72e56361e59213ba8b8a4d57e777394e5842458620a712c14ad93cc1b69f47f266360570cc6c63be94582ea3f460730ef920320a5635c397 SHA512 8af21fe4129b7af58f2e126bb5c6f8e7f6b764246686dd2a7c80e13ea90f691bcb6722a8a4a6d688d096fa7d414fd52c0a214d7c1212d40495bbbddd241b7132 EBUILD open-iscsi-2.0.877.ebuild 4038 BLAKE2B e9b029d7ce68a087b74dd898fb16131081f9258151b7b066dd56ca7d4be7d44a3f6087e98174b9fb0682a9b9efff1e3d6ecf553c2465f812398b9f61b7e98843 SHA512 75c8dc09217e30f3bc7a2ed99b8102b4244587baee647edc6583bcabce63d4a5a85447fe09e87a215746e66b265ca3c24c589f5ba08b96f786f708b992d2b50a EBUILD open-iscsi-2.0.878.ebuild 3996 BLAKE2B 9bd9e7b64838e3e3e02f0e7fc00706f580687db254bde71c89aa547050025ed1c7d2d10b8f3727d091adf051cc3f73eea456fea28c5bb92c5b11feda56590ee1 SHA512 3da8ce679baa5a0adcf65b553f65cbbe6d22970c409c02bf0f25f8b9bb4b4c9cbda3aaafd85d38289ef437fb08cb53cec83ecdd2634889769e47c852835d1b2d +EBUILD open-iscsi-2.1.0.ebuild 3996 BLAKE2B 9bd9e7b64838e3e3e02f0e7fc00706f580687db254bde71c89aa547050025ed1c7d2d10b8f3727d091adf051cc3f73eea456fea28c5bb92c5b11feda56590ee1 SHA512 3da8ce679baa5a0adcf65b553f65cbbe6d22970c409c02bf0f25f8b9bb4b4c9cbda3aaafd85d38289ef437fb08cb53cec83ecdd2634889769e47c852835d1b2d MISC metadata.xml 458 BLAKE2B 34a2a9b03797454b48ace319f383d85da5f9fe0f14afa1f1da1dc9afc535a2e1aeddaea0df27811b77fd3099b5754ee0755d49491157ed1e141fc2078c258389 SHA512 bd5e104acd3e07b8965b4eacb7b397b75448fc31b7359f17ee4e24af18fcd00ecd0c64001d42b7a542790151678b9dd02bad9513a69986c60cf91cceebfe86c3 diff --git a/sys-block/open-iscsi/open-iscsi-2.1.0.ebuild b/sys-block/open-iscsi/open-iscsi-2.1.0.ebuild new file mode 100644 index 000000000000..a1f80e0a3472 --- /dev/null +++ b/sys-block/open-iscsi/open-iscsi-2.1.0.ebuild @@ -0,0 +1,140 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools linux-info flag-o-matic toolchain-funcs udev systemd + +DESCRIPTION="A performant, transport independent, multi-platform implementation of RFC3720" +HOMEPAGE="http://www.open-iscsi.com/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/0.2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug infiniband libressl +tcp rdma systemd" + +DEPEND=" + sys-apps/kmod + sys-block/open-isns:= + sys-kernel/linux-headers + infiniband? ( sys-fabric/ofed ) + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + systemd? ( sys-apps/systemd ) +" +RDEPEND="${DEPEND} + sys-fs/lsscsi + sys-apps/util-linux" +BDEPEND="virtual/pkgconfig" + +REQUIRED_USE="infiniband? ( rdma ) || ( rdma tcp )" + +PATCHES=( + "${FILESDIR}/${PN}-2.0.876-Makefiles.patch" +) + +pkg_setup() { + linux-info_pkg_setup + + if kernel_is -lt 2 6 16; then + die "Sorry, your kernel must be 2.6.16-rc5 or newer!" + fi + + # Needs to be done, as iscsid currently only starts, when having the iSCSI + # support loaded as module. Kernel builtin options don't work. See this for + # more information: + # https://groups.google.com/group/open-iscsi/browse_thread/thread/cc10498655b40507/fd6a4ba0c8e91966 + # If there's a new release, check whether this is still valid! + TCP_MODULES="SCSI_ISCSI_ATTRS ISCSI_TCP" + RDMA_MODULES="INFINIBAND_ISER" + INFINIBAND_MODULES="INFINIBAND_IPOIB INIBAND_USER_MAD INFINIBAND_USER_ACCESS" + CONFIG_CHECK_MODULES="tcp? ( ${TCP_MODULES} ) rdma? ( ${RDMA_MODULES} ) infiniband? ( ${INFINIBAND_MODULES} )" + if linux_config_exists; then + if use tcp; then + for module in ${TCP_MODULES}; do + linux_chkconfig_module ${module} || ewarn "${module} needs to be built as module (builtin doesn't work)" + done + fi + if use infiniband; then + for module in ${INFINIBAND_MODULES}; do + linux_chkconfig_module ${module} || ewarn "${module} needs to be built as module (builtin doesn't work)" + done + fi + if use rdma; then + for module in ${RDMA_MODULES}; do + linux_chkconfig_module ${module} || ewarn "${module} needs to be built as module (builtin doesn't work)"$ + done + fi + fi +} + +src_prepare() { + sed -e 's:^\(iscsid.startup\)\s*=.*:\1 = /usr/sbin/iscsid:' \ + -i etc/iscsid.conf || die + sed -e 's@\(/sbin/\)@/usr\1@' \ + -i etc/systemd/iscsi* || die + default + + pushd iscsiuio >/dev/null || die + eautoreconf + popd >/dev/null || die +} + +src_configure() { + use debug && append-cppflags -DDEBUG_TCP -DDEBUG_SCSI + append-lfs-flags +} + +src_compile() { + # Stuffing CPPFLAGS into CFLAGS isn't entirely correct, but the build + # is messed up already here, so it's not making it that much worse. + KSRC="${KV_DIR}" CFLAGS="" \ + emake \ + OPTFLAGS="${CFLAGS} ${CPPFLAGS} $(usex systemd '' -DNO_SYSTEMD)" \ + AR="$(tc-getAR)" CC="$(tc-getCC)" \ + $(usex systemd '' NO_SYSTEMD=1) \ + user +} + +src_install() { + emake DESTDIR="${ED}" sbindir="/usr/sbin" install + # Upstream make is not deterministic, per bug #601514 + rm -f "${ED}"/etc/initiatorname.iscsi + + dodoc README THANKS + + docinto test/ + dodoc test/* + + insinto /etc/iscsi + newins "${FILESDIR}"/initiatorname.iscsi initiatorname.iscsi.example + + newconfd "${FILESDIR}"/iscsid-conf.d iscsid + newinitd "${FILESDIR}"/iscsid-init.d iscsid + + local unit + local units=( + iscsi.service + iscsid.{service,socket} + iscsiuio.{service,socket} + ) + for unit in ${units[@]} ; do + systemd_dounit etc/systemd/${unit} + done + + keepdir /var/db/iscsi + fperms 700 /var/db/iscsi + fperms 600 /etc/iscsi/iscsid.conf +} + +pkg_postinst() { + in='/etc/iscsi/initiatorname.iscsi' + if [[ ! -f "${EROOT}${in}" ]] && [[ -f "${EROOT}${in}.example" ]] ; then + { + cat "${EROOT}${in}.example" + echo "# InitiatorName generated by ${CATEGORY}/${PF} at $(date -uR)" + echo "InitiatorName=$(${ROOT}/usr/sbin/iscsi-iname)" + } >> "${EROOT}${in}.tmp" && mv -f "${EROOT}${in}.tmp" "${EROOT}${in}" + fi +} diff --git a/sys-block/viaideinfo/Manifest b/sys-block/viaideinfo/Manifest index ead487565793..610d49116080 100644 --- a/sys-block/viaideinfo/Manifest +++ b/sys-block/viaideinfo/Manifest @@ -1,4 +1,4 @@ DIST viaideinfo-0.5.tar.gz 87428 BLAKE2B 6f2834378f58ad091cec7c60f18d3124b1e67b90be08a5550c56679e95186dcc8da961ec7eed0d3b9e9f83ccd1a1cfddc1f56a483b0f78ab1f984a99a62fc0d8 SHA512 8b697f5192828db9393706bbc4b679c664a1f3f5668820bfad7aaf1b8767586e49fe428fdc61e9223ee4cc2a16601f6060a2ec206690c098a864e9f26915e7c2 -EBUILD viaideinfo-0.5-r1.ebuild 448 BLAKE2B 7b854f6b92f08127c3485109195f1477397c9651764c216b2e3aae06c26a6e14d9bb032bef3288cd21652a40a1b95817932a9cdc234ded948afc409db59b1a16 SHA512 550eede0671983be23dcc51fca16f8a78f19164316121f3eb775f591dcb22ea7e89dea3cef7677e11ccebcf015bc9dea2f84b40c8a5d69dd7dc7a824b41f9c50 +EBUILD viaideinfo-0.5-r1.ebuild 446 BLAKE2B adc40fd8d600c879b6bd10064b3e40456196f380528a3fcdda35fee26a413faeffdcf33993153c6873f3a7ada5812c7613a229fa934de449ccf16dea68996e47 SHA512 439bb99d5d166533463629fa2fe9053714b722d35181eaae0f67d9c0950c17c998c7ce9deba4c3c8655f9d4061f84662704d1e4ef06f220a24d36b7f76a9e6b2 EBUILD viaideinfo-0.5.ebuild 483 BLAKE2B a27dffb10c2a178edaba70774482f5a1fcbb8404bda47238e73290bf8ae9b9602a86c851804d07080312feacecd1fd7e600ce8c7c2ae1acafb64c617200f26f2 SHA512 b4e1352dd953043a419fe15358638afc6bc45b200d7de3df5b8321df01363177a29645cc2bed66d494ccc9cc2d88f878f4eb6135466ba93351c1122e7d3a4f3b MISC metadata.xml 240 BLAKE2B 64fe413f69832b5396b621f50bc6f618ddea15ddd4044ac76da4557d7dc0d963ce6ba36c0d1c0a8911af48fd71a6e84c4981f15ac7bad40bbd801e52b568a23b SHA512 25affa2d6d2fe48707ae81553343451aff9797885b4232e73973a29d4cc1d28a937d024cefca49f92383f01eb8cb811546cd2334cbb78f8e66f1db1f63ff4572 diff --git a/sys-block/viaideinfo/viaideinfo-0.5-r1.ebuild b/sys-block/viaideinfo/viaideinfo-0.5-r1.ebuild index c936f5478a5a..09238683e7f9 100644 --- a/sys-block/viaideinfo/viaideinfo-0.5-r1.ebuild +++ b/sys-block/viaideinfo/viaideinfo-0.5-r1.ebuild @@ -9,7 +9,7 @@ SRC_URI="http://www.reactivated.net/software/viaideinfo/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" DEPEND=">=sys-apps/pciutils-2.2.0" RDEPEND="${DEPEND}" -- cgit v1.2.3