summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2024-09-29 14:32:26 +0200
committerConrad Kostecki <conikost@gentoo.org>2024-09-29 14:41:45 +0200
commit48235a7e9aed6b96007a0981ea88888e2e292bef (patch)
tree83d11d8340b562a2ab743360d6c73c2bc65902c7 /app-admin/winbox
parentprofiles/license_groups: add MikroTik license to EULA (diff)
downloadgentoo-48235a7e9aed6b96007a0981ea88888e2e292bef.tar.gz
gentoo-48235a7e9aed6b96007a0981ea88888e2e292bef.tar.bz2
gentoo-48235a7e9aed6b96007a0981ea88888e2e292bef.zip
app-admin/winbox: new package, add 4.0_beta8
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-admin/winbox')
-rw-r--r--app-admin/winbox/Manifest1
-rw-r--r--app-admin/winbox/metadata.xml12
-rw-r--r--app-admin/winbox/winbox-4.0_beta8.ebuild48
3 files changed, 61 insertions, 0 deletions
diff --git a/app-admin/winbox/Manifest b/app-admin/winbox/Manifest
new file mode 100644
index 000000000000..ef3517ce4529
--- /dev/null
+++ b/app-admin/winbox/Manifest
@@ -0,0 +1 @@
+DIST winbox-4.0_beta8.zip 22220389 BLAKE2B 6496065214812b3acfdc73a2f586b629f7cb0462df49a6a8676be28578b3c4f7a65711998f7129c50a71894f3998256b1ce0c239dfca59a8abc79ba6b4ac9c45 SHA512 bbe8830f5048a033b80ea2eb3a0fb87da637345553166abb60943bd39a90b39136f40ace8c0aed83abaf86aefaa1b9a6292f5cd2152c5279ef00976360ef3c77
diff --git a/app-admin/winbox/metadata.xml b/app-admin/winbox/metadata.xml
new file mode 100644
index 000000000000..19aa652fba1a
--- /dev/null
+++ b/app-admin/winbox/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>conikost@gentoo.org</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <longdescription>
+ Winbox is a small utility that allows administration of
+ MikroTik RouterOS using a fast and simple GUI.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-admin/winbox/winbox-4.0_beta8.ebuild b/app-admin/winbox/winbox-4.0_beta8.ebuild
new file mode 100644
index 000000000000..0f3dd57c5f95
--- /dev/null
+++ b/app-admin/winbox/winbox-4.0_beta8.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop
+
+DESCRIPTION="Management Software for MikroTik RouterOS"
+HOMEPAGE="https://mikrotik.com/"
+SRC_URI="https://download.mikrotik.com/routeros/winbox/$(ver_cut 1-2)$(ver_cut 3-4)/WinBox_Linux.zip -> ${P}.zip"
+S="${WORKDIR}"
+
+LICENSE="MikroTik"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+RDEPEND="
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/libglvnd
+ sys-libs/zlib
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libxkbcommon
+ x11-libs/xcb-util-image
+ x11-libs/xcb-util-keysyms
+ x11-libs/xcb-util-renderutil
+ x11-libs/xcb-util-wm
+"
+BDEPEND="app-arch/unzip"
+
+RESTRICT="bindist mirror"
+
+QA_PREBUILT="opt/winbox/winbox"
+
+src_install() {
+ exeinto /opt/winbox
+ doexe WinBox
+
+ insinto /opt/winbox
+ doins -r assets
+
+ dodir /opt/bin
+ dosym ../winbox/WinBox /opt/bin/winbox
+
+ doicon assets/img/winbox.png
+ make_desktop_entry winbox WinBox WinBox Network
+}