commit d3e6e20fc0232916f002ba779afc347b2661cc33
parent 8c20cb46b457832d0d648421691a85cef34cefa2
Author: parazyd <parazyd@dyne.org>
Date: Sun, 10 Sep 2017 01:28:01 +0200
sys-kernel/minipli-sources: Patch to fix gcc6+musl builds.
Diffstat:
3 files changed, 47 insertions(+), 43 deletions(-)
diff --git a/sys-kernel/minipli-sources/Manifest b/sys-kernel/minipli-sources/Manifest
@@ -1,5 +1,6 @@
DIST deblob-4.9 146273 SHA256 af4214b851928a53ef470ed8729122b9db910a6c0769d5d46a5de0b3e96f74f3 SHA512 3654b28e72b343bafdb38de10ef0c3621db0539bc0e7434bc99bb8f8ed911d4c9e53ca4785fd193fcfec369328f014fa5c6f3bda51b6f1a8f98b8c37ece119a6 WHIRLPOOL 7b5ddba1469b6515d03d2e0e91a643ab0252803fde271ca710978186582a2f1a3b01deab9718c194bcdae0a79887636b6e98e604305402c9051b15a89fd393df
DIST deblob-check-4.9 717834 SHA256 4599c6eabd53bb352e9b536d574152e72467548add19757fc6b8e34355928d6b SHA512 46258698f1c574b44a8c5c78cc2b7fdbaca746976266974ee0f6787904531754b17ad15d542b68e07d4633ee91a8e2d9c32a991ea214292ac072c4f26deed9c9 WHIRLPOOL f1afe1f8d8bcd6fc43a01da5eb012d117687418f049212fe20fe7ea88700c482bc6fd3e917102ff9d12baf11e678a40355877a7d214da8b3cbf2b585a51a012e
DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a
+DIST minipli-sources-extras.tar.gz 598 SHA256 c5281ef69601982f6f0c3274959f91a0d330d0913136e8cb21665128d0c6afdd SHA512 2aed5ca624afbf8b98d580960f02bc1dc613bc8854cd1f6da04816c69d4d5fce4ec284dd2cc105c681efed2106879598be13cc1183b10d0dae62a3c6af8d2683 WHIRLPOOL 40669dddc203dba76350bbf0c5f915c6b03d4a64302d90fe391d561684f368dc50aed6ad2ec095c7a4bcccbd26008c2e52309b2eebf148929592af35e1857ca6
DIST patch-4.9.48.xz 940352 SHA256 ccd4bffd522be84762f190137830ac6c315207401e296f7f2e92c429e6218ac7 SHA512 77e8ef846c46951d67a5de3b73273a0362174d82a0ebcdc619ba3e1b87a335c30585d8edc5e99efa16e025e85aa7b6197b060b804fd0f3c25be673c825785d9b WHIRLPOOL b671569b9b1cc17c1a255f1da0a278614d3dcb4092bd62d31dd7e67938255c6837957882784f012738210c15e6ab2b33cf79742486475a8aa54907afecf277f5
DIST v4.9.48-unofficial_grsec-20170907102433.diff 8813140 SHA256 936c777b8df6dfb2377bc9cb46050a01611df44848af3262202d3d4954af6c3f SHA512 502d499756270e4e7a07a9c65847fd4c86a1e9d67bf68ea2cf879870769d0ab256d053c8ac54cd0eab319f4b88c3f09308668b42e532bb685599510a0092bf16 WHIRLPOOL 613acca2d3e0c6d1d7f8ec0a1f73013ed9de2a9cc09ddc0054db52c484fcaaa1788d163f38f68618a42c64d5eefdae3e9ff48ed34def70d071333f6be15e5c85
diff --git a/sys-kernel/minipli-sources/minipli-sources-4.9.48-r1.ebuild b/sys-kernel/minipli-sources/minipli-sources-4.9.48-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+ETYPE="sources"
+K_DEBLOB_AVAILABLE="1"
+
+inherit kernel-2
+detect_version
+
+DESCRIPTION="unofficial grsec kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
+HOMEPAGE="https://github.com/minipli/linux-unofficial_grsec/"
+IUSE="deblob"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND=">=sys-devel/gcc-4.9"
+
+GRSEC_DATE="20170907102433"
+GRSEC_BASE_URL="https://github.com/minipli/linux-unofficial_grsec/releases/download"
+GRSEC_VERS_URL="${GRSEC_BASE_URL}/v${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-unofficial_grsec"
+GRSEC_FILE="v${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-unofficial_grsec-${GRSEC_DATE}.diff"
+GRSEC_URI="${GRSEC_VERS_URL}/${GRSEC_FILE}"
+
+EXTRAS_URI="https://pub.parazyd.cf/mirror/gentoo/patches/minipli-sources-extras.tar.gz"
+
+SRC_URI="${KERNEL_URI} ${GRSEC_URI} ${EXTRAS_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/${GRSEC_FILE} ${DISTDIR}/minipli-sources-extras.tar.gz"
+UNIPATCH_STRICTORDER=1
+
+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
+}
diff --git a/sys-kernel/minipli-sources/minipli-sources-4.9.48.ebuild b/sys-kernel/minipli-sources/minipli-sources-4.9.48.ebuild
@@ -1,43 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-ETYPE="sources"
-K_DEBLOB_AVAILABLE="1"
-
-inherit kernel-2
-detect_version
-
-DESCRIPTION="unofficial grsec kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
-HOMEPAGE="https://github.com/minipli/linux-unofficial_grsec/"
-IUSE="deblob"
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-
-RDEPEND=">=sys-devel/gcc-4.5"
-
-GRSEC_DATE="20170907102433"
-GRSEC_BASE_URL="https://github.com/minipli/linux-unofficial_grsec/releases/download"
-GRSEC_VERS_URL="${GRSEC_BASE_URL}/v${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-unofficial_grsec"
-GRSEC_FILE="v${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-unofficial_grsec-${GRSEC_DATE}.diff"
-GRSEC_URI="${GRSEC_VERS_URL}/${GRSEC_FILE}"
-
-SRC_URI="${KERNEL_URI} ${GRSEC_URI}"
-
-UNIPATCH_LIST="${DISTDIR}/${GRSEC_FILE}"
-
-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
-}