diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-02-21 05:47:19 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-02-21 05:47:19 +0000 |
commit | f1a5120b244a951940368d3435ddc96ac1ae3714 (patch) | |
tree | 2e01357cfcb8fa0bf35c31e1aa212a6421c4e311 /net-analyzer | |
parent | initial ebuild #41824 (diff) | |
download | historical-f1a5120b244a951940368d3435ddc96ac1ae3714.tar.gz historical-f1a5120b244a951940368d3435ddc96ac1ae3714.tar.bz2 historical-f1a5120b244a951940368d3435ddc96ac1ae3714.zip |
add optional GAPING_SECURITY_HOLE support #41843
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/netcat/ChangeLog | 5 | ||||
-rw-r--r-- | net-analyzer/netcat/netcat-110-r4.ebuild | 13 |
2 files changed, 11 insertions, 7 deletions
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 <vapier@gentoo.org> : + Add local use flag to control GAPING_SECURITY_HOLE #41843 by Mitchell. 05 Oct 2003; Brad House <brad_mssw@gentoo.org> 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() { |