From fad2ba9dab7939dff106f1fd25faebb974388dbb Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Mon, 16 Sep 2024 03:42:23 +0800 Subject: [PATCH] dns/dnscap: Update to 2.2.1 - Remove DOCS option - Convert REINPLACE_CMD to patch file Changes: https://github.com/DNS-OARC/dnscap/releases --- dns/dnscap/Makefile | 10 ++-------- dns/dnscap/distinfo | 6 +++--- dns/dnscap/files/patch-Makefile.am | 11 +++++++++++ dns/dnscap/pkg-plist | 2 -- 4 files changed, 16 insertions(+), 13 deletions(-) create mode 100644 dns/dnscap/files/patch-Makefile.am diff --git a/dns/dnscap/Makefile b/dns/dnscap/Makefile index b3383b891e0e..b3fe3531eabd 100644 --- a/dns/dnscap/Makefile +++ b/dns/dnscap/Makefile @@ -1,5 +1,5 @@ PORTNAME= dnscap -PORTVERSION= 2.2.0 +PORTVERSION= 2.2.1 PORTEPOCH= 1 CATEGORIES= dns MASTER_SITES= https://www.dns-oarc.net/files/dnscap/ \ @@ -23,7 +23,7 @@ CONFIGURE_ENV= libcrypto_CFLAGS=-I${OPENSSLINC}/include \ GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -OPTIONS_DEFINE= CDS DOCS THREADS +OPTIONS_DEFINE= CDS THREADS OPTIONS_DEFAULT=THREADS CDS_DESC= CBOR DNS Stream (CDS) format (experimental) @@ -31,10 +31,4 @@ CDS_CONFIGURE_OFF= ac_cv_lib_tinycbor_cbor_parser_init=no CDS_LIB_DEPENDS= libtinycbor.so:devel/tinycbor THREADS_CONFIGURE_ENABLE= threads -post-patch-DOCS-off: - @${REINPLACE_CMD} -e '/^install-data-am: / s| install-dist_docDATA||' ${WRKSRC}/Makefile.am - -post-patch-DOCS-on: - @${REINPLACE_CMD} -e '/^dist_doc_DATA = / s| LICENSE||' ${WRKSRC}/Makefile.am - .include diff --git a/dns/dnscap/distinfo b/dns/dnscap/distinfo index 384695574214..72048a64ee82 100644 --- a/dns/dnscap/distinfo +++ b/dns/dnscap/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1693056791 -SHA256 (dnscap-2.2.0.tar.gz) = 2988a62c9df45aab9cd8d8e61e94f8b284d2b71c40170ea9413980687cf54a73 -SIZE (dnscap-2.2.0.tar.gz) = 765667 +TIMESTAMP = 1726080935 +SHA256 (dnscap-2.2.1.tar.gz) = 44e4f48693c22c3314d24c0706b3ccabdf0337ebbbf1d7510c45605b3ec734ef +SIZE (dnscap-2.2.1.tar.gz) = 765941 diff --git a/dns/dnscap/files/patch-Makefile.am b/dns/dnscap/files/patch-Makefile.am new file mode 100644 index 000000000000..0a8b516baf73 --- /dev/null +++ b/dns/dnscap/files/patch-Makefile.am @@ -0,0 +1,11 @@ +--- Makefile.am.orig 2020-04-23 08:19:36 UTC ++++ Makefile.am +@@ -6,7 +6,7 @@ SUBDIRS = src plugins + + SUBDIRS = src plugins + +-dist_doc_DATA = README.md LICENSE CONTRIBUTORS ++dist_doc_DATA = + + EXTRA_DIST = isc m4 .clang-format fmt.sh + diff --git a/dns/dnscap/pkg-plist b/dns/dnscap/pkg-plist index 2fd9af44d08e..2eeed6cf5db8 100644 --- a/dns/dnscap/pkg-plist +++ b/dns/dnscap/pkg-plist @@ -22,7 +22,5 @@ lib/dnscap/rzkeychange.a lib/dnscap/rzkeychange.so lib/dnscap/txtout.a lib/dnscap/txtout.so -%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS -%%PORTDOCS%%%%DOCSDIR%%/README.md share/man/man1/dnscap-rssm-rssac002.1.gz share/man/man1/dnscap.1.gz