diff options
-rw-r--r-- | net-analyzer/nmbscan/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/nmbscan/Manifest | 5 | ||||
-rw-r--r-- | net-analyzer/nmbscan/files/nmbscan-1.2.4-head.diff | 27 | ||||
-rw-r--r-- | net-analyzer/nmbscan/nmbscan-1.2.4.ebuild | 3 |
4 files changed, 37 insertions, 4 deletions
diff --git a/net-analyzer/nmbscan/ChangeLog b/net-analyzer/nmbscan/ChangeLog index 50e7541a4a0c..91afb12350e2 100644 --- a/net-analyzer/nmbscan/ChangeLog +++ b/net-analyzer/nmbscan/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/nmbscan # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmbscan/ChangeLog,v 1.2 2005/09/21 20:10:52 wschlich Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmbscan/ChangeLog,v 1.3 2005/09/21 20:29:35 wschlich Exp $ + + 21 Sep 2005; Wolfram Schlich <wschlich@gentoo.org> + +files/nmbscan-1.2.4-head.diff, nmbscan-1.2.4.ebuild: + add 'head' parameter fix 21 Sep 2005; Wolfram Schlich <wschlich@gentoo.org> nmbscan-1.2.4.ebuild: mark stable on x86 diff --git a/net-analyzer/nmbscan/Manifest b/net-analyzer/nmbscan/Manifest index 0360fc0667f8..da0278d77e8f 100644 --- a/net-analyzer/nmbscan/Manifest +++ b/net-analyzer/nmbscan/Manifest @@ -1,4 +1,5 @@ -MD5 a547fd3f0eae668012a58758e9e9ae9b ChangeLog 453 +MD5 94a704bf5868b97c9b42677cc16e446a ChangeLog 590 MD5 0052e903feec599fb14e64f75a45fe26 metadata.xml 817 -MD5 d8d76423170256234645eca2a459138d nmbscan-1.2.4.ebuild 766 +MD5 fd3429c7f479b7d4fc79f5fe10288673 nmbscan-1.2.4.ebuild 803 MD5 578cfd7c8c46c97cbbf1d2dec1dd81ca files/digest-nmbscan-1.2.4 63 +MD5 f68b926ad4d4bd973e446645aa2662dd files/nmbscan-1.2.4-head.diff 862 diff --git a/net-analyzer/nmbscan/files/nmbscan-1.2.4-head.diff b/net-analyzer/nmbscan/files/nmbscan-1.2.4-head.diff new file mode 100644 index 000000000000..3aa0343de05f --- /dev/null +++ b/net-analyzer/nmbscan/files/nmbscan-1.2.4-head.diff @@ -0,0 +1,27 @@ +--- nmbscan.orig 2005-09-21 22:10:05.223491664 +0200 ++++ nmbscan 2005-09-21 22:11:59.215162296 +0200 +@@ -376,7 +376,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:--/-} + } + +@@ -424,13 +424,13 @@ + + function get_nmbname + { +- V=$(nmblookup -A $1 2>&1 | grep "<20>" | head -1 | awk '{print $1}') ++ V=$(nmblookup -A $1 2>&1 | grep "<20>" | head -n 1 | awk '{print $1}') + echo ${V:--} + } + + function get_domain + { +- V=$(nmblookup -A $1 2>&1 | grep "<1e>" | head -1 | awk '{print $1}') ++ V=$(nmblookup -A $1 2>&1 | grep "<1e>" | head -n 1 | awk '{print $1}') + echo ${V:--} + } + diff --git a/net-analyzer/nmbscan/nmbscan-1.2.4.ebuild b/net-analyzer/nmbscan/nmbscan-1.2.4.ebuild index eb7839027abd..b7958068857c 100644 --- a/net-analyzer/nmbscan/nmbscan-1.2.4.ebuild +++ b/net-analyzer/nmbscan/nmbscan-1.2.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmbscan/nmbscan-1.2.4.ebuild,v 1.2 2005/09/21 20:10:52 wschlich Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmbscan/nmbscan-1.2.4.ebuild,v 1.3 2005/09/21 20:29:35 wschlich Exp $ inherit eutils @@ -25,6 +25,7 @@ RDEPEND="app-shells/bash src_unpack() { unpack ${A} cd ${S} + epatch "${FILESDIR}/${P}-head.diff" } src_compile() { |