From nobody Fri Aug 04 13:14:48 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 4RHR5N6Fcyz4kS2j; Fri, 4 Aug 2023 13:14:48 +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 4RHR5N4MCNz4d9k; Fri, 4 Aug 2023 13:14:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691154888; 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=xsB8m1maeU+7R5pfEt9y7F+cn9bof7+qIZqCDz+p9zk=; b=a6w3Izkpx0Cg0fR9HJpsYY9YdeV5IqnD2tIc8fsZaRtUYRyrNvfU7+8ghlfLd7YvKj76g8 Jr9VfFS/cJJUZRTFVRjNikp39nLM5Aj61DnzMybGCAuNarnxiJTie9W22cunnbmiSNlvIF QqSGHZ2UsRK8BAhutC6if5OWZZZF6qNg587zrZ/WZTGDaj2PYxlXPQyn0nn4pdRKYfHmZM kWIQNB4tP6QqppwJhfy1W3fAwhPuaWuKpUPBn+VhsPHUJ+K6YZthz8gk6/yn59pECafeWY jadu6UHKBGzJ98/m8uEmRpbKGkSrNKQnXePe6fmkh6InI3qbQ6D0rvD2PB73Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691154888; 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=xsB8m1maeU+7R5pfEt9y7F+cn9bof7+qIZqCDz+p9zk=; b=LflJOgQbrgg8QaXNkmFSjgPPB5rB9qDt/SMxPgLXpwXTLvRmWvPQZQ9PekWePZfhC/4mOB g4Eaczm0NcRMHjx8kOT5T4fhjlEArkZGWsTVDF4Osg7TuE+LExc7fc10tIYX5S2eWVMnLk cejhaxsORSBErFCSY1HRdg+jRArZ3nOrLIvBDh1ZbM6ExblcfVYsGbMyy9Clej9UfQ1H2t /wIbx7dlw0Ay+Hd7BjaVCMXNLRDRC/v9RC12PtgYsVkgeI/UpGflub1kU49ReZf2KJ+kCG qY3V4LRi1oB8FE/K7mlqZw0tiY/GX7b/msSmdTwxVkpo05swHuswqZFlYjcAQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691154888; a=rsa-sha256; cv=none; b=xrry50CfF37mEcLoFlpb6QJdqOrZHBHSbb8QUAT4VXCjv9hewpkte9m+c/75a1Dg78jOgv bhbNtNzyTydgA4zSBlssoCpaGkkXEJIy0OUwtTyoFjv6ndu/HOQRL77e0tVUS2BAf8IgFF LFXgNpIQ2MBoSo+YBdT8Y4y9837/F+CyBb/oftPbOY5K/MBjj7HP+txHOEXHC7OCGZGZr2 ZkTLi+FFqHzFVuBue7nL4et8ila6htxfQYTvHVwJuR2n9YFtOSN0qcWjAqBBG3XBpziJod ULEyZVsMnbEzlLMgaTM7BqJXQdGXSo4mH2DYZWmwVLpKExB94w0F00wH/eW/Jw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RHR5N3DDhz144v; Fri, 4 Aug 2023 13:14:48 +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 374DEmn0003354; Fri, 4 Aug 2023 13:14:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 374DEmwu003353; Fri, 4 Aug 2023 13:14:48 GMT (envelope-from git) Date: Fri, 4 Aug 2023 13:14:48 GMT Message-Id: <202308041314.374DEmwu003353@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rodrigo Osorio Subject: git: dc3b2a07277a - main - net/p5-Net-Pcap: Update to 0.21 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: rodrigo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dc3b2a07277a8060a863ddd6665ab4397af6aec4 Auto-Submitted: auto-generated The branch main has been updated by rodrigo: URL: https://cgit.FreeBSD.org/ports/commit/?id=dc3b2a07277a8060a863ddd6665ab4397af6aec4 commit dc3b2a07277a8060a863ddd6665ab4397af6aec4 Author: Rodrigo Osorio AuthorDate: 2023-08-04 10:52:21 +0000 Commit: Rodrigo Osorio CommitDate: 2023-08-04 13:01:20 +0000 net/p5-Net-Pcap: Update to 0.21 Major changes in 0.19 * Restore compilation with libpcap 1.9+ * Too strict test for error message from libpcap Major changes in 0.20 * Spelling fixes Major changes in 0.21 * Configure: Avoid implicit ints during feature probing * use "our" for global variable declaration * Don't inherit from Exporter anymore This might break modules that rely on Net::Pcap isa Exporter, but that was never documented. Create a patch on stubs.inc to enable fake struct pcap_rmtauth declaration with libpcap > 1.9.0 required by the port. For the record, we don't have remote capture support for libpcap on FreeBSD. Also fix existing patches format to make linter happy Full changelog: https://metacpan.org/dist/Net-Pcap/changes --- net/p5-Net-Pcap/Makefile | 2 +- net/p5-Net-Pcap/distinfo | 6 +++--- net/p5-Net-Pcap/files/patch-Makefile.PL | 4 ++-- net/p5-Net-Pcap/files/patch-stubs.inc | 16 ++++++++++++++++ net/p5-Net-Pcap/files/patch-t__Utils.pm | 4 ++-- 5 files changed, 24 insertions(+), 8 deletions(-) diff --git a/net/p5-Net-Pcap/Makefile b/net/p5-Net-Pcap/Makefile index 76a3e5b872a6..d64a9a6f2530 100644 --- a/net/p5-Net-Pcap/Makefile +++ b/net/p5-Net-Pcap/Makefile @@ -1,5 +1,5 @@ PORTNAME= Net-Pcap -PORTVERSION= 0.18 +PORTVERSION= 0.21 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- diff --git a/net/p5-Net-Pcap/distinfo b/net/p5-Net-Pcap/distinfo index ac5142ee35c5..50e83ca9eadc 100644 --- a/net/p5-Net-Pcap/distinfo +++ b/net/p5-Net-Pcap/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1463505863 -SHA256 (Net-Pcap-0.18.tar.gz) = cb9bd44948c23544bb9d4e28261dbd0dbb3e7564709487a7855576e0d9b68307 -SIZE (Net-Pcap-0.18.tar.gz) = 94207 +TIMESTAMP = 1691142538 +SHA256 (Net-Pcap-0.21.tar.gz) = 962ffdc1c5470bf9e43413297724308e938cb9c9c02a9041d7cbd485b1ddfb13 +SIZE (Net-Pcap-0.21.tar.gz) = 97984 diff --git a/net/p5-Net-Pcap/files/patch-Makefile.PL b/net/p5-Net-Pcap/files/patch-Makefile.PL index a1a3b2fc76e3..7c97e9497448 100644 --- a/net/p5-Net-Pcap/files/patch-Makefile.PL +++ b/net/p5-Net-Pcap/files/patch-Makefile.PL @@ -1,5 +1,5 @@ ---- Makefile.PL.orig 2007-12-02 10:23:04.000000000 +0800 -+++ Makefile.PL 2007-12-30 17:01:30.000000000 +0800 +--- Makefile.PL.orig 2007-12-02 10:23:04 UTC ++++ Makefile.PL @@ -23,6 +23,7 @@ } else { $options{CCFLAGS} = '-Wall' if $Config{cc} eq 'gcc' and $] >= 5.006; diff --git a/net/p5-Net-Pcap/files/patch-stubs.inc b/net/p5-Net-Pcap/files/patch-stubs.inc new file mode 100644 index 000000000000..d94cdb2a6161 --- /dev/null +++ b/net/p5-Net-Pcap/files/patch-stubs.inc @@ -0,0 +1,16 @@ +--- stubs.inc.orig 2023-08-04 08:14:08 UTC ++++ stubs.inc +@@ -355,13 +355,11 @@ + #pragma message( "Warning: the function pcap_open() is not available" ) + #endif + +-#if PERL_PCAP_VERSION < 1009000 + struct pcap_rmtauth { + int type; + char *username; + char *password; + }; +-#endif + + pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err); + pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err) { diff --git a/net/p5-Net-Pcap/files/patch-t__Utils.pm b/net/p5-Net-Pcap/files/patch-t__Utils.pm index 43a1068a3cdf..e8e7fb265b37 100644 --- a/net/p5-Net-Pcap/files/patch-t__Utils.pm +++ b/net/p5-Net-Pcap/files/patch-t__Utils.pm @@ -1,5 +1,5 @@ ---- t/Utils.pm.orig 2012-04-05 17:39:45.000000000 -0800 -+++ t/Utils.pm 2012-04-05 17:41:15.000000000 -0800 +--- t/Utils.pm.orig 2012-04-05 17:39:45 UTC ++++ t/Utils.pm @@ -73,7 +73,7 @@ my @devs = Net::Pcap::findalldevs(\%devs, \$err);