From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C14491397E2 for ; Sun, 16 Aug 2015 23:53:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D6E314145; Sun, 16 Aug 2015 23:53:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A3BFB1412D for ; Sun, 16 Aug 2015 23:53:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 667513408AB for ; Sun, 16 Aug 2015 23:53:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1C9C315D for ; Sun, 16 Aug 2015 23:53:18 +0000 (UTC) From: "Amadeusz Żołnowski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amadeusz Żołnowski" Message-ID: <1439769187.942e6070fbfb08a4489aa14249b62019ce895152.aidecoe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/burp/files/, app-backup/burp/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-backup/burp/burp-1.3.48.ebuild app-backup/burp/burp-1.3.8.ebuild app-backup/burp/files/1.3.48-0001-Set-default_md-sha256-in-CA.cnf.patch app-backup/burp/files/1.3.8-0001-Set-default_md-sha256-in-CA.cnf.patch X-VCS-Directories: app-backup/burp/ app-backup/burp/files/ X-VCS-Committer: aidecoe X-VCS-Committer-Name: Amadeusz Żołnowski X-VCS-Revision: 942e6070fbfb08a4489aa14249b62019ce895152 X-VCS-Branch: master Date: Sun, 16 Aug 2015 23:53:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5d98551f-852a-4775-a676-900120240f4f X-Archives-Hash: d6b5813c8d0e1e7e85c0cbf8d105922d commit: 942e6070fbfb08a4489aa14249b62019ce895152 Author: Amadeusz Żołnowski gentoo org> AuthorDate: Sun Aug 16 23:52:49 2015 +0000 Commit: Amadeusz Żołnowski gentoo org> CommitDate: Sun Aug 16 23:53:07 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=942e6070 app-backup/burp: Use SHA256 for generating certificates SHA1 used to be a default which classified as broken. Package-Manager: portage-2.2.20.1 app-backup/burp/burp-1.3.48.ebuild | 1 + app-backup/burp/burp-1.3.8.ebuild | 5 ++++- ...3.48-0001-Set-default_md-sha256-in-CA.cnf.patch | 25 ++++++++++++++++++++++ ....3.8-0001-Set-default_md-sha256-in-CA.cnf.patch | 25 ++++++++++++++++++++++ 4 files changed, 55 insertions(+), 1 deletion(-) diff --git a/app-backup/burp/burp-1.3.48.ebuild b/app-backup/burp/burp-1.3.48.ebuild index 6e3a412..6d1e4b7 100644 --- a/app-backup/burp/burp-1.3.48.ebuild +++ b/app-backup/burp/burp-1.3.48.ebuild @@ -36,6 +36,7 @@ DOCS=( CONTRIBUTORS DONATIONS UPGRADING ) PATCHES=( "${FILESDIR}/${PV}-bedup-conf-path.patch" "${FILESDIR}/${PV}-tinfo.patch" + "${FILESDIR}/${PV}-0001-Set-default_md-sha256-in-CA.cnf.patch" ) S="${WORKDIR}/burp" diff --git a/app-backup/burp/burp-1.3.8.ebuild b/app-backup/burp/burp-1.3.8.ebuild index 5a51e5a..7ac69eb 100644 --- a/app-backup/burp/burp-1.3.8.ebuild +++ b/app-backup/burp/burp-1.3.8.ebuild @@ -33,7 +33,10 @@ RDEPEND="${DEPEND} " DOCS=( CONTRIBUTORS DONATIONS UPGRADING ) -PATCHES=( "${FILESDIR}/${PV}-bedup-conf-path.patch" ) +PATCHES=( + "${FILESDIR}/${PV}-bedup-conf-path.patch" + "${FILESDIR}/${PV}-0001-Set-default_md-sha256-in-CA.cnf.patch" + ) S="${WORKDIR}/burp" pkg_setup() { diff --git a/app-backup/burp/files/1.3.48-0001-Set-default_md-sha256-in-CA.cnf.patch b/app-backup/burp/files/1.3.48-0001-Set-default_md-sha256-in-CA.cnf.patch new file mode 100644 index 0000000..e4cce52 --- /dev/null +++ b/app-backup/burp/files/1.3.48-0001-Set-default_md-sha256-in-CA.cnf.patch @@ -0,0 +1,25 @@ +From dd9b4bad27bf0395c0836d41e61678ba39459422 Mon Sep 17 00:00:00 2001 +From: graham +Date: Tue, 16 Jun 2015 12:29:56 +0000 +Subject: [PATCH] Set default_md=sha256 in CA.cnf. + +--- + configs/certs/CA/CA.cnf | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configs/certs/CA/CA.cnf b/configs/certs/CA/CA.cnf +index 097f5fa..608cbce 100644 +--- a/configs/certs/CA/CA.cnf ++++ b/configs/certs/CA/CA.cnf +@@ -14,7 +14,7 @@ crlnumber = $dir/crlnumber.txt + + unique_subject = no + +-default_md = sha1 ++default_md = sha256 + default_days = 7300 + default_crl_days = 7300 + +-- +2.5.0 + diff --git a/app-backup/burp/files/1.3.8-0001-Set-default_md-sha256-in-CA.cnf.patch b/app-backup/burp/files/1.3.8-0001-Set-default_md-sha256-in-CA.cnf.patch new file mode 100644 index 0000000..e4cce52 --- /dev/null +++ b/app-backup/burp/files/1.3.8-0001-Set-default_md-sha256-in-CA.cnf.patch @@ -0,0 +1,25 @@ +From dd9b4bad27bf0395c0836d41e61678ba39459422 Mon Sep 17 00:00:00 2001 +From: graham +Date: Tue, 16 Jun 2015 12:29:56 +0000 +Subject: [PATCH] Set default_md=sha256 in CA.cnf. + +--- + configs/certs/CA/CA.cnf | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configs/certs/CA/CA.cnf b/configs/certs/CA/CA.cnf +index 097f5fa..608cbce 100644 +--- a/configs/certs/CA/CA.cnf ++++ b/configs/certs/CA/CA.cnf +@@ -14,7 +14,7 @@ crlnumber = $dir/crlnumber.txt + + unique_subject = no + +-default_md = sha1 ++default_md = sha256 + default_days = 7300 + default_crl_days = 7300 + +-- +2.5.0 +