23 lines
637 B
Diff
23 lines
637 B
Diff
|
--- /mnt/portage/portage/sys-kernel/hardened-sources/hardened-sources-3.4.5.ebuild 2012-08-09 02:31:30.000000000 -0700
|
||
|
+++ hardened-sources-3.4.5.ebuild 2012-08-11 12:27:13.379563909 -0700
|
||
|
@@ -21,12 +21,18 @@
|
||
|
|
||
|
DESCRIPTION="Hardened kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})"
|
||
|
HOMEPAGE="http://www.gentoo.org/proj/en/hardened/"
|
||
|
-IUSE="deblob"
|
||
|
+IUSE="deblob -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
|
||
|
|