pf-sources-3.0.7-r2.ebuild 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI="5"
  4. inherit versionator
  5. COMPRESSTYPE=".bz2"
  6. K_USEPV="yes"
  7. UNIPATCH_STRICTORDER="yes"
  8. K_SECURITY_UNSUPPORTED="1"
  9. CKV="$(get_version_component_range 1-2)"
  10. ETYPE="sources"
  11. inherit kernel-2
  12. detect_version
  13. K_NOSETEXTRAVERSION="don't_set_it"
  14. DESCRIPTION="Linux kernel fork with new features (-ck patchset (BFS), BFQ, TuxOnIce and UKSM)"
  15. HOMEPAGE="http://pf.natalenko.name/"
  16. PF_FILE="patch-${PV}-pf${COMPRESSTYPE}"
  17. PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}"
  18. EXPERIMENTAL_PATCHES=(
  19. # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html
  20. # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch
  21. )
  22. EXPERIMENTAL_URI="
  23. experimental? (
  24. ${EXPERIMENTAL_PATCHES[@]}
  25. )
  26. "
  27. SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI}
  28. KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
  29. IUSE="" # experimental
  30. KV_FULL="${PVR}-pf"
  31. S="${WORKDIR}"/linux-"${KV_FULL}"
  32. pkg_setup(){
  33. ewarn
  34. ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
  35. ewarn "If you need support, please contact the pf developers directly."
  36. ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
  37. ewarn "the ebuilds. Thank you."
  38. ewarn
  39. kernel-2_pkg_setup
  40. }
  41. src_prepare(){
  42. epatch "${DISTDIR}"/"${PF_FILE}"
  43. }
  44. K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, see: \
  45. ${HOMEPAGE}."