summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2016-03-06 09:57:58 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2016-03-06 09:57:58 +0000
commit2b4915b7b26ba66fbbf713bd9225e4b3a6f3db21 (patch)
tree3a4e1692018ae9619af0b93e2e56e36ad3b95a09 /sys-kernel
parentnet-misc/gsutil: Patch before sed in sources (diff)
downloadgentoo-2b4915b7b26ba66fbbf713bd9225e4b3a6f3db21.tar.gz
gentoo-2b4915b7b26ba66fbbf713bd9225e4b3a6f3db21.tar.bz2
gentoo-2b4915b7b26ba66fbbf713bd9225e4b3a6f3db21.zip
sys-kernel/pf-sources: Add ebuild for the 4.3 release
Package-Manager: portage-2.2.26
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/pf-sources/Manifest2
-rw-r--r--sys-kernel/pf-sources/pf-sources-4.3_p4.ebuild76
2 files changed, 78 insertions, 0 deletions
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
index 37eaef0d5acc..935e269339cf 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -46,6 +46,7 @@ DIST linux-3.9.tar.xz 72104164 SHA256 60bc3e64ee5dc778de2cd7cd7640abf518a4c9d4f3
DIST linux-4.0.tar.xz 82313052 SHA256 0f2f7d44979bc8f71c4fc5d3308c03499c26a824dd311fdf6eef4dee0d7d5991 SHA512 ce13d2c1c17908fd9a4aa42bb6348a0cb13dd22e560bd54c61b8bfdf62726d6095f130c59177a2fe4793b7dc399481bf10d3556d1d571616000f180304e5a995 WHIRLPOOL c481256e23dc82209942d4f2fc9a94aa7fc4c3c69b05eaa041a58ca4bdc5781274ec4c49d597ccf94b634d61418ec578d20a6569c6c7052b4d3cf33611c99001
DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8
DIST linux-4.2.tar.xz 85507784 SHA256 cf20e044f17588d2a42c8f2a450b0fd84dfdbd579b489d93e9ab7d0e8b45dbeb SHA512 a87bbce3c0c6d810a41bbba1c0dcaae80dc38dded9f8571e97fa4ee5a468d655daf52d260911412f7c7da3171a5114e89d63da14b1753b9a3eb2cc38fd89b9ee WHIRLPOOL 2058e664ee287cc03119ff3dd0155b7018b9c789a13a1012f190e516172f845dcb2d977c8e6a6951e9bd720e5e8cdfa3b888cce392c9b02780520e77475870d0
+DIST linux-4.3.tar.xz 86920812 SHA256 4a622cc84b8a3c38d39bc17195b0c064d2b46945dfde0dae18f77b120bc9f3ae SHA512 d25812043850530fdcfdb48523523ee980747f3c2c1266149330844dae2cba0d056d4ddd9c0f129f570f5d1f6df5c20385aec5f6a2e0755edc1e2f5f93e2c6bc WHIRLPOOL e3f131443acc14d4f67bbd3f4e1c57af3d822c41c85a112564d54667a591c8619dce42327fd8166d30a2d7adfaf433c2e2134d4995c91c08f65ac0cc2190f935
DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc
DIST patch-2.6.31-pf9.bz2 358306 SHA256 55106f8f17d7987e8789254d52f44e093a2ab520292d0106288d14ea4f3a1e9c SHA512 97edc491768686b868f0cb0bac5fbbec365629dc883a60a9419d34f6be2f9a7bc445d51cf935f8c54fb6f0ba1699e7b6a6d1c9a13e3145718e565802930f5bf6 WHIRLPOOL fbeb6b18e677c1e27e1c9bb894409e1b7fb6bab8d4c00d91979911616233fb5391be9a3b9a43124df7b3adc2512d2dba9ebc7118fd4385637f61b2304a507a35
DIST patch-2.6.32-pf16.bz2 445921 SHA256 72ba0a9eb0c0dda1e553b9d0d7e450eec96cbfa625f3a3c2a8397d1ce12f7f20 SHA512 e90f12ea8527d68a96d27bcb53bc7a34a907f43dc42b60f3e09139a9b6ecd9da493f737b1a188c6e0fbd2e1d5183a653f4cf6c7045b648d9bb1d2dfdabd36721 WHIRLPOOL 442306ef06f20cabfe7b35b672f413060154ba160c5921a60200a87617e5f750ba835c239877d4899c5457c9c01e59d2027555571ca40271b86e97e764ef0369
@@ -78,4 +79,5 @@ DIST patch-3.9.5-pf.bz2 607797 SHA256 b6e8976003e7c4ffa603200dda8326bbac68601489
DIST patch-4.0-pf6.xz 463504 SHA256 e45747d19034cab60928fe5c90c570ef0d6a8a95b34b2026d9fcf94efafccd25 SHA512 2858874c1d29c8e54277085c1ba0dc1d6b144231db43dfc57ab4fb8689498e447922082853138b14664334cf566bbe58c36b8fd52df631f219856abba29bcf3f WHIRLPOOL 7fc0b016559688dd32638f5aaf481d997b1ef6e4c35a5970d6abece682ba1f23b772c7a2c2ad713fad7c0f9e6dcec4a377c1623477c3bc82a425d9c3aecce3c7
DIST patch-4.1-pf1.xz 341256 SHA256 68d466f1ac76bb1c5faae2dd01eaea83ed2f1790800eefb9d3aaf2c891569670 SHA512 6d97975a9fbdaf5046f274a8c739e7fe6edd55d69583b593483f6867222f3c3dc5793129041149e633a4fb0d0cbff867721fa4c2c66c1304c96a4e8d5d3aba6d WHIRLPOOL 60edd299461d78a451def90e026971eec6eb19e9257ea9797f54d593628fa9bd8eddc9ff0558735438437b5b45ff9d8822b0610e8b0f8db9bbfbb27c220120de
DIST patch-4.2-pf3.xz 498772 SHA256 31242418714f70936522a6fb3003368bbf9058843007cab5031614b3bb8542ca SHA512 16c68f96cf0290369320e5bc4425504a729e7f41140d66e23f1f724e0bc3683ff2ad4a1b00872a663e9be35ccd33448ff2153c6292a637a7269494f1e84e3b7d WHIRLPOOL feaa61475c585e2a7e455a1507bf89d5ed2958748557b632a7642100c327d6f774b9e3e07834761ee1e6dbd1dc99bc0fa15ff709faa017fdae4367c36eacf313
+DIST patch-4.3-pf4.xz 360620 SHA256 70bc512d6bb05591944d6a17a8a82265436a6fad1597be59bab87cabb4644d5e SHA512 2e70530a17a2308cdcc232db985b4dd3612794603bbfb37d961ec30cb8bdf8ff2ed68f922af3af7489fd953f015e20541f173140deb45d64891c551f3b593373 WHIRLPOOL 822c73f7db09d1bcc710b420b68a33454ce9b35af2d54e25cb00c6dc3a0ef96df8c5f2802b9536a3e330c6dcaab2ce41e8fa033fc8762d11ae013c5dc9d331eb
DIST patch-4.4-pf5.xz 351600 SHA256 c1edc12b4484834fb59707cf68cd4e5d4fb75ec5e05545bef36e085ee5ddbed2 SHA512 3a372383d8d9b6879015c8b60d02d3620752cfd0523a390301cad9c4afca5cbbd3b819c09d31fcb9e7d9077443822efd91d8106a7332368f050ced32d226aab4 WHIRLPOOL 8c69386e7d79ae057ba4c43ff27a024a857fbf15807ac8c7b39df95ffbc1bdad6cd753486a6c22411a3df9f2a80cab0a92615bbf453f113d84c709eacd8e02d8
diff --git a/sys-kernel/pf-sources/pf-sources-4.3_p4.ebuild b/sys-kernel/pf-sources/pf-sources-4.3_p4.ebuild
new file mode 100644
index 000000000000..071e43eaa517
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-4.3_p4.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+inherit readme.gentoo toolchain-funcs versionator
+
+COMPRESSTYPE=".xz"
+K_USEPV="yes"
+UNIPATCH_STRICTORDER="yes"
+K_SECURITY_UNSUPPORTED="1"
+
+CKV="$(get_version_component_range 1-2)"
+ETYPE="sources"
+inherit kernel-2
+detect_version
+K_NOSETEXTRAVERSION="don't_set_it"
+
+DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM"
+HOMEPAGE="https://pf.natalenko.name/"
+
+PF_VERS="1"
+PF_FILE="patch-${PV/_p*/}-pf${PV/*_p/}${COMPRESSTYPE}"
+PF_URI="https://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}"
+SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI}
+
+KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+KV_FULL="${PVR}-pf"
+S="${WORKDIR}"/linux-"${KV_FULL}"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="
+${P} has the following optional runtime dependencies:
+- sys-apps/tuxonice-userui: provides minimal userspace progress
+information related to suspending and resuming process.
+- sys-power/hibernate-script or sys-power/pm-utils: runtime utilities
+for hibernating and suspending your computer."
+
+pkg_pretend() {
+ # 547868
+ if [[ $(gcc-version) < 4.9 ]]; then
+ eerror ""
+ eerror "${P} needs an active GCC 4.9+ compiler"
+ eerror ""
+ die "${P} needs an active sys-devel/gcc >= 4.9"
+ fi
+}
+
+pkg_setup(){
+ ewarn
+ ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
+ ewarn "If you need support, please contact the pf developers directly."
+ ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
+ ewarn "the ebuilds. Thank you."
+ ewarn
+ kernel-2_pkg_setup
+}
+
+src_prepare(){
+ epatch "${DISTDIR}"/"${PF_FILE}"
+}
+
+src_install() {
+ kernel-2_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ readme.gentoo_print_elog
+}
+
+K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
+see: ${HOMEPAGE}."