pentoo-sources: clean out old

This commit is contained in:
Rick Farina (Zero_Chaos) 2018-05-23 12:48:39 -04:00
parent 58ba68cf10
commit 1f066ad2bc
No known key found for this signature in database
GPG key ID: A5DD1427DD11F94A
10 changed files with 0 additions and 768 deletions

View file

@ -1,47 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
ETYPE="sources"
K_WANT_GENPATCHES="base extras experimental"
K_GENPATCHES_VER="10"
inherit kernel-2
#overwrite that var to fix 404
GENPATCHES_URI=https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-4.13-${K_GENPATCHES_VER}.base.tar.xz
PENPATCHES_VER="1"
PENPATCHES="penpatches-${PV}-${PENPATCHES_VER}.tar.xz"
PENPATCHES_URI="http://dev.pentoo.ch/~zero/distfiles/${PENPATCHES}"
SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI} ${PENPATCHES_URI}"
detect_version
detect_arch
KEYWORDS="amd64 ~x86"
HOMEPAGE="https://github.com/pentoo/pentoo-livecd/tree/master/kernel/${PV}"
IUSE="experimental pax_kernel"
DESCRIPTION="Pentoo kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${PENPATCHES_URI}"
pkg_postinst() {
kernel-2_pkg_postinst
einfo "For more info on this patchset, and how to report problems, see:"
einfo "${HOMEPAGE}"
ewarn "It may be desired to download the official pentoo kernel config from here:"
if use amd64; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/amd64/kernel/config-${PV}"
fi
if use x86; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/x86/kernel/config-${PV}"
fi
use pax_kernel && ewarn "pax_kernel is no longer available, you MUST ensure the use flag is no longer set"
}
pkg_postrm() {
kernel-2_pkg_postrm
}

View file

@ -1,45 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
ETYPE="sources"
K_WANT_GENPATCHES="base extras experimental"
K_GENPATCHES_VER="17"
inherit kernel-2
PENPATCHES_VER="1"
#PENPATCHES="penpatches-${PV}-${PENPATCHES_VER}.tar.xz"
PENPATCHES="penpatches-4.13.8-${PENPATCHES_VER}.tar.xz"
PENPATCHES_URI="http://dev.pentoo.ch/~zero/distfiles/${PENPATCHES}"
SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI} ${PENPATCHES_URI}"
detect_version
detect_arch
KEYWORDS="~amd64 ~x86"
HOMEPAGE="https://github.com/pentoo/pentoo-livecd/tree/master/kernel/${PV}"
IUSE="experimental pax_kernel"
DESCRIPTION="Pentoo kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${PENPATCHES_URI}"
pkg_postinst() {
kernel-2_pkg_postinst
einfo "For more info on this patchset, and how to report problems, see:"
einfo "${HOMEPAGE}"
ewarn "It may be desired to download the official pentoo kernel config from here:"
if use amd64; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/amd64/kernel/config-${PV}"
fi
if use x86; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/x86/kernel/config-${PV}"
fi
use pax_kernel && ewarn "pax_kernel is no longer available, you MUST ensure the use flag is no longer set"
}
pkg_postrm() {
kernel-2_pkg_postrm
}

View file

@ -1,41 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
ETYPE="sources"
K_WANT_GENPATCHES="base extras experimental"
K_GENPATCHES_VER="20"
inherit kernel-2
detect_version
detect_arch
KEYWORDS="amd64 x86"
HOMEPAGE="https://github.com/pentoo/pentoo-livecd/tree/master/kernel/4.13.8"
IUSE="experimental pax_kernel"
DESCRIPTION="Pentoo kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
PENPATCHES_VER="1"
PENPATCHES="penpatches-4.13.8-${PENPATCHES_VER}.tar.xz"
PENPATCHES_URI="http://dev.pentoo.ch/~zero/distfiles/${PENPATCHES}"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${PENPATCHES_URI}"
pkg_postinst() {
kernel-2_pkg_postinst
einfo "For more info on this patchset, and how to report problems, see:"
einfo "${HOMEPAGE}"
ewarn "It may be desired to download the official pentoo kernel config from here:"
if use amd64; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/amd64/kernel/config-${PV}"
fi
if use x86; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/x86/kernel/config-${PV}"
fi
use pax_kernel && ewarn "pax_kernel is no longer available, you MUST ensure the use flag is no longer set"
}
pkg_postrm() {
kernel-2_pkg_postrm
}

