From nobody Sun Jul 10 00:01:11 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5E23B1CF8BE3; Sun, 10 Jul 2022 00:01:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LgRxg2FPlz3bBK; Sun, 10 Jul 2022 00:01:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657411271; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Np7Rsqqt9wK9d61ifJv4yw3gP0hpIvBG1Sye5vA05gU=; b=sIT122iDBZdF5kdyBP9bIW5xYnaWIpu+ZT5JwSfJK3mlSHYLL+NYmhjs1DSXF8sektvTRE fLujbsIOGul6uK6XztfcUGODnmC/xrFGymNcp0sxSJvLbcJDOt694ViGsafQOpM9udc6Le W9X/JtfmDttR0JsIikC2pVXVcHFcN5tnqyfd5oaSj2fHJPSgxCWjuna0EQgxwq186K0KU3 LP2+sMzVvjXK37MqGpj/rDkutRwv+UVMgoXhF4quLbgUd4DxO14/n/8/1wYmxrmE4sGCxI NAlGWgKz2+4EAY0BqTZK10+f349N0u35G1zJ+M6Cp09sRTosEsusFaarss6P4g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LgRxg1LJKz14bR; Sun, 10 Jul 2022 00:01:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26A01BSQ039027; Sun, 10 Jul 2022 00:01:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26A01BxV039026; Sun, 10 Jul 2022 00:01:11 GMT (envelope-from git) Date: Sun, 10 Jul 2022 00:01:11 GMT Message-Id: <202207100001.26A01BxV039026@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: fe52014782be - main - security/ssl-admin: patch to fix req_v3 issue List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fe52014782bef3189b25192ddc65d19041be9205 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657411271; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Np7Rsqqt9wK9d61ifJv4yw3gP0hpIvBG1Sye5vA05gU=; b=vehwlQMKkQk48IMiJvVR7aPr9O3Tvw+vQ2uGDs4i5cJjtm6ddFrObfRs2YYGtK6iDzN1X9 sZhEznwLd6U+VUbTAMxSrL1GzRhvdYgX6DU0LLK+hVOzIHZOcvOX1AsQWT9V/TogT6Cwjb ZIQitwdvIcGpIOcwgDllRWSq8gRD0yuFVYU71GB9wLbNvAtBvojxd2oDU44AQ5PuUVOw93 xX4Ad8AY0SZu3Hmdp3WBYPOCWy9Pk5L7NFAHJXUNE7pI5CZkvgbjRcDA7CcvoTALyw7Fgx bvLPJ9Zok9TlPyb3F/cRI8mvDRSSvmTDUsMJXWENzlsQCUTI/O4VT97UC4fxHg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657411271; a=rsa-sha256; cv=none; b=ui5tD/knbQxT1TZ8HKob4WWxPckfM9PGbfTMMcw26fcv1dUA3UDrvQHItJnbodWYWsnu6X bs3ltvGfPiqJ2wXg4ce/aTamOgTZ6XblqEQ7re16dvTm7G31K9HfzrYbAJeURlNPm66G7o K6Z1w70uHuSX7szN/axNRgZ9z4PYyCUN3qpPRnra+T1zjxpE6OWqm9dbSmytCkjZtG2Tjp K8zp74Fo1tJTSZMZG7TFqXCOAR+Z3yZuk5lY71Ku4KJ/qxNn/KPBPEXbfqqQGUhT258+sT 47IfEEzT5c5DsxiA+KIVOfqkNDNbLVTGRaCzmU5tTh98WP0YCMZNc+Yzlp2T2g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=fe52014782bef3189b25192ddc65d19041be9205 commit fe52014782bef3189b25192ddc65d19041be9205 Author: Dan Langille AuthorDate: 2022-07-09 23:59:01 +0000 Commit: Dan Langille 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"); + } + } +