git: fe52014782be - main - security/ssl-admin: patch to fix req_v3 issue
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Jul 2022 00:01:11 UTC
The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=fe52014782bef3189b25192ddc65d19041be9205 commit fe52014782bef3189b25192ddc65d19041be9205 Author: Dan Langille <dvl@FreeBSD.org> AuthorDate: 2022-07-09 23:59:01 +0000 Commit: Dan Langille <dvl@FreeBSD.org> CommitDate: 2022-07-09 23:59:01 +0000 security/ssl-admin: patch to fix req_v3 issue see also: * https://forums.freebsd.org/threads/ssl-admin-bss_file-c.83921/ * https://github.com/ecrist/ssl-admin/issues/1 PR: 264885 --- security/ssl-admin/Makefile | 2 +- security/ssl-admin/files/patch-ssl-admin | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/security/ssl-admin/Makefile b/security/ssl-admin/Makefile index d4bc658a6e2e..a76457753708 100644 --- a/security/ssl-admin/Makefile +++ b/security/ssl-admin/Makefile @@ -3,7 +3,7 @@ PORTNAME= ssl-admin DISTVERSIONPREFIX= v DISTVERSION= 1.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MAINTAINER= ecrist@secure-computing.net diff --git a/security/ssl-admin/files/patch-ssl-admin b/security/ssl-admin/files/patch-ssl-admin new file mode 100644 index 000000000000..c673ed7473ab --- /dev/null +++ b/security/ssl-admin/files/patch-ssl-admin @@ -0,0 +1,14 @@ +--- ssl-admin.orig 2022-06-25 13:06:12 UTC ++++ ssl-admin +@@ -141,9 +141,9 @@ sub create_csr { + chomp($yn = <>); + } until $yn =~ m/^[yn]$/; + if ($yn eq "y") { +- system("cd $working_dir && openssl req_v3 -new -keyout $cn.key -out $cn.csr -config $key_config -batch"); ++ system("cd $working_dir && openssl req -new -keyout $cn.key -out $cn.csr -config $key_config -batch -extensions v3_req"); + } elsif ($yn eq "n") { +- system("cd $working_dir && openssl req_v3 -nodes -new -keyout $cn.key -out $cn.csr -config $key_config -batch"); ++ system("cd $working_dir && openssl req -nodes -new -keyout $cn.key -out $cn.csr -config $key_config -batch -extensions v3_req"); + } + } +