From nobody Fri Jun 03 09:04:36 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 D2A051B50D23; Fri, 3 Jun 2022 09:04:37 +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 4LDxlm67bmz3HnF; Fri, 3 Jun 2022 09:04:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654247077; 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=NBckKFMbLZy0tx2ujS6+6VhoCIoP+6L0jR1xUOkXtXw=; b=yukrCL61tXhSS6i9vIJnG0t7rDhpA0Mf2AZ+S3B0TE8rKqsj0hpJ7WDcnGRY+syGdMXkEv 2kgP8YjQVGC2wPtmuJK1JIG2XRUDWDx31Z8/6I5mEDJ+U6YAVzo9XSL9rIXKrn7AU8YAGK X8kbvdhw0zqFOtCMlcXErjgNGo9/L8uY5eTx9SUykRSRMYA06v5THco9F1yggpIgg06KpA hUu3fGAWtdefEQhqIHOws7bX19MZJ4fpmg0zd/sBbIyW+pYSGuLzBDUoORYW2asFeN1HE4 dH5PnVSxSH6uqNcPb15CBzS1eLD1r3gbccIE9LdhhV66jPPpCuS3g34T2aC65g== 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 40AFE262B2; Fri, 3 Jun 2022 09:04:36 +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 25394aUc089976; Fri, 3 Jun 2022 09:04:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25394aWt089975; Fri, 3 Jun 2022 09:04:36 GMT (envelope-from git) Date: Fri, 3 Jun 2022 09:04:36 GMT Message-Id: <202206030904.25394aWt089975@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: ac4bfbc0be40 - main - net/p5-Net-ARP: Update to 1.0.12 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ac4bfbc0be40706984164875630fd67339dc3dfe Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654247077; 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=NBckKFMbLZy0tx2ujS6+6VhoCIoP+6L0jR1xUOkXtXw=; b=el9H9lZHpwKmnUdUdyDEze2e3Vx5pknAiGnwhcKiESEyxT4ZGfoUVebol9bbxxeegi824n 0uLZIG/9x8XHj558W0mpjSJ9IMm9V6G3/EsVS4GdFDNLb7OAR1N2sw8ecaitTdhUr5mo7y eww6U6pXJtKCJpF9V/jrqXnm6r9TT8WPIaqR2nazqt882OvhNB5gAAa6LFmdnLpP4G63dc hZGVVJcinUffGi3i+UecSW+tfB41sKCx0atHYeO8MqNanRaNM7r6rVKVX5X0NDA7BZWR5O qpJaqwjMP1ScUmw/EzuzV+ppdb9m5vdAyh8KpkBVMcrBK85otmd6gwx1edo0EQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654247077; a=rsa-sha256; cv=none; b=L5nWivqBbGUZWugAuUdOKnovyOl1pAQZXd2XnrNsKPwxuOQKDz8A94t06J5GIgYL2Buyle n1CBi3jc9ZUEBZyWAIwFTj9DgHrgJ7nKI31kT47ONpX1WsuJQ8q9q4go8tV/xy2w74ye2m pvTAI8vaWDK97bKbffej3zK0uS1q5sPj/xlVCZWDo6YOOLk1uIjAeshbPA8lOK7gi7D9UM 2Ywm0uyow4Jogy9NQjkfr/cJOy0a8G6kaqYn/+9elF7fRwkond+pBTNagWnDnSQ3gyvz6w W4J9cHG5ldquZywJxCoLU+vRHMmgiceQcgvwVUhCbpf5Bnv1Qq7u48KXOEl7Ww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ac4bfbc0be40706984164875630fd67339dc3dfe commit ac4bfbc0be40706984164875630fd67339dc3dfe Author: Po-Chuan Hsieh AuthorDate: 2022-06-03 08:50:47 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-03 09:00:31 +0000 net/p5-Net-ARP: Update to 1.0.12 Changes: https://metacpan.org/dist/Net-ARP/changes --- net/p5-Net-ARP/Makefile | 4 ++-- net/p5-Net-ARP/distinfo | 6 +++--- net/p5-Net-ARP/files/patch-ppport.h | 10 ---------- net/p5-Net-ARP/files/patch-send_packet_bsd.c | 28 ++++++++++++++-------------- 4 files changed, 19 insertions(+), 29 deletions(-) diff --git a/net/p5-Net-ARP/Makefile b/net/p5-Net-ARP/Makefile index c33693ac20e6..05271dea9c23 100644 --- a/net/p5-Net-ARP/Makefile +++ b/net/p5-Net-ARP/Makefile @@ -1,7 +1,7 @@ # Created by: Jin-Shan Tseng PORTNAME= Net-ARP -PORTVERSION= 1.0.11 +PORTVERSION= 1.0.12 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -13,7 +13,7 @@ LICENSE= GPLv2 TEST_DEPENDS= p5-Net-Pcap>=0:net/p5-Net-Pcap -USES= perl5 tar:tgz +USES= perl5 USE_PERL5= configure post-install: diff --git a/net/p5-Net-ARP/distinfo b/net/p5-Net-ARP/distinfo index c9f1b2b2f082..433abcb5d53a 100644 --- a/net/p5-Net-ARP/distinfo +++ b/net/p5-Net-ARP/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1588777627 -SHA256 (Net-ARP-1.0.11.tgz) = b74feb5c6ca91681ba6faf77c12e351b90b93918c7a9f33c25c1caf75a81090b -SIZE (Net-ARP-1.0.11.tgz) = 18747 +TIMESTAMP = 1653925928 +SHA256 (Net-ARP-1.0.12.tar.gz) = 28ad8605a3a1e0f868a9898826f5461d80923e6eba1ad5e04737e60e8ba0ec70 +SIZE (Net-ARP-1.0.12.tar.gz) = 16984 diff --git a/net/p5-Net-ARP/files/patch-ppport.h b/net/p5-Net-ARP/files/patch-ppport.h deleted file mode 100644 index f9ed1ed6981f..000000000000 --- a/net/p5-Net-ARP/files/patch-ppport.h +++ /dev/null @@ -1,10 +0,0 @@ ---- ppport.h.orig 2009-06-20 19:10:51 UTC -+++ ppport.h -@@ -211,6 +211,7 @@ __DATA__ - /* Replace: 0 */ - #endif - -+#undef PERL_UNUSED_DECL - #ifdef HASATTRIBUTE - # if (defined(__GNUC__) && defined(__cplusplus)) || defined(__INTEL_COMPILER) - # define PERL_UNUSED_DECL diff --git a/net/p5-Net-ARP/files/patch-send_packet_bsd.c b/net/p5-Net-ARP/files/patch-send_packet_bsd.c index f724e1f37041..c33169e8c71f 100644 --- a/net/p5-Net-ARP/files/patch-send_packet_bsd.c +++ b/net/p5-Net-ARP/files/patch-send_packet_bsd.c @@ -1,17 +1,17 @@ ---- send_packet_bsd.c.orig 2009-05-23 11:11:58 UTC +--- send_packet_bsd.c.orig 2022-05-11 08:27:25 UTC +++ send_packet_bsd.c -@@ -56,7 +56,13 @@ int send_packet_bsd(const char *dev, u_c - flock(bpffd,LOCK_EX); +@@ -60,7 +60,13 @@ int send_packet_bsd(const char *dev, u_char *packet, u + flock(bpffd, LOCK_EX); - // Bind it to a device -- ioctl(bpffd,BIOCSETIF,dev); -+ if (ioctl(bpffd,BIOCSETIF,dev) == -1) -+ { -+ flock(bpffd,LOCK_UN); -+ close(bpffd); -+ perror("open bpf"); -+ return 0; -+ } + // Bind it to a device +- ioctl(bpffd, BIOCSETIF, dev); ++ if (ioctl(bpffd, BIOCSETIF, dev) == -1) ++ { ++ flock(bpffd, LOCK_UN); ++ close(bpffd); ++ perror("open bpf"); ++ return 0; ++ } - // Send the packet and unlock - write(bpffd,packet,packetsize); + // Send the packet and unlock + write(bpffd, packet, packetsize);