SHA256
1
0
forked from pool/bouncycastle

Accepting request 897997 from Java:packages

Get pom files by script

OBS-URL: https://build.opensuse.org/request/show/897997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bouncycastle?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2021-06-09 19:54:56 +00:00 committed by Git OBS Bridge
commit 721c0fb067
3 changed files with 21 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 25 11:39:46 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
- Add bouncycastle_getpoms.sh to get pom files from Maven repos
-------------------------------------------------------------------
Wed Jan 13 09:44:54 UTC 2021 - Fridrich Strba <fstrba@suse.com>
@ -88,7 +93,7 @@ Mon Dec 21 10:54:33 UTC 2020 - Pedro Monreal <pmonreal@suse.com>
-------------------------------------------------------------------
Tue Jul 28 18:50:39 UTC 2020 - Pedro Monreal <pmonreal@suse.com>
- Version update to 1.66
- Version update to 1.66 [bsc#1186328, CVE-2020-15522]
* Defects Fixed:
- EdDSA verifiers now reset correctly after rejecting overly long signatures.
- BCJSSE: SSLSession.getPeerCertificateChain could throw NullPointerException.

View File

@ -25,7 +25,7 @@ Name: bouncycastle
Version: %{ver}
Release: 0
Summary: Bouncy Castle Cryptography APIs for Java
License: MIT AND Apache-2.0
License: Apache-2.0 AND MIT
Group: Development/Libraries/Java
URL: https://www.bouncycastle.org
Source0: https://github.com/bcgit/bc-java/archive/%{gittag}.tar.gz
@ -35,6 +35,7 @@ Source2: https://repo1.maven.org/maven2/org/%{name}/bcpkix-jdk15on/%{vers
Source3: https://repo1.maven.org/maven2/org/%{name}/bcpg-jdk15on/%{version}/bcpg-jdk15on-%{version}.pom
Source4: https://repo1.maven.org/maven2/org/%{name}/bcmail-jdk15on/%{version}/bcmail-jdk15on-%{version}.pom
Source5: https://repo1.maven.org/maven2/org/%{name}/bctls-jdk15on/%{version}/bctls-jdk15on-%{version}.pom
Source6: bouncycastle_getpoms.sh
Patch0: bouncycastle-javadoc.patch
Patch1: bouncycastle-osgi.patch
BuildRequires: ant
@ -43,7 +44,7 @@ BuildRequires: fdupes
BuildRequires: javamail
BuildRequires: javapackages-local
Requires(post): javapackages-tools
Requires(postun): javapackages-tools
Requires(postun):javapackages-tools
Provides: bcprov = %{version}-%{release}
BuildArch: noarch
@ -66,7 +67,7 @@ provided with the Bouncy Castle Cryptography APIs.
%package pg
Summary: Bouncy Castle OpenPGP API
License: MIT AND Apache-2.0
License: Apache-2.0 AND MIT
Group: Development/Libraries/Java
Requires: %{name} = %{version}

11
bouncycastle_getpoms.sh Normal file
View File

@ -0,0 +1,11 @@
#!/bin/sh
if [ -z "$1" ]
then
echo "Usage: $0 <version>"
exit 1
fi
for b in bcprov bcpkix bcpg bcmail bctls ; do
wget https://repo1.maven.org/maven2/org/bouncycastle/${b}-jdk15on/${1}/${b}-jdk15on-${1}.pom
done