From nobody Sun Jul 02 17:04:31 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QvFlg40qfz4lRgk; Sun, 2 Jul 2023 17:04:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QvFlg3ZYQz3mYn; Sun, 2 Jul 2023 17:04:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688317471; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Qj1VpqViI2rfoI5Y8iQ3C+rb2uSVjhnHaUrHHDl+uaw=; b=yw9Lh0Piap9KLVk6SjsAywgBDwpSfEKGUcoGjqbOzcPd952ZYhw8oc4g/C4MKWJbvDrey7 /DoOl9GiCYuEqtI0nqx5VWVDOAiih35zqo6RsWa6C7vbIYL9QjTPGblveLUe5BJ06W9HEq n+vTjefY0U7ng6PxpeRzaUt2uriKksGLO/zOfuaH4leDwoymZAQeVw3uaYbqXGaHLQLsGh o7IOv/Wg38NUqzy4S0THnpbaf6NnZG4kVBs/BMhPDbHqgXZ8rTsNUcXCDq5BEYiXshdJhf 2wbC7FhFEOaQfaaHAIu0DSASzdTtJEKuE0N13yctSE2gL0EDtTsYdGWb6pOwng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688317471; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Qj1VpqViI2rfoI5Y8iQ3C+rb2uSVjhnHaUrHHDl+uaw=; b=o3fs0DDdkxLXI/1vdTQeZxaUi0nYQ0w5Bs8ApxXls52K/iQj2EvLmVS1sc/WsTYqZeSgWh q5ja/RxWmm+ahyfr0lDcBbTzwEY5p82O7ACmr5YS9r76fKUxPqC16awKAY+Q8K44DSz1kG EGdkARNQutxL+H64qrx9nCHfN9TSh98h28ZAWc5m6wCaEfyVoxtn7/n3RZhFZf9XZYpKPq AXXJyo4ArRETYOSAo9R7SnAF38SRHW5fLWWihGL3l6Sd+6lpNhQXGyUh8Y3pYAD3tKHeCq 26CRkk3J8eCuMV0q13IMVlGaUll7OX0q7XFVcVWXIVxViA1l3H7t7nI7KahAQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688317471; a=rsa-sha256; cv=none; b=eHJ5opZBu7EkW9rbz7Q8/n3FYCMnqlbdzPo330x3ODTNJhuNYwHVQN0XhJcSyX1COTocL3 MjUJKb4IVXSSn6hHpYhIJUduHgHS5XF9aa1l5oT4sQQ3vsgym4T+nsBNaUwavn6gSzIEvL PCBhjmN+EUWkRaWUxvLfmNF2/OxuawyMM+pT3tlCvDzaLojm6rbQNQ6jtHTZlsaxO04ow4 a2wML/JA/vul/vhYW5d3DVNWhU0vl8PPZPp6d0qv8HcpRAKVhaGE5nf42qQd4Ps24CN5Vn BqLxJXDLUFJ8mqRLvPEVPuT01hYRrO21sQPBGAPq1EQ4LJRapwpe1r3H2alZGA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QvFlg27P4zGhL; Sun, 2 Jul 2023 17:04:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 362H4VKF018630; Sun, 2 Jul 2023 17:04:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 362H4VTN018629; Sun, 2 Jul 2023 17:04:31 GMT (envelope-from git) Date: Sun, 2 Jul 2023 17:04:31 GMT Message-Id: <202307021704.362H4VTN018629@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 0c7c9579960a - main - net/py-ephemeral-port-reserve: New port: Bind to ephemeral port, force TIME_WAIT state, and unbind it List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0c7c9579960a30688fa37b1bd67fbc596f98dfba Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=0c7c9579960a30688fa37b1bd67fbc596f98dfba commit 0c7c9579960a30688fa37b1bd67fbc596f98dfba Author: Yuri Victorovich AuthorDate: 2023-07-02 16:56:13 +0000 Commit: Yuri Victorovich 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 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.