From nobody Tue Sep 27 19:11:48 2022 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 4McTkr4FSqz4ch9f; Tue, 27 Sep 2022 19:11: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 4McTkr3ljRz45sH; Tue, 27 Sep 2022 19:11:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664305908; 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=eFhEZK1TOKTUFgplcOy4kXLqVC199gO4utLlZX9/i5w=; b=lyowQI0WpDJ6bCAN+vQ10k/buz1UOoxqpV6olv7wnOGNJ3gCEusExfytiHaRdX+A4O6h08 Fj34FAtQzs8FqpKsh5OyjJ5IkP8uZrBzgLkLqVwldDOrit5A8Yq5BpBmF6GGbH6x+uAs98 Y5WxnnGvYkBOnoFYoKWf9/vCEALOu6IdHAujle8BM1LyqzR+9Pb4tJ5l53Sb8MhrANpzXj wCWYH9KsMI9V8jgepbSR9fKJJWIyNUyGuQwzPMKmEEbU5Kxvw6Jyat2sFfDGbQeeMFuRfV ROTqvFTDmW90iT91RTQyTK/JdVdWdmh19qPQAiyRsnVDfMc+i0vLnx5RvrkLDQ== 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 4McTkr2nzyz1CwW; Tue, 27 Sep 2022 19:11:48 +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 28RJBmFq012318; Tue, 27 Sep 2022 19:11:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28RJBmiA012317; Tue, 27 Sep 2022 19:11:48 GMT (envelope-from git) Date: Tue, 27 Sep 2022 19:11:48 GMT Message-Id: <202209271911.28RJBmiA012317@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 5e5158043cbd - main - net/libdaq: Use new divert(4) API 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5e5158043cbd4aa7444de4091ce339333725da87 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664305908; 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=eFhEZK1TOKTUFgplcOy4kXLqVC199gO4utLlZX9/i5w=; b=utCVmURLnUEzifx79iEVom2a0da71acGCHqhnccGJ3qMjRFEZmTii3KPzHaQD0WmgQfT53 YVkFt16snbXiwFSVsFb0BVBOE52w7XqLHf193uAMsMYqMD+SLh6YiN5W4pMsIAyu9s7VPR Ud2IIjw+9jhhnS4hg3avPoSn8+W0qePnzMR2qMPSKTpL0c1Y53EJXerBx6/nAMMCUCwOQn mnjNBkRg9BfWZKRchbH9hElTZ8BI93ppaYOQXobLAFlwB9mPu8eulwv2y4AVAM+/tfpy4/ pf+v6Y3U4/PW8NKEiPZT6nJG4OzM+mXBCA/O9oDq0jLAeYwIKbDW2xUza+bPhw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664305908; a=rsa-sha256; cv=none; b=KyQi8oLXd8V9GMtjXGK0CjuMX1+FIkN4uChvKgM0W4Z1nRdo1sUxcj/lzPvO/Uo/km48Ea /vfFf/xe+EmiCVwNVmGY/aaZzd9zc1p0mJeLh89/k/aTcYPMIOgQUbsQzGIiQHnPb1ZU4p iz8yooAZWtEzEgQM3K07psXryTASRbvwJ/5sXxe9QV4urEbjRD64Eeyu3pri7czdG8vciD EwWLf29kGQKUEBFDQh4JPnWJghjsNsg3JJOYQuKMRVo6AafdIAXYqBH2q3r1GQdh/7HMwN v7iYVvIHIuka29h+e9CjUVbyUUGGjDBjwHDCM+U6n77MWkB08AmgXrr/8n+ejA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=5e5158043cbd4aa7444de4091ce339333725da87 commit 5e5158043cbd4aa7444de4091ce339333725da87 Author: Muhammad Moinur Rahman AuthorDate: 2022-09-27 19:08:36 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-09-27 19:11:35 +0000 net/libdaq: Use new divert(4) API * In the FreeBSD CURRENT the API has changed. I posted patch on libdaq github, but their slow with reviewing the pull request. Meanwhile add the patch to the port. * Pet portclippy PR: 266663 Reported by: glebius --- net/libdaq/Makefile | 10 ++++++++-- net/libdaq/distinfo | 4 +++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/net/libdaq/Makefile b/net/libdaq/Makefile index 44942a129292..1848c0ebb7bb 100644 --- a/net/libdaq/Makefile +++ b/net/libdaq/Makefile @@ -1,8 +1,12 @@ PORTNAME= libdaq DISTVERSIONPREFIX= v DISTVERSION= 3.0.9 +PORTREVISION= 1 CATEGORIES= net +PATCH_SITES= https://github.com/glebius/${PORTNAME}/commit/ +PATCHFILES= c0f3283ad42a1d8e70ee699271b91168b14ec357.patch:-p1 + MAINTAINER= bofh@FreeBSD.org COMMENT= Data Acquisition abstraction library for snort 3.0+ WWW= https://www.snort.org/ @@ -14,13 +18,15 @@ LIB_DEPENDS= libpcap.so:net/libpcap # avoid base libpcap USES= autoreconf compiler:c++11-lang libtool pkgconfig USE_GITHUB= yes +GH_ACCOUNT= snort3 USE_LDCONFIG= yes -GH_ACCOUNT= snort3 GNU_CONFIGURE= yes + +INSTALL_TARGET= install-strip + CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -INSTALL_TARGET= install-strip CONFLICTS= daq-2* diff --git a/net/libdaq/distinfo b/net/libdaq/distinfo index 2d9881dab933..0572a0ef00df 100644 --- a/net/libdaq/distinfo +++ b/net/libdaq/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1661954275 +TIMESTAMP = 1664305246 SHA256 (snort3-libdaq-v3.0.9_GH0.tar.gz) = c0e8535533720a6df05ab884b7c8f5fb4222f3aac12bdc11829e08c79716d338 SIZE (snort3-libdaq-v3.0.9_GH0.tar.gz) = 167739 +SHA256 (c0f3283ad42a1d8e70ee699271b91168b14ec357.patch) = df4e9e3bb00cebb7d215dc681896552e7458ae266852b7ba65ef9eca0436d9ea +SIZE (c0f3283ad42a1d8e70ee699271b91168b14ec357.patch) = 1951