diff options
author | kuzetsa <kuzetsa@gmail.com> | 2018-06-22 00:15:04 -0400 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2018-06-22 17:11:43 -0400 |
commit | cc6be5ce146a36e3edcc6d7c61a2308db59f9208 (patch) | |
tree | 2ca5e02aa91044545ee8c72eaa05b2d27351dc55 /sys-kernel | |
parent | sys-kernel/ck-sources: genpatches-4.14-56 (diff) | |
download | gentoo-cc6be5ce146a36e3edcc6d7c61a2308db59f9208.tar.gz gentoo-cc6be5ce146a36e3edcc6d7c61a2308db59f9208.tar.bz2 gentoo-cc6be5ce146a36e3edcc6d7c61a2308db59f9208.zip |
sys-kernel/ck-sources: genpatches-4.16-18
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/ck-sources/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/ck-sources/ck-sources-4.16.17.ebuild | 62 |
2 files changed, 65 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest index b08b8baeb8f9..01e92c82baf7 100644 --- a/sys-kernel/ck-sources/Manifest +++ b/sys-kernel/ck-sources/Manifest @@ -21,6 +21,9 @@ DIST genpatches-4.16-15.extras.tar.xz 17500 BLAKE2B f4c4d6408999934c03b2d0543b12 DIST genpatches-4.16-17.base.tar.xz 430088 BLAKE2B c61ffb1627bd214aafdc920c70b3e4f31a07d8849673540e6876c84b5fc55f0c4d264fbbdc15e2042d9e1888a8546dc501c05ba63adb8cce1ac0aaf8d2774b0e SHA512 d8e275656332450b63507abfe4ac18814ceed04aa9c0a8ad387787f1ee69a860d18583b91b4149d545deba88c60176129f88e7a97cec91b056ce5e96b6825aac DIST genpatches-4.16-17.experimental.tar.xz 5164 BLAKE2B d62882cceced2a9b3ccd1c21d8ace7ebdc1d4fa77caf2c49fa22d8ae087e119d40ed9a9ac88ee5b14d00b9363adaeb7eb1471fbbb30aed1c4b6ee12296102bcc SHA512 78bcca40ba6ccea7d20aab345302895d09d0a61d326268be9e0aa50498fbe341f2aaef9a712a1e3c628e19849314e1cf609a83c92d36b96754865c0eb11e0601 DIST genpatches-4.16-17.extras.tar.xz 17492 BLAKE2B 9ad1072b3c62c064a72a5406e80eb7d270df3d2b4e2d4fa24c1f4f01d2b651abd06d3ef7d77cbddffff22597e05095f58f1bdf31b36240ec32d3e06aaf01cad7 SHA512 880e0edbbe8897bc638ced47a83dff35fb067596f07e4d6b9bb8b2f0c45bd9a1528cc557ded26ca5fe09fe89414c776f5a852385c2f1657d13c8d26f6fabd20a +DIST genpatches-4.16-18.base.tar.xz 508740 BLAKE2B bbdd0ef86712ab8561c1d0272ac163cf165ee35ca496f24f8c587f74004085ed058e26b9bcaa900918badfbaa146dec2dfe73d98072fb4b43fb1fdd33a5097af SHA512 5b4841f67241de83e984d9b83a9643a311f8b8bc18e78536db4b1223e0c7daaee60c75b7e551f42d0ccc1b068241d773d720159dc0446375229e38cfa0a9e140 +DIST genpatches-4.16-18.experimental.tar.xz 5168 BLAKE2B 536cd42df508c7b528ca5cdd34f215426d07572455c0e26c678b9f044f53574fe1d2ab1488bde7ac306c9e7a3fd9042755bbb98d988f4389592dbd44ca3b0f47 SHA512 be5c1a1d6e758486b2d5bdeed44750cf6b9d38a42fdb34aa577b36c496ff25e221bf57243a280e1c4315705fc83e340e855614486d2bbff2528b05b1a35721ef +DIST genpatches-4.16-18.extras.tar.xz 17496 BLAKE2B 926ea0dfe37beb6244da243d2dbf37c4e85118f0d56410b4f80b019228d5702d14e514c5324a1ca455e4d69927f30490b152b746340d0feeeae46342cf7ad1de SHA512 69db081086e60a2eaeb2038b3017b8815c7b2d8b6e1b0f20af04f3e8e783d3b6f67263cdf0988314ed6e91fa3561336c7db1949e3fc51ab00b9d7f62803f65c7 DIST genpatches-4.9-110.base.tar.xz 2180268 BLAKE2B fe0f707079302189ac484fcb67151216cbfc9c84627db81aaf5db32a5dd371ee1a356379a9592ea86d51a7a7534c117dea4be71706ed8b591bfd60e30ebe0c93 SHA512 0b957de2d1f2d09e69a4850dcb31fe0c12d7ab701479d7b952523c9c2c6c4ea1b8ae1521fd02c18c312cc4399dfc81989f2cb7fac0b3468f1bb9e92cb554a6b4 DIST genpatches-4.9-110.experimental.tar.xz 106392 BLAKE2B 831759d456c12bcfb433f0eb8e4b90b8f2337741415b3272ff77af8d7bc510cc548287318b6672794ae66f645efedfb37c9dd65333fcf2cdd804bda29bbae4bd SHA512 fae0aad5cee94b79bf7f2b70c4d95704408ac5615056aa590a7eb5586234eb46da2b2eb90c762df84b1d0713b84e6aade1505b8ac24e7cb7a08e158782d2fbed DIST genpatches-4.9-110.extras.tar.xz 17352 BLAKE2B c4d6d32fd0e61bfb439a543694bf266bb83e886f69b28d03bd1af12e10dbfb4d822517c15688b0acc4473329035a3b87028b3ba39c52429fa385a2125c27db5f SHA512 5adb32f3970030b7cb9e237070ff38d055e2143237c9198e9c651d80102efa1be48e7ce5de5d9515ae7d1363523c4e6c2774d933812b68f4be72824f31daba45 diff --git a/sys-kernel/ck-sources/ck-sources-4.16.17.ebuild b/sys-kernel/ck-sources/ck-sources-4.16.17.ebuild new file mode 100644 index 000000000000..d16a67711be8 --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.16.17.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2018 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="18" +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}" +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)" +} |