summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2002-12-17 20:00:22 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2002-12-17 20:00:22 +0000
commit5ebbe7f1779ac76cf2edbd150d1afdce055c380d (patch)
tree1cb56eb9e5a316fec0e8865cdd6d8f9b92c876f2 /net-analyzer/nsat
parentoutdated, use emu10k1 (diff)
downloadhistorical-5ebbe7f1779ac76cf2edbd150d1afdce055c380d.tar.gz
historical-5ebbe7f1779ac76cf2edbd150d1afdce055c380d.tar.bz2
historical-5ebbe7f1779ac76cf2edbd150d1afdce055c380d.zip
Initial imports
Diffstat (limited to 'net-analyzer/nsat')
-rw-r--r--net-analyzer/nsat/ChangeLog8
-rw-r--r--net-analyzer/nsat/files/digest-nsat-1.431
-rw-r--r--net-analyzer/nsat/nsat-1.43.ebuild47
3 files changed, 56 insertions, 0 deletions
diff --git a/net-analyzer/nsat/ChangeLog b/net-analyzer/nsat/ChangeLog
new file mode 100644
index 000000000000..6c9164eba49c
--- /dev/null
+++ b/net-analyzer/nsat/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-analyzer/nsat
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/ChangeLog,v 1.1 2002/12/17 20:00:22 aliz Exp $
+
+*nsat-1.43 (17 Dec 2002)
+
+ 17 Dec 2002; Daniel Ahlberg <aliz@gentoo.org> :
+ Initial import. Ebuild contributed by Kemal Akman <ka@leogic.com> in #11367.
diff --git a/net-analyzer/nsat/files/digest-nsat-1.43 b/net-analyzer/nsat/files/digest-nsat-1.43
new file mode 100644
index 000000000000..23cf18e46d57
--- /dev/null
+++ b/net-analyzer/nsat/files/digest-nsat-1.43
@@ -0,0 +1 @@
+MD5 9613f5bcc1a9bc7afd4016caeacb3739 nsat-1.43.tgz 422182
diff --git a/net-analyzer/nsat/nsat-1.43.ebuild b/net-analyzer/nsat/nsat-1.43.ebuild
new file mode 100644
index 000000000000..0294c5ab97c6
--- /dev/null
+++ b/net-analyzer/nsat/nsat-1.43.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsat/nsat-1.43.ebuild,v 1.1 2002/12/17 20:00:22 aliz Exp $
+
+IUSE="pcap 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 )"
+RDEPEND=${DEPEND}
+
+SLOT="0"
+LICENSE="GPL-2"
+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
+}
+
+src_compile() {
+ econf || die
+
+ # Parallel make doesn't work.
+ make || die "compile problem"
+}
+
+src_install () {
+ dobin nsat smb-ns
+ use X && dobin tools/xnsat
+
+ insinto /usr/share/nsat
+ doins nsat.cgi
+
+ insinto /etc/nsat
+ doins nsat.conf
+
+ dodoc README doc/LICENSE doc/CHANGES
+ doman doc/nsat.8
+}