Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
2a62a77e39
!13 Fix ongres-scram compilation failure
From: @houyingchao 
Reviewed-by: @licihua 
Signed-off-by: @licihua
2022-02-17 06:31:33 +00:00
houyingchao
f1aeec716e Fix ongres-scram compilation failure 2022-02-17 10:35:48 +08:00
openeuler-ci-bot
8489ea4711
!7 Upgrade to 2.1 version
From: @houyingchao 
Reviewed-by: @myeuler 
Signed-off-by: @myeuler
2022-02-16 09:24:27 +00:00
houyingchao
a278f502c7 Upgrade to 2.1 version 2022-02-15 17:09:02 +08:00
openeuler-ci-bot
61277b54f8 !4 modify the '~' in version
From: @small_leek
Reviewed-by: @ruebb
Signed-off-by: @ruebb
2020-11-23 19:44:30 +08:00
small_leek
a99ae19d89 modify the '~' in version 2020-11-23 19:34:57 +08:00
openeuler-ci-bot
390214b65b !2 modify spec
Merge pull request !2 from wisdoman/master
2019-12-09 16:19:20 +08:00
wisdoman
2f102a1a2f modify spec 2019-12-09 15:45:34 +08:00
openeuler-ci-bot
0322865bb2 !1 ongres-scram init
Merge pull request !1 from wisdoman/master
2019-12-08 13:52:07 +08:00
wisdoman
b587c589f1 add code 2019-12-06 21:22:49 +08:00
2 changed files with 76 additions and 0 deletions

76
ongres-scram.spec Normal file
View File

@ -0,0 +1,76 @@
Name: ongres-scram
Version: 2.1
Release: 2
Summary: Java Implementation for SCRAM(Salted Challenge Response Authentication Mechanism)
License: BSD
URL: https://github.com/ongres/scram
Source0: https://github.com/ongres/scram/archive/2.1/scram-2.1.tar.gz
BuildRequires: maven-local ongres-stringprep
BuildArch: noarch
%description
Scram is part of the family of Simple Authentication and Security Layer
authentication mechanisms.It is described as part of RFC 5802 and RFC7677.
This pachage is a Java implementation.
%package client
Summary: Client for ongres-scram
%description client
This package contains the client for ongres-scram.
%package help
Summary: Javadoc for ongres-scram
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
%description help
This package contains javadoc for ongres-scram
%package parent
Summary: Parent POM of ongres-scram
%description parent
This package contains the ongres-scram parent POM.
%prep
%autosetup -p1 -n "scram-2.1"
find \( -name '*.jar' -o -name '*.class' \) -delete
%pom_remove_plugin :nexus-staging-maven-plugin
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :maven-dependency-plugin client
%pom_remove_plugin -r :maven-javadoc-plugin
%pom_remove_dep com.google.code.findbugs:annotations
sed -i 's/.*SuppressFBWarnings.*//' common/src/main/java/com/ongres/scram/common/message/ServerFinalMessage.java
%build
%mvn_build -s
%install
%mvn_install
sed -i 's/[0-9a-f]\{8\}-[0-9a-f]\{4\}-[0-9a-f]\{4\}-[0-9a-f]\{4\}-[0-9a-f]\{12\}/f2f42549-cfab-4d71-be48-5e9f9a41e5f5/g' $(find %{_buildrootdir} -name ongres-scram-client.xml)
%files -f .mfiles-common
%license LICENSE
%files client -f .mfiles-client
%files help -f .mfiles-javadoc
%files parent -f .mfiles-parent
%changelog
* Thu Feb 17 houyingchao <houyingchao@huawei.com> - 2.1-2
- Fix ongres-scram compilation failure
* Tue Feb 15 houyingchao <houyingchao@huawei.com> - 2.1-1
- Upgrade to 2.1 version
* Mon Nov 23 Senlin <xiasenlin1@huawei.com> - 1.0.0.beta.2-8
- modify the '~' in version
* Thu Dec 5 2019 Tianfei <tianfei16@huawei.com> - 1.0.0~beta.2-7
- Package init

BIN
scram-2.1.tar.gz Normal file

Binary file not shown.