From 6b3a98ee34ed08ac98e3bd45fa1a632967e5685a Mon Sep 17 00:00:00 2001 From: Frank Wall Date: Fri, 29 Mar 2024 21:14:20 +0100 Subject: [PATCH] net/py-haproxy-cli: new port haproxy-cli is a tool to manage the various aspects of HAProxy that can be controlled by means of its socket. haproxy-cli can be used in 2 modes: CLI mode and Python API mode. CLI mode, as the name implies, gives you a command, haproxy-cli, that can be used to control HAProxy. You can use the Python API mode to integrate haproxy-cli directly in your Python project. PR: 275562 --- net/Makefile | 1 + net/py-haproxy-cli/Makefile | 18 ++++++++++++++++++ net/py-haproxy-cli/distinfo | 3 +++ net/py-haproxy-cli/pkg-descr | 7 +++++++ 4 files changed, 29 insertions(+) create mode 100644 net/py-haproxy-cli/Makefile create mode 100644 net/py-haproxy-cli/distinfo create mode 100644 net/py-haproxy-cli/pkg-descr diff --git a/net/Makefile b/net/Makefile index efd6d20a54d4..24829d50eda1 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1056,6 +1056,7 @@ SUBDIR += py-gntp SUBDIR += py-gspread SUBDIR += py-h11 + SUBDIR += py-haproxy-cli SUBDIR += py-haproxy-log-analysis SUBDIR += py-haproxyctl SUBDIR += py-httpstat diff --git a/net/py-haproxy-cli/Makefile b/net/py-haproxy-cli/Makefile new file mode 100644 index 000000000000..7db96ea48960 --- /dev/null +++ b/net/py-haproxy-cli/Makefile @@ -0,0 +1,18 @@ +PORTNAME= haproxy-cli +PORTVERSION= 0.6.1 +CATEGORIES= net python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= freebsd@moov.de +COMMENT= Tool to interact with HAProxy +WWW= https://github.com/markt-de/haproxy-cli + +LICENSE= GPLv3 + +USES= python +USE_PYTHON= distutils concurrent autoplist + +NO_ARCH= yes + +.include diff --git a/net/py-haproxy-cli/distinfo b/net/py-haproxy-cli/distinfo new file mode 100644 index 000000000000..2333805bad96 --- /dev/null +++ b/net/py-haproxy-cli/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1701813827 +SHA256 (haproxy-cli-0.6.1.tar.gz) = 869f8e5c21db8db9a43cc50020d50e4697d2a9141669bc161289e0163d412319 +SIZE (haproxy-cli-0.6.1.tar.gz) = 22513 diff --git a/net/py-haproxy-cli/pkg-descr b/net/py-haproxy-cli/pkg-descr new file mode 100644 index 000000000000..3e0b2371cf67 --- /dev/null +++ b/net/py-haproxy-cli/pkg-descr @@ -0,0 +1,7 @@ +haproxy-cli is a tool to manage the various aspects of HAProxy that can be +controlled by means of its socket. + +haproxy-cli can be used in 2 modes: CLI mode and Python API mode. CLI mode, +as the name implies, gives you a command, haproxy-cli, that can be used to +control HAProxy. You can use the Python API mode to integrate haproxy-cli +directly in your Python project.