View file

@ -1,41 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
ETYPE="sources"
K_WANT_GENPATCHES="base extras experimental"
K_GENPATCHES_VER="5"
inherit kernel-2
detect_version
detect_arch
KEYWORDS="amd64 x86"
HOMEPAGE="https://github.com/pentoo/pentoo-livecd/tree/master/kernel/4.13.8"
IUSE="experimental pax_kernel"
DESCRIPTION="Pentoo kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
PENPATCHES_VER="1"
PENPATCHES="penpatches-4.13.8-${PENPATCHES_VER}.tar.xz"
PENPATCHES_URI="http://dev.pentoo.ch/~zero/distfiles/${PENPATCHES}"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${PENPATCHES_URI}"
pkg_postinst() {
kernel-2_pkg_postinst
einfo "For more info on this patchset, and how to report problems, see:"
einfo "${HOMEPAGE}"
ewarn "It may be desired to download the official pentoo kernel config from here:"
if use amd64; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/amd64/kernel/config-${PV}"
fi
if use x86; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/x86/kernel/config-${PV}"
fi
use pax_kernel && ewarn "pax_kernel is no longer available, you MUST ensure the use flag is no longer set"
}
pkg_postrm() {
kernel-2_pkg_postrm
}

View file

@ -1,95 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
ETYPE="sources"
K_WANT_GENPATCHES="base"
K_GENPATCHES_VER="3"
K_DEBLOB_AVAILABLE="1"
inherit kernel-2
detect_version
HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1"
HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
PENPATCHES_VER="1"
PENPATCHES="penpatches-${PV}-${PENPATCHES_VER}.tar.xz"
PENPATCHES_URI="http://dev.pentoo.ch/~zero/distfiles/${PENPATCHES}"
SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI} ${PENPATCHES_URI}"
UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2 ${DISTDIR}/${PENPATCHES}"
DESCRIPTION="Pentoo kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
HOMEPAGE="https://github.com/pentoo/pentoo-livecd/tree/master/kernel/${PV}"
#IUSE="aufs deblob injection openfile_log pax_kernel"
IUSE="aufs deblob injection pax_kernel"
KEYWORDS="~amd64 ~x86"
DEPEND=">=sys-devel/gcc-4.5"
PDEPEND="=sys-apps/gradm-3.1*"
pkg_setup() {
# We are proud of it, let's show it
UNIPATCH_EXCLUDE="4421_grsec-remove-localversion-grsec.patch"
if ! use pax_kernel; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4427_force_XATTR_PAX_tmpfs.patch \
4440_selinux-avc_audit-log-curr_ip.patch \
4475_emutramp_default_on.patch \
44??-grsec* \
44??_grsec* \
4445_disable-compat_vdso.patch \
4420_grsecurity-* \
4465_selinux-avc_audit-log-curr_ip.patch \
4470_disable-compat_vdso.patch \
4508_aufs4-mmap-pax.patch \
4511_pax-4.4.2.patch"
else
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
1500_XATTR_USER_PREFIX.patch \
2900_dev-root-proc-mount-fix.patch \
4508_aufs4-mmap.patch \
4400_logo_larry_the_cow.patch"
fi
if ! use aufs ; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4506_aufs4-kbuild.patch \
4507_aufs4-base.patch \
4508_aufs4-mmap.patch \
4508_aufs4-mmap-pax.patch \
4509_aufs4-standalone.patch \
4510_aufs4-files.patch \
4511_pax-4.4.2.patch"
fi
if ! use injection ; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4002_mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch \
4004_zd1211rw-inject+dbi-fix-4.4ish.patch \
4005_ipw2200-inject.3.4.6.patch"
fi
#use openfile_log && UNIPATCH_LIST="${UNIPATCH_LIST} ${FILESDIR}/openfile_log-36.patch"
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 4500-new-dect-stack.patch"
}
pkg_postinst() {
kernel-2_pkg_postinst
ewarn "It may be desired to download the official pentoo kernel config from here:"
if use amd64; then
if use pax_kernel; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/amd64/kernel/config-${PV}"
else
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/amd64/kernel/config-${PV}-soft"
fi
fi
if use x86; then
if use pax_kernel; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/x86/kernel/config-${PV}"
else
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/x86/kernel/config-${PV}-soft"
fi
fi
}

