diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest index a31823f..8518886 100644 --- a/sys-kernel/hardened-sources/Manifest +++ b/sys-kernel/hardened-sources/Manifest @@ -5,4 +5,4 @@ DIST genpatches-3.2-11.base.tar.bz2 210269 RMD160 634409abf6d2cfdacd7c4c2a7dcebc DIST genpatches-3.2-11.extras.tar.bz2 17208 RMD160 8324da51ce71afb0d375f34b0dd05209079bd7a3 SHA1 c2f4e029aebbc0ae82221aa2643de06a2d08cbd8 SHA256 7f60ab18e2965d024b7a36327577bcc771061f2cfac221ed475a6fd6b2ab89c7 DIST hardened-patches-3.2.11-1.extras.tar.bz2 504890 RMD160 be00ee149bb33bbeeaf0c9fa67fc1449704cb4ce SHA1 58ff19b7025356eff2395a5513f06df7f5138cbe SHA256 ee4fc083bc137b76f9d017b63497732c7e6985b16eedb1b6fcad1837411e684a DIST linux-3.2.tar.bz2 78147838 RMD160 15eb022305dfc8b0e1d59e396911fa86eb9c3bdf SHA1 3460afa971049aa79b8f914e1bfd619eedd19f55 SHA256 c881fc2b53cf0da7ca4538aa44623a7de043a41f76fd5d0f51a31f6ed699d463 -EBUILD hardened-sources-3.2.11-r1.ebuild 1937 RMD160 2d4a037b5484c42b5c30472a16074cb886902e26 SHA1 b3f80a4f80e62cbbc9623627d03894ef17c24ba3 SHA256 7ac3467716818da717ce827dd79bc585ff2d1e5213c22afaa59a089968ce60e2 +EBUILD hardened-sources-3.2.11-r1.ebuild 1995 RMD160 61b11bc5c70226cfc9dc637a0e46862032b922b1 SHA1 42f64d8aabb8afff80ef076335a79df9f40f46a5 SHA256 82bef49f5774806aa4eff60251cf6226eda70070c6f15eae4b9d7d9e2587e2af diff --git a/sys-kernel/hardened-sources/hardened-sources-3.2.11-r1.ebuild b/sys-kernel/hardened-sources/hardened-sources-3.2.11-r1.ebuild index 9ab4a16..b2f0420 100644 --- a/sys-kernel/hardened-sources/hardened-sources-3.2.11-r1.ebuild +++ b/sys-kernel/hardened-sources/hardened-sources-3.2.11-r1.ebuild @@ -17,18 +17,23 @@ HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hard SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}" UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2" -UNIPATCH_LIST+=" ${FILESDIR}/wireless_injection.patch" UNIPATCH_EXCLUDE="4200_fbcondecor-0.9.6.patch" ! use xtpax && UNIPATCH_EXCLUDE+=" 4425_grsec_enable_xtpax.patch" DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" HOMEPAGE="http://www.gentoo.org/proj/en/hardened/" -IUSE="deblob -xtpax" +IUSE="deblob -xtpax -injection" KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" RDEPEND=">=sys-devel/gcc-4.5" +pkg_setup() { + if use injection; then + UNIPATCH_LIST+=" ${FILESDIR}/wireless_injection.patch" + fi +} + pkg_postinst() { kernel-2_pkg_postinst