Removing -lshadow from Makeile
authorMarcin Kryczek <mkay@gentoo.org>
Sun, 9 Oct 2005 13:55:26 +0000 (13:55 +0000)
committerMarcin Kryczek <mkay@gentoo.org>
Sun, 9 Oct 2005 13:55:26 +0000 (13:55 +0000)
Package-Manager: portage-2.0.52-r1

net-analyzer/nbaudit/ChangeLog
net-analyzer/nbaudit/files/digest-nbaudit-1.0-r1 [new file with mode: 0644]
net-analyzer/nbaudit/nbaudit-1.0-r1.ebuild [new file with mode: 0644]

index 6d8f581dc7e9b351f665f6fb0df373cc77734eee..bffb95bc9a1e1cd3244040f689dd22237683b7d4 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-analyzer/nbaudit
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nbaudit/ChangeLog,v 1.10 2005/07/19 15:30:24 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nbaudit/ChangeLog,v 1.11 2005/10/09 13:55:26 mkay Exp $
+
+*nbaudit-1.0-r1 (09 Oct 2005)
+
+  09 Oct 2005; <mkay@gentoo.org> +nbaudit-1.0-r1.ebuild:
+  Removing -lshadow from Makeile
 
   19 Jul 2005; David Holm <dholm@gentoo.org> nbaudit-1.0.ebuild:
   Added to ~ppc.
diff --git a/net-analyzer/nbaudit/files/digest-nbaudit-1.0-r1 b/net-analyzer/nbaudit/files/digest-nbaudit-1.0-r1
new file mode 100644 (file)
index 0000000..5a235e6
--- /dev/null
@@ -0,0 +1 @@
+MD5 b8e020ac21e35caa35a8bbd99e41b5e4 nat10.tgz 111835
diff --git a/net-analyzer/nbaudit/nbaudit-1.0-r1.ebuild b/net-analyzer/nbaudit/nbaudit-1.0-r1.ebuild
new file mode 100644 (file)
index 0000000..425c85d
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nbaudit/nbaudit-1.0-r1.ebuild,v 1.1 2005/10/09 13:55:26 mkay Exp $
+
+inherit eutils
+
+# It is officially called nat10 but the name conflicts with other projects
+# so I'm following the *BSDs suggestion of calling it nbaudit
+
+MY_P=nat10
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="NetBIOS file sharing services scanner (nat10)"
+SRC_URI="http://www.tux.org/pub/security/secnet/tools/nat10/${MY_P}.tgz"
+HOMEPAGE="http://www.tux.org/pub/security/secnet/tools/nat10/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=sys-apps/sed-4"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       epatch ${FILESDIR}/${P}-gentoo.diff
+       sed -i s:-lshadow:: Makefile
+}
+
+src_compile() {
+       # NOTE: DO NOT SET CFLAGS OR THE PROGRAM WILL SEGFAULT
+       make all || die "make failed"
+}
+
+src_install () {
+       newbin nat nbaudit
+       newman nat.1 nbaudit.1
+       dodoc README COPYING
+}