summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2009-11-21 17:35:52 +0000
committerWolfram Schlich <wschlich@gentoo.org>2009-11-21 17:35:52 +0000
commit2d60ea91c2b9b259dc3090856da082e3c3f80e6f (patch)
treeec461417e6faa1bde062444810a3c7dccda48556 /net-analyzer/nmbscan
parentamd64 stable, bug #289439 (diff)
downloadgentoo-2-2d60ea91c2b9b259dc3090856da082e3c3f80e6f.tar.gz
gentoo-2-2d60ea91c2b9b259dc3090856da082e3c3f80e6f.tar.bz2
gentoo-2-2d60ea91c2b9b259dc3090856da082e3c3f80e6f.zip
version bump
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/nmbscan')
-rw-r--r--net-analyzer/nmbscan/ChangeLog8
-rw-r--r--net-analyzer/nmbscan/files/nmbscan-1.2.5-head.diff11
-rw-r--r--net-analyzer/nmbscan/nmbscan-1.2.5.ebuild43
3 files changed, 61 insertions, 1 deletions
diff --git a/net-analyzer/nmbscan/ChangeLog b/net-analyzer/nmbscan/ChangeLog
index d1e01a7f6aad..7687da361cbb 100644
--- a/net-analyzer/nmbscan/ChangeLog
+++ b/net-analyzer/nmbscan/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/nmbscan
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmbscan/ChangeLog,v 1.9 2009/07/07 13:45:25 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmbscan/ChangeLog,v 1.10 2009/11/21 17:35:52 wschlich Exp $
+
+*nmbscan-1.2.5 (21 Nov 2009)
+
+ 21 Nov 2009; Wolfram Schlich <wschlich@gentoo.org>
+ +files/nmbscan-1.2.5-head.diff, +nmbscan-1.2.5.ebuild:
+ version bump
07 Jul 2009; Jeroen Roovers <jer@gentoo.org> nmbscan-1.2.4.ebuild:
Stable for HPPA too.
diff --git a/net-analyzer/nmbscan/files/nmbscan-1.2.5-head.diff b/net-analyzer/nmbscan/files/nmbscan-1.2.5-head.diff
new file mode 100644
index 000000000000..6139f71f297d
--- /dev/null
+++ b/net-analyzer/nmbscan/files/nmbscan-1.2.5-head.diff
@@ -0,0 +1,11 @@
+--- nmbscan.orig 2005-09-21 22:10:05.223491664 +0200
++++ nmbscan 2005-09-21 22:11:59.215162296 +0200
+@@ -402,7 +402,7 @@
+
+ function get_server_and_os_by_ip
+ {
+- V=$(smbclient -L ${2:-$1} -I $1 -U % 2>&1 | grep '^Domain'| sed 's#.*OS=\[\(.*\)\].*Server=\[\(.*\)\].*#\2/\1#' | head -1)
++ V=$(smbclient -L ${2:-$1} -I $1 -U % 2>&1 | grep '^Domain'| sed 's#.*OS=\[\(.*\)\].*Server=\[\(.*\)\].*#\2/\1#' | head -n 1)
+ echo ${V:--/-}
+ }
+
diff --git a/net-analyzer/nmbscan/nmbscan-1.2.5.ebuild b/net-analyzer/nmbscan/nmbscan-1.2.5.ebuild
new file mode 100644
index 000000000000..9f91055336e2
--- /dev/null
+++ b/net-analyzer/nmbscan/nmbscan-1.2.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmbscan/nmbscan-1.2.5.ebuild,v 1.1 2009/11/21 17:35:52 wschlich Exp $
+
+EAPI=2
+
+inherit eutils
+
+DESCRIPTION="netbios scanner"
+HOMEPAGE="http://nmbscan.gbarbier.org/"
+SRC_URI="http://nmbscan.gbarbier.org/down/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="app-shells/bash
+ net-dns/bind-tools
+ net-fs/samba
+ net-misc/iputils
+ sys-apps/coreutils
+ sys-apps/gawk
+ sys-apps/grep
+ sys-apps/net-tools
+ sys-apps/sed"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-head.diff || die
+}
+
+src_configure() {
+ return
+}
+
+src_compile() {
+ return
+}
+
+src_install() {
+ dobin nmbscan || die
+}