net-analyzer/nmbscan: EAPI7, improve ebuild
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Wed, 1 Aug 2018 16:31:21 +0000 (18:31 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 15 Aug 2018 19:53:30 +0000 (21:53 +0200)
net-analyzer/nmbscan/files/nmbscan-1.2.5-head.diff
net-analyzer/nmbscan/nmbscan-1.2.5-r1.ebuild [new file with mode: 0644]

index 6139f71f297d2611f5c9df7b4227f0322713716a..f258aae379d4b6be8597e35b9e5c8ff7b968bba2 100644 (file)
@@ -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
diff --git a/net-analyzer/nmbscan/nmbscan-1.2.5-r1.ebuild b/net-analyzer/nmbscan/nmbscan-1.2.5-r1.ebuild
new file mode 100644 (file)
index 0000000..ca16597
--- /dev/null
@@ -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
+}