diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2022-09-27 19:08:36 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2022-09-27 19:11:35 +0000 |
commit | 5e5158043cbd4aa7444de4091ce339333725da87 (patch) | |
tree | 924dd35e1c5e8bd341784a0d6ed7aebe08db54bd | |
parent | 4bcd3fc9e8715749e8103b3a76d511def3ccb44c (diff) |
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
-rw-r--r-- | net/libdaq/Makefile | 10 | ||||
-rw-r--r-- | 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 |