View file

@ -1,95 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
ETYPE="sources"
K_WANT_GENPATCHES="base"
K_GENPATCHES_VER="9"
K_DEBLOB_AVAILABLE="1"
inherit kernel-2
detect_version
HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-2"
HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
PENPATCHES_VER="2"
PENPATCHES="penpatches-${PV}-${PENPATCHES_VER}.tar.xz"
PENPATCHES_URI="http://dev.pentoo.ch/~zero/distfiles/${PENPATCHES}"
SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI} ${PENPATCHES_URI}"
UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2 ${DISTDIR}/${PENPATCHES}"
DESCRIPTION="Pentoo kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
HOMEPAGE="https://github.com/pentoo/pentoo-livecd/tree/master/kernel/${PV}"
#IUSE="aufs deblob injection openfile_log pax_kernel"
IUSE="aufs deblob injection pax_kernel"
KEYWORDS="amd64 x86"
DEPEND=">=sys-devel/gcc-4.5"
PDEPEND="=sys-apps/gradm-3.1*"
pkg_setup() {
# We are proud of it, let's show it
UNIPATCH_EXCLUDE="4421_grsec-remove-localversion-grsec.patch"
if ! use pax_kernel; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4427_force_XATTR_PAX_tmpfs.patch \
4440_selinux-avc_audit-log-curr_ip.patch \
4475_emutramp_default_on.patch \
44??-grsec* \
44??_grsec* \
4445_disable-compat_vdso.patch \
4420_grsecurity-* \
4465_selinux-avc_audit-log-curr_ip.patch \
4470_disable-compat_vdso.patch \
4508_aufs4-mmap-pax.patch \
4511_pax-4.4.2.patch"
else
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
1500_XATTR_USER_PREFIX.patch \
2900_dev-root-proc-mount-fix.patch \
4508_aufs4-mmap.patch \
4400_logo_larry_the_cow.patch"
fi
if ! use aufs ; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4506_aufs4-kbuild.patch \
4507_aufs4-base.patch \
4508_aufs4-mmap.patch \
4508_aufs4-mmap-pax.patch \
4509_aufs4-standalone.patch \
4510_aufs4-files.patch \
4511_pax-4.4.2.patch"
fi
if ! use injection ; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4002_mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch \
4004_zd1211rw-inject+dbi-fix-4.4ish.patch \
4005_ipw2200-inject.3.4.6.patch"
fi
#use openfile_log && UNIPATCH_LIST="${UNIPATCH_LIST} ${FILESDIR}/openfile_log-36.patch"
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 4500-new-dect-stack.patch"
}
pkg_postinst() {
kernel-2_pkg_postinst
ewarn "It may be desired to download the official pentoo kernel config from here:"
if use amd64; then
if use pax_kernel; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/amd64/kernel/config-${PV}"
else
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/amd64/kernel/config-${PV}-soft"
fi
fi
if use x86; then
if use pax_kernel; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/x86/kernel/config-${PV}"
else
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/x86/kernel/config-${PV}-soft"
fi
fi
}

View file

