summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-08-30 16:36:37 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-08-30 16:36:37 +0000
commit30a616adf07edf58b2fa43ba97e03c50563ea0b2 (patch)
tree8299bf434b9b1f6ad5dec8232af844a049b4bda5 /net-analyzer/netcat
parent.keep in /var/log/snort (diff)
downloadgentoo-2-30a616adf07edf58b2fa43ba97e03c50563ea0b2.tar.gz
gentoo-2-30a616adf07edf58b2fa43ba97e03c50563ea0b2.tar.bz2
gentoo-2-30a616adf07edf58b2fa43ba97e03c50563ea0b2.zip
small fix0r
Diffstat (limited to 'net-analyzer/netcat')
-rw-r--r--net-analyzer/netcat/ChangeLog10
-rw-r--r--net-analyzer/netcat/netcat-110.ebuild19
2 files changed, 17 insertions, 12 deletions
diff --git a/net-analyzer/netcat/ChangeLog b/net-analyzer/netcat/ChangeLog
index fbdc4828c94a..bc7c04810ebb 100644
--- a/net-analyzer/netcat/ChangeLog
+++ b/net-analyzer/netcat/ChangeLog
@@ -1,12 +1,16 @@
# ChangeLog for net-analyzer/netcat
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/ChangeLog,v 1.2 2002/08/14 10:45:12 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/ChangeLog,v 1.3 2002/08/30 16:36:37 seemant Exp $
+
+*netcat-110 (1 Feb 2002)
+
+ 30 Aug 2002; Seemant Kulleen <seemant@gentoo.org> netcat-110.ebuild :
+
+ dodoc fixes by: twanger@bluetwanger.de (Markus Bertheau) in bug #7269
28 Jun 2002; Thilo Bangert <bangert@gentoo.org> :
moved to net-analyzer - added SLOT
-*netcat-110 (1 Feb 2002)
-
14 Aug 2002; Pieter Van den Abeele <pvdabeel@gentoo.org> :
Added ppc keyword
diff --git a/net-analyzer/netcat/netcat-110.ebuild b/net-analyzer/netcat/netcat-110.ebuild
index 5a3ed31b5dcd..e409f7e5c2b1 100644
--- a/net-analyzer/netcat/netcat-110.ebuild
+++ b/net-analyzer/netcat/netcat-110.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/netcat-110.ebuild,v 1.6 2002/08/14 12:12:28 murphy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/netcat-110.ebuild,v 1.7 2002/08/30 16:36:37 seemant Exp $
MY_P=nc${PV}
S=${WORKDIR}/nc-${PV}
@@ -15,7 +15,6 @@ KEYWORDS="x86 ppc sparc sparc64"
DEPEND="virtual/glibc"
src_unpack() {
-
mkdir ${S}
cd ${S}
tar zxf ${DISTDIR}/${A}
@@ -24,19 +23,21 @@ src_unpack() {
src_compile() {
cp Makefile Makefile.orig
- cat Makefile.orig | sed -e "s:^CFLAGS =.*$:CFLAGS = ${CFLAGS}:" \
- | sed -e "s:^CC =.*$:CC = gcc \$(CFLAGS):" > Makefile
+ sed -e "s:^CFLAGS =.*$:CFLAGS = ${CFLAGS}:" \
+ -e "s:^CC =.*$:CC = gcc \$(CFLAGS):" \
+ Makefile.orig > Makefile
+
cp netcat.c netcat.orig
- cat netcat.orig | sed -e "s:#define HAVE_BIND:#undef HAVE_BIND:" > netcat.c
- try make linux
+ sed -e "s:#define HAVE_BIND:#undef HAVE_BIND:" \
+ netcat.c.orig > netcat.c
+
+ make linux || die
}
src_install () {
-
dobin nc
- dodoc README BUGS CONTRIB LICENSE
+ dodoc README
docinto scripts
dodoc scripts/*
-
}