Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 286990 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +9 lines)
Line  Link Here
0
-- bash-4.0_p28.ebuild
0
++ bash-4.0_p28.ebuild
Lines 37-43 Link Here
37
LICENSE="GPL-3"
37
LICENSE="GPL-3"
38
SLOT="0"
38
SLOT="0"
39
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd"
39
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd"
40
IUSE="afs bashlogger examples +net nls plugins vanilla"
40
IUSE="afs bashlogger examples memscramble +net nls plugins vanilla"
41
41
42
DEPEND=">=sys-libs/ncurses-5.2-r2
42
DEPEND=">=sys-libs/ncurses-5.2-r2
43
	nls? ( virtual/libintl )"
43
	nls? ( virtual/libintl )"
Lines 111-122 Link Here
111
	# sucks bad compared to ncurses
111
	# sucks bad compared to ncurses
112
	myconf="${myconf} --with-curses"
112
	myconf="${myconf} --with-curses"
113
113
114
	# Do not disable the bash malloc if we want memory scrambling,
115
	# which is enabled by default (Bug 286990). On arches not
116
	# supporting the bash malloc, USE="memscramble" has no effect.
117
	use memscramble || myconf="${myconf} --without-bash-malloc"
118
114
	use plugins && append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
119
	use plugins && append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
115
	econf \
120
	econf \
116
		$(use_with afs) \
121
		$(use_with afs) \
117
		$(use_enable net net-redirections) \
122
		$(use_enable net net-redirections) \
118
		--disable-profiling \
123
		--disable-profiling \
119
		--without-gnu-malloc \
120
		${myconf} || die
124
		${myconf} || die
121
	emake || die "make failed"
125
	emake || die "make failed"
122
126
123
-- metadata.xml
127
++ metadata.xml
Lines 5-10 Link Here
5
<use>
5
<use>
6
  <flag name='bashlogger'>Log ALL commands typed into bash; should ONLY be
6
  <flag name='bashlogger'>Log ALL commands typed into bash; should ONLY be
7
    used in restricted environments such as honeypots</flag>
7
    used in restricted environments such as honeypots</flag>
8
  <flag name='memscramble'>Build with custom malloc/free overwriting allocated/freed memory</flag>
8
  <flag name='net'>Enable /dev/tcp/host/port redirection</flag>
9
  <flag name='net'>Enable /dev/tcp/host/port redirection</flag>
9
  <flag name='plugins'>Add support for loading builtins at runtime via
10
  <flag name='plugins'>Add support for loading builtins at runtime via
10
    'enable'</flag>
11
    'enable'</flag>

Return to bug 286990