@ -1,96 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
ETYPE="sources"
K_WANT_GENPATCHES="base"
K_GENPATCHES_VER="8"
K_DEBLOB_AVAILABLE="1"
inherit kernel-2
detect_version
HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1"
HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
PENPATCHES_VER="1"
PENPATCHES="penpatches-${PV}-${PENPATCHES_VER}.tar.xz"
PENPATCHES_URI="http://dev.pentoo.ch/~zero/distfiles/${PENPATCHES}"
SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI} ${PENPATCHES_URI}"
UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2 ${DISTDIR}/${PENPATCHES}"
DESCRIPTION="Pentoo kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
HOMEPAGE="https://github.com/pentoo/pentoo-livecd/tree/master/kernel/${PV}"
#IUSE="aufs deblob injection openfile_log pax_kernel"
IUSE="aufs deblob injection pax_kernel"
KEYWORDS="amd64 x86"
DEPEND=">=sys-devel/gcc-4.5"
PDEPEND="=sys-apps/gradm-3.1*"
pkg_setup() {
# We are proud of it, let's show it
UNIPATCH_EXCLUDE="4421_grsec-remove-localversion-grsec.patch"
if ! use pax_kernel; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4427_force_XATTR_PAX_tmpfs.patch \
4440_selinux-avc_audit-log-curr_ip.patch \
4475_emutramp_default_on.patch \
44??-grsec* \
44??_grsec* \
4445_disable-compat_vdso.patch \
4420_grsecurity-* \
4465_selinux-avc_audit-log-curr_ip.patch \
4470_disable-compat_vdso.patch \
4508_aufs4-mmap-pax.patch \
4511_pax-4.4.2.patch
"
else
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
1500_XATTR_USER_PREFIX.patch \
2900_dev-root-proc-mount-fix.patch \
4508_aufs4-mmap.patch \
4400_logo_larry_the_cow.patch"
fi
if ! use aufs ; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4506_aufs4-kbuild.patch \
4507_aufs4-base.patch \
4508_aufs4-mmap.patch \
4508_aufs4-mmap-pax.patch \
4509_aufs4-standalone.patch \
4510_aufs4-files.patch \
4511_pax-4.4.2.patch"
fi
if ! use injection ; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4002_mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch \
4004_zd1211rw-inject+dbi-fix-4.4ish.patch \
4005_ipw2200-inject.3.4.6.patch"
fi
#use openfile_log && UNIPATCH_LIST="${UNIPATCH_LIST} ${FILESDIR}/openfile_log-36.patch"
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 4500-new-dect-stack.patch"
}
pkg_postinst() {
kernel-2_pkg_postinst
ewarn "It may be desired to download the official pentoo kernel config from here:"
if use amd64; then
if use pax_kernel; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/amd64/kernel/config-${PV}"
else
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/amd64/kernel/config-${PV}-soft"
fi
fi
if use x86; then
if use pax_kernel; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/x86/kernel/config-${PV}"
else
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/x86/kernel/config-${PV}-soft"
fi
fi
}

View file

@ -1,96 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
ETYPE="sources"
K_WANT_GENPATCHES="base"
K_GENPATCHES_VER="7"
K_DEBLOB_AVAILABLE="1"
inherit kernel-2
detect_version
HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1"
HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
PENPATCHES_VER="2"
PENPATCHES="penpatches-${PV}-${PENPATCHES_VER}.tar.xz"
PENPATCHES_URI="http://dev.pentoo.ch/~zero/distfiles/${PENPATCHES}"
SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI} ${PENPATCHES_URI}"
UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2 ${DISTDIR}/${PENPATCHES}"
DESCRIPTION="Pentoo kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
HOMEPAGE="https://github.com/pentoo/pentoo-livecd/tree/master/kernel/${PV}"
#IUSE="aufs deblob injection openfile_log pax_kernel"
IUSE="aufs deblob injection pax_kernel"
KEYWORDS="amd64 x86"
DEPEND=">=sys-devel/gcc-4.5"
PDEPEND="=sys-apps/gradm-3.1*"
pkg_setup() {
# We are proud of it, let's show it
UNIPATCH_EXCLUDE="4421_grsec-remove-localversion-grsec.patch"
if ! use pax_kernel; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4427_force_XATTR_PAX_tmpfs.patch \
4440_selinux-avc_audit-log-curr_ip.patch \
4475_emutramp_default_on.patch \
44??-grsec* \
44??_grsec* \
4445_disable-compat_vdso.patch \
4420_grsecurity-* \
4465_selinux-avc_audit-log-curr_ip.patch \
4470_disable-compat_vdso.patch \
4508_aufs4-mmap-pax.patch \
4511_pax-4.4.2.patch
"
else
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
1500_XATTR_USER_PREFIX.patch \
2900_dev-root-proc-mount-fix.patch \
4508_aufs4-mmap.patch \
4400_logo_larry_the_cow.patch"
fi
if ! use aufs ; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4506_aufs4-kbuild.patch \
4507_aufs4-base.patch \
4508_aufs4-mmap.patch \
4508_aufs4-mmap-pax.patch \
4509_aufs4-standalone.patch \
4510_aufs4-files.patch \
4511_pax-4.4.2.patch"
fi
if ! use injection ; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4002_mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch \
4004_zd1211rw-inject+dbi-fix-4.4ish.patch \
4005_ipw2200-inject.3.4.6.patch"
fi
#use openfile_log && UNIPATCH_LIST="${UNIPATCH_LIST} ${FILESDIR}/openfile_log-36.patch"
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 4500-new-dect-stack.patch"
}
pkg_postinst() {
kernel-2_pkg_postinst
ewarn "It may be desired to download the official pentoo kernel config from here:"
if use amd64; then
if use pax_kernel; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/amd64/kernel/config-${PV}"
else
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/amd64/kernel/config-${PV}-soft"
fi
fi
if use x86; then
if use pax_kernel; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/x86/kernel/config-${PV}"
else
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/x86/kernel/config-${PV}-soft"
fi
fi
}

