From be0fbbb828bfe9888cb28492dc6ff3b668f74804 Mon Sep 17 00:00:00 2001 From: Ben Lutgens Date: Sun, 1 Jul 2001 16:30:18 +0000 Subject: polaris from #gentoo did a great job on these I think he's prolly ready to be a developer if he want to. --- net-analyzer/nbaudit/files/digest-nbaudit-1.0 | 1 + net-analyzer/nbaudit/nbaudit-1.0.ebuild | 40 +++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 net-analyzer/nbaudit/files/digest-nbaudit-1.0 create mode 100644 net-analyzer/nbaudit/nbaudit-1.0.ebuild (limited to 'net-analyzer/nbaudit') diff --git a/net-analyzer/nbaudit/files/digest-nbaudit-1.0 b/net-analyzer/nbaudit/files/digest-nbaudit-1.0 new file mode 100644 index 000000000000..015acf744677 --- /dev/null +++ b/net-analyzer/nbaudit/files/digest-nbaudit-1.0 @@ -0,0 +1 @@ +MD5 b8e020ac21e35caa35a8bbd99e41b5e4 nat10.tgz 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 + +# 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 +} -- cgit v1.2.3-65-gdbad