[NEW] net/py-haproxyctl: HAProxy control tool

HAProxyctl is a tool to manage the various aspects of HAProxy that can be
controlled by means of its socket.

HAProxyctl can be used in 2 modes. CLI mode and Python API mode. CLI mode,
as the name implies, gives you a command, haproxyctl, that can be used to
control HAProxy. You can use the Python API mode to integrate HAProxyctl
directly in your Python project.

WWW: https://github.com/neurogeek/haproxyctl

PR:		228264
Submitted by:	Tao Zhou <zhoutao laocius org>
This commit is contained in:
koobs
2018-05-18 04:30:24 +00:00
parent b2ced0722d
commit 6a6e935d5e
4 changed files with 40 additions and 0 deletions
+1
View File
@@ -1044,6 +1044,7 @@
SUBDIR += py-gspread
SUBDIR += py-gspreadsheet
SUBDIR += py-haproxy-log-analysis
SUBDIR += py-haproxyctl
SUBDIR += py-httpstat
SUBDIR += py-impacket
SUBDIR += py-ipaddress
+27
View File
@@ -0,0 +1,27 @@
# $FreeBSD$
PORTNAME= haproxyctl
PORTVERSION= 0.5
DISTVERSIONPREFIX= v
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= zhoutao@laocius.org
COMMENT= HAProxy control tool
LICENSE= GPLv3
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${FLAVOR}
USES= python
USE_PYTHON= distutils concurrent autoplist
USE_GITHUB= yes
GH_ACCOUNT= neurogeek
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v haproxy/tests
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1526356889
SHA256 (neurogeek-haproxyctl-v0.5_GH0.tar.gz) = 781b04556f00f42464f10dc943cdce040dd9868015d5b43f097730f107bef6cc
SIZE (neurogeek-haproxyctl-v0.5_GH0.tar.gz) = 7532
+9
View File
@@ -0,0 +1,9 @@
HAProxyctl is a tool to manage the various aspects of HAProxy that can be
controlled by means of its socket.
HAProxyctl can be used in 2 modes. CLI mode and Python API mode. CLI mode,
as the name implies, gives you a command, haproxyctl, that can be used to
control HAProxy. You can use the Python API mode to integrate HAProxyctl
directly in your Python project.
WWW: https://github.com/neurogeek/haproxyctl