diff options
author | 2009-12-14 19:06:52 +0000 | |
---|---|---|
committer | 2009-12-14 19:06:52 +0000 | |
commit | 6afbb757b2fb9bae0c8bf5101e765cdc4fb8ee77 (patch) | |
tree | 838d2f683e2b767acdb9edbb730b753156553206 | |
parent | Bump kernel-check 0.3.16 (diff) | |
download | overlay-6afbb757b2fb9bae0c8bf5101e765cdc4fb8ee77.tar.gz overlay-6afbb757b2fb9bae0c8bf5101e765cdc4fb8ee77.tar.bz2 overlay-6afbb757b2fb9bae0c8bf5101e765cdc4fb8ee77.zip |
Patching kernel-check 0.3.16
svn path=/overlay/; revision=104
-rw-r--r-- | app-admin/kernel-check/Manifest | 4 | ||||
-rw-r--r-- | app-admin/kernel-check/files/kernel-check-0.3.16-kerneldir.patch | 25 | ||||
-rw-r--r-- | app-admin/kernel-check/kernel-check-0.3.16-r1.ebuild (renamed from app-admin/kernel-check/kernel-check-0.3.14.ebuild) | 6 | ||||
-rw-r--r-- | app-admin/kernel-check/kernel-check-0.3.16.ebuild | 30 |
4 files changed, 33 insertions, 32 deletions
diff --git a/app-admin/kernel-check/Manifest b/app-admin/kernel-check/Manifest index 2210bcf..80980a2 100644 --- a/app-admin/kernel-check/Manifest +++ b/app-admin/kernel-check/Manifest @@ -1,7 +1,7 @@ -DIST kernel-check-0.3.14.tar.bz2 13894 RMD160 a07950eacc32fbb8804e1404fe9f8b1a9573c60c SHA1 3a01c1ab4b6d1f2016d8add8beeb24dade0b759d SHA256 dfab199acd5f8d00b3d012dad2e2fdfc23a7d9ab863960c448b4e3ad285cd2ca +AUX kernel-check-0.3.16-kerneldir.patch 1000 RMD160 ce23570239915400d8d1aa886c0f09facb5844b4 SHA1 827f798746304e3e0c64356efba452a881bc2827 SHA256 a80a45f0436fe98f285597eb652c30ca2cdb098373ac0606e400f1807ff330ee DIST kernel-check-0.3.15.tar.bz2 14294 RMD160 8805b5cf98d6e9221d8dd4d82c3ebad40f68bae4 SHA1 ed21c3c4192212a815d73906c5866bfe56567bc3 SHA256 1a203bcecbc404594814db04661a115009544a0c7426db953d55e0a45870f6f6 DIST kernel-check-0.3.16.tar.bz2 8119 RMD160 425cfd315d1de9f338a09001e3c70e88b17889ca SHA1 4e89f2e4bcdb84243692110dfa8f3a60644a7c06 SHA256 beabb99a4281f6e139c13b1d7a1e2f4f13b79c7a1faaa80f74f9994a32156364 -EBUILD kernel-check-0.3.14.ebuild 553 RMD160 10c18f0debc9161e7d34518f4b523311061b0f3a SHA1 407ad924a2491b944989328627ee3f017f55e69e SHA256 125ae7b3f185b96ef2830da33530f58d73568581ad510728e69c542cce9eb6ca EBUILD kernel-check-0.3.15.ebuild 553 RMD160 10c18f0debc9161e7d34518f4b523311061b0f3a SHA1 407ad924a2491b944989328627ee3f017f55e69e SHA256 125ae7b3f185b96ef2830da33530f58d73568581ad510728e69c542cce9eb6ca +EBUILD kernel-check-0.3.16-r1.ebuild 646 RMD160 ff333bbad8607b1590943d57c5fa359af2d94314 SHA1 9e2728dbee094734b399b365eb0c912601757d45 SHA256 ee5c694c51161220556a87b52a35805156a51c808864916e6bd8e59d7f0efa4a EBUILD kernel-check-0.3.16.ebuild 553 RMD160 10c18f0debc9161e7d34518f4b523311061b0f3a SHA1 407ad924a2491b944989328627ee3f017f55e69e SHA256 125ae7b3f185b96ef2830da33530f58d73568581ad510728e69c542cce9eb6ca EBUILD kernel-check-9999.ebuild 553 RMD160 10c18f0debc9161e7d34518f4b523311061b0f3a SHA1 407ad924a2491b944989328627ee3f017f55e69e SHA256 125ae7b3f185b96ef2830da33530f58d73568581ad510728e69c542cce9eb6ca diff --git a/app-admin/kernel-check/files/kernel-check-0.3.16-kerneldir.patch b/app-admin/kernel-check/files/kernel-check-0.3.16-kerneldir.patch new file mode 100644 index 0000000..4c3e3f7 --- /dev/null +++ b/app-admin/kernel-check/files/kernel-check-0.3.16-kerneldir.patch @@ -0,0 +1,25 @@ +From 8cd5fa49f3586e50f0d0808a8386ddbdfce5b120 Mon Sep 17 00:00:00 2001 +From: Bjoern Tropf <asym@gentoo.org> +Date: Mon, 14 Dec 2009 16:55:07 +0100 +Subject: [PATCH] Fix a missing replace + +--- + pym/kernelcheck/lib/kernellib.py | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/pym/kernelcheck/lib/kernellib.py b/pym/kernelcheck/lib/kernellib.py +index d4ab5e2..264428b 100644 +--- a/pym/kernelcheck/lib/kernellib.py ++++ b/pym/kernelcheck/lib/kernellib.py +@@ -656,7 +656,7 @@ def eval_kernel_updates(kernel, kernel_eval, spinner): + compare.revision > kernel.revision): + compare.arch = kernel.arch + compare.genpatch = get_genpatch(PORTDIR, compare) +- compare_eval = eval_cve_files(DIR['out'], compare, spinner) ++ compare_eval = eval_cve_files(KERNELDIR, compare, spinner) + comparison = compare_evaluation(kernel_eval, compare_eval) + + for item in comparison.fixed: +-- +1.6.3.3 + diff --git a/app-admin/kernel-check/kernel-check-0.3.14.ebuild b/app-admin/kernel-check/kernel-check-0.3.16-r1.ebuild index f1c9027..6b7aab8 100644 --- a/app-admin/kernel-check/kernel-check-0.3.14.ebuild +++ b/app-admin/kernel-check/kernel-check-0.3.16-r1.ebuild @@ -25,6 +25,12 @@ RDEPEND="" DOCS="TODO" +src_unpack() { + unpack ${A} +# cd "${S}" + epatch "${FILESDIR}/${P}-kerneldir.patch" +} + src_install() { distutils_src_install } diff --git a/app-admin/kernel-check/kernel-check-0.3.16.ebuild b/app-admin/kernel-check/kernel-check-0.3.16.ebuild deleted file mode 100644 index f1c9027..0000000 --- a/app-admin/kernel-check/kernel-check-0.3.16.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit distutils - -DESCRIPTION="Gentoo Kernel Security" -HOMEPAGE="http://dev.gentoo.org/~asym/guide.xml" - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/kernel-check.git" - inherit git - KEYWORDS="" -else - SRC_URI="http://dev.gentoo.org/~asym/${P}.tar.bz2" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="LGPL-2.1" -SLOT="0" -IUSE="" - -DEPEND="" -RDEPEND="" - -DOCS="TODO" - -src_install() { - distutils_src_install -} |