mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 13:51:00 +02:00
kernel: lots of shit, short version, aufs should work for 2.6.38 and x86 gets a config
This commit is contained in:
parent
2fbb9f86a3
commit
f13df0c016
2 changed files with 76 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ DIST penpatches-2.6.36-3.tar.bz2 354957 RMD160 267bc469e99cda95bfd04f0faa6eab2a3
|
|||
DIST penpatches-2.6.37-2.tar.bz2 467706 RMD160 41d315efd16fb6542ad4498a6f6ef1bd62dac7b2 SHA1 086db0a2e2466875103976d43172d2a79a8fbecb SHA256 edb3a87ed264c8ee8ec70771529054547a36dfd4d46bb50b711e4cb3eefb604d
|
||||
DIST penpatches-2.6.37-3.tar.bz2 617691 RMD160 69db63eb7ada2c6124df684f93fdd7f47cda22f3 SHA1 524d02ba1b269971fdf193a3dea49b1da4d33e2b SHA256 f5dd9dfec094029563dd870fca1f296b59e3b843072261582f6429f3f7c324c9
|
||||
DIST penpatches-2.6.38-1.tar.bz2 596470 RMD160 16ee3c67440edea6e5ea1517fab8fac7eb8179bb SHA1 a398a3e77db8f9594de34d6083fb3e55b214df59 SHA256 85769a22b80d67bfdd35ca1d9318e5949cc6e27624f17491ce0ce0669be60900
|
||||
DIST penpatches-2.6.38-2.tar.bz2 1914880 RMD160 d21d232d01f6474123b0d9e3f32152622653abd6 SHA1 1c96d6b4902ae8be193ea52bbc241779d3c060b7 SHA256 5e7428c1953d294889e4b582bf51116f53f57d305075fde583281821c7183bc9
|
||||
DIST pentoo-patches-2.6.23-5.tar.bz2 264283 RMD160 8f568503dc38ddde01b44d23f60a09e157c6e3cb SHA1 4ff684fe488df9ca4fa05f003d9721a4939a26f0 SHA256 eac27e32b60322dcdffbe6524fc08bf4f63bdb8920bb250cfe33b239fd4e0102
|
||||
DIST pentoo-patches-2.6.26-1.tar.bz2 133360 RMD160 cc65bb52adf826cea9ec390b949abc4b7b0b5900 SHA1 a5c13f046282d6b23eaaf26d39f46af098363de2 SHA256 128fd02f247c0dcd8f4a36019e6018ec19e119bb794f124d8e26b7cc619a00b7
|
||||
EBUILD pentoo-sources-2.6.23-r5.ebuild 864 RMD160 1021113f3c73dfbaa0ad7ad7feb2fae4a6af78ee SHA1 e443fd4faa12a47671e0a267ff210ce5a794139f SHA256 5f4cd1d90637fd0529d25db9236c90257d361f58cb45687d9550b62733a5a6ef
|
||||
|
|
@ -114,4 +115,5 @@ EBUILD pentoo-sources-2.6.37-r4.ebuild 2464 RMD160 275bd2aa85cf84c0137931c1bf418
|
|||
EBUILD pentoo-sources-2.6.37-r5.ebuild 2464 RMD160 45f6f5a5da0c199e96ef3005a25823ed22ee077e SHA1 b61ade9339257b7e5770be04ccba50139d2ef525 SHA256 d2b6af13a4c005dcc2046cee3b2315f596df02c47941d7048906f00f0ead33c4
|
||||
EBUILD pentoo-sources-2.6.37-r6.ebuild 2464 RMD160 73900aff474e9702cee1715bfb99ac977490c9a0 SHA1 0e4509fef7e4104468b90e64f57ccd94e38c669a SHA256 d80d3a4a5c49d7729b4aa037f7b60fba0bb07c01a7294a36068c40480a1d159f
|
||||
EBUILD pentoo-sources-2.6.38-r1.ebuild 2521 RMD160 1f1ec9bbc8233fad85cb17a45c30cd6c14d0a02d SHA1 82d4f4556c0ef882441bd3166512d9869b09ce68 SHA256 cb671a035b911cb7eef4a6325e422f33b3237ef5f2a2a8fff4aef684eef42dea
|
||||
EBUILD pentoo-sources-2.6.38-r2.ebuild 2521 RMD160 883022ff6ad6005a4c479893fa1fd9cfd6fc3243 SHA1 22ac2166fb9f1d829a035fdcde1356f38cc76419 SHA256 a8037645400215ece7d45cdee2d263059e1f684d484f64d905b5b149ac89416e
|
||||
EBUILD pentoo-sources-2.6.38.ebuild 2521 RMD160 c1d50853931039aecb289271d2b172d9b0be4bd1 SHA1 f2610b5a1b706c97246c7e102677636ecbe22f38 SHA256 6460236ec5b40d06152c4057e5b0f1319f27d93fca4dc49bcf3347daf6d627ca
|
||||
|
|
|
|||
74
sys-kernel/pentoo-sources/pentoo-sources-2.6.38-r2.ebuild
Normal file
74
sys-kernel/pentoo-sources/pentoo-sources-2.6.38-r2.ebuild
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=1
|
||||
|
||||
ETYPE="sources"
|
||||
K_WANT_GENPATCHES="base extras"
|
||||
K_GENPATCHES_VER="4"
|
||||
PENPATCHES_VER="2"
|
||||
inherit kernel-2
|
||||
detect_version
|
||||
detect_arch
|
||||
K_SECURITY_UNSUPPORTED="1"
|
||||
|
||||
KEYWORDS="-*"
|
||||
HOMEPAGE="http://dev.pentoo.ch/~jensp/penpatches.xhtml"
|
||||
IUSE="openfile_log +grsec +aufs"
|
||||
DESCRIPTION="Full sources including the Pentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
|
||||
|
||||
PENPATCHES="penpatches-${PV}-${PENPATCHES_VER}.tar.bz2"
|
||||
PENPATCHES_URI="http://dev.pentoo.ch/~jensp/distfiles/${PENPATCHES}"
|
||||
|
||||
HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-3"
|
||||
HGPV_URI="mirror://gentoo/hardened-patches-${HGPV}.extras.tar.bz2"
|
||||
|
||||
UNIPATCH_LIST="${DISTDIR}/${PENPATCHES} ${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2"
|
||||
|
||||
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${PENPATCHES_URI} ${HGPV_URI}"
|
||||
|
||||
pkg_setup() {
|
||||
# We are proud of it, let's show it
|
||||
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 4421_grsec-remove-localversion-grsec.patch"
|
||||
if ! use grsec; then
|
||||
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
|
||||
4440_selinux-avc_audit-log-curr_ip.patch \
|
||||
4423_grsec-remove-protected-paths.patch \
|
||||
4435_grsec-kconfig-gentoo.patch \
|
||||
4425_grsec-pax-without-grsec.patch \
|
||||
4445_disable-compat_vdso.patch \
|
||||
4430_grsec-kconfig-default-gids.patch \
|
||||
4422_grsec-mute-warnings.patch
|
||||
4420_grsecurity-*
|
||||
9999_more_kernel_padding_for_hardened.patch \
|
||||
9999_aufs2.1-grsec.patch"
|
||||
else
|
||||
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
|
||||
9999_more_kernel_padding.patch"
|
||||
fi
|
||||
if ! use aufs ; then
|
||||
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
|
||||
4310_aufs2.1-38.patch \
|
||||
9999_aufs2.1-grsec.patch"
|
||||
fi
|
||||
|
||||
use openfile_log && UNIPATCH_LIST="${UNIPATCH_LIST} ${FILESDIR}/openfile_log-36.patch"
|
||||
#UNIPATCH_LIST="${UNIPATCH_LIST} ${FILESDIR}/9997-desktop-responsiveness_2.6.35_fix.patch"
|
||||
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 4500-new-dect-stack.patch"
|
||||
}
|
||||
|
||||
|
||||
pkg_postinst() {
|
||||
kernel-2_pkg_postinst
|
||||
einfo "For more info on this patchset, and how to report problems, see:"
|
||||
einfo "${HOMEPAGE}"
|
||||
eerror "It may be desired to download the official pentoo kernel config from here:"
|
||||
use x86 && eerror "https://www.pentoo.ch/svn/livecd/trunk/x86/kernel/config-${PV}"
|
||||
use amd64 && eerror "https://www.pentoo.ch/svn/livecd/trunk/amd64/kernel/config-${PV}"
|
||||
if ! version_is_at_least 4.4.3 "$(gcc-fullversion)"; then
|
||||
ewarn "If you are using the pentoo kernel config then you must also install"
|
||||
ewarn "and use >=sys-devel/gcc-4.4.3 to build"
|
||||
epause 3
|
||||
fi
|
||||
}
|
||||
Loading…
Reference in a new issue