summaryrefslogtreecommitdiff
path: root/security/openssl30/files/extra-patch-util_find-doc-nits
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2023-03-14 18:19:53 +0000
committerBernard Spil <brnrd@FreeBSD.org>2023-03-14 18:19:53 +0000
commit98749c4fe066dc63be565d071f5167557da57404 (patch)
tree906b6859158c39c85d9f8ace2c65790c35d557e6 /security/openssl30/files/extra-patch-util_find-doc-nits
parentdevel/py-pytest-metadata: update to 2.0.4 (diff)
security/openssl-devel: Rename to security/openssl30
* Align with the upstream "release" status * Avoid confusion with OpenSSL 3.1 Reported by: ngie Differential Revision: https://reviews.freebsd.org/D38938
Diffstat (limited to 'security/openssl30/files/extra-patch-util_find-doc-nits')
-rw-r--r--security/openssl30/files/extra-patch-util_find-doc-nits20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/openssl30/files/extra-patch-util_find-doc-nits b/security/openssl30/files/extra-patch-util_find-doc-nits
new file mode 100644
index 000000000000..df3d58f0c5cc
--- /dev/null
+++ b/security/openssl30/files/extra-patch-util_find-doc-nits
@@ -0,0 +1,20 @@
+--- util/find-doc-nits.orig 2021-09-07 11:46:32 UTC
++++ util/find-doc-nits
+@@ -80,7 +80,7 @@ my $temp = '/tmp/docnits.txt';
+ my $OUT;
+ my $status = 0;
+
+-$opt_m = "man1,man3,man5,man7" unless $opt_m;
++$opt_m = "man1,man5" unless $opt_m;
+ die "Argument of -m option may contain only man1, man3, man5, and/or man7"
+ unless $opt_m =~ /^(man[1357][, ]?)*$/;
+ my @sections = ( split /[, ]/, $opt_m );
+@@ -721,7 +721,7 @@ sub check {
+ next if $target eq ''; # Skip if links within page, or
+ next if $target =~ /::/; # links to a Perl module, or
+ next if $target =~ /^https?:/; # is a URL link, or
+- next if $target =~ /\([1357]\)$/; # it has a section
++ next if $target =~ /\([15]\)$/; # it has a section
+ err($id, "Section missing in $target")
+ }
+ # Check for proper links to commands.