diff options
author | Amadeusz Żołnowski <aidecoe@gentoo.org> | 2015-08-17 00:52:49 +0100 |
---|---|---|
committer | Amadeusz Żołnowski <aidecoe@gentoo.org> | 2015-08-17 00:53:07 +0100 |
commit | 942e6070fbfb08a4489aa14249b62019ce895152 (patch) | |
tree | c3fcea8275415af24077659439ff1543c8a7361c /app-backup/burp | |
parent | app-backup/burp: Rename configure.in to configure.ac (diff) | |
download | gentoo-942e6070fbfb08a4489aa14249b62019ce895152.tar.gz gentoo-942e6070fbfb08a4489aa14249b62019ce895152.tar.bz2 gentoo-942e6070fbfb08a4489aa14249b62019ce895152.zip |
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
Diffstat (limited to 'app-backup/burp')
4 files changed, 55 insertions, 1 deletions
diff --git a/app-backup/burp/burp-1.3.48.ebuild b/app-backup/burp/burp-1.3.48.ebuild index 6e3a4127d843..6d1e4b7c2c81 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 5a51e5ac752f..7ac69eb8f61f 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 000000000000..e4cce5287000 --- /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 <graham@space.grke.net> +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 000000000000..e4cce5287000 --- /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 <graham@space.grke.net> +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 + |