summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2016-05-16 15:00:15 +0000
committerRene Ladan <rene@FreeBSD.org>2016-05-16 15:00:15 +0000
commitb61c26c04aa27f1fab091bc15106d6b44ff5a88e (patch)
treea00e6d5d8d505d19024c898d301179699fb7389d /net
parentUpdate to 2.0.8 (diff)
Re-add net/samba-nmblookup, which is still required by multimedia/kodi
Submitted by: Ben Woods
Notes
Notes: svn path=/head/; revision=415332
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/samba-nmblookup/Makefile33
-rw-r--r--net/samba-nmblookup/pkg-descr4
3 files changed, 38 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 653e92196eb7..a6cebbece112 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1181,6 +1181,7 @@
SUBDIR += rude
SUBDIR += rwhoisd
SUBDIR += samba-libsmbclient
+ SUBDIR += samba-nmblookup
SUBDIR += samba36
SUBDIR += samba42
SUBDIR += samba43
diff --git a/net/samba-nmblookup/Makefile b/net/samba-nmblookup/Makefile
new file mode 100644
index 000000000000..904c3c63d1aa
--- /dev/null
+++ b/net/samba-nmblookup/Makefile
@@ -0,0 +1,33 @@
+# Created by: Hirohisa Yamaguchi <umq@ueo.co.jp>
+# $FreeBSD$
+
+PORTREVISION= 0
+PORTEPOCH= 0
+PKGNAMESUFFIX= -nmblookup
+
+COMMENT= NetBIOS Name lookup tool
+
+CONFLICTS= ja-samba-[23].* samba-[2-4].*
+
+SAMBA_PORT= samba36
+SAMBA_SUBPORT= yes
+
+MASTERDIR= ${.CURDIR}/../${SAMBA_PORT}
+PKGDIR= ${.CURDIR}
+
+PLIST_FILES= bin/nmblookup \
+ man/man1/nmblookup.1.gz \
+ man/man5/smb.conf.5.gz
+
+WITHOUT_ADS= yes
+
+ALL_TARGET= bin/nmblookup
+
+do-install:
+ -@${MKDIR} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/nmblookup ${STAGEDIR}${PREFIX}/bin
+ -@${MKDIR} ${MAN1PREFIX}/man/man1 ${STAGEDIR}${MAN5PREFIX}/man/man5
+ ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/manpages/nmblookup.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/manpages/smb.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
+
+.include "${MASTERDIR}/Makefile"
diff --git a/net/samba-nmblookup/pkg-descr b/net/samba-nmblookup/pkg-descr
new file mode 100644
index 000000000000..283ab61799c8
--- /dev/null
+++ b/net/samba-nmblookup/pkg-descr
@@ -0,0 +1,4 @@
+This is a tool to query NetBIOS names and map them to IP addresses
+in a network using NetBIOS over TCP/IP queries from the Samba port.
+
+WWW: http://www.samba.org/