From nobody Sun Jun 12 07:40:18 2022 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 1EA038447B1; Sun, 12 Jun 2022 07:40:19 +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 4LLRSM0NVtz3wDK; Sun, 12 Jun 2022 07:40:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655019619; 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=mbBW3fDEe0KjLPsNC83uErlOUyNcE3awGgGM7JEuMig=; b=HSgGWIE9V9VLT0DPIiAbYr2KaETQePJgjadIF9EWJGgQSESPnSXNqfZcFTCupdoEWjmQ8C AL8nhWUoC6QHF2cYHlwTWCIQnhd4jwjQXxBRuQy/PooPCYLea8NZRQbyMpOvAPIvoCAn5L lxEhE5/MMOvlckUQ+EA5VVP9/xz8qNOVLFv3LwnrfLVquC0y4CxAmi04UvYE2WnctTx5RZ aAO23cA8FJjRPxhjVi5rbo+LuvqhmwwP9jSKgx336OM5pITzhGGnEmw8EYo5JlAwmHrVIa gXkhYzusV3TPuwusoiZRRmMZLhYmDIbZV+9oTex1eRU0xgMDG9IM4ikLsyvQxA== 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 DD1081D4B9; Sun, 12 Jun 2022 07:40:18 +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 25C7eI5m019082; Sun, 12 Jun 2022 07:40:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25C7eIve019057; Sun, 12 Jun 2022 07:40:18 GMT (envelope-from git) Date: Sun, 12 Jun 2022 07:40:18 GMT Message-Id: <202206120740.25C7eIve019057@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: 4f5451e21d28 - main - net/nemesis: Re-add port: Command-line network packet crafting and injection utility 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: 4f5451e21d28a794ae0e7a84e58f011d4f1453a0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655019619; 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=mbBW3fDEe0KjLPsNC83uErlOUyNcE3awGgGM7JEuMig=; b=Lqb8meGwrv0WoyEU5OgtM4qxHWYd7DhE6Kz6JqYYYAhXFX0ecl7YoFRwg6AqdnGi9KPRr9 0thCuHkz3mPLRY0zhFMmoqrfg/68Upj+Bi7hJCke7JC1wS+ZhwdC46t3Jmf3JUoQj8dwWd 3aGOrD0mmVLS7n79+7SjxF37cJZCBVWgPsxpahyKCkMsoYQIc/Mmsx9+lkHPDPEssQ0TyK qrxyLUJkWWtsNyx6Ju7YZ537QoDHx/WmVpvQwaginUOULdtI0bBHS4fY6iLug7kvKA4juy 3728bKItTefvaY/iwpg+SAtVX7XcWeJaYtfPs8Jx+Vf5ByRXvdn5x4mNvhi4lQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655019619; a=rsa-sha256; cv=none; b=TIdfnp6SZzyXaO4YhHxP8Z0ZfR4qXm+ZqFwgYEdkQLvlxj6SEpsEydvUf45OKyentYVebU K3aNZ1CdZeo9iPbo61JKUvmJPXj8lCyLR/rF3jzcbHaLI49n8RAYhCXRZNovT9AiPqktjl Mfxg2fW0gTC3TPMY7biHW2ZbUrpXw29QV/V7NuzlJQeTlrwugg/ZowjWt5mN0hCDPnfRzU F/GST1G/qsQBCk+4pV0exhnPO6cjGKpipGa61dgphnOISjO+gpCScAfP6dLUXDY5jnzwUF CibdEPgSfWx/QBMpLWv3SSWPmMXW37t8hb51DRvuOEm3c958Kk0ZAzBQw8HHnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=4f5451e21d28a794ae0e7a84e58f011d4f1453a0 commit 4f5451e21d28a794ae0e7a84e58f011d4f1453a0 Author: Yuri Victorovich AuthorDate: 2022-06-12 07:14:27 +0000 Commit: Yuri Victorovich CommitDate: 2022-06-12 07:40:15 +0000 net/nemesis: Re-add port: Command-line network packet crafting and injection utility --- MOVED | 1 - net/Makefile | 1 + net/nemesis/Makefile | 25 +++++++++++++++++++++++ net/nemesis/distinfo | 3 +++ net/nemesis/files/patch-src_nemesis-proto__igmp.c | 13 ++++++++++++ net/nemesis/pkg-descr | 6 ++++++ net/nemesis/pkg-plist | 13 ++++++++++++ 7 files changed, 61 insertions(+), 1 deletion(-) diff --git a/MOVED b/MOVED index f13b36edff2f..fa8693e1eb85 100644 --- a/MOVED +++ b/MOVED @@ -6962,7 +6962,6 @@ net/libnet10||2014-09-30|Has expired: Superseded by net/libnet net/despoof||2014-09-30|Has expired: Depends on expired net/libnet10 sysutils/gpkgdep||2014-09-30|Has expired: Requires old pkg_info security/vida||2014-09-30|Has expired: Depends on expired net/libnet10 -net/nemesis||2014-09-30|Has expired: Depends on expired net/libnet10 net-mgmt/sing||2014-09-30|Has expired: Depends on expired net/libnet10 net-mgmt/gps||2014-09-30|Has expired: Depends on expired net/libnet10 net/ttlscan||2014-09-30|Has expired: Depends on expired net/libnet10 diff --git a/net/Makefile b/net/Makefile index 540b76ec59fb..d7707737430e 100644 --- a/net/Makefile +++ b/net/Makefile @@ -492,6 +492,7 @@ SUBDIR += ndpi SUBDIR += ndproxy SUBDIR += neatvnc + SUBDIR += nemesis SUBDIR += nepenthes SUBDIR += net6 SUBDIR += netatalk3 diff --git a/net/nemesis/Makefile b/net/nemesis/Makefile new file mode 100644 index 000000000000..164f532fa2b0 --- /dev/null +++ b/net/nemesis/Makefile @@ -0,0 +1,25 @@ +PORTNAME= nemesis +DISTVERSIONPREFIX= v +DISTVERSION= 1.8-5 +DISTVERSIONSUFFIX= -gb1d398c +CATEGORIES= net + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Command-line network packet crafting and injection utility + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libnet.so:net/libnet + +USES= autoreconf gmake localbase:ldflags + +GNU_CONFIGURE= yes + +USE_GITHUB= yes +GH_ACCOUNT= libnet + +post-install: + @${RM} -r ${STAGEDIR}${DOCSDIR} # DOCSDIR doesn't have anything valuable + +.include diff --git a/net/nemesis/distinfo b/net/nemesis/distinfo new file mode 100644 index 000000000000..159a11aee5c4 --- /dev/null +++ b/net/nemesis/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1655015499 +SHA256 (libnet-nemesis-v1.8-5-gb1d398c_GH0.tar.gz) = 117918465e96deed3ca05b9bb18eaba58a8fd55a01c3bba2647e77e0d19afdc0 +SIZE (libnet-nemesis-v1.8-5-gb1d398c_GH0.tar.gz) = 95116 diff --git a/net/nemesis/files/patch-src_nemesis-proto__igmp.c b/net/nemesis/files/patch-src_nemesis-proto__igmp.c new file mode 100644 index 000000000000..14d4ac9064c4 --- /dev/null +++ b/net/nemesis/files/patch-src_nemesis-proto__igmp.c @@ -0,0 +1,13 @@ +- workaround for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264625 + +--- src/nemesis-proto_igmp.c.orig 2022-06-12 06:55:58 UTC ++++ src/nemesis-proto_igmp.c +@@ -6,6 +6,8 @@ + * nemesis-proto_igmp.c (IGMP Packet Generator) + */ + ++#include ++#include + #include + #include + diff --git a/net/nemesis/pkg-descr b/net/nemesis/pkg-descr new file mode 100644 index 000000000000..4d1975c4b739 --- /dev/null +++ b/net/nemesis/pkg-descr @@ -0,0 +1,6 @@ +The Nemesis Project is designed to be a command line based, portable +human IP stack for UNIX-like and Windows systems. The suite is broken +down by protocol, and should allow for useful scripting of injected +packets from simple shell scripts. + +WWW: https://troglobit.com/projects/nemesis/ diff --git a/net/nemesis/pkg-plist b/net/nemesis/pkg-plist new file mode 100644 index 000000000000..066f3ad11129 --- /dev/null +++ b/net/nemesis/pkg-plist @@ -0,0 +1,13 @@ +bin/nemesis +man/man1/nemesis-arp.1.gz +man/man1/nemesis-dhcp.1.gz +man/man1/nemesis-dns.1.gz +man/man1/nemesis-ethernet.1.gz +man/man1/nemesis-icmp.1.gz +man/man1/nemesis-igmp.1.gz +man/man1/nemesis-ip.1.gz +man/man1/nemesis-ospf.1.gz +man/man1/nemesis-rip.1.gz +man/man1/nemesis-tcp.1.gz +man/man1/nemesis-udp.1.gz +man/man1/nemesis.1.gz