View file

@ -1,106 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
ETYPE="sources"
K_WANT_GENPATCHES="base"
K_GENPATCHES_VER="18"
K_DEBLOB_AVAILABLE="1"
inherit kernel-2
detect_version
HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-3"
HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
PENPATCHES_VER="1"
#PENPATCHES="penpatches-${PV}-${PENPATCHES_VER}.tar.xz"
PENPATCHES="penpatches-4.7.10-${PENPATCHES_VER}.tar.xz"
PENPATCHES_URI="http://dev.pentoo.ch/~zero/distfiles/${PENPATCHES}"
SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI} ${PENPATCHES_URI}"
UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2 ${DISTDIR}/${PENPATCHES}"
DESCRIPTION="Pentoo kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
HOMEPAGE="https://github.com/pentoo/pentoo-livecd/tree/master/kernel/${PV}"
IUSE="aufs deblob injection pax_kernel"
IUSE="deblob injection pax_kernel"
KEYWORDS="~amd64 ~x86"
RDEPEND=">=sys-devel/gcc-4.5"
pkg_setup() {
# We are proud of it, let's show it
UNIPATCH_EXCLUDE="4421_grsec-remove-localversion-grsec.patch"
if ! use pax_kernel; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4426_default_XATTR_PAX_FLAGS.patch
4427_force_XATTR_PAX_tmpfs.patch \
4440_selinux-avc_audit-log-curr_ip.patch \
4475_emutramp_default_on.patch \
44??-grsec* \
44??_grsec* \
4445_disable-compat_vdso.patch \
4420_grsecurity-* \
4465_selinux-avc_audit-log-curr_ip.patch \
4470_disable-compat_vdso.patch \
4508_aufs4-mmap-pax.patch \
4511_pax-4.4.2.patch
"
else
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
1500_XATTR_USER_PREFIX.patch \
2900_dev-root-proc-mount-fix.patch \
4508_aufs4-mmap.patch \
4400_logo_larry_the_cow.patch"
fi
if ! use aufs ; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4506_aufs4-kbuild.patch \
4507_aufs4-base.patch \
4508_aufs4-mmap.patch \
4508_aufs4-mmap-pax.patch \
4509_aufs4-standalone.patch \
4510_aufs4-files.patch \
4511_pax-4.4.2.patch"
fi
if ! use injection ; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4002_mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch \
4004_zd1211rw-inject+dbi-fix-4.4ish.patch \
4005_ipw2200-inject.3.4.6.patch"
fi
#use openfile_log && UNIPATCH_LIST="${UNIPATCH_LIST} ${FILESDIR}/openfile_log-36.patch"
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 4500-new-dect-stack.patch"
}
pkg_postinst() {
kernel-2_pkg_postinst
local GRADM_COMPAT="sys-apps/gradm-3.1*"
ewarn
ewarn "Users of grsecurity's RBAC system must ensure they are using"
ewarn "${GRADM_COMPAT}, which is compatible with ${PF}."
ewarn "It is strongly recommended that the following command is issued"
ewarn "prior to booting a ${PF} kernel for the first time:"
ewarn
ewarn "emerge -na =${GRADM_COMPAT}"
ewarn
ewarn "It may be desired to download the official pentoo kernel config from here:"
if use amd64; then
if use pax_kernel; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/amd64/kernel/config-${PV}"
else
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/amd64/kernel/config-${PV}-soft"
fi
fi
if use x86; then
if use pax_kernel; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/x86/kernel/config-${PV}"
else
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/x86/kernel/config-${PV}-soft"
fi
fi
}

