From 93bb9423442c9bcf5877e5b9ca4d8775eb4ba1b6 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Thu, 21 Feb 2013 17:49:54 +0400 Subject: [PATCH] hardened-sources-3.7.9.ebuild added --- sys-kernel/hardened-sources/Manifest | 3 ++ .../hardened-sources-3.7.9.ebuild | 50 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 sys-kernel/hardened-sources/hardened-sources-3.7.9.ebuild diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest index 4b1b3736..171dffc7 100644 --- a/sys-kernel/hardened-sources/Manifest +++ b/sys-kernel/hardened-sources/Manifest @@ -5,9 +5,12 @@ DIST deblob-check-3.7 526875 SHA256 07a4e835a4375851990180117bed0e0bb012ea1e0dde DIST genpatches-3.5-5.base.tar.bz2 122034 SHA256 50828709004b240ce3d3dcfedc4d88a4a53e20b9e3b172dc2973316a39c1c55f SHA512 28d9f1c603440db249ef3231f95f142886e0fdae3fc2ce9366aa7c6633ad13b6818659727f378fc167fbeaaaff1faa88fcf5edc625c799ad9f118002ac8381f8 WHIRLPOOL 31accc31067f7d61921c59b951eced42fa31f3c73cdfbbd98dbd6921a4fa2624d709fabe4dcaaa3c480e3e7d99803569840050a0685aef87488840ca8b4e747f DIST genpatches-3.5-5.extras.tar.bz2 17507 SHA256 1b2294687e842e6450184ce2800ba3df8006ca47d75f95437a1e1d2976162727 SHA512 2eefd45f853e9bab3f89701e470309471b5b2c9ed651dba03776a47d11e26c00170d32aaac547889ae7cee435278bb5ffa4ddc1dc769e6440d454008f62ce23d WHIRLPOOL 43dfd1c6a046e3dc07db72e8d7f062689366112ccf080a17b84bc7adda3e5257d7be551e0a34b6c79c9016b5b04bad5bdf8c52589dcc362dc675f72ca7681135 DIST genpatches-3.7-1.base.tar.bz2 5157 SHA256 f52abbd98168691ca69de973a62803d738499d9278ee46295d5d57c5097f0700 SHA512 8e12fb6aa2204b428a2fde920d36f8b0bc7832ffc1e9faeea10a3c5fc644b64dd44bb944aae7741616a635fb8d6951a6337b5926207fe332b69ee3de7f7fa595 WHIRLPOOL 7be5daed9b82f5e0e72b333ceaf62c5d8b5dc6072cce2e722c603fd6b2c8836b77f12a29c2f94aeaca896f92c8fa5fc1930eea3a9062b2453977703b00b3e3fe +DIST genpatches-3.7-11.base.tar.bz2 208915 SHA256 cf1d76f388d1211dddac5889f09c499f84c9a4789d1480ca1c603f12a6aa6716 SHA512 220ccbcb0c107bfcf9b0db3ba34cfd1e6fb42c66b1868794e5afdf2425189a3e334ade3df3f75eeac3bd85786e6c198e3fd8d9a092e665562bb8eced9d3796fe WHIRLPOOL 292485c1c09a137d16b48d9cf6f0b77c767b33df01a90ad0f552170bdd9edac5bca5f56e5285565e856f7f5bd40de25963f7137777a90be3728724ad32fda0f4 DIST hardened-patches-3.5.4-2.extras.tar.bz2 578566 SHA256 505c3848b3ff0f2622f28e26158fcfefa793570efd7ffb07a6070fb627e84682 SHA512 3362f3ef67a8e2759ab4ae8d7065d694873b668c4d369436ff7f2262d4b8123f165bcc65f56ce3a0cca7be4f56b49e589064afa24f8cab3932d09c28f266536b WHIRLPOOL e074e418e3cade3b05bec185ff0a558ecef2903269d92ba2033745cdcde56a540a2ed3638ac5ac75cbee600d722844c53d78a1acaa1c06af4e318e65ce2c77ea DIST hardened-patches-3.7.0-1.extras.tar.bz2 593322 SHA256 af919f14f6066cc723305ccfbbfb4f36b04c7a4943bb960c9910054363fd4577 SHA512 5b77a970b739366b82c738a0f62b9fd66b9a13d5b4bfbf42a150ac4629bcebb0212c3961724a71542a4ffff330929ffbd9f2f61cf4912d65984d8e96d5ffe36d WHIRLPOOL 409371d84afe1c9a775cee4a248d60847b9958fc9d5b612f992df25444139199ba90ea4f60ce5ab7458f073535950a2266109830425de2805e0c69b28211f047 +DIST hardened-patches-3.7.9-1.extras.tar.bz2 605453 SHA256 617e6bf62b9ba4934a5ccea584763d76a7499ed8269c13462b9f384dd6335148 SHA512 bce64d5a56ba98724df448c91790de07eb71c57d8f7e19ff9f0935b527e3b442647d495700deeec0f8a6cc458e6ca05dd72fc8bcffe380b2cdc561f3395480c1 WHIRLPOOL 07972f8b4b21eb34389bcfb15c6d2b01feeb61da655f06a0832239cb544ac0a437778d0a5924cae5eec78e2959317d92e49fd1eb2c832461d52470a86857f77a DIST linux-3.5.tar.bz2 80978443 SHA256 6ab82beb8cbb895b7523daed7ec3ec5850cf460b96788056f1ef5135c852fd23 SHA512 f6de5aaff351097dbe4b7186baea63004ef9efb73a85ccfd718c5856b282c22fb1431dce8588cb823eb75d1f09cd89f20e4936501e2c536f53ea4aa705e09ecc WHIRLPOOL 227c73e187370f2f5be34041c99ff2ff1bc99de4685d29801558a96d7d128c6f09c4a2ce81ce33cd87148c301e43319b42a8a77443e5db37f604fd97d101b7e7 DIST linux-3.7.tar.bz2 83671392 SHA256 dc08d87a579fe2918362e6666e503a95a76296419195cb499aa9dd4dbe171a9e SHA512 dad07e23b5d05a1a12092b59ea25c514ff9e89803ecf65b08f09b82aebc511fd06d2a492dea6364c3740a517f0a06a0ddb1c6847658d158205ad88995d69aaf3 WHIRLPOOL 572514032d7d64cc6a2b6ceeae7489e4b3fb48b5b63543d041ad675cd0569549ed88dc9c04ffdf91e78b8424d00b62384af78d7a41b7f399c31c056f0aa0344b EBUILD hardened-sources-3.5.4-r1.ebuild 1812 SHA256 a592fde717c9265a75662437dd1b1c543b298ffe1c5ee6db525f5d04f7f662d8 SHA512 3eb14649ffb9f747f7c9cb264aefeed82818d43be241275b31af79c71173381ca2c92030accffb56d850188cdb61b7fcb610c7a5ed4b9626dff7df198ec67ec0 WHIRLPOOL ec02b86db7d6387dd86469e0ff06bd19b2b1fea2701242a405392224c56819b22af425b3f8d4947c0ae3e23fde4a270db521a7dd75911453716da36a76ade831 EBUILD hardened-sources-3.7.0.ebuild 1802 SHA256 1b3f0eb7dd45eb8e5b27478a490f6b1bc8cf49c425837a24587a10fb3ca577de SHA512 6c65284368493a4fdf238c834d09626ce19ba98478b36f7f32cfc2c106b69235815e735538e44b2f1f8deaf3c21e553dbff9091a962cd6030f6544321488da43 WHIRLPOOL f40fc418fed5a04a469e4f71c8a08e1147f470f46478685684a7b87cec343c4f51b9debe7cf0457d262d2adbf1d9b5d2e342293f8d76a74637ff85a2e29c8648 +EBUILD hardened-sources-3.7.9.ebuild 1840 SHA256 dccfb39a90752f4926fd5fa406fb1a4c4ddc4e80ecdb07af1e9b7a763dc74166 SHA512 b89f0cd134d27c2c0802b064b1e46dde5a8fe31b32c9965da367e04f74caad03234e74eda012df040c8d519eabec0c866b9afa8c58ff9a559b78b10d0035a6b3 WHIRLPOOL df11ed031c778480725cc66c7b07b7922a9ea3ab30a45b7cebb7600c4bd8236b0d7e871844134df5bf56ec9918ac708e548908e813bfd4d6ccbdbec51c489881 diff --git a/sys-kernel/hardened-sources/hardened-sources-3.7.9.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.7.9.ebuild new file mode 100644 index 00000000..4a910e64 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-3.7.9.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/hardened-sources-3.7.9.ebuild,v 1.1 2013/02/20 20:59:09 blueness Exp $ + +EAPI="4" + +ETYPE="sources" +K_WANT_GENPATCHES="base" +K_GENPATCHES_VER="11" +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" +SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" +UNIPATCH_EXCLUDE="2900_dev-root-proc-mount-fix.patch 4200_fbcondecor-0.9.6.patch" + +DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" +IUSE="deblob" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=">=sys-devel/gcc-4.5" + +pkg_postinst() { + kernel-2_pkg_postinst + + local GRADM_COMPAT="sys-apps/gradm-2.9.1*" + + ewarn + ewarn "Hardened Gentoo provides three different predefined grsecurity level:" + ewarn "[server], [workstation], and [virtualization]. Those who intend to" + ewarn "use one of these predefined grsecurity levels should read the help" + ewarn "associated with the level. Because some options require >=gcc-4.5," + ewarn "users with more, than one version of gcc installed should use gcc-config" + ewarn "to select a compatible version." + 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 +}