From 4f62cde488d745f914f357a95aa3e97548a57e2b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 21 Feb 2004 05:47:19 +0000 Subject: add optional GAPING_SECURITY_HOLE support #41843 --- net-analyzer/netcat/ChangeLog | 5 ++++- net-analyzer/netcat/netcat-110-r4.ebuild | 13 +++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) (limited to 'net-analyzer/netcat') diff --git a/net-analyzer/netcat/ChangeLog b/net-analyzer/netcat/ChangeLog index 1942e6e02535..afb1c617644a 100644 --- a/net-analyzer/netcat/ChangeLog +++ b/net-analyzer/netcat/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-analyzer/netcat # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/ChangeLog,v 1.20 2003/10/05 21:12:18 brad_mssw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/ChangeLog,v 1.21 2004/02/21 05:47:19 vapier Exp $ + + 21 Feb 2004; Mike Frysinger : + Add local use flag to control GAPING_SECURITY_HOLE #41843 by Mitchell. 05 Oct 2003; Brad House netcat-110-r4.ebuild: add ~amd64 flag diff --git a/net-analyzer/netcat/netcat-110-r4.ebuild b/net-analyzer/netcat/netcat-110-r4.ebuild index e5613255a1d5..305ebf4f32ac 100644 --- a/net-analyzer/netcat/netcat-110-r4.ebuild +++ b/net-analyzer/netcat/netcat-110-r4.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/netcat-110-r4.ebuild,v 1.6 2004/02/14 05:20:06 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/netcat-110-r4.ebuild,v 1.7 2004/02/21 05:47:19 vapier Exp $ -inherit eutils +inherit eutils gcc MY_P=nc${PV} DESCRIPTION="A network piping program" @@ -14,7 +14,7 @@ SRC_URI="http://www.atstake.com/research/tools/network_utilities/${MY_P}.tgz LICENSE="as-is" SLOT="0" KEYWORDS="x86 ppc sparc alpha hppa amd64" -IUSE="ipv6 static" +IUSE="ipv6 static GAPING_SECURITY_HOLE" DEPEND="virtual/glibc" @@ -37,9 +37,10 @@ src_unpack() { src_compile() { export XFLAGS="-DLINUX" - [ `use ipv6` ] && XFLAGS="${XFLAGS} -DINET6" - [ `use static` ] && export STATIC="-static" - CC="gcc ${CFLAGS}" make -e nc || die + use ipv6 && XFLAGS="${XFLAGS} -DINET6" + use static && export STATIC="-static" + use GAPING_SECURITY_HOLE && XFLAGS="${XFLAGS} -DGAPING_SECURITY_HOLE" + CC="$(gcc-getCC) ${CFLAGS}" make -e nc || die } src_install() { -- cgit v1.2.3-65-gdbad