Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
ef236accac
!30 [sync] PR-27: Rebuild for log4j 2.17.2 fix CVE-2021-44832
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2024-03-28 07:15:32 +00:00
wk333
e35366d3bd Rebuild for log4j 2.17.2 fix CVE-2021-44832
(cherry picked from commit 5afd312e327b7b8da54d4853ea3dbc48a4eaeb5b)
2024-03-28 10:34:27 +08:00
openeuler-ci-bot
fa9fef43c5
!26 [sync] PR-11: This package depends on log4j.After the log4j vulnerability CVE-2021-45105 is fixed,the version needs to be rebuild.
From: @openeuler-sync-bot 
Reviewed-by: @wangchong1995924 
Signed-off-by: @wangchong1995924
2022-08-02 08:48:21 +00:00
starlet-dx
5b81040dcc This package depends on log4j. After the log4j vulnerability CVE-2021-45105 is fixed, the version needs to be rebuild.
(cherry picked from commit 16810a20eca66fd6161924ab3b2823623233d782)
2022-08-02 14:27:43 +08:00
openeuler-ci-bot
1985fea4ad
!24 [sync] PR-5: This package depends on log4j. After the log4j vulnerability CVE-2021-44228 is fixed, the version needs to be rebuild.
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-08-02 06:19:06 +00:00
starlet-dx
2b2cbf3fee This package depends on log4j. After the log4j vulnerability CVE-2021-44228 is fixed, the version needs to be rebuild.
(cherry picked from commit e02d1340509991fe876abcc76352485a3f808726)
2022-08-02 10:32:13 +08:00
openeuler-ci-bot
6b1e239bec !2 Delete simple-json dep
From: @hht8
Reviewed-by: @rita_dong
Signed-off-by: @rita_dong
2020-11-02 15:35:25 +08:00
hht8
28f6a77606 Delete simple-json dep 2020-10-27 20:28:44 +08:00
openeuler-ci-bot
6b517bcfca !1 package init
Merge pull request !1 from 李振华/master
2020-04-23 15:19:16 +08:00
lizhenhua
3580888e17 package init 2020-04-23 15:03:25 +08:00
3 changed files with 112 additions and 0 deletions

34
Disable-testcomplie.patch Normal file
View File

@ -0,0 +1,34 @@
From d8d46d93c40284fe6f40242e8fa50a0e6e3b6433 Mon Sep 17 00:00:00 2001
From: hht8 <huanghaitao12138@163.com>
Date: Tue, 27 Oct 2020 17:08:24 +0800
Subject: [PATCH] 2
---
pom.xml | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 2fde544..02154ab 100644
--- a/pom.xml
+++ b/pom.xml
@@ -305,7 +305,16 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
- <extensions>true</extensions>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <id>default-testCompile</id>
+ <phase>test-compile</phase>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </execution>
+ </executions>
<configuration>
<source>1.7</source>
<target>1.7</target>
--
2.23.0

BIN
HikariCP-2.4.3.tar.gz Normal file

Binary file not shown.

78
HikariCP.spec Normal file
View File

@ -0,0 +1,78 @@
Name: HikariCP
Version: 2.4.3
Release: 7
Summary: JDBC Connection Pool
License: ASL 2.0
URL: https://github.com/brettwooldridge/HikariCP
Source0: https://github.com/brettwooldridge/HikariCP/archive/%{name}-%{version}.tar.gz
Patch0: Disable-testcomplie.patch
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
BuildRequires: maven-local mvn(com.sun:tools) mvn(io.dropwizard.metrics:metrics-core)
BuildRequires: mvn(io.dropwizard.metrics:metrics-healthchecks) mvn(javax.inject:javax.inject)
BuildRequires: mvn(junit:junit) mvn(org.apache.commons:commons-csv) mvn(org.sonatype.oss:oss-parent:pom:)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) mvn(org.apache.felix:org.apache.felix.framework)
BuildRequires: mvn(org.apache.logging.log4j:log4j-slf4j-impl) mvn(org.apache.logging.log4j:log4j-api)
BuildRequires: mvn(org.apache.logging.log4j:log4j-core) mvn(org.codehaus.mojo:exec-maven-plugin)
BuildRequires: mvn(org.hibernate:hibernate-core) mvn(org.javassist:javassist) mvn(org.slf4j:slf4j-api)
BuildRequires: mvn(org.mockito:mockito-all) mvn(org.slf4j:slf4j-simple)
BuildArch: noarch
%description
Fast, simple, reliable. HikariCP is a "zero-overhead" production ready JDBC connection pool.
At roughly 130Kb, the library is very light.
%package help
Summary: help documentation for HikariCP
Provides: HikariCP-javadoc = %{version}-%{release}
Obsoletes: HikariCP-javadoc < %{version}-%{release}
%description help
This package contains help documentation for HikariCP.
%prep
%autosetup -n %{name}-%{name}-%{version} -p1
for remove_plugin in jacoco-maven-plugin maven-release-plugin maven-source-plugin;do
%pom_remove_plugin :${remove_plugin};
done
%pom_xpath_remove "pom:plugin[pom:artifactId='maven-javadoc-plugin']/pom:executions"
%pom_remove_dep org.ops4j.pax.exam:
%pom_remove_dep org.ops4j.pax.url:
%pom_remove_dep simple-jndi:simple-jndi
find src/test/java/com/zaxxer/hikari/osgi -print -delete
%pom_add_dep junit:junit:4.12:test
%mvn_file : %{name}
%mvn_alias : com.zaxxer:%{name}-java6
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc CHANGES README.md TODO.md
%license LICENSE
%files help -f .mfiles-javadoc
%changelog
* Mon Aug 22 2022 wangkai <wangkai385@h-partners.com> - 2.4.3-7
- Rebuild for log4j 2.17.2 fix CVE-2021-44832
* Fri Dec 24 2021 yaoxin <yaoxin30@huawei.com> 2.4.3-6
- This package depends on log4j. After the log4j vulnerability CVE-2021-45105 is fixed, the version needs to be rebuild.
* Thu Dec 16 2021 yaoxin <yaoxin30@huawei.com> 2.4.3-5
- This package depends on log4j. After the log4j vulnerability CVE-2021-44228 is fixed, the version needs to be rebuild.
* Tue Oct 27 2020 huanghaitao <huanghaitao8@huawei.com> - 2.4.3-4
- Remove simple-jndi dep
* Fri Dec 20 2019 wanjiankang <wanjiankang@huawei.com> - 2.4.3-3
- initial rpm