From nobody Sun Oct 10 14:12:20 2021 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 65BA517E3051; Sun, 10 Oct 2021 14:12:20 +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 4HS3lm2TWTz4s9p; Sun, 10 Oct 2021 14:12:20 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 3581A6FF7; Sun, 10 Oct 2021 14:12:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19AECKID088763; Sun, 10 Oct 2021 14:12:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19AECK15088762; Sun, 10 Oct 2021 14:12:20 GMT (envelope-from git) Date: Sun, 10 Oct 2021 14:12:20 GMT Message-Id: <202110101412.19AECK15088762@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: MANTANI Nobutaka Subject: git: 9db74072ecee - main - net/dshell: Resurrect port and update to the snapshot on 2021-06-10. 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: nobutaka X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9db74072eceebe4e0abad2e4f4f22c42cbaf63b1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by nobutaka: URL: https://cgit.FreeBSD.org/ports/commit/?id=9db74072eceebe4e0abad2e4f4f22c42cbaf63b1 commit 9db74072eceebe4e0abad2e4f4f22c42cbaf63b1 Author: MANTANI Nobutaka AuthorDate: 2021-10-10 14:11:06 +0000 Commit: MANTANI Nobutaka CommitDate: 2021-10-10 14:11:06 +0000 net/dshell: Resurrect port and update to the snapshot on 2021-06-10. This port was previously removed due to lack of Python 3 support. Current version supports Python 3. --- MOVED | 1 - net/Makefile | 1 + net/dshell/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ net/dshell/distinfo | 3 +++ net/dshell/files/pkg-message.in | 13 +++++++++++++ net/dshell/pkg-descr | 12 ++++++++++++ 6 files changed, 70 insertions(+), 1 deletion(-) diff --git a/MOVED b/MOVED index a6389f9743c6..f8fce88ca611 100644 --- a/MOVED +++ b/MOVED @@ -15096,7 +15096,6 @@ databases/postgresql94-plpython|databases/postgresql95-plpython|2020-07-24|Has e databases/postgresql94-server|databases/postgresql95-server|2020-07-24|Has expired: PostgreSQL-9.4 has reached end-of-life databases/postgresql94-pltcl|databases/postgresql95-pltcl|2020-07-24|Has expired: PostgreSQL-9.4 has reached end-of-life databases/postgresql94-plperl|databases/postgresql95-plperl|2020-07-24|Has expired: PostgreSQL-9.4 has reached end-of-life -net/dshell||2020-07-24|Uses deprecated version of python databases/sqliteodbc-sqlite2|databases/sqliteodbc|2020-07-27|Has expired: SQLite2 has stopped development in 2005, please move to SQLite3 graphics/wayland-info|graphics/wayland-utils|2020-08-02|Project renamed devel/rubygem-grape11|devel/rubygem-grape|2020-08-03|Has expired: use devel/rubygem-grape instead diff --git a/net/Makefile b/net/Makefile index e0943bdb7d77..1bcb2aadb409 100644 --- a/net/Makefile +++ b/net/Makefile @@ -131,6 +131,7 @@ SUBDIR += drive SUBDIR += dropbox-api-command SUBDIR += dropbox-uploader + SUBDIR += dshell SUBDIR += dtcp SUBDIR += dtcpclient SUBDIR += dual-dhclient diff --git a/net/dshell/Makefile b/net/dshell/Makefile new file mode 100644 index 000000000000..61ee9a5c7fb1 --- /dev/null +++ b/net/dshell/Makefile @@ -0,0 +1,41 @@ +PORTNAME= dshell +PORTVERSION= 3.2.1.b.${SNAPDATE} +CATEGORIES= net +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= nobutaka@FreeBSD.org +COMMENT= Extensible network forensic analysis framework + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= bash:shells/bash \ + ${PYTHON_PKGNAMEPREFIX}tabulate>0:devel/py-tabulate@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}GeoIP2>0:net/py-GeoIP2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}netifaces>0:net/py-netifaces@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pcapy>0:net/py-pcapy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pypacker>0:net/py-pypacker@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}elasticsearch>0:textproc/py-elasticsearch@${PY_FLAVOR} +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USES= python +USE_GITHUB= yes +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +GH_ACCOUNT= USArmyResearchLab +GH_PROJECT= Dshell +GH_TAGNAME= 502a546 +SNAPDATE= 20210610 + +SUB_FILES= pkg-message +SUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} + +post-patch: + ${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \ + -e 's|python3|${PYTHON_CMD}|' ${WRKSRC}/scripts/dshell + ${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|' ${WRKSRC}/dshell/data/dshellrc + +.include diff --git a/net/dshell/distinfo b/net/dshell/distinfo new file mode 100644 index 000000000000..1991aa529cd8 --- /dev/null +++ b/net/dshell/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1633790744 +SHA256 (USArmyResearchLab-Dshell-3.2.1.b.20210610-502a546_GH0.tar.gz) = 7b06caa6a72a157a6abc879ff33076150192e93d710b3bc24d765e6eb1d10134 +SIZE (USArmyResearchLab-Dshell-3.2.1.b.20210610-502a546_GH0.tar.gz) = 191755 diff --git a/net/dshell/files/pkg-message.in b/net/dshell/files/pkg-message.in new file mode 100644 index 000000000000..75a7f847e9c6 --- /dev/null +++ b/net/dshell/files/pkg-message.in @@ -0,0 +1,13 @@ +[ +{ type: install + message: <