From nobody Wed Apr 05 17:33:28 2023 X-Original-To: dev-commits-ports-main@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 4PsBYh5hz9z43pBf; Wed, 5 Apr 2023 17:33:28 +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 4PsBYh3vqFz47mc; Wed, 5 Apr 2023 17:33:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680716008; 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=wWRGrBqtL1pqT2RIropEyH/M9eG6vvnUAql3fJXhFIA=; b=YqGHk/ugI94NyWMH+cyIXm1VCDDlHDwIEURnCzCEQQ+aPvbd52Vd3GE9lSvGWXGQMFY+T2 2y3kdtWp1VYL5pa+CJSk3HsHSNcPcHWG+Cz9GmZSeGlxvIhv/h0yIYFfFWMGFCKgBqBgtj k36yxKWdDEUeEII/cctdn/h80H/OgfcPi3t5VL6gnLv0bJFj5pM2oWLVMZbC+6hHz9b/L0 9nTBJIJOoRqReV5vEb2OQLHxhh5CDzNJFRys4Re/3ztmFPWLDR1wylgxU02cwkfimkjsV4 sIgWxCbJhS8FE5l6XG8cuZCs21/Wq8UP33EobjYrSLkBKI869e5TqiBq+Q1PlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680716008; 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=wWRGrBqtL1pqT2RIropEyH/M9eG6vvnUAql3fJXhFIA=; b=wLAeNErlaunBS2pSooNDN7EIS/LKb5ywyKYOEUkonWNO0l5mkoPVAfuaNamNKaBmo7fchV pQxvRIiiqcT8lJMKAPe4ZmOnjcMrWoUrz4GDfHQIzIM0VY1RApFSIAeWDLtjE/G1ys7Lnv 8E+TN+TS3UlO6qxNiqQo3WjBCAGhMG26ilC5VQi4RiaTwAeOc03tFosDwQZ2Ut4lgLpM/0 sUXL/cWXR0o5mHCDBTeBwCRqQJ504VMeXgHXzJJkMFR7o/CX+VLB1LbtI7DxP+p0Tl7nLg KTW2wkJ/R/em1pdwXIz0GV99Sw6djje13dKEs/sA3MqsCZu7XmnIqglTCt7F7w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680716008; a=rsa-sha256; cv=none; b=Lwv7ope4ytdoU8b44+nYOvlh92YDok0ajlxkARp13ngFHo8JxcKu5XVVOU15mT3L+Q2V8J eWTbtFkeU9diWaOWl9ZmdoArfHZLz6PbNz+Qq4owrL1G7DcL7zz/m6+q6HdACweQzONJfn 10xF4vn407NspkGHnLmJxDUG+5GpacG1diFClXJ8IRtR4JJlsIjXs6QGN0OgaJNoGXnTOH qXX5Kojn98Cp3NbV1PwpUL6qkdVfIVPBgN42OZo/sy2FAuyqCtFYr9MPf9/13b2ZYecVog ldQPD5156TSYIjQ8fq3o25A8dP/Qi2bO2ffh+unFgYBpAG+7vRyrA1075Jly9w== 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 4PsBYh2zngzWpx; Wed, 5 Apr 2023 17:33:28 +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 335HXSae083489; Wed, 5 Apr 2023 17:33:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 335HXSpQ083488; Wed, 5 Apr 2023 17:33:28 GMT (envelope-from git) Date: Wed, 5 Apr 2023 17:33:28 GMT Message-Id: <202304051733.335HXSpQ083488@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 4b3d37988d35 - main - net/rubygem-packetgen: Add rubygem-packetgen 3.2.2 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4b3d37988d35f41063afc47b89c1170ceada9ace Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=4b3d37988d35f41063afc47b89c1170ceada9ace commit 4b3d37988d35f41063afc47b89c1170ceada9ace Author: Po-Chuan Hsieh AuthorDate: 2023-04-05 17:07:44 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-04-05 17:29:41 +0000 net/rubygem-packetgen: Add rubygem-packetgen 3.2.2 PacketGen provides simple ways to generate, send and capture network packets. --- net/Makefile | 1 + net/rubygem-packetgen/Makefile | 23 +++++++++++++++++++++++ net/rubygem-packetgen/distinfo | 3 +++ net/rubygem-packetgen/files/patch-gemspec | 11 +++++++++++ net/rubygem-packetgen/pkg-descr | 1 + 5 files changed, 39 insertions(+) diff --git a/net/Makefile b/net/Makefile index d096ff4e170b..910fbdf44934 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1355,6 +1355,7 @@ SUBDIR += rubygem-orchestrator_client SUBDIR += rubygem-ovirt-engine-sdk SUBDIR += rubygem-packetfu + SUBDIR += rubygem-packetgen SUBDIR += rubygem-pcaprub SUBDIR += rubygem-private_address_check SUBDIR += rubygem-proxifier diff --git a/net/rubygem-packetgen/Makefile b/net/rubygem-packetgen/Makefile new file mode 100644 index 000000000000..8707af0d104d --- /dev/null +++ b/net/rubygem-packetgen/Makefile @@ -0,0 +1,23 @@ +PORTNAME= packetgen +PORTVERSION= 3.2.2 +CATEGORIES= net rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Network packet manipulation library +WWW= https://github.com/sdaubert/packetgen + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-interfacez>=1.0<2:net/rubygem-interfacez \ + rubygem-pcaprub>=0.12.0:net/rubygem-pcaprub \ + rubygem-rasn1>=0.8.0<1:security/rubygem-rasn1 + +USES= gem + +NO_ARCH= yes + +PLIST_FILES= bin/pgconsole + +.include diff --git a/net/rubygem-packetgen/distinfo b/net/rubygem-packetgen/distinfo new file mode 100644 index 000000000000..fd9aba326aa2 --- /dev/null +++ b/net/rubygem-packetgen/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1679498512 +SHA256 (rubygem/packetgen-3.2.2.gem) = 302b19b26ddf806956e4a3f0996140d4250f9f91f0526672553e3f591446e89f +SIZE (rubygem/packetgen-3.2.2.gem) = 109568 diff --git a/net/rubygem-packetgen/files/patch-gemspec b/net/rubygem-packetgen/files/patch-gemspec new file mode 100644 index 000000000000..88375b284bb4 --- /dev/null +++ b/net/rubygem-packetgen/files/patch-gemspec @@ -0,0 +1,11 @@ +--- packetgen.gemspec.orig 2023-03-23 11:32:52 UTC ++++ packetgen.gemspec +@@ -24,7 +24,7 @@ Gem::Specification.new do |s| + s.specification_version = 4 + + s.add_runtime_dependency(%q.freeze, ["~> 1.0"]) +- s.add_runtime_dependency(%q.freeze, ["~> 0.12.0"]) ++ s.add_runtime_dependency(%q.freeze, [">= 0.12.0"]) + s.add_runtime_dependency(%q.freeze, ["~> 0.8", ">= 0.8.0"]) + s.add_development_dependency(%q.freeze, ["~> 13.0"]) + s.add_development_dependency(%q.freeze, ["~> 3.7"]) diff --git a/net/rubygem-packetgen/pkg-descr b/net/rubygem-packetgen/pkg-descr new file mode 100644 index 000000000000..a8f20810e841 --- /dev/null +++ b/net/rubygem-packetgen/pkg-descr @@ -0,0 +1 @@ +PacketGen provides simple ways to generate, send and capture network packets.