summaryrefslogtreecommitdiff
path: root/net-misc/mstpd
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/mstpd')
-rw-r--r--net-misc/mstpd/Manifest2
-rw-r--r--net-misc/mstpd/mstpd-0.1.0.ebuild32
2 files changed, 34 insertions, 0 deletions
diff --git a/net-misc/mstpd/Manifest b/net-misc/mstpd/Manifest
index f89fbf73695c..414f5d328354 100644
--- a/net-misc/mstpd/Manifest
+++ b/net-misc/mstpd/Manifest
@@ -1,3 +1,5 @@
DIST mstpd-0.0.9.tar.gz 113711 BLAKE2B 93ff0213a634fcbbb613c79227d737c3961f4de669e0ac2c7351fa1c22842669edc652ba0deb24917a44df5a465a4e905a98e46ab7ccc7e4ebfd13039e6acfe0 SHA512 1d4a926d8437b7c41c69d2a047718181ca6245f3150e4aeb631f437edaaafe0c40b29802a6c9ea38c9f1dfb1b94149934b473f550358be10bb796295fa632e1e
+DIST mstpd-0.1.0.tar.gz 115670 BLAKE2B d0b666f16941ebb161cf91ad849da9d8f1927e90052f02cbab759685864bdd6040525bcbb69ca3e602140fa7245f1a48eed00d7e8515eb849ae0bd586f41588d SHA512 c3f7e1045e89eaad05b212993e4fb79e3662d247e371340276c59b92e33c732a9d82ed3490ce3b51e79c666db9f999916667d2be5da1f928e1624b288b0295bb
EBUILD mstpd-0.0.9-r1.ebuild 733 BLAKE2B 564c91acdbcab65c4bd1806da02dd052d8bcf619fbc5102e27219ec9a3abb50d38a329330a507dfde911062663f308fdd9a93ee4c7feff834e3b8039c7dbf3b9 SHA512 d16f59418b6884c3d335dad2c8c2ee9e11ec468fcdaf0a1707e430e1f074aade0d3fd78d1cd3e0b8ef28681e97d8c426b7698594aad63d0df756f925956c417f
+EBUILD mstpd-0.1.0.ebuild 733 BLAKE2B 990abdcd2c89d7a82a7fd308289e479a6c828935aebd1d6a78b6522727cae140e9e62d1c33e887bbb7a79ff781e353056507c96a5afd432673faaa7bd6cfb9ec SHA512 2c554f3655906a5ff648626b0ec7eb3d0be7d74e5061bad6227907824400f1b7e246af22236274190947ea3925e2a6b8d97763e86858c630e210a824fe4d06fa
MISC metadata.xml 324 BLAKE2B ef9e36b394aac8a3f2bb74d5b9ebcc8fc6bed743cad7afc6937b9efdcb1b0389d13d59f5b6f8d23cbc5ed3f15a98b66cb9265e71ac875d7a0466e909d6d7e60d SHA512 e518c69f5f7d9a294a88ea36e2b9f01c1362759decb2779290349e359c47ac0c641cab4e7c50cf7e8e8358db90fd7598b90203e282068b0cb49473ebdc1dcb18
diff --git a/net-misc/mstpd/mstpd-0.1.0.ebuild b/net-misc/mstpd/mstpd-0.1.0.ebuild
new file mode 100644
index 000000000000..c8603cd165e9
--- /dev/null
+++ b/net-misc/mstpd/mstpd-0.1.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools bash-completion-r1 systemd
+
+DESCRIPTION="Multiple spanning tree protocol daemon"
+HOMEPAGE="https://github.com/mstpd/mstpd"
+SRC_URI="https://github.com/mstpd/mstpd/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-bashcompletiondir="$(get_bashcompdir)" \
+ --with-systemdunitdir="$(systemd_get_systemunitdir)" \
+ --localstatedir="${EPREFIX}"/
+}
+
+src_install() {
+ default
+ dosym ../../sbin/bridge-stp /lib/mstpctl-utils/mstpctl_restart_config
+ dosym bridge-stp /sbin/mstp_restart
+}