summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-10-28 13:36:42 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-10-28 13:36:42 +0000
commita3fc4ab078d7662ffb02bee39d9e2ed29a607c1f (patch)
treeb61bbfb2dadfac8af3b08992453a19021ac93aaa /net-analyzer/nsat/nsat-1.5.ebuild
parentAdded to ADA_INCLUDE_PATH and ADA_OBJECTS_PATH (diff)
downloadhistorical-a3fc4ab078d7662ffb02bee39d9e2ed29a607c1f.tar.gz
historical-a3fc4ab078d7662ffb02bee39d9e2ed29a607c1f.tar.bz2
historical-a3fc4ab078d7662ffb02bee39d9e2ed29a607c1f.zip
closing #31244 and other fixes
Diffstat (limited to 'net-analyzer/nsat/nsat-1.5.ebuild')
-rw-r--r--net-analyzer/nsat/nsat-1.5.ebuild29
1 files changed, 19 insertions, 10 deletions
diff --git a/net-analyzer/nsat/nsat-1.5.ebuild b/net-analyzer/nsat/nsat-1.5.ebuild
index a74963f06f00..d511ddfb3ca1 100644
--- a/net-analyzer/nsat/nsat-1.5.ebuild
+++ b/net-analyzer/nsat/nsat-1.5.ebuild
@@ -1,16 +1,16 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/nsat-1.5.ebuild,v 1.3 2003/07/13 11:30:13 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/nsat-1.5.ebuild,v 1.4 2003/10/28 13:36:37 aliz Exp $
-IUSE="pcap X"
+IUSE="X"
S=${WORKDIR}/${PN}
DESCRIPTION="Network Security Analysis Tool, an application-level network security scanner"
SRC_URI="mirror://sourceforge/nsat/${P}.tgz"
HOMEPAGE="http://nsat.sourceforge.net/"
-DEPEND="pcap? ( >=net-libs/libpcap-0.7.1-r1 )
- X? ( virtual/x11 )"
+DEPEND="X? ( virtual/x11 dev-lang/tk )
+ >=net-libs/libpcap-0.7.1-r1 "
RDEPEND=${DEPEND}
SLOT="0"
@@ -20,16 +20,25 @@ KEYWORDS="x86"
src_unpack() {
unpack ${A}
cd ${S}
- mv nsat.conf nsat.conf.orig
- sed "s:^#CGIFile /usr/local/share/nsat/nsat.cgi$:#CGIFile /usr/share/nsat/nsat.cgi:" \
- nsat.conf.orig > nsat.conf
+
+ epatch ${FILESDIR}/${P}-configure.patch
+
+ sed -i "s:^#CGIFile /usr/local/share/nsat/nsat.cgi$:#CGIFile /usr/share/nsat/nsat.cgi:g" \
+ nsat.conf
+ sed -i "s:/usr/local:/usr:g" Makefile.in
+ sed -i "s:/usr/local:/usr:g" tools/xnsat
+ sed -i -e "s:/usr/local/share/nsat/nsat.conf:/etc/nsat/nsat.conf:g" \
+ -e "s:/usr/local/share/nsat/nsat.cgi:/usr/share/nsat/nsat.cgi:g" \
+ src/lang.h
}
src_compile() {
- econf || die
+ WANT_AUTOCONF_2_5=1
+ autoconf
+
+ econf $( use_with X x ) || die
- # Parallel make doesn't work.
- make || die "compile problem"
+ make|| die "compile problem"
}
src_install () {