net-analyzer/nmbscan: EAPI7, improve ebuild

This commit is contained in:
Michael Mair-Keimberger
2018-08-15 21:53:30 +02:00
committed by Andreas Sturmlechner
parent 9521a10c5e
commit 7f24bb7785
2 changed files with 29 additions and 2 deletions
@@ -1,5 +1,5 @@
--- nmbscan.orig 2005-09-21 22:10:05.223491664 +0200
+++ nmbscan 2005-09-21 22:11:59.215162296 +0200
--- a/nmbscan 2005-09-21 22:10:05.223491664 +0200
+++ b/nmbscan 2005-09-21 22:11:59.215162296 +0200
@@ -402,7 +402,7 @@
function get_server_and_os_by_ip
@@ -0,0 +1,27 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Scans the shares of a SMB/NetBIOS network"
HOMEPAGE="http://nmbscan.g76r.eu/"
SRC_URI="http://nmbscan.g76r.eu/down/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
RDEPEND="net-dns/bind-tools
net-fs/samba
net-misc/iputils
sys-apps/net-tools
virtual/awk"
S=${WORKDIR}
PATCHES=( "${FILESDIR}"/${P}-head.diff )
src_compile() { :; }
src_install() {
dobin nmbscan
}