summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2024-01-03 10:09:15 +0000
committerPatrick Lauer <patrick@gentoo.org>2024-01-03 10:09:29 +0000
commit0d2a47dfa31618905a3cc708a71f8f1afdc077c3 (patch)
tree7a095e5b1e3c80fb93307ac8df3a3216a49d36e8
parentdev-db/spatialite: fixup freexl dep, require XML (diff)
downloadgentoo-0d2a47dfa31618905a3cc708a71f8f1afdc077c3.tar.gz
gentoo-0d2a47dfa31618905a3cc708a71f8f1afdc077c3.tar.bz2
gentoo-0d2a47dfa31618905a3cc708a71f8f1afdc077c3.zip
net-proxy/haproxy-dataplaneapi: add 2.8.1
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
-rw-r--r--net-proxy/haproxy-dataplaneapi/haproxy-dataplaneapi-2.8.1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/net-proxy/haproxy-dataplaneapi/haproxy-dataplaneapi-2.8.1.ebuild b/net-proxy/haproxy-dataplaneapi/haproxy-dataplaneapi-2.8.1.ebuild
new file mode 100644
index 000000000000..10b3b3affc66
--- /dev/null
+++ b/net-proxy/haproxy-dataplaneapi/haproxy-dataplaneapi-2.8.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="haproxy dataplane api / sidecar"
+HOMEPAGE="https://github.com/haproxytech/dataplaneapi https://www.haproxy.com/documentation/dataplaneapi/latest/"
+
+SRC_URI="https://github.com/haproxytech/dataplaneapi/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ http://gentooexperimental.org/~patrick/${P}-vendor.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+S="${WORKDIR}/dataplaneapi-${PV}"
+
+src_compile() {
+ ego build -o ./build/dataplaneapi ./cmd/dataplaneapi/
+}
+
+src_install() {
+ dobin build/dataplaneapi
+ dodoc README.md
+}