aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2022-09-08 20:25:53 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2022-09-08 20:29:15 +0000
commit74f44eaa464c3cffb50609ad7a90ca13b9d953f5 (patch)
tree643cee1aa56a865caacb74268bdf25f4e6437773
parentb23ea4e2d2f51b53d8915fe9fd7b4efbdd575e38 (diff)
net-mgmt/mac-telnet: New port
Console tools for connecting to, and serving, devices using MikroTik RouterOS MAC-Telnet protocol.
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/mac-telnet/Makefile21
-rw-r--r--net-mgmt/mac-telnet/distinfo3
-rw-r--r--net-mgmt/mac-telnet/pkg-descr4
-rw-r--r--net-mgmt/mac-telnet/pkg-plist11
5 files changed, 40 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 0ac031657481..490078a21ce6 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -122,6 +122,7 @@
SUBDIR += librenms
SUBDIR += libsmi
SUBDIR += lldpd
+ SUBDIR += mac-telnet
SUBDIR += mbrowse
SUBDIR += mdata-client
SUBDIR += metronome
diff --git a/net-mgmt/mac-telnet/Makefile b/net-mgmt/mac-telnet/Makefile
new file mode 100644
index 000000000000..0a95a5fb8e86
--- /dev/null
+++ b/net-mgmt/mac-telnet/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= mac-telnet
+PORTVERSION= 0.4.5.a1
+CATEGORIES= net-mgmt net
+
+MAINTAINER= marcus@FreeBSD.org
+COMMENT= MAC telnet client for connecting to MikroTik RouterOS devices
+WWW= https://github.com/haakonnessjoen/MAC-Telnet
+
+LICENSE= GPLv2
+
+USES= autoreconf libtool pkgconfig gettext
+USE_GITHUB= yes
+
+GH_ACCOUNT= haakonnessjoen
+GH_PROJECT= MAC-Telnet
+GH_TAGNAME= 42d6271
+
+GNU_CONFIGURE= yes
+LDFLAGS+= -L${LOCALBASE}/lib
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/mac-telnet/distinfo b/net-mgmt/mac-telnet/distinfo
new file mode 100644
index 000000000000..807560486b57
--- /dev/null
+++ b/net-mgmt/mac-telnet/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1662668203
+SHA256 (haakonnessjoen-MAC-Telnet-0.4.5.a1-42d6271_GH0.tar.gz) = 815e5bc9db630b5733ac93263f2a740f33486c6be2dd8887eba7ff33a6e84a41
+SIZE (haakonnessjoen-MAC-Telnet-0.4.5.a1-42d6271_GH0.tar.gz) = 66424
diff --git a/net-mgmt/mac-telnet/pkg-descr b/net-mgmt/mac-telnet/pkg-descr
new file mode 100644
index 000000000000..221263d3bb4e
--- /dev/null
+++ b/net-mgmt/mac-telnet/pkg-descr
@@ -0,0 +1,4 @@
+Open source MAC Telnet client and server for connecting to MikroTik RouterOS
+devices and Posix machines via MAC address.
+
+Binaries are provided for both mac-telnet client and server.
diff --git a/net-mgmt/mac-telnet/pkg-plist b/net-mgmt/mac-telnet/pkg-plist
new file mode 100644
index 000000000000..90a18fa23f0a
--- /dev/null
+++ b/net-mgmt/mac-telnet/pkg-plist
@@ -0,0 +1,11 @@
+bin/macping
+bin/mactelnet
+bin/mndp
+etc/mactelnetd.users
+man/man1/macping.1.gz
+man/man1/mactelnet.1.gz
+man/man1/mactelnetd.1.gz
+man/man1/mndp.1.gz
+sbin/mactelnetd
+share/locale/bg/LC_MESSAGES/mactelnet.mo
+share/locale/nb/LC_MESSAGES/mactelnet.mo