From 51536d2fe4697ba9114d611178bb9e20d3d5b729 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 23 Dec 2017 20:48:53 +0000 Subject: gentoo resync : 23.12.2017 --- sys-kernel/Manifest.gz | Bin 4570 -> 4574 bytes sys-kernel/ck-sources/Manifest | 8 ++ sys-kernel/ck-sources/ck-sources-4.14.8-r1.ebuild | 61 ++++++++++++ sys-kernel/ck-sources/ck-sources-4.9.71.ebuild | 65 ++++++++++++ sys-kernel/gentoo-sources/Manifest | 11 +-- .../gentoo-sources/gentoo-sources-4.13.15.ebuild | 28 ------ .../gentoo-sources/gentoo-sources-4.13.16.ebuild | 28 ------ .../gentoo-sources/gentoo-sources-4.14.8-r1.ebuild | 2 +- sys-kernel/spl/Manifest | 2 + sys-kernel/spl/spl-0.7.5.ebuild | 110 +++++++++++++++++++++ 10 files changed, 248 insertions(+), 67 deletions(-) create mode 100644 sys-kernel/ck-sources/ck-sources-4.14.8-r1.ebuild create mode 100644 sys-kernel/ck-sources/ck-sources-4.9.71.ebuild delete mode 100644 sys-kernel/gentoo-sources/gentoo-sources-4.13.15.ebuild delete mode 100644 sys-kernel/gentoo-sources/gentoo-sources-4.13.16.ebuild create mode 100644 sys-kernel/spl/spl-0.7.5.ebuild (limited to 'sys-kernel') diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz index 8bdd057fc8be..45aa9d4e8b7e 100644 Binary files a/sys-kernel/Manifest.gz and b/sys-kernel/Manifest.gz differ diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest index 61fcd91d2751..7ed630340996 100644 --- a/sys-kernel/ck-sources/Manifest +++ b/sys-kernel/ck-sources/Manifest @@ -8,6 +8,9 @@ DIST deblob-check-4.9 717834 BLAKE2B f2471b45f6953ce83c0819b9157ce638a1d93959ec4 DIST genpatches-4.13-19.base.tar.xz 281648 BLAKE2B b2dded0ed572fcce3f2b0e361732edad617728eac80a8febe2f2fc8f01faf9de3ded6d392bfa7bfaa7b0c221d292bf902c18d5961ad80db3a7d62e8754c84e97 SHA512 a3c26828df68e1e7595f47612f6a54d7e773feafa3e4ee2fdd0592d74c6e13bd3c50195696408a7d53a10f59e70072626b982f42b678d64bfce055100eb48307 DIST genpatches-4.13-19.experimental.tar.xz 5180 BLAKE2B 8641931516f97fb88415f6d1496ec3c68efb75bd188f77746068e35d011f71c3ff7246dd2f427eed905ceb3db06327a31678179457280b2f82e7290d1821e4ab SHA512 cf8feb8cea668f2f94b85e211274a186631193f0f0ee2bc8d5c51e8b7a159d0ff9f79e484ca90163de44c1a024e973b69ac4d6730c7aae15c60bab44854c0db1 DIST genpatches-4.13-19.extras.tar.xz 17404 BLAKE2B 351c85e48c7757bf2bf99cdd8deff6a7a9aee3b5d122a43ec38c4339b1c1ff71fa8a1d7cdee980823d69699a699ea20d0e0fc30011e6b47df905834473f656de SHA512 e3ff1ed750609e8e2625bb97c348e84b0e19577cf382a393d7bdcacd4a8dea8dc605afee8e60b162d08781df2bdb9d380004550c6f46c0b93e274057d2322d3f +DIST genpatches-4.14-10.base.tar.xz 227892 BLAKE2B b800d810427d3da4ba219afdbab9cc50f982c4e6b00afe0648ef1ce211b18bdc9349cb0f8b80a701268874b71a3f6374670d8f76346e317a09276a2e1c044d20 SHA512 d799978f7c8a0addcdb52b396267c53544f3d20b407387c62f503b16fec415e0af0ada396358f042b4e3602fab39ef404aa0a893f6b7ff596ece130a76f2fb03 +DIST genpatches-4.14-10.experimental.tar.xz 5180 BLAKE2B 5489b6157fdef6874f224f97d6fcaae34799b385a3b4ca3e57764413d2e48b63fe33c6a9749754ade1e4b7e25dd5928cb6a5e1ec11adca3ae4afd49b1fad84bc SHA512 cd2e4f7957e79d766df7e5d4c2dff4d95ee85e96759c4995083edfb7bb76b86139916cf83718a46860af4d78f82f6e4e6ef24422f0c6d329c4e002d0ade443bc +DIST genpatches-4.14-10.extras.tar.xz 17496 BLAKE2B 0f076c8fce10e1a7e3845c185e88725962813303a9c62c517330055f0d3aca27b5c839897b61802df3d91cf9b9001f8c3d303b2d381e969a4d177bc4a116202a SHA512 54084331894549a80a72a7095662611762f1b6516c4d34919be4e313a8c0fcfa6bd42997a447bc739aa7ba1f07f66c579c9c2e105710a5b42c9b0ddb85485d79 DIST genpatches-4.14-4.base.tar.xz 87480 BLAKE2B 753bc9a5145ae32f1d4562862449f798ac9c78111819c7c279327039f74142fd0ae6955d559801736b6d2a0b074cae56d53226e5745cb8c85e76b0bd42ea0673 SHA512 8c0d8d864dea85f6730cc8c5bb1bcefefc8ef3ee5254ba62f0d4e90c5787ea6423988f4c303e0e32aa41fc9e5d4fc01103136556daa826a57403522066c3c949 DIST genpatches-4.14-4.experimental.tar.xz 5184 BLAKE2B f1d9938a476a958a5fb42b60589234df5c85211b2ebfe59316dd32036ce2a93fdd405f02976ed8eb9312841a4853bac0baec4df52cfc09278b7cdd1fe76e0718 SHA512 85f3055ce8ee187fc7105bf338dc18fbbf02e9cec27aedec10a6fde4db89dec70e666e63dd24497decfefb4b1f59c74789079614025304df67484d80f81d7ede DIST genpatches-4.14-4.extras.tar.xz 17488 BLAKE2B ddab5ff81dc6cfe85ce3805846d8d74ce1eb8a2c79b2156e4363fa9592d1a0edec9f9812b9f41bd9ed955ac7030188776a7da5ff4a59408a0d5cf74bf0e629d6 SHA512 7ab148e3db28367ac7d8e56f75e65cafc3b80fd0932018d5ebd1ba1ba1b97521c94e30055fd653803806825bbc8be65e4fff2924907f9144b5ccdb48a53b00c8 @@ -35,6 +38,9 @@ DIST genpatches-4.9-71.extras.tar.xz 17356 BLAKE2B 7459d34097707897e114b58b3402d DIST genpatches-4.9-72.base.tar.xz 1331880 BLAKE2B 95633d5edfbb0d0a4a540baf57d65903dec6ea59bd65b3b79f5421954d1c771ad7e6ca83c6bd753f5f6bb2d89f964c1e67e1dd118336e6a39e25d35ed26e75d7 SHA512 38ebf8069d2a519f477e2f91a3fdef24379684b82235a4002547b4958cb267442a669638a71bbd6c6fdfc70198cfd7922319be310cb5978d566a4b653643575a DIST genpatches-4.9-72.experimental.tar.xz 106384 BLAKE2B a4e4b637d9441ba3dfa32716453579dec282c959ff895cfd94cb541bf4d2f70755e4da4e0e453c367fed6388d5ecd71371702fdccdde9c198ad758aaed2ab0e8 SHA512 5aef8acd3de7054afec6efd4ee13fcc048a9b5efeaf70b377b07fb728bb4c09e274cf74ed3eae131ecab3c0c22b6b4539a3ff2df97d18c29468313aa9e6f0910 DIST genpatches-4.9-72.extras.tar.xz 17344 BLAKE2B da29beb376baef01ffe18c4e0ce88bab6dba8b977f0c04dddfa6dc8e94831fcf72be9e09019b6687da1a7aeaf2c2e010412c9131f2a4d169e6c6cb06c8bcc3c3 SHA512 46bc8c28c18fd5dd1b8a4a609cc091532e17630088e763803c2a8a9e7241762a83f02cc8e2b044acc744403a4d9cf99a5d6f727a27aad41cad469b2f2cfc2a32 +DIST genpatches-4.9-73.base.tar.xz 1369316 BLAKE2B 560d5dfad44d2bf041d0e20c2861347f47143f745c2c8fbf0cf0db2bce2993f0a3492908d0a336b7e65b3cb7084dea3364b8829a5f45b99137dd480f8ad23c2b SHA512 24fd027c502a0a19dc33b17e4f4a6e1f0709fbb1ebd29996d4387d145b5781d39bc70fa9afa1b5d26ff100c68ce8582d3ecdcd3f7e7c173db7ec0dcd93dc38ac +DIST genpatches-4.9-73.experimental.tar.xz 106400 BLAKE2B 6ea352ae9e15d68bfd9c6c63434a66ffc8fcf25d79d9425f199eb03725f5b7ece0f16be4f92290d84430d177ee12e6569dc4d6ca67e61d7516a68ae5f0962682 SHA512 44245727c6dfc6515787f079b0c7270249ae306aea6db4a238f3d78392366bb38798f39c24f070b1658272a3d32a5c0573b36142c4cc167ff461b551b05b3f30 +DIST genpatches-4.9-73.extras.tar.xz 17356 BLAKE2B a16dbd34ef4d3d50c37056177689603c2200447438c1a6a29582e70ec280f35f0e1e001e0aec991450a044bafd75e905a3cc07e3a003a7316903c0f04cf67c24 SHA512 1bf27b21a2fed42bfb11618b753b4fca15e38986343ea62db4511d9ebfe6d3fb0bc0bdc1a45ae385141b7a040dfac585f9b82aa0da4b1f4c5a828ae3d241c81d DIST linux-4.13.tar.xz 100579888 BLAKE2B 2f8be07d403071b097b019c43fa332bc7d4805dee633a6fdffe5a99d5475015ca9e4881e7f4cbfd36f8c451bacf423436364ea3d9f25b8723a29a178dededb2b SHA512 a557c2f0303ae618910b7106ff63d9978afddf470f03cb72aa748213e099a0ecd5f3119aea6cbd7b61df30ca6ef3ec57044d524b7babbaabddf8b08b8bafa7d2 DIST linux-4.14.tar.xz 100770500 BLAKE2B 85dc4aa953fe65e273a24473d8de98e4f204f97c43be9fc87cf5be01f796f94cfde5c8f9c84619751f1cac51f83ce0b4681fb19c5f2965a72d4a94fe5577846a SHA512 77e43a02d766c3d73b7e25c4aafb2e931d6b16e870510c22cef0cdb05c3acb7952b8908ebad12b10ef982c6efbe286364b1544586e715cf38390e483927904d8 DIST linux-4.9.tar.xz 93192404 BLAKE2B 83ae310b17d47f1f18d6d28537c31e10f3e60458c5954c4611158ca99e71cc0da2e051272eabf27d5887df4a7cb4a5dd66ff993077c11d2221e92d300a0b48d7 SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a @@ -46,9 +52,11 @@ EBUILD ck-sources-4.14.3.ebuild 1610 BLAKE2B 8dd970f4e1c950756bf98a70fb263621b8f EBUILD ck-sources-4.14.4.ebuild 1577 BLAKE2B 2210cff3f7b074bf836fbc00825f139e7f83e46774d6aeb531056576ffe54d9e4dfe2f9f4d0ae5bbbe0e9ea628524fdd4ec46b0186d924ad9b211faa419f0c8d SHA512 b1cf16dd032a209eed8d0df771cadec0b66d7b6dfda364141d04807dd5b1ce70304f8dcc6097fb033b58b010ae39b6d8004c6ff46da6a83d5870df3ca38f850c EBUILD ck-sources-4.14.5.ebuild 1577 BLAKE2B 74a4a133a227a5e9ea19b60dde53f9611c42cd10a0b2630f65dc6e4039323da7aca41f8abba07c0235d7637990fef88abcb20e84812083366e87499a103663df SHA512 39f367c0bdf7c1366f846d7f4ed0cfdaaddd50cc1a78644d59b782589ed52ee3da5d6d9aef3e3666c718e29b07ef6330278f9ab5f18751e2be21e9323a9cebaf EBUILD ck-sources-4.14.6.ebuild 1577 BLAKE2B d5e2539cfb0ac82fbd296a98486f6307b7437abffc49cf08727e539b42c839273959aeb92e6af88aa9fd9dd68695b997605f3a6fbbf177163bc320de59c32cca SHA512 5012fd3ed0c99b9c1f580b13d5fa973ff16d7515d5fa1c991a43b11ebd78638696c712e73f55c30e7ae09e3e946c881b5242a5042c9f0cb191d25058080ddb3f +EBUILD ck-sources-4.14.8-r1.ebuild 1578 BLAKE2B 90067ae2347cbdb233e4d46400fd1c46d0d23ebb924493fa761aff2366420265792dee4abc00047c7400f0a12bc829caedbed5f07ee38c526bd9e00ae2936305 SHA512 16afdb50dff6bfd8fe4be3c23116274afccb1533ec7cbf274694159366e152ab5b8f8e724538df834c369c29eeb13db88651342aa37e3cb20a0764c96c45718c EBUILD ck-sources-4.9.66.ebuild 1891 BLAKE2B 439b8cf27656a864f5556eb4a49ae8b37c6666940818026dcb4d397df9afd745e81570ac2b69d16d817c2057f2b5dd70e4898c03339ff8f04f20065787eaa53b SHA512 0d4b8c2f63ad8294eda3752fb8c68075afa65c5664ec84cdb9bee529a6db19f3ae4f8d7c3ed5a2f76b9de8bf5713630e11932df578165a2ee4c23ba5f199e583 EBUILD ck-sources-4.9.67.ebuild 1891 BLAKE2B ba51583586a355e6739e70ae1472a51d0406ee2ca49a5054420ae0be8085e29d471cb959e85bbb51fece381c9b38711c9655f69d1200747be5fdb2a063c77ed4 SHA512 3a41224bfb7e852167a173b3f18fc14c7938804344c0af3605fe9d511c8ee070df367cf3fdc7ea61ee8e8ded461eeee08796ccaee41b474d235df4cada4b1801 EBUILD ck-sources-4.9.68.ebuild 1891 BLAKE2B 245eb4aa64bff75c33b183166d1fad80f429b748d44b3c7e4291bf0fe56c4fcdc4d731f0adaa87c6ae5960662a390d264de1c14a126761f4b4927042adf41a52 SHA512 d3b6b0a67537b5b9db39b83d9ff6c78c077132551ed360f247d3b7e5ac737044e66b1361bba65cb11f384434caacba0142a9c66331a8888e9e18b9144bc995a2 EBUILD ck-sources-4.9.69.ebuild 1891 BLAKE2B 3d5a6fa11ab85304952a2a85b1da9c0d262dac3d39d26f2dc86d5b43dd580e2d8d78e1cec1868b31db15bb8ea565cca9fb6690ae5524d18fdff034faf02fe00a SHA512 c732fae722dd8e388a4dc068f8f2c72cc3e36a5d60a8d55e7f62524665c6f8653853b8f2a62f116d86f1c9ae0600942b3d36c5c6c86d960f3dfcbf0b6c1aa329 EBUILD ck-sources-4.9.70.ebuild 1891 BLAKE2B 3a7b9ac5ebcb23b1c1f8b4e56606057fa412c61f61bbee4ea97c041c6cb3a7c9288d530c3c433317858c9029421e40e3dfaf11673bf6fb75e97344d8bb86be04 SHA512 e5c6bf24aa8d97e6e6060b06180be34c53a223646cdd006e968073b40152e05f74a6aa8f52df637b275cb28acc8402e464d8a7992862477cf6e2af4b9d5338f7 +EBUILD ck-sources-4.9.71.ebuild 1891 BLAKE2B 9ca9222751905ec24b80423f30db4954ca902110725db958b409fbd41d270a3750c1de12252e2690d93686a4cfc0f995a2a335c991939bddeb4faacd9903f836 SHA512 cb46be879ebee768112a91711e27ac4191e19f48b469e0f459d475cbbd654ede5e9b642be33074783f4733fd30705db05bb1ea40827b1c643b45e1f297addde4 MISC metadata.xml 921 BLAKE2B a4b785a7d542fd5b1899749a5b83eba87ab3ab3e6dd30cee33f7f762e6b433ce4fb47a119b2162ec088b483f0469ff526093c9775b1e92291c5330c64cf2d10e SHA512 611c76b0b27282067a51869db434ca837f604ef75fe54bba2f18f12c41dbd4a62d5c9e2a53bf5db7ee824bbf4d663db6b5292316bde93aec771356e34751496e diff --git a/sys-kernel/ck-sources/ck-sources-4.14.8-r1.ebuild b/sys-kernel/ck-sources/ck-sources-4.14.8-r1.ebuild new file mode 100644 index 000000000000..553584cde483 --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.14.8-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +ETYPE="sources" +KEYWORDS="~amd64 ~x86" + +HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ + http://kernel.kolivas.org/" + +IUSE="experimental" + +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="10" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" + +PYTHON_COMPAT=( python2_7 ) +inherit python-any-r1 kernel-2 +detect_version +detect_arch + +DEPEND="deblob? ( ${PYTHON_DEPS} )" + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" + +DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches for Linux ${K_BRANCH_ID}" + +CK_VERSION="1" + +CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.xz" + +CK_BASE_URL="http://ck.kolivas.org/patches/4.0" +CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}" +CK_URI="${CK_LVER_URL}/${CK_FILE}" + +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI}" + +UNIPATCH_LIST="${DISTDIR}/${CK_FILE}" +UNIPATCH_STRICTORDER="yes" + +pkg_setup() { + use deblob && python-any-r1_pkg_setup + kernel-2_pkg_setup +} + +src_prepare() { + +#-- Comment out CK's EXTRAVERSION in Makefile --------------------------------- + + # linux-info eclass cannot handle recursively expanded variables in Makefile #490328 + sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" || die + + kernel-2_src_prepare +} + +pkg_postinst() { + elog "ck-sources previously enabled CPU optimizations by default." + elog "USE=\"experimental\" is now required to enable this patch." + elog "this can be set in /etc/portage/package.use (or make.conf)" +} diff --git a/sys-kernel/ck-sources/ck-sources-4.9.71.ebuild b/sys-kernel/ck-sources/ck-sources-4.9.71.ebuild new file mode 100644 index 000000000000..891c545c73f1 --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.9.71.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +ETYPE="sources" +KEYWORDS="~amd64 ~x86" + +HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ + http://kernel.kolivas.org/" + +K_WANT_GENPATCHES="base extras experimental" +K_EXP_GENPATCHES_PULL="1" +K_EXP_GENPATCHES_NOUSE="1" +K_GENPATCHES_VER="73" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" + +PYTHON_COMPAT=( python2_7 ) +inherit python-any-r1 kernel-2 +detect_version +detect_arch + +DEPEND="deblob? ( ${PYTHON_DEPS} )" + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" + +DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches for Linux ${K_BRANCH_ID}" + +CK_VERSION="1" + +CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.xz" + +CK_BASE_URL="http://ck.kolivas.org/patches/4.0" +CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}" +CK_URI="${CK_LVER_URL}/${CK_FILE}" + +# solves bug #606866 (Fix build for CONFIG_FREEZER disabled.x) +FRZR_HASH="7de569950716147ed436b27936628ee3ab5b45cc" +FRZR_FILE="${PN}-4.9-freezer-fix.patch" +FRZR_URI="https://github.com/ckolivas/linux/commit/${FRZR_HASH}.patch -> ${FRZR_FILE}" + +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI} ${FRZR_URI}" + +UNIPATCH_LIST="${DISTDIR}/${CK_FILE} ${DISTDIR}/${FRZR_FILE}" +UNIPATCH_STRICTORDER="yes" + +# ck-patches already includes BFQ (similar version as genpatches "experimental" USE flag) +# what's not included is: "additional cpu optimizations" (5010) from genpatches experimental + +K_EXP_GENPATCHES_LIST="5010_*.patch*" + +pkg_setup() { + use deblob && python-any-r1_pkg_setup + kernel-2_pkg_setup +} + +src_prepare() { + +#-- Comment out CK's EXTRAVERSION in Makefile --------------------------------- + + # linux-info eclass cannot handle recursively expanded variables in Makefile #490328 + sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" || die + + kernel-2_src_prepare +} diff --git a/sys-kernel/gentoo-sources/Manifest b/sys-kernel/gentoo-sources/Manifest index ed7f4732a747..c7f6f51408e8 100644 --- a/sys-kernel/gentoo-sources/Manifest +++ b/sys-kernel/gentoo-sources/Manifest @@ -19,12 +19,6 @@ DIST genpatches-4.12-14.extras.tar.xz 17360 BLAKE2B 4eea1e0375ace3489e9129eca57a DIST genpatches-4.12-15.base.tar.xz 247556 BLAKE2B 357bb71d10618597e85ff7eec528a3555a1444d8946cf98fb362f91de82aaafee76346c97882cded03f52ed05564e84d25c36b00f11d8caa3cba577a89f40e52 SHA512 abd9f433fd6247fde9bd9c6655bd6cb90d56d4b3df6fed7f86872ff620f8502a7d277bd418c7d5d1667c792f85eb568b2cebe981cbd8bf4e4b7d7c3746e33d22 DIST genpatches-4.12-15.experimental.tar.xz 5188 BLAKE2B 84d57dc972407bd00a68b134366772d7711d3bb69614a1e9523c6bc44b8cfc4fb161590c9c5965c53fb0b60f400a47ca580ddb3929c3d116e18a7dc4131e5359 SHA512 af85f2724f767062c06acefb230db5eaae6ae65c68b8d0ba52f7ea9f13cf07adc277929bc9a4e3532ec680c5c0d270d92f1786a21303390e33f41e592d9761c3 DIST genpatches-4.12-15.extras.tar.xz 17340 BLAKE2B c4943b4e49ace480d17ea789ff1687028b8a4c75fcac84d74a46575fb33bda001e87f29e6bb5e22857b45be188614228def71def1e6933f4724ce60bf4e1c7c2 SHA512 9080bff5dde940c4c96e18e9fd2a6b29946511424cd5bf6c7467efd7d1301a7401155514d97fa5a890339ba84525f36f7a4c272fece3faae3dfaaf24d1498ac1 -DIST genpatches-4.13-18.base.tar.xz 273920 BLAKE2B a399354f7f7d6aedea1c0a16821d79a06c7cb560f66fc4da680dc59cb63d0d4d1b15a94d00c682b42e3123bec5930f70180c7dc6a4122c726736108734642193 SHA512 3164f77eef84977602beed2acc59739d8d8ed99a0e9ea02a1f9a1e8ba95b35c8e7566e020ea88ed73f6bb0d359daa207d9e08d6cecf9cebe9b93fb86ff6280ac -DIST genpatches-4.13-18.experimental.tar.xz 5180 BLAKE2B 041818f6cae40ec0f39d6b696c67471671036f521d033e5165fc77b3fb8901c49da7f52ac96f0fc057bd076bd068024d82cac9abe311ce78ddf7553c0d4c2f55 SHA512 09a53e6b53c20ddc857b7ff7001be326adacf9d24a565922c8ceae35a98e9a5a1bd214fd6a227115ea90436d3504154cd6ae3e47e5eac270f220ec16255b16ca -DIST genpatches-4.13-18.extras.tar.xz 17408 BLAKE2B 863c54f3451fff15f51bd65ea9ff1c2f6e42f587323c1251e8e5f1c3edec2653c079b87a87da1358bd06116a49986e5c347a761020d3966198d7a5371ec03524 SHA512 eb0505e6f54051ca3f1cdf3070092d5e78831a649582021a19878d6ada2d47d0c960d1726201c0d276a2eb4eed2ed72dd162dbc0ce0185a82f4a4e9580e7c804 -DIST genpatches-4.13-19.base.tar.xz 281648 BLAKE2B b2dded0ed572fcce3f2b0e361732edad617728eac80a8febe2f2fc8f01faf9de3ded6d392bfa7bfaa7b0c221d292bf902c18d5961ad80db3a7d62e8754c84e97 SHA512 a3c26828df68e1e7595f47612f6a54d7e773feafa3e4ee2fdd0592d74c6e13bd3c50195696408a7d53a10f59e70072626b982f42b678d64bfce055100eb48307 -DIST genpatches-4.13-19.experimental.tar.xz 5180 BLAKE2B 8641931516f97fb88415f6d1496ec3c68efb75bd188f77746068e35d011f71c3ff7246dd2f427eed905ceb3db06327a31678179457280b2f82e7290d1821e4ab SHA512 cf8feb8cea668f2f94b85e211274a186631193f0f0ee2bc8d5c51e8b7a159d0ff9f79e484ca90163de44c1a024e973b69ac4d6730c7aae15c60bab44854c0db1 -DIST genpatches-4.13-19.extras.tar.xz 17404 BLAKE2B 351c85e48c7757bf2bf99cdd8deff6a7a9aee3b5d122a43ec38c4339b1c1ff71fa8a1d7cdee980823d69699a699ea20d0e0fc30011e6b47df905834473f656de SHA512 e3ff1ed750609e8e2625bb97c348e84b0e19577cf382a393d7bdcacd4a8dea8dc605afee8e60b162d08781df2bdb9d380004550c6f46c0b93e274057d2322d3f DIST genpatches-4.14-10.base.tar.xz 227892 BLAKE2B b800d810427d3da4ba219afdbab9cc50f982c4e6b00afe0648ef1ce211b18bdc9349cb0f8b80a701268874b71a3f6374670d8f76346e317a09276a2e1c044d20 SHA512 d799978f7c8a0addcdb52b396267c53544f3d20b407387c62f503b16fec415e0af0ada396358f042b4e3602fab39ef404aa0a893f6b7ff596ece130a76f2fb03 DIST genpatches-4.14-10.experimental.tar.xz 5180 BLAKE2B 5489b6157fdef6874f224f97d6fcaae34799b385a3b4ca3e57764413d2e48b63fe33c6a9749754ade1e4b7e25dd5928cb6a5e1ec11adca3ae4afd49b1fad84bc SHA512 cd2e4f7957e79d766df7e5d4c2dff4d95ee85e96759c4995083edfb7bb76b86139916cf83718a46860af4d78f82f6e4e6ef24422f0c6d329c4e002d0ade443bc DIST genpatches-4.14-10.extras.tar.xz 17496 BLAKE2B 0f076c8fce10e1a7e3845c185e88725962813303a9c62c517330055f0d3aca27b5c839897b61802df3d91cf9b9001f8c3d303b2d381e969a4d177bc4a116202a SHA512 54084331894549a80a72a7095662611762f1b6516c4d34919be4e313a8c0fcfa6bd42997a447bc739aa7ba1f07f66c579c9c2e105710a5b42c9b0ddb85485d79 @@ -64,7 +58,6 @@ DIST genpatches-4.9-73.extras.tar.xz 17356 BLAKE2B a16dbd34ef4d3d50c370561776896 DIST linux-3.10.tar.xz 73175088 BLAKE2B d73c3ad78054f049c6ba78e74b99fbdbbcafe4937bc6254bef407b770d44f05723cd05ca1c6bce16bae9c1150d8ade8e7221a66b8fb761502fd53db6ee33c58f SHA512 5fb109fcbd59bf3dffc911b853894f0a84afa75151368f783a1252c5ff60c7a1504de216c0012be446df983e2dea400ad8eeed3ce04f24dc61d0ef76c174dc35 DIST linux-4.1.tar.xz 83017828 BLAKE2B d1dc4e458db191f16306b3d2d7eb60ef5e04307406c769cccdd88beb407f8de228ab1f095a44d6e992b06d01cd896fda31dec1cdf16667f4ca0b628da594aee3 SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 DIST linux-4.12.tar.xz 99186576 BLAKE2B 02d031c7f2f29849c06a6b5b589af78bc486a05a758267e47f2ff16844ae8ca701fff53cb859fcc105f7ea92c0769acf8d7f7cc116444c15235ef4d63cadc8c0 SHA512 8e81b41b253e63233e92948941f44c6482acb52aa3a3fd172f03a38a86f2c35b2ad4fd407acd1bc3964673eba344fe104d3a03e3ff4bf9cd1f22bd44263bd728 -DIST linux-4.13.tar.xz 100579888 BLAKE2B 2f8be07d403071b097b019c43fa332bc7d4805dee633a6fdffe5a99d5475015ca9e4881e7f4cbfd36f8c451bacf423436364ea3d9f25b8723a29a178dededb2b SHA512 a557c2f0303ae618910b7106ff63d9978afddf470f03cb72aa748213e099a0ecd5f3119aea6cbd7b61df30ca6ef3ec57044d524b7babbaabddf8b08b8bafa7d2 DIST linux-4.14.tar.xz 100770500 BLAKE2B 85dc4aa953fe65e273a24473d8de98e4f204f97c43be9fc87cf5be01f796f94cfde5c8f9c84619751f1cac51f83ce0b4681fb19c5f2965a72d4a94fe5577846a SHA512 77e43a02d766c3d73b7e25c4aafb2e931d6b16e870510c22cef0cdb05c3acb7952b8908ebad12b10ef982c6efbe286364b1544586e715cf38390e483927904d8 DIST linux-4.4.tar.xz 87295988 BLAKE2B f260f1858994f5d481fd078c86e51bddbc958f7c5d1586f60dced772e1b1107ecf3aae0558c3e6f39c36f7d3aa1e6cd1e5c64ec9d6f2218f47b98413da6466fb SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e DIST linux-4.9.tar.xz 93192404 BLAKE2B 83ae310b17d47f1f18d6d28537c31e10f3e60458c5954c4611158ca99e71cc0da2e051272eabf27d5887df4a7cb4a5dd66ff993077c11d2221e92d300a0b48d7 SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a @@ -75,9 +68,7 @@ EBUILD gentoo-sources-4.1.48.ebuild 742 BLAKE2B a65ce80c975151ec3d25eebaa4dfd733 EBUILD gentoo-sources-4.12.12.ebuild 736 BLAKE2B 3e6d6890e7e5b719b93c5f701be6ae13b7648ef8d84c6c7be6a3f8ac85833f17cb4a077defb87dfdf2b714eefcf21290340594a9ce20337057ea842094a27957 SHA512 9780c3b8c878412849a62b4edba2cc9b0931af176c35ad76a173993d2c42d53825919444945eff7b1ee96a67f2b49f7db3c698ec78e0e3c05f68c523f09c8653 EBUILD gentoo-sources-4.12.13.ebuild 742 BLAKE2B f677573672403df6abbaa0d220934c060bf329842fcd5c7d21ef3e152211ed33f1f42d9ec9b525cb4f79c39a10def1de2b4de78dd124cc70eed159d98956b88a SHA512 4f5cf9c4458e29f0e3b3936e1b746bd04670ee5169de35182e2ad8332dbebfc82eed1e15dbfe2b581dc25f09f470d7cef68b40a3bb9f3d3545db401f0c709362 EBUILD gentoo-sources-4.12.14.ebuild 742 BLAKE2B 8cb45742e3a9e1a68f401456884c15885ca38aafe2e15d225781381543c16f5707098acdb1d8feec8273081a8ca93d83d979caee71a7dc0c70e3d71bcd1881b1 SHA512 19526e1c4554d9e18526ad1f71815396db6b6f46286fbe0a2e3d9ce0fb48367ca4891464d662d36225ffae70133444b3c0bc85e150008efe108e7c8dc7db3acb -EBUILD gentoo-sources-4.13.15.ebuild 742 BLAKE2B 63393fb4b6d20c4a5c36ea56fd6a02a4e00dce1315b87f6aecb4dd15c89d7f245694bf9c13374f729a7ced5e830b0298ea23be4d80ab667e7a76b660fd9061ae SHA512 6f3f7bf5c23bf61ce2e9b90c577acf4f1ea516c05216c24aec79c6befaa4e2a1152a76a38833c6e6f85dcadad02e2840475ea9f168d3d5f909e866eed1723507 -EBUILD gentoo-sources-4.13.16.ebuild 742 BLAKE2B ef97bf684728c93444702f7433a212889cea7740242f9726761be290c47e701b505b54485835b3d325e40b0866833e5728d07ffc5c37483560175d564b29ccac SHA512 453f0cb8cc3363a13eecd9811f6fa3749f1d33cdb11fbea692cd1fc4d8c4d8c39a81f5799c5a83d58d42cfb4aa08487275051d02f6e2e0aa35f51eeca6919b84 -EBUILD gentoo-sources-4.14.8-r1.ebuild 740 BLAKE2B 64276dbdfbc43b3ddf1fcf84767c458bd5efa6215aa58904bd1b2b216d3c1f23e2d77b33cbd042d02a2b5b531714bf7a41283797731aaf035eaabab13e0ca573 SHA512 32c2ae6a3b228abfb2b564e5c6c4666437736927b84342a4fa51ef570ff13654305412d81ec6068cdca9e725e79b8fce2dd53ece412c8146d5fbcf416331cf38 +EBUILD gentoo-sources-4.14.8-r1.ebuild 739 BLAKE2B 15dc9e505240b885d853bb9a2a484292e45e488bc0eff365fc3ffc8a8ce0e1e697a2488757397579308a5e0687c3d9ee8b756c8d3e443168c76892a65212de7c SHA512 9951515e8a59beff4512e1dfbe689a5288a217c6a1930581ef5ba3d16ee567af63510266770935722776affb5977cc36d5993ed57d87f893670b71bca536bbee EBUILD gentoo-sources-4.4.104.ebuild 743 BLAKE2B 802e40cca68ffd0a60e89b78472150c9607d1536a24da4ce8b6931e05fbaa630dfb5e30d1f3b49fd8a94c7d33fb9489f377bd96de471712d16450ec4d704de7a SHA512 55a5c40f01ceeced4a226f18e7e30bfed7a0e8fe684d3d1f3e8ab66a3509ff3c4fc128e4d0b551a5f1efff44e95f1e5a19db3d4ca4d567499b2e1b6951e36c21 EBUILD gentoo-sources-4.4.105.ebuild 743 BLAKE2B b928e1bdcb11b512c1d1b855d282a08fc6e8f3d80ca7178599c1fd5ecfd001f78bf9be71262919988b3541e1310d4dfed142ae216d0dadb2f171da94e1978d77 SHA512 3fd6636e5d03b204c7a64f90d7bb4352641bc3938e5be217be588dd0b2ff40ddbb71067409f06ee092a88ea7324a51e73e92d337043d3ccf326640ec6fc77e6b EBUILD gentoo-sources-4.4.106.ebuild 743 BLAKE2B 20e6ec2d4fe6f872921d54cc8510cce5a325a546c1cf36edd94f2c664fd88aaaf201b23664559351dac47a27f3e2ee3803931e6aa7380f0eaa0294476defc525 SHA512 d0e045062971878d254fd791c8763b5a67932ea7ff028e8d63ebdb0c2a238e78290f08d32889b22f3aee328002c8a5c0eccf3d610be82a6de1242d5d405905b6 diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.13.15.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.13.15.ebuild deleted file mode 100644 index 40b91baf81dd..000000000000 --- a/sys-kernel/gentoo-sources/gentoo-sources-4.13.15.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -ETYPE="sources" -K_WANT_GENPATCHES="base extras experimental" -K_GENPATCHES_VER="18" - -inherit kernel-2 -detect_version -detect_arch - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches" -IUSE="experimental" - -DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" -SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" - -pkg_postinst() { - kernel-2_pkg_postinst - einfo "For more info on this patchset, and how to report problems, see:" - einfo "${HOMEPAGE}" -} - -pkg_postrm() { - kernel-2_pkg_postrm -} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.13.16.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.13.16.ebuild deleted file mode 100644 index 6ab34ceb8611..000000000000 --- a/sys-kernel/gentoo-sources/gentoo-sources-4.13.16.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -ETYPE="sources" -K_WANT_GENPATCHES="base extras experimental" -K_GENPATCHES_VER="19" - -inherit kernel-2 -detect_version -detect_arch - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches" -IUSE="experimental" - -DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" -SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" - -pkg_postinst() { - kernel-2_pkg_postinst - einfo "For more info on this patchset, and how to report problems, see:" - einfo "${HOMEPAGE}" -} - -pkg_postrm() { - kernel-2_pkg_postrm -} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.14.8-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.14.8-r1.ebuild index 67c6e4feb86e..810c1b4a6b94 100644 --- a/sys-kernel/gentoo-sources/gentoo-sources-4.14.8-r1.ebuild +++ b/sys-kernel/gentoo-sources/gentoo-sources-4.14.8-r1.ebuild @@ -10,7 +10,7 @@ inherit kernel-2 detect_version detect_arch -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86" HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches" IUSE="experimental" diff --git a/sys-kernel/spl/Manifest b/sys-kernel/spl/Manifest index 1f55dd8b8c05..0ff7651b29e5 100644 --- a/sys-kernel/spl/Manifest +++ b/sys-kernel/spl/Manifest @@ -2,8 +2,10 @@ DIST spl-0.6.5.11.tar.gz 531710 BLAKE2B e89cb5a023d3f4b3949a385100b56e01c5fd0ff4 DIST spl-0.6.5.4-patches-p1.tar.xz 2020 BLAKE2B 82b836df5c18f68ebd967d5d33e65232167ff1c4b1da3998dadf49c1fd0ffad4a86fa418a30ba0ba106ee4baa190fc51dedabec68083af80e5eb5aa1b225dcc5 SHA512 2650f06bf23045bd2805ef58baa2561534373862e1fbbaf189cf93283aa8e18cbee989b4e81751b37da3058aeba357cf8e46db97331379e1b5eafde7faa33851 DIST spl-0.6.5.4.tar.gz 556298 BLAKE2B 142d92ece51f544ed53f8d15390a97469b322c0e8f16c6510eb72f69493a3489f98ead9fa4138765b364c22777ee0cb49a76c4d9b1c4ac4e5ce8c0e5dbfe9952 SHA512 a50d804008237820d6a8e7d938f6699df2966836ebedf0b6a4421f55bd6c24ae69e8f80eaf3aa2b7f6ed308983ab4ca11abfb32f98c8d070e4957b4802e00cac DIST spl-0.7.3.tar.gz 548434 BLAKE2B ecdf0b46d4e02f2ff7a06a68c87ee448502dd04a10720872ed52d594c6f6a80beac04d2a73c18cc8d5ea9ddd4c2ea30187f323f9bc972b4e59a310825b3fb054 SHA512 22d081449e699147f3bcd9791c89709196bb08cf3cd17cdd6fe2472fd9fb5011d6ea52e2c9c95be89d5cc46704b38a4ac57821584e1691b7bb8b0a705a6d78a1 +DIST spl-0.7.5.tar.gz 549272 BLAKE2B b645c68fa53e3e10a80788684efbeeafecb04753a1b515de32555943f372fa61c1c24cd7afac1cc646de572daa32f88c5b95662797a085c756519e03fdf3e46f SHA512 a797ddab6841cbe9c7eacc4f276537ecb5905a694604185044e98ed017b325367a1fdd1ea6830d29d4a21ed11a8d1ff0505bda7bbd2112418db319df128141a3 EBUILD spl-0.6.5.11.ebuild 2686 BLAKE2B 515fbfb0c058221f0f505de50d209ea1f18769ece8f0f51948cfbeb20a10b04f85aeeff27d0e264fc6b91612d2cb1c27045543d47068617ec6a89cdf9d4f5214 SHA512 029199b48d01d6c752377eb1fae7a2202f13681e9b86ad6e7e87790473367c77d2292d09463b46c9278206e28889d97f7a7322c4dc82c1e8d190f00687f502c7 EBUILD spl-0.6.5.4-r1.ebuild 2907 BLAKE2B 8ea9deaeba44bec24afc9427d321e7c7826f1fc52a9a59d9d106023d30d31db478e19715961e637046f5087d42ebf11a05441fcd20752513e934d0a847fee9d4 SHA512 0004ea021f6e4cdfc9c891cf55b5b7e4c60615bf4ca7187908f91e1530aa00a7c47d393e4c3c1b9f6ae15a07fa7054c8b2568af48eb73fad4db8b2d9c3fc6d4d EBUILD spl-0.7.3.ebuild 2686 BLAKE2B ee36eabf01769ae9e142ac8c105089620e6a6e3fdcb08111ef86c4630e9e45520de2a65573674ad9a6b157d2d078caafef2a820e866a40ed8d8d516313acf38c SHA512 40efef0df61bafa6616601a089154322cf632e544682b6ec99c71c10469e0955cf59d5fead2086d034b2e876146cb10c43fed5cf5456be46ae71a992e4e51785 +EBUILD spl-0.7.5.ebuild 2686 BLAKE2B 0e639881bfc42fc2718c58cb59fe592d31f18ab75799e25691c29f468e5179ab7bf77f81ed8974737278735ea5499c52eede1fbe088fc0436143648449471541 SHA512 238319eeac878f65b7114673f0cc7c1fa31d7454c4b26067130e6e03a6f38ae19974587db914e8d01e03adc9cfbaec2c2beba24d99406e3abb00ca2f456ab307 EBUILD spl-9999.ebuild 2721 BLAKE2B 0433ccee5de2f690070acf5adfd287ae6b6c45363c25031f924d6a979332eff1f47744caf34088d2ab250f1a5ad326be0f2a06e97c305ea53db3818867617b8e SHA512 98367c39fcef4f69b912876d4d79388df280f5f46ce7cb98ec815e4e1ab9f8a53422064e23a9ee3a1ecd4123216fd3d8819df0cbe35cda9e4c03c80310148bd9 MISC metadata.xml 436 BLAKE2B df6b2b25107b10b62618306f09e48f4337315792390c58392f73b270466f4927209dba0d8d1f1d8b8f65f345bce077a7b738f240f077a0eb26c23353673d412f SHA512 1b867378bde3ac034a7fbdc84e47b77b570ecf7a7688b0dc47950de7ea6601284c8101600928ddb7725f7a09ecc73eb01bdf646b0ecca250029e3063a4427ca8 diff --git a/sys-kernel/spl/spl-0.7.5.ebuild b/sys-kernel/spl/spl-0.7.5.ebuild new file mode 100644 index 000000000000..515730e4bd78 --- /dev/null +++ b/sys-kernel/spl/spl-0.7.5.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 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 14 || die "Linux 4.14 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 +} -- cgit v1.2.3