summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2010-11-19 17:11:28 +0000
committerAlex Alexander <wired@gentoo.org>2010-11-19 17:11:28 +0000
commit6bba44fe543da0ee86403d64f50fd74f40a1fcae (patch)
treed155852aaff108c5c33e343b38c525851c51c116 /sys-kernel/pf-sources
parentImport Gentoo Prefix changes. Bump to EAPI3, add keywords, use EROOT. Approve... (diff)
downloadhistorical-6bba44fe543da0ee86403d64f50fd74f40a1fcae.tar.gz
historical-6bba44fe543da0ee86403d64f50fd74f40a1fcae.tar.bz2
historical-6bba44fe543da0ee86403d64f50fd74f40a1fcae.zip
added experimental USE flag. it currently applies a BFS patch that provides group_thread_accounting and fork_depth_penalty.
Package-Manager: portage-2.2.0_alpha4/cvs/Linux x86_64
Diffstat (limited to 'sys-kernel/pf-sources')
-rw-r--r--sys-kernel/pf-sources/ChangeLog8
-rw-r--r--sys-kernel/pf-sources/Manifest27
-rw-r--r--sys-kernel/pf-sources/metadata.xml2
-rw-r--r--sys-kernel/pf-sources/pf-sources-2.6.36_p1.ebuild20
4 files changed, 45 insertions, 12 deletions
diff --git a/sys-kernel/pf-sources/ChangeLog b/sys-kernel/pf-sources/ChangeLog
index 5ed67d7863aa..2aa7206542b7 100644
--- a/sys-kernel/pf-sources/ChangeLog
+++ b/sys-kernel/pf-sources/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-kernel/pf-sources
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/pf-sources/ChangeLog,v 1.7 2010/10/29 14:39:00 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/pf-sources/ChangeLog,v 1.8 2010/11/19 17:11:28 wired Exp $
+
+ 19 Nov 2010; Alex Alexander <wired@gentoo.org> pf-sources-2.6.36_p1.ebuild,
+ metadata.xml:
+ added experimental useflag. it currently applies a BFS patch that provides
+ group_thread_accounting and fork_depth_penalty. for more info:
+ http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html
*pf-sources-2.6.36_p1 (29 Oct 2010)
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
index 5de39cd99162..91086ba679ac 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -1,6 +1,7 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
+DIST bfs357-penalise_fork_depth_account_threads.patch 9786 RMD160 4ff4047a717f718a211c4521e5d8c0d8af4254a6 SHA1 03fc0dbb4354103894b0cff30dc72d242d626dcc SHA256 c8ca930785b969ca24a6f8dbd63bdfbe4d07264b1c982272d50718e712d00f13
DIST deblob-2.6.31 80819 RMD160 20972daf3852336198b5e1ac4f95a9d88f5d1d67 SHA1 41070a790894136913469bdcb3433b3d13b3e797 SHA256 4dce1f711d5098430f15ca0664ad3a1ad83a0ce6faf10d0dc8b8f53f2ab655f0
DIST deblob-2.6.32 84094 RMD160 394f46ec5b869638a7bc2e87beb118167c9bd6cb SHA1 1a2a1efb72126609d9e3b9be99ae5be2751efd06 SHA256 de625f0bd221c9c38d4453f1b709622f222d86a0ae9350d2b7b0e17795e6de6d
DIST deblob-2.6.33 86599 RMD160 534eb7b76ea29561a0b6e73659f67fc746fad111 SHA1 0c3c2d8c299f3cb5d807bc4a35b20bdca50ccbce SHA256 176aa9c73f27c9c69f198e3637cae61072f152c25c468ffbebf1a4c2494d52d0
@@ -34,13 +35,23 @@ EBUILD pf-sources-2.6.35_p10.ebuild 1425 RMD160 8235e521dcba6af7bbea3770ef6e544d
EBUILD pf-sources-2.6.35_p11.ebuild 1425 RMD160 f8db8716ce5786b71dc0025d2ed0c14da31586ec SHA1 7bd044025a699bb8470f31858ea9cdaeba7f2d12 SHA256 5c0c17da30cf7bf8a82b1365da7e849a74b08dc9dffc6428a031b7e77c54cdb8
EBUILD pf-sources-2.6.35_p7.ebuild 1424 RMD160 93bd50ca0fa073118e78ee61ae153f693c1fc0b7 SHA1 ca8c23f3bd8cab32a25db3163c395b68cf3e9f53 SHA256 774a867d85199fab23ca5e446201e6aa05d71f4297f3e41434baae08dfbf532b
EBUILD pf-sources-2.6.35_p8.ebuild 1424 RMD160 ad1163f64257e4c2da4cf94e060e68af92016f7e SHA1 60b047b20f9ce60c4296e93d4dfd72fb15569858 SHA256 2381bbca3be97fffbda3f93d1acfd4da743f68e9226c0a282c21cd5d1a021ae0
-EBUILD pf-sources-2.6.36_p1.ebuild 1427 RMD160 fdefdc56ec57a7691c0d86aead741219a994ea3e SHA1 7c8597f6331e8db82b5c9507b8ffa82ed2d1f1fb SHA256 1a1847838d01326eb79c629dec10e812f165552b94596ff157aed6c79c86bf2d
-MISC ChangeLog 1522 RMD160 b0613ce3b6cbd321dedf905e139f7d6af84a9f10 SHA1 49b83cbb54989ea0f03467462a51135195b394d4 SHA256 2ce06e2845f48642ec28cb7a105d2a1a800fbb8485c6039c6a53d7f0ce86c4a1
-MISC metadata.xml 473 RMD160 56a94b432aecc20fb966bb5d42deb792792ea5d0 SHA1 fc486b23676594d11297e13c0fec5feff3c5cbd5 SHA256 f5af55707e0ba36c60c1097027805c8d238eda8a1fb435656f55ebc5bf1e0162
+EBUILD pf-sources-2.6.36_p1.ebuild 1835 RMD160 01069dfd43b503d1e607cb4e1cbfc5623c76869a SHA1 20d553cc1fa9bfb7c147ec8a3a960cf3834d9fb6 SHA256 855c045d188b38769cd84649c3414193f2ea1731e8c160cdff6e1b4abe6a51c6
+MISC ChangeLog 1833 RMD160 5651bd7c2cee075910d0e228e5ecf8eb2eacd5af SHA1 c271d846e572df433459dcc8908aeea38c43ee84 SHA256 19d016f4f79973bc4e131d81c3f39306ca3a3b8c120ab7a59d241bff096a595d
+MISC metadata.xml 639 RMD160 66491ffb8f63de4c2280660539b9511da00d6c06 SHA1 95130297611287e074688def020cb1d9a585165a SHA256 ffdfe973ba8a5673cfc8f68c85438d7c0129d85930b48013e6901a37b936bb15
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.12 (GNU/Linux)
-iEYEARECAAYFAkzK3HMACgkQ9/cejkQaxBC+BACdFMupetsVRKW8k6iKMaaJwyU8
-CssAnRTenNqDpKahQdfwtvOkq5SvQXAo
-=SOJ4
+iQIcBAEBCAAGBQJM5q/eAAoJEDZF8K7rm0r6DpcP/iZM4w6CR17JAPAkgbPUbFig
+7X63L8JK0TVifOhq7Ab9IU+KFCG2BzQIbNNg9Df+EVwXIt00PAhWjLdtHGHKbyht
+jotsM9WtVU2loq0DYFlOvUirPH/aIZa5Isw/IKseIaVvK8YQ53jxmBAfbw9bvICF
+pLhFfgS1gWK8XiMwouSvM8MgJ7iqg2k5cAgUufSnHC1N6x+SmpwWeEU90IlH7OQe
+ZsFolZF05XbU4z6Lr2nf0ta/F2euZ6loboLGDAz6357qtUVGaMzYYk/akelfkehj
+NASLt8iBvJ3Q/h5O+XMoQzAukyTA4vGeTnp2nVgMbxXa7A6kmuVqIRy8PtuEhI96
+39m6/0i4z+UqfQCuyynDbaHSqSbYGjY3wP+Vj9OZJTA4K/7Hu8kT+dD8jDnfg8gk
+Lh9yAbMoOXuxAD3eJ4hP3Ch2uWaCPIwYD4N5i96l6OxjuJSxVomsIWLFnU4DGt7b
+WW3ePvESNIlAcOTjWYCcj85oEdDx8HEqrGkj+u7U/TePTAnfq6bhQS5gsLc/rLTg
+R7OSEM4oTByhoWQChpSmaGKDUmGwLpVkWyKcI6fqEpnNHnR0Qgj2hUWw/2bePpsA
+v1efSRNv/ZUyatBxLVbXwpSQ8sLpm1WanHFQ96V796skPPnFJUOmGH+wxbPeN6SS
+lAPI2P5vPYRMyFvicA7m
+=wNAK
-----END PGP SIGNATURE-----
diff --git a/sys-kernel/pf-sources/metadata.xml b/sys-kernel/pf-sources/metadata.xml
index 107255332ef3..8c388c2ad975 100644
--- a/sys-kernel/pf-sources/metadata.xml
+++ b/sys-kernel/pf-sources/metadata.xml
@@ -12,6 +12,8 @@
</maintainer>
<use>
<flag name='deblob'>Remove binary blobs from kernel sources to provide libre license compliance.</flag>
+ <flag name='experimental'>Apply patches that are considered experimental. For more information,
+ check out the ChangeLog or the ebuild that interests you.</flag>
</use>
</pkgmetadata>
diff --git a/sys-kernel/pf-sources/pf-sources-2.6.36_p1.ebuild b/sys-kernel/pf-sources/pf-sources-2.6.36_p1.ebuild
index dc495c268ca0..dda8227c756b 100644
--- a/sys-kernel/pf-sources/pf-sources-2.6.36_p1.ebuild
+++ b/sys-kernel/pf-sources/pf-sources-2.6.36_p1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/pf-sources/pf-sources-2.6.36_p1.ebuild,v 1.1 2010/10/29 14:39:00 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/pf-sources/pf-sources-2.6.36_p1.ebuild,v 1.2 2010/11/19 17:11:28 wired Exp $
EAPI="2"
@@ -23,10 +23,19 @@ PF_KERNEL="${PV/_p[0-9]*}"
PF_KERNEL="${PF_KERNEL/_/-}"
PF_FILE="patch-${PF_KERNEL}-pf${PF_PATCHSET}${COMPRESSTYPE}"
PF_URI="http://pf-kernel.org.ua/sources/$(get_version_component_range 1-3)/${PF_FILE}"
-SRC_URI="${KERNEL_URI} ${PF_URI}"
+EXPERIMENTAL_PATCHES=(
+ # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html
+ http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch
+)
+EXPERIMENTAL_URI="
+ experimental? (
+ ${EXPERIMENTAL_PATCHES[@]}
+ )
+"
+SRC_URI="${KERNEL_URI} ${PF_URI} ${EXPERIMENTAL_URI}"
KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
-IUSE=""
+IUSE="experimental"
KV_FULL="${PVR/_p/-pf}"
S="${WORKDIR}"/linux-"${KV_FULL}"
@@ -44,6 +53,11 @@ pkg_setup(){
src_prepare(){
epatch "${DISTDIR}"/"${PF_FILE}"
+ if use experimental; then
+ for patch in ${EXPERIMENTAL_PATCHES[@]}; do
+ epatch "${DISTDIR}"/"${patch/*\/}"
+ done
+ fi
}
K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, see: \