diff --git a/net/Makefile b/net/Makefile index 0986c536f879..800b7a2da27b 100644 --- a/net/Makefile +++ b/net/Makefile @@ -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 diff --git a/net/py-haproxyctl/Makefile b/net/py-haproxyctl/Makefile new file mode 100644 index 000000000000..dd3ca195a2fe --- /dev/null +++ b/net/py-haproxyctl/Makefile @@ -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 diff --git a/net/py-haproxyctl/distinfo b/net/py-haproxyctl/distinfo new file mode 100644 index 000000000000..a7441393d9ff --- /dev/null +++ b/net/py-haproxyctl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1526356889 +SHA256 (neurogeek-haproxyctl-v0.5_GH0.tar.gz) = 781b04556f00f42464f10dc943cdce040dd9868015d5b43f097730f107bef6cc +SIZE (neurogeek-haproxyctl-v0.5_GH0.tar.gz) = 7532 diff --git a/net/py-haproxyctl/pkg-descr b/net/py-haproxyctl/pkg-descr new file mode 100644 index 000000000000..3309954c597c --- /dev/null +++ b/net/py-haproxyctl/pkg-descr @@ -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