diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-10 17:08:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-10 17:08:48 +0100 |
commit | 5b5704b62a0f04d93fd58986b426a31352fe2fd5 (patch) | |
tree | 0034259fd845f22388e30e34a06f2fe12537cd30 /sys-kernel/spl | |
parent | 77ffa9fa127c2f664cbb6aba05848662a904f2ff (diff) |
gentoo resync : 10.10.2017
Diffstat (limited to 'sys-kernel/spl')
-rw-r--r-- | sys-kernel/spl/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/spl/spl-0.7.2.ebuild | 110 |
2 files changed, 112 insertions, 0 deletions
diff --git a/sys-kernel/spl/Manifest b/sys-kernel/spl/Manifest index 5f0dc6c8bbe6..672fc80132e1 100644 --- a/sys-kernel/spl/Manifest +++ b/sys-kernel/spl/Manifest @@ -30,6 +30,7 @@ DIST spl-0.6.5.8.tar.gz 553270 SHA256 2d22117106782222d2b7da88cc657b7b9c44d281b1 DIST spl-0.6.5.9.tar.gz 594271 SHA256 d9ccd24786bb5a8616748a93a3c0b1270aa891175e2f5d726195b416f5c03b9c SHA512 356db95fcc93eb4ee298efc1ac25d38743572c539fc10b2d1533af861b4fd60804e61c3fb9f9bbad3d7a51cf123113b5b0bcbd49eba1bad7b1d8823d206022e8 WHIRLPOOL 6565a4939efaeba0cff75496ce9e8ea84b55da97fe47457ca33bcaf07aaa93a27dd410a9264b29539e65475029c0f0c612bc93b9fee4f97c7d6db9c92aab6a34 DIST spl-0.7.0.tar.gz 608150 SHA256 567f461435f99f862efb1b740ed0876b52a2a539aafad6e5372a84a06a5da4d3 SHA512 a01798fad4f46788cf91d97699837526d5a33e35dcd46247a9e00747d3d439b949113eb42c8d9fe9cbc4a7b1ee645a5ac09eb764db82a2a07eaddbbb9605d11c WHIRLPOOL 7087089423c3515945af9de27879b8f009cf39ee3840400bde2aebd967bfe2be41d513ca6368774ad06d1871c81c3abd50f442d5ea9602da456cbe6a3e8cecd4 DIST spl-0.7.1.tar.gz 547932 SHA256 e6a83dc50bc83a5ce6f20238da16fb941ab6090c419be8af8fc9223210f637fd SHA512 1edd0d21f6bc24c3c1295a3e1002ccc03954b1a8657f34050ca9992aac33eb2caa4356c92c74b1c1767ce69f67f3463bcab749b411b2676b5ed16c6ca838e0fe WHIRLPOOL 8facc1c8bc10481a09b92d16f7c4e3c6612749d55014c28444d0b62382940c84857f2f4c165b45f55aa917172a562dcc2897bc8bc5b8045793e9ebe96345fe5e +DIST spl-0.7.2.tar.gz 547903 SHA256 c22e410c661a29acfa16caee21b82f8bb166f5b6611ec56431cd9c172ab4729e SHA512 89aef037306b29d6fde8543f2cd0ef300e3a71620a10695f57646154a6122c02a8f8907221a93ee32344c2a07a54cde4635710318dd8d67b1904b64729c3ee40 WHIRLPOOL 4240467e6188bd499511a5a16e063b912b221dc74cb9c325ba0119e9bff91c18625c6039978023920e97163af01f42210ca17e156bc6afc7f314ac8833efec20 EBUILD spl-0.6.0_rc13-r2.ebuild 2640 SHA256 5618eb9e561d7e9de3d1cd859ad88783de706184d88c3f57c4f2969d53e72327 SHA512 40bf49e792a9f3d7bf2e35c4dd5c6ed6840f03fc2b72b9514fd7058d7cd794211a5bb4ab41c6639be7ac7159ad8749d91ac7c1b146359d7fef16d371648d3998 WHIRLPOOL 17c7d32ca672058c05bcce093647f892018be641b1047b95fb3c07873f5483ca1f28510e09f71737bee43e822de2d95192aa3d958350b6c75e05be7fa4f5e1a5 EBUILD spl-0.6.0_rc14-r3.ebuild 2926 SHA256 de564fb1f3ddfed9f02c603239697f255e500c314efc9309ae1028ac33f92b3b SHA512 a72dbf022c93656063efcfbe78ba8c1fffc55cbd13d1535bd97de1fd22591c93b52edd6ac5b71ab549c502596a7024f21359f4b3227480f87719546b7fa1c787 WHIRLPOOL fa03c2276f77e18d4bcaffcfdb2cf455c3fb2e27018d2497f7e8489e6b0a284a7db39db7c34158d95610e13facdb1762a6ab7dadf01432ab03de4eb7d794c730 EBUILD spl-0.6.1-r3.ebuild 3093 SHA256 695f1f44b15d038dcb7a76ac57314381f622af8d72bffea9520034c8da0498da SHA512 322eb4cc68c360636f4b2db76697180a9d0ec8afe31f9a6fd00a5ff21817ae49ffa42c1eb73e7e175f8745a489ee5a843a71def1a8d234104331865552f53ad5 WHIRLPOOL 8fefec7b6553136a5cf4a8f8df22ab837085c76400d2b4a1aaaf8888d05c52605b8b440b22d52359c151f7397e593a4cc343e11bf770f656848f82f0e922fbdd @@ -49,6 +50,7 @@ EBUILD spl-0.6.5.8.ebuild 2715 SHA256 afa48d61c8b4883842eff08472462e3cdcda4f1cda EBUILD spl-0.6.5.9.ebuild 2717 SHA256 56ff526b677d27d476a7b3ab32f98a708fa695b46ce2ef04ce1eaee558b4f6e7 SHA512 eba48ac715d2ef1928236e7774688de46538afc640fe30b4650dde7c33b3e54f627429c0578b54cb87926b14b2c27cf1e489d74c83cf80e696c39ad5762bea70 WHIRLPOOL d330e15185f39380d0fa6fdf02acb5d7cfcf049402fc55b7bbab5ba0ec1aeea56818875516f76bd359aef602bd6852aff70010899763cb2ee68f78373ed57378 EBUILD spl-0.7.0.ebuild 2717 SHA256 e7587d6d038cc443e1a9b551b94e23018dff427c903bafe635e64505169fef06 SHA512 13cea0c1dfe684bebb4783dc0c655278a7a9903402a738c05238de66c131edf328834070adfc8d303949560f8d62eff07a5d9f321bdda45c002bcc64dd5d3431 WHIRLPOOL a4d74dadc6ebc4c768a350f27365b6c7fce5172df7743c81c64f8716074d3159efc2e71040e828feceb0554a8d226c47638ab56b406be7f867864b7a3d6c83fd EBUILD spl-0.7.1.ebuild 2717 SHA256 e7587d6d038cc443e1a9b551b94e23018dff427c903bafe635e64505169fef06 SHA512 13cea0c1dfe684bebb4783dc0c655278a7a9903402a738c05238de66c131edf328834070adfc8d303949560f8d62eff07a5d9f321bdda45c002bcc64dd5d3431 WHIRLPOOL a4d74dadc6ebc4c768a350f27365b6c7fce5172df7743c81c64f8716074d3159efc2e71040e828feceb0554a8d226c47638ab56b406be7f867864b7a3d6c83fd +EBUILD spl-0.7.2.ebuild 2717 SHA256 dfc04b9e783b5c216e28e873dece38bf00fa7933545841d49cb06f684022eaeb SHA512 ac51c4aefdc48c7d8c3a382f4333ad31780a01ca571897c1175ffe1a42ed7210c771ca88276096153ac65072a50cf73ea26ebfbbc527f19ed2b3de460422c468 WHIRLPOOL 2978dd970551ef105a716c8d4ed571d0510f1b832ebac917feca3e71d4548650f0671435fcd2394f198e879709dc224b874ab760b5bb48ef009e0af3c0d8f1b3 EBUILD spl-9999.ebuild 2750 SHA256 f9688965b5634b4230068f29bb968ee5e14b10d192920d65ebb3a65c636f86b3 SHA512 c78c84038509c2547291f86fdf567a5f9365388df20bd37054547c431a552f546904b7412ae91405d52e896dcacba4018e6751330183fa74146c7cdab824b5e2 WHIRLPOOL 35723403c05f0b57199e4edf91c99361997e90b1afa156ae71fe6c222f7ae5f627ecb47e13acecbc28b004a72141016721c2f1cc15c40eb9c8375e7313f0d12e MISC ChangeLog 10748 SHA256 7f43e2292109f0e78d4fba1100efdc8f542599774a29e6ce896801dc7677df67 SHA512 b36e5641e1be62a579edc449c882675f4570c0443d0eee4daedad3a494fd814f8dfcbc736cfbd315555e1a9603d5cb95a3fba8e844753c72c2613038fd0428ad WHIRLPOOL d088e4b5ffc56327d4e289dd6331acb90912d3ebd0c02c6a63c50345be650346faa973646bd912a953f4f388368ccd3e5241a14230da7c9f3c1e92ae5bb90abf MISC ChangeLog-2015 16325 SHA256 c81ebdd34dcab30fe1b238f412debae6dfe1997ba55b486029321d6bcad7d9fd SHA512 3b265e5b9fdd79eac7946d7f7be229478960491e4467763e56ac4f5b9cd82855f164173bf32c73fb4b1ac4bd8446d68f86a73a40a6210876dfe88ab53d333e31 WHIRLPOOL 98c9f57885cad957a671985fbb469a329599f1ac4b8ae407765917574e412143b1ee8df3fb73e21b73d1394fe5a5da3f0cc252c6b5b8fb8302056207c12d1ae7 diff --git a/sys-kernel/spl/spl-0.7.2.ebuild b/sys-kernel/spl/spl-0.7.2.ebuild new file mode 100644 index 000000000000..4663b4d58f83 --- /dev/null +++ b/sys-kernel/spl/spl-0.7.2.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +if [[ ${PV} == "9999" ]] ; then + AUTOTOOLS_AUTORECONF="1" + EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz" + KEYWORDS=" ~amd64" +fi + +inherit flag-o-matic linux-info linux-mod autotools-utils + +DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs" +HOMEPAGE="http://zfsonlinux.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="custom-cflags debug" +RESTRICT="debug? ( strip ) test" + +COMMON_DEPEND="dev-lang/perl + virtual/awk" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND="${COMMON_DEPEND} + !sys-devel/spl" + +AT_M4DIR="config" +AUTOTOOLS_IN_SOURCE_BUILD="1" +DOCS=( AUTHORS DISCLAIMER ) + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK=" + !DEBUG_LOCK_ALLOC + MODULES + KALLSYMS + !PAX_KERNEXEC_PLUGIN_METHOD_OR + !PAX_SIZE_OVERFLOW + ZLIB_DEFLATE + ZLIB_INFLATE + " + + use debug && CONFIG_CHECK="${CONFIG_CHECK} + FRAME_POINTER + DEBUG_INFO + !DEBUG_INFO_REDUCED + " + + kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required" + + [ ${PV} != "9999" ] && \ + { kernel_is le 4 13 || die "Linux 4.13 is the latest supported version."; } + + check_extra_config +} + +src_prepare() { + # Workaround for hard coded path + sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \ + die "Cannot patch check.sh" + + # splat is unnecessary unless we are debugging + use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; } + + # Set module revision number + [ ${PV} != "9999" ] && \ + { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; } + + autotools-utils_src_prepare +} + +src_configure() { + use custom-cflags || strip-flags + filter-ldflags -Wl,* + + set_arch_to_kernel + local myeconfargs=( + --bindir="${EPREFIX}/bin" + --sbindir="${EPREFIX}/sbin" + --with-config=all + --with-linux="${KV_DIR}" + --with-linux-obj="${KV_OUT_DIR}" + $(use_enable debug) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}" +} + +pkg_postinst() { + linux-mod_pkg_postinst + + # Remove old modules + if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ] + then + ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl" + ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl" + ewarn "Automatically removing old modules to avoid problems." + rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules" + rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon" + fi +} |