git: 0c7c9579960a - main - net/py-ephemeral-port-reserve: New port: Bind to ephemeral port, force TIME_WAIT state, and unbind it
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Jul 2023 17:04:31 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=0c7c9579960a30688fa37b1bd67fbc596f98dfba commit 0c7c9579960a30688fa37b1bd67fbc596f98dfba Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-07-02 16:56:13 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-07-02 16:56:13 +0000 net/py-ephemeral-port-reserve: New port: Bind to ephemeral port, force TIME_WAIT state, and unbind it --- net/Makefile | 1 + net/py-ephemeral-port-reserve/Makefile | 23 +++++++++++++++++++++++ net/py-ephemeral-port-reserve/distinfo | 3 +++ net/py-ephemeral-port-reserve/pkg-descr | 4 ++++ 4 files changed, 31 insertions(+) diff --git a/net/Makefile b/net/Makefile index ff66f4621d5a..d2cd597b192e 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1050,6 +1050,7 @@ SUBDIR += py-duet SUBDIR += py-dugong SUBDIR += py-ec2-cli-tools + SUBDIR += py-ephemeral-port-reserve SUBDIR += py-errbot SUBDIR += py-eventlet SUBDIR += py-gdown diff --git a/net/py-ephemeral-port-reserve/Makefile b/net/py-ephemeral-port-reserve/Makefile new file mode 100644 index 000000000000..b7375adf61f2 --- /dev/null +++ b/net/py-ephemeral-port-reserve/Makefile @@ -0,0 +1,23 @@ +PORTNAME= ephemeral-port-reserve +DISTVERSIONPREFIX= v +DISTVERSION= 1.1.4 +CATEGORIES= net python +#MASTER_SITES= PYPI # no tests +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Bind to ephemeral port, force TIME_WAIT state, and unbind it +WWW= https://github.com/Yelp/ephemeral-port-reserve/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= distutils autoplist pytest + +USE_GITHUB= yes +GH_ACCOUNT= Yelp + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/net/py-ephemeral-port-reserve/distinfo b/net/py-ephemeral-port-reserve/distinfo new file mode 100644 index 000000000000..633095b93ea3 --- /dev/null +++ b/net/py-ephemeral-port-reserve/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688316737 +SHA256 (Yelp-ephemeral-port-reserve-v1.1.4_GH0.tar.gz) = 522a3b80e885c62b9561c4150cefda7a67cad954d22d474c6f9362348828e079 +SIZE (Yelp-ephemeral-port-reserve-v1.1.4_GH0.tar.gz) = 4839 diff --git a/net/py-ephemeral-port-reserve/pkg-descr b/net/py-ephemeral-port-reserve/pkg-descr new file mode 100644 index 000000000000..236dc50a3e9b --- /dev/null +++ b/net/py-ephemeral-port-reserve/pkg-descr @@ -0,0 +1,4 @@ +ephemeral-port-reserve handles the situation when you need a networked program +to bind to a port that can't be hard-coded. Generally this is when you want to +run several of them in parallel; if they all bind to port 8080, only one of +them can succeed.