summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2018-08-01 18:31:21 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-08-15 21:53:30 +0200
commit7f24bb77852cd3365de2f5a9dddc849867920c8a (patch)
tree4e199293c8ab7b16681b06251b996c41bffc331e /net-analyzer/nmbscan
parentmedia-sound/declick: EAPI7, improve ebuild (diff)
downloadgentoo-7f24bb77852cd3365de2f5a9dddc849867920c8a.tar.gz
gentoo-7f24bb77852cd3365de2f5a9dddc849867920c8a.tar.bz2
gentoo-7f24bb77852cd3365de2f5a9dddc849867920c8a.zip
net-analyzer/nmbscan: EAPI7, improve ebuild
Diffstat (limited to 'net-analyzer/nmbscan')
-rw-r--r--net-analyzer/nmbscan/files/nmbscan-1.2.5-head.diff4
-rw-r--r--net-analyzer/nmbscan/nmbscan-1.2.5-r1.ebuild27
2 files changed, 29 insertions, 2 deletions
diff --git a/net-analyzer/nmbscan/files/nmbscan-1.2.5-head.diff b/net-analyzer/nmbscan/files/nmbscan-1.2.5-head.diff
index 6139f71f297..f258aae379d 100644
--- a/net-analyzer/nmbscan/files/nmbscan-1.2.5-head.diff
+++ b/net-analyzer/nmbscan/files/nmbscan-1.2.5-head.diff
@@ -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
index 00000000000..ca165970fad
--- /dev/null
+++ b/net-analyzer/nmbscan/nmbscan-1.2.5-r1.ebuild
@@ -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
+}