summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lutgens <lamer@gentoo.org>2001-07-01 16:30:18 +0000
committerBen Lutgens <lamer@gentoo.org>2001-07-01 16:30:18 +0000
commitbe0fbbb828bfe9888cb28492dc6ff3b668f74804 (patch)
tree38f71571dec1628321ba553bf238a52394156141 /net-analyzer/nbaudit/nbaudit-1.0.ebuild
parentUpdated docs to include emerging the kernel, using inet.dhcp_eth0, (diff)
downloadgentoo-2-be0fbbb828bfe9888cb28492dc6ff3b668f74804.tar.gz
gentoo-2-be0fbbb828bfe9888cb28492dc6ff3b668f74804.tar.bz2
gentoo-2-be0fbbb828bfe9888cb28492dc6ff3b668f74804.zip
polaris from #gentoo did a great job on these I think he's prolly ready to
be a developer if he want to.
Diffstat (limited to 'net-analyzer/nbaudit/nbaudit-1.0.ebuild')
-rw-r--r--net-analyzer/nbaudit/nbaudit-1.0.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/net-analyzer/nbaudit/nbaudit-1.0.ebuild b/net-analyzer/nbaudit/nbaudit-1.0.ebuild
new file mode 100644
index 000000000000..d5a9e2158783
--- /dev/null
+++ b/net-analyzer/nbaudit/nbaudit-1.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Bruce A. Locke <blocke@shivan.org>
+
+# Its officially called nat10 but the name conflicts with other projects
+# so I'm following the *BSDs suggestion of calling it nbaudit
+
+A=nat10.tgz
+P=nat10
+S=${WORKDIR}/${P}
+DESCRIPTION="NetBIOS file sharing services scanner (nat10)"
+SRC_URI="http://www.tux.org/pub/security/secnet/tools/nat10/${A}"
+HOMEPAGE="http://www.tux.org/pub/security/secnet/tools/nat10"
+
+DEPEND=""
+
+src_compile() {
+
+ cd ${S}
+
+ mv Makefile Makefile.old
+ sed -e "s/# FLAGSM = -DLINUX -DSHADOW_PWD/FLAGSM = -DLINUX -DSHADOW_PWD -DNO_ASMSIGNALH/" -e "s/# LIBSM = -lshadow/LIBSM = -lshadow/" Makefile.old > Makefile
+
+ # sed seems to hang if I do all three at once... oh well
+ mv Makefile Makefile.old
+ sed -e "s/CFLAGS = /CFLAGS = ${CFLAGS} /" Makefile.old > Makefile
+
+ try make all
+
+}
+
+src_install () {
+ cd ${S}
+
+ into /usr
+
+ dobin nat
+ doman nat.1
+ dodoc README COPYING
+}