View file

@ -1,106 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
ETYPE="sources"
K_WANT_GENPATCHES="base"
K_GENPATCHES_VER="24"
K_DEBLOB_AVAILABLE="1"
inherit kernel-2
detect_version
HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1"
HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
PENPATCHES_VER="1"
#PENPATCHES="penpatches-${PV}-${PENPATCHES_VER}.tar.xz"
PENPATCHES="penpatches-4.7.10-${PENPATCHES_VER}.tar.xz"
PENPATCHES_URI="http://dev.pentoo.ch/~zero/distfiles/${PENPATCHES}"
SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI} ${PENPATCHES_URI}"
UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2 ${DISTDIR}/${PENPATCHES}"
DESCRIPTION="Pentoo kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
HOMEPAGE="https://github.com/pentoo/pentoo-livecd/tree/master/kernel/${PV}"
IUSE="aufs deblob injection pax_kernel"
#aufs is broken, fix it before keywording
KEYWORDS="~amd64 ~x86"
RDEPEND=">=sys-devel/gcc-4.5"
pkg_setup() {
# We are proud of it, let's show it
UNIPATCH_EXCLUDE="4421_grsec-remove-localversion-grsec.patch"
if ! use pax_kernel; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4426_default_XATTR_PAX_FLAGS.patch
4427_force_XATTR_PAX_tmpfs.patch \
4440_selinux-avc_audit-log-curr_ip.patch \
4475_emutramp_default_on.patch \
44??-grsec* \
44??_grsec* \
4445_disable-compat_vdso.patch \
4420_grsecurity-* \
4465_selinux-avc_audit-log-curr_ip.patch \
4470_disable-compat_vdso.patch \
4508_aufs4-mmap-pax.patch \
4511_pax-4.4.2.patch
"
else
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
1500_XATTR_USER_PREFIX.patch \
2900_dev-root-proc-mount-fix.patch \
4508_aufs4-mmap.patch \
4400_logo_larry_the_cow.patch"
fi
if ! use aufs ; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4506_aufs4-kbuild.patch \
4507_aufs4-base.patch \
4508_aufs4-mmap.patch \
4508_aufs4-mmap-pax.patch \
4509_aufs4-standalone.patch \
4510_aufs4-files.patch \
4511_pax-4.4.2.patch"
fi
if ! use injection ; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4002_mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch \
4004_zd1211rw-inject+dbi-fix-4.4ish.patch \
4005_ipw2200-inject.3.4.6.patch"
fi
#use openfile_log && UNIPATCH_LIST="${UNIPATCH_LIST} ${FILESDIR}/openfile_log-36.patch"
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 4500-new-dect-stack.patch"
}
pkg_postinst() {
kernel-2_pkg_postinst
local GRADM_COMPAT="sys-apps/gradm-3.1*"
ewarn
ewarn "Users of grsecurity's RBAC system must ensure they are using"
ewarn "${GRADM_COMPAT}, which is compatible with ${PF}."
ewarn "It is strongly recommended that the following command is issued"
ewarn "prior to booting a ${PF} kernel for the first time:"
ewarn
ewarn "emerge -na =${GRADM_COMPAT}"
ewarn
ewarn "It may be desired to download the official pentoo kernel config from here:"
if use amd64; then
if use pax_kernel; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/amd64/kernel/config-${PV}"
else
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/amd64/kernel/config-${PV}-soft"
fi
fi
if use x86; then
if use pax_kernel; then
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/x86/kernel/config-${PV}"
else
ewarn "https://github.com/pentoo/pentoo-livecd/tree/master/livecd/x86/kernel/config-${PV}-soft"
fi
fi
}