Gentoo Archives: gentoo-commits

From: Mike Pagano <mpagano@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/gentoo-sources/
Date: Wed, 13 Sep 2017 15:16:24
Message-Id: 1505315772.142a767ee90f4cf90a47ba506614e33cff47ce8d.mpagano@gentoo
commit:     142a767ee90f4cf90a47ba506614e33cff47ce8d
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 13 15:16:05 2017 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Wed Sep 13 15:16:12 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=142a767e

sys-kernel/gentoo-sources: Validate the output buffer length for L2CAP config reqs and resps to avoid stack buffer overflowing. CVE-2017-1000251. See bug #630840

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 sys-kernel/gentoo-sources/Manifest                 |  3 +++
 .../gentoo-sources/gentoo-sources-4.4.87-r1.ebuild | 28 ++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/sys-kernel/gentoo-sources/Manifest b/sys-kernel/gentoo-sources/Manifest
index 6648ef11595..7af2bf52e60 100644
--- a/sys-kernel/gentoo-sources/Manifest
+++ b/sys-kernel/gentoo-sources/Manifest
@@ -43,6 +43,9 @@ DIST genpatches-4.4-89.extras.tar.xz 16464 SHA256 30be388534caef67e26fbac0a706aa
 DIST genpatches-4.4-90.base.tar.xz 1426196 SHA256 4868ff14883cb43ebadefac4369cc9e9d12da9616855fb929adfbe8f5391aa8a SHA512 819c8aeb4c942714d9a919495c322b46e9d51a29e75a14b1e24f8d6ef25ef8b7dade5a7e76e2e669b38ae2002e6f67c5989fb68bfcb249a65037721f66cf2c0d WHIRLPOOL 40b4be3914a27679140ee4c7a2ec28527c9b82746c202245e9fd5d70c601a963c8a0ff704466ce7d33f5d24ebcd3b966d976142d9bb2d5da6dd65cdb9e88e783
 DIST genpatches-4.4-90.experimental.tar.xz 87740 SHA256 997299561c2504c1aeea235b999e1fa2bbc7a55828bdc0493e33f30cbafe1ebc SHA512 f4a7fa34e8efc50784c6d48412f40fcb354e68f798213b7ef245a5b1a3c38dbe4d6b80388b269a9bbf29855e6a26898f7337b47872ffb9a4c11bed17fc9e90e6 WHIRLPOOL d8d697b64922635e101215c94739f4bf254a8b657157917734f5884d3687ec657f75e47dd77ab66f089b82244d5774c5d64d934642fa70883d1e44690d0c407f
 DIST genpatches-4.4-90.extras.tar.xz 16456 SHA256 c8fe8d1d074cd367183449ce0db22031aa72917c40e8123f82515bb4c31a6057 SHA512 ba25db356fcd68f54a8e08bec1b15a8e4c71a715e1fd7b2c9960ef26b0f0ddad92d65b7dbf921e66bfd7d052879296925debaef8dc3e63f40243a14dabda7e4a WHIRLPOOL 4023b6af1abca708a3cc69039f4dd2ea9f5d3a598f88e1d81942743522a5d52260bcf30b18c120b2b155179efdbb3d6a3830345ec1fa78ce641ef84f2e3546e0
+DIST genpatches-4.4-91.base.tar.xz 1428436 SHA256 d6c806bd868856a9021b35d0bc3ced37029c8803846d6b251fe7fefadfe46c69 SHA512 cdddd25be04b33558f7ebcee66df992aae38f29181474ebed82958d4d50639097b4a82eaf256d7b3576bfcd0cd3fe7682956e1d2cdbdb912d47fe86205d9b554 WHIRLPOOL 8de12e7bdba76256e8fc41738605bbe961fa3fa0ccbe1fccaf0c8cb3708c692bb65a27db7675e42ce5558a22c81b9017742b14d6776ee2b93f4d1d92535942a9
+DIST genpatches-4.4-91.experimental.tar.xz 87760 SHA256 e04a99c94b4dd9f5856dd08ed4b286b19c765d8d0fe40237dce256f7c874dbf8 SHA512 0bbc83e076d45da1d0258bfd7f6acf6170e99891a9a857b2552f3a0fcefff4f318a8c5c8779591b0bb654760f905530de18723f2ba960618eae59a1b7219c28f WHIRLPOOL fb6306af0191198d466b3349c348139342a70de118bcce0563e3209a7ead8a9d56291f3a4155ba4a4d211db8fc1e20ddec3a3b463d62fff5375df823646f7b02
+DIST genpatches-4.4-91.extras.tar.xz 16468 SHA256 6cc85cbae6d2ccf087104b5f719abf10d186d3b630572caeb1906c344c66de76 SHA512 229922945fcb882a0cb7dcba8bac9de51683690462a8df59e181a03d702fcb1c9b54078c5434624b4a197c481f0bb9b73dca58456ef5a5884a30bfd3644dfd6d WHIRLPOOL 81f8fa1676856f0941bc6d09e7e602d2213740bed6edc914d9341bad590650d5a5249fd8bbd2d640380a638ce2a12fd4ec66e0c3753c8d9d22c1fa2c3f07aacb
 DIST genpatches-4.9-35.base.tar.xz 784760 SHA256 8af30b82a2065351a1339a2ee4ee68483f09723b9d227e3f8dc211198ae6aac3 SHA512 d75c36e17fc32ed8cbde8747e77045cb41a365e5276a11861ee2b7255b5f41b9e1435859452227d19591c1387a56ca18f07305e3c70aaaefb596961ee0473c2a WHIRLPOOL 014ed90fd4d6046b0983d5389fabf7436c5b5333deeab64f7e78f6aa2d44817b93a3404ede2411910cb36ceb45b1e5fddec656de2f4a4e6b6a986bd3f1a03211
 DIST genpatches-4.9-35.experimental.tar.xz 106392 SHA256 7d37afac8eac9662881206341b11c9a0c3c0705a9c5a805fc57acad796bf6fb8 SHA512 8c5e920875d7390a1168172a6deeb54c09100f82b4536eb890df93ed32f031664e9e340f2db7d84f014f1b88bc97eae66adb554115e20dbade9d9d856e8bcd65 WHIRLPOOL d23d1d18b97aefed1972d3a0c4c6272ec669eafc6866f63a4f1c88b37500054c5f2dc97a12c93a33201e3a9eef0914a4c76369155e332aa5da90ef5ef6c67a1f
 DIST genpatches-4.9-35.extras.tar.xz 17348 SHA256 33e2bb26e7d22e95ac9cbdbee17a237ce9e07fcf249aad12ed6ebdcf3d9d0a98 SHA512 abaccadd70bbb34f1a7f28f332f38a54e035afa96be6b0d3d3e1daa16898743d4cf004225bf52287e0a6ea305492d59d76f8f40871dcf00de7ff965ce0d97f10 WHIRLPOOL f1ec67a941fc6bf31cd1e3290fe67bf136c23881ed4c835e623afdb6a9d05c2f662fe53113215a019bd7b0217cdb40d9dd328b4dfcb2b6c1525656d870579f59

diff --git a/sys-kernel/gentoo-sources/gentoo-sources-4.4.87-r1.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-4.4.87-r1.ebuild
new file mode 100644
index 00000000000..49a3cccfad1
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-4.4.87-r1.ebuild
@@ -0,0 +1,28 @@
+# 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="91"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+
+pkg_postinst() {
+	kernel-2_pkg_postinst
+	einfo "For more info on this patchset, and how to report problems, see:"
+	einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+	kernel-2_pkg_postrm
+}