git: 8c2660d1f582 - main - security/libtasn1: update to 4.18.0

From: Roman Bogorodskiy <novel_at_FreeBSD.org>
Date: Sun, 14 Nov 2021 04:32:45 UTC
The branch main has been updated by novel:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8c2660d1f58278e57f2deb07da56b1da9bd86f13

commit 8c2660d1f58278e57f2deb07da56b1da9bd86f13
Author:     Roman Bogorodskiy <novel@FreeBSD.org>
AuthorDate: 2021-11-13 06:08:58 +0000
Commit:     Roman Bogorodskiy <novel@FreeBSD.org>
CommitDate: 2021-11-14 04:32:18 +0000

    security/libtasn1: update to 4.18.0
---
 security/libtasn1/Makefile                          |  8 +++++---
 security/libtasn1/distinfo                          |  6 +++---
 .../libtasn1/files/patch-doc_reference_Makefile.in  | 11 +++++++++++
 security/libtasn1/pkg-plist                         | 21 +++++++++++++++++----
 4 files changed, 36 insertions(+), 10 deletions(-)

diff --git a/security/libtasn1/Makefile b/security/libtasn1/Makefile
index 0ff4149f9302..624a067dc2e1 100644
--- a/security/libtasn1/Makefile
+++ b/security/libtasn1/Makefile
@@ -1,7 +1,7 @@
 # Created by: Sergei Kolobov <sergei@kolobov.com>
 
 PORTNAME=	libtasn1
-PORTVERSION=	4.17.0
+PORTVERSION=	4.18.0
 CATEGORIES=	security
 MASTER_SITES=	GNU \
 		GNUPG/gnutls/${PORTNAME}
@@ -24,10 +24,12 @@ OPTIONS_DEFINE=	DOCS
 
 TEST_TARGET=	check
 
-DOCS=		AUTHORS NEWS README.md THANKS doc/TODO \
-		doc/libtasn1.html doc/libtasn1.pdf doc/libtasn1.ps
+DOCS=		AUTHORS NEWS README.md THANKS doc/TODO
 INFO=		libtasn1
 
+DOCS_CONFIGURE_ENABLE=	gtk-doc
+DOCS_BUILD_DEPENDS=	gtkdoc-check:textproc/gtk-doc
+
 .include <bsd.port.pre.mk>
 
 # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252548
diff --git a/security/libtasn1/distinfo b/security/libtasn1/distinfo
index ac8d61641929..fd580c681e74 100644
--- a/security/libtasn1/distinfo
+++ b/security/libtasn1/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1620956010
-SHA256 (libtasn1-4.17.0.tar.gz) = ece7551cea7922b8e10d7ebc70bc2248d1fdd73351646a2d6a8d68a9421c45a5
-SIZE (libtasn1-4.17.0.tar.gz) = 1906654
+TIMESTAMP = 1636775750
+SHA256 (libtasn1-4.18.0.tar.gz) = 4365c154953563d64c67a024b607d1ee75c6db76e0d0f65709ea80a334cd1898
+SIZE (libtasn1-4.18.0.tar.gz) = 1724441
diff --git a/security/libtasn1/files/patch-doc_reference_Makefile.in b/security/libtasn1/files/patch-doc_reference_Makefile.in
new file mode 100644
index 000000000000..173517bf074f
--- /dev/null
+++ b/security/libtasn1/files/patch-doc_reference_Makefile.in
@@ -0,0 +1,11 @@
+--- doc/reference/Makefile.in.orig	2021-11-13 05:59:58 UTC
++++ doc/reference/Makefile.in
+@@ -1840,7 +1840,7 @@ html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(c
+ 	  test -f $(abs_builddir)/$$file && cp $(abs_builddir)/$$file $(abs_builddir)/html; \
+ 	  test -f $$file && cp $$file $(abs_builddir)/html; \
+ 	done;
+-	$(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
++	cd "$(abs_srcdir)" && $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
+ 	$(AM_V_at)touch html-build.stamp
+ 
+ pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files)
diff --git a/security/libtasn1/pkg-plist b/security/libtasn1/pkg-plist
index dd0dc6f58dac..50542b6efd40 100644
--- a/security/libtasn1/pkg-plist
+++ b/security/libtasn1/pkg-plist
@@ -5,7 +5,7 @@ include/libtasn1.h
 lib/libtasn1.a
 lib/libtasn1.so
 lib/libtasn1.so.6
-lib/libtasn1.so.6.6.1
+lib/libtasn1.so.6.6.2
 libdata/pkgconfig/libtasn1.pc
 man/man1/asn1Coding.1.gz
 man/man1/asn1Decoding.1.gz
@@ -56,6 +56,19 @@ man/man3/asn1_write_value.3.gz
 %%PORTDOCS%%%%DOCSDIR%%/README.md
 %%PORTDOCS%%%%DOCSDIR%%/THANKS
 %%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%%%DOCSDIR%%/libtasn1.html
-%%PORTDOCS%%%%DOCSDIR%%/libtasn1.pdf
-%%PORTDOCS%%%%DOCSDIR%%/libtasn1.ps
+%%PORTDOCS%%share/gtk-doc/html/libtasn1/api-index-1-6.html
+%%PORTDOCS%%share/gtk-doc/html/libtasn1/api-index-2-0.html
+%%PORTDOCS%%share/gtk-doc/html/libtasn1/api-index-full.html
+%%PORTDOCS%%share/gtk-doc/html/libtasn1/ch01.html
+%%PORTDOCS%%share/gtk-doc/html/libtasn1/deprecated-api-index.html
+%%PORTDOCS%%share/gtk-doc/html/libtasn1/home.png
+%%PORTDOCS%%share/gtk-doc/html/libtasn1/index.html
+%%PORTDOCS%%share/gtk-doc/html/libtasn1/left-insensitive.png
+%%PORTDOCS%%share/gtk-doc/html/libtasn1/left.png
+%%PORTDOCS%%share/gtk-doc/html/libtasn1/libtasn1-libtasn1.html
+%%PORTDOCS%%share/gtk-doc/html/libtasn1/libtasn1.devhelp2
+%%PORTDOCS%%share/gtk-doc/html/libtasn1/right-insensitive.png
+%%PORTDOCS%%share/gtk-doc/html/libtasn1/right.png
+%%PORTDOCS%%share/gtk-doc/html/libtasn1/style.css
+%%PORTDOCS%%share/gtk-doc/html/libtasn1/up-insensitive.png
+%%PORTDOCS%%share/gtk-doc/html/libtasn1/up.png