summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-10-09 21:32:10 +0000
committerMike Frysinger <vapier@gentoo.org>2009-10-09 21:32:10 +0000
commitb8317e6df3dea6521891743264b9710dfc658b9a (patch)
treea0d5e3f651a3c6113cf5aa22b58f9ad44a5c42ff /app-shells
parentarm stable, bug #282290 (diff)
downloadgentoo-2-b8317e6df3dea6521891743264b9710dfc658b9a.tar.gz
gentoo-2-b8317e6df3dea6521891743264b9710dfc658b9a.tar.bz2
gentoo-2-b8317e6df3dea6521891743264b9710dfc658b9a.zip
Add support by rpansky for USE=mem-scramble #286990.
(Portage version: 2.2_rc42/cvs/Linux x86_64)
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/bash/ChangeLog6
-rw-r--r--app-shells/bash/bash-4.0_p33.ebuild7
-rw-r--r--app-shells/bash/metadata.xml1
3 files changed, 10 insertions, 4 deletions
diff --git a/app-shells/bash/ChangeLog b/app-shells/bash/ChangeLog
index 341aac5474d8..4d2ed2841ea1 100644
--- a/app-shells/bash/ChangeLog
+++ b/app-shells/bash/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-shells/bash
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.229 2009/10/09 16:42:07 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.230 2009/10/09 21:32:10 vapier Exp $
+
+ 09 Oct 2009; Mike Frysinger <vapier@gentoo.org> bash-4.0_p33.ebuild,
+ metadata.xml:
+ Add support by rpansky for USE=mem-scramble #286990.
09 Oct 2009; Raúl Porcel <armin76@gentoo.org> bash-4.0_p28.ebuild:
ia64/s390/sh stable wrt #270008
diff --git a/app-shells/bash/bash-4.0_p33.ebuild b/app-shells/bash/bash-4.0_p33.ebuild
index c6e3a7d2cade..d1d741c490e3 100644
--- a/app-shells/bash/bash-4.0_p33.ebuild
+++ b/app-shells/bash/bash-4.0_p33.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.0_p33.ebuild,v 1.1 2009/09/10 00:23:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.0_p33.ebuild,v 1.2 2009/10/09 21:32:10 vapier Exp $
EAPI="1"
@@ -37,7 +37,7 @@ SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="afs bashlogger examples +net nls plugins vanilla"
+IUSE="afs bashlogger examples mem-scramble +net nls plugins vanilla"
DEPEND=">=sys-libs/ncurses-5.2-r2
nls? ( virtual/libintl )"
@@ -117,7 +117,8 @@ src_compile() {
$(use_with afs) \
$(use_enable net net-redirections) \
--disable-profiling \
- --without-gnu-malloc \
+ $(use_enable mem-scramble) \
+ $(use_with mem-scramble bash-malloc) \
${myconf} || die
emake || die "make failed"
diff --git a/app-shells/bash/metadata.xml b/app-shells/bash/metadata.xml
index 67c5507b189d..23e4a905e0ef 100644
--- a/app-shells/bash/metadata.xml
+++ b/app-shells/bash/metadata.xml
@@ -5,6 +5,7 @@
<use>
<flag name='bashlogger'>Log ALL commands typed into bash; should ONLY be
used in restricted environments such as honeypots</flag>
+ <flag name='mem-scramble'>Build with custom malloc/free overwriting allocated/freed memory</flag>
<flag name='net'>Enable /dev/tcp/host/port redirection</flag>
<flag name='plugins'>Add support for loading builtins at runtime via
'enable'</flag>