import maven-resolver-1.6.1-9.el9
This commit is contained in:
parent
59f91ddb3e
commit
c06089ec70
@ -0,0 +1,37 @@
|
||||
From 8f7d5c7c763f66035dda86012d58744547672abe Mon Sep 17 00:00:00 2001
|
||||
From: Mikolaj Izdebski <mizdebsk@redhat.com>
|
||||
Date: Thu, 28 Oct 2021 10:03:13 +0200
|
||||
Subject: [PATCH] Remove use of deprecated SHA-1 and MD5 algorithms
|
||||
|
||||
---
|
||||
.../aether/repository/AuthenticationDigest.java | 11 ++---------
|
||||
1 file changed, 2 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/maven-resolver-api/src/main/java/org/eclipse/aether/repository/AuthenticationDigest.java b/maven-resolver-api/src/main/java/org/eclipse/aether/repository/AuthenticationDigest.java
|
||||
index 27b88c02..6236e7b2 100644
|
||||
--- a/maven-resolver-api/src/main/java/org/eclipse/aether/repository/AuthenticationDigest.java
|
||||
+++ b/maven-resolver-api/src/main/java/org/eclipse/aether/repository/AuthenticationDigest.java
|
||||
@@ -98,18 +98,11 @@ public final class AuthenticationDigest
|
||||
{
|
||||
try
|
||||
{
|
||||
- return MessageDigest.getInstance( "SHA-1" );
|
||||
+ return MessageDigest.getInstance( "SHA-256" );
|
||||
}
|
||||
catch ( NoSuchAlgorithmException e )
|
||||
{
|
||||
- try
|
||||
- {
|
||||
- return MessageDigest.getInstance( "MD5" );
|
||||
- }
|
||||
- catch ( NoSuchAlgorithmException ne )
|
||||
- {
|
||||
- throw new IllegalStateException( ne );
|
||||
- }
|
||||
+ throw new IllegalStateException( e );
|
||||
}
|
||||
}
|
||||
|
||||
--
|
||||
2.32.0
|
||||
|
@ -3,13 +3,16 @@
|
||||
Name: maven-resolver
|
||||
Epoch: 1
|
||||
Version: 1.6.1
|
||||
Release: 7%{?dist}
|
||||
Release: 9%{?dist}
|
||||
License: ASL 2.0
|
||||
Summary: Apache Maven Artifact Resolver library
|
||||
URL: https://maven.apache.org/resolver/
|
||||
Source0: https://archive.apache.org/dist/maven/resolver/%{name}-%{version}-source-release.zip
|
||||
BuildArch: noarch
|
||||
|
||||
Source0: https://archive.apache.org/dist/maven/resolver/%{name}-%{version}-source-release.zip
|
||||
|
||||
Patch0: 0001-Remove-use-of-deprecated-SHA-1-and-MD5-algorithms.patch
|
||||
|
||||
BuildRequires: maven-local-openjdk8
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
@ -64,6 +67,7 @@ artifact transports and artifact resolution.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%pom_remove_plugin -r :bnd-maven-plugin
|
||||
|
||||
@ -113,6 +117,12 @@ done
|
||||
%license LICENSE NOTICE
|
||||
|
||||
%changelog
|
||||
* Sun Nov 14 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.6.1-9
|
||||
- Rebuild with no changes
|
||||
|
||||
* Fri Nov 12 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.6.1-8
|
||||
- Remove use of deprecated SHA-1 and MD5 algorithms
|
||||
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.6.1-7
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
Loading…
Reference in New Issue
Block a user