forked from pool/libkeccak
Compare commits
13 Commits
86fd181f68
...
3a502c2783
Author | SHA256 | Date | |
---|---|---|---|
3a502c2783 | |||
d0286f9765 | |||
a35d808afe | |||
478e643f4c | |||
fad335a4f3 | |||
9d81c9f9bc | |||
0d1ddf8e50 | |||
ff18d29127 | |||
0d2e4f7607 | |||
546a2aabd3 | |||
275cc41827 | |||
3f79e90d9b | |||
d2b24100c5 |
BIN
1.2.2.tar.gz
(Stored with Git LFS)
BIN
1.2.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
1.4.tar.gz
(Stored with Git LFS)
Normal file
BIN
1.4.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 19 09:38:40 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 1.4
|
||||
* Add cSHAKE
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 24 18:11:57 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Override LDFLAGS,LDOPTIMISE to keep debug info.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 20 08:41:52 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 1.3.1.2:
|
||||
* fixes for other platforms
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 12 17:05:15 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 1.3.1:
|
||||
* add zero copy functions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 19 18:57:06 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libkeccak
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,13 +18,15 @@
|
||||
|
||||
%define lname libkeccak1
|
||||
Name: libkeccak
|
||||
Version: 1.2.2
|
||||
Version: 1.4
|
||||
Release: 0
|
||||
Summary: Keccak family hashing library, including SHA-3
|
||||
License: ISC
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/maandree/libkeccak
|
||||
Source: https://github.com/maandree/libkeccak/archive/refs/tags/%{version}.tar.gz
|
||||
URL: https://codeberg.org/maandree/libkeccak
|
||||
Source: https://codeberg.org/maandree/libkeccak/archive/%version.tar.gz
|
||||
BuildRequires: c_compiler
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
libkeccak is a bit-oriented lanewise implementation of the Keccak
|
||||
@@ -35,9 +37,9 @@ sensitive data, and HMAC.
|
||||
A subset of Keccak was specified by NIST as SHA-3 (Secure Hash Algorithm 3).
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Summary: Development files for %name
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %{version}
|
||||
Requires: %lname = %version
|
||||
|
||||
%description devel
|
||||
libkeccak is a bit-oriented lanewise implementation of the Keccak
|
||||
@@ -46,7 +48,7 @@ algorithm tuning with implicit parameters, secure erasure of
|
||||
sensitive data, and HMAC.
|
||||
|
||||
A subset of Keccak was specified by NIST as SHA-3 (Secure Hash Algorithm 3).
|
||||
This package contains the files required for development with %{name}.
|
||||
This package contains the files required for development with %name.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Keccak family hashing library, including SHA-3
|
||||
@@ -61,20 +63,20 @@ sensitive data, and HMAC.
|
||||
A subset of Keccak was specified by NIST as SHA-3 (Secure Hash Algorithm 3).
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%autosetup -p1 -n %name
|
||||
|
||||
%build
|
||||
%make_build CFLAGS="%{optflags}"
|
||||
%make_build CC="%__cc" CFLAGS="%optflags" LDFLAGS="" LDOPTIMISE=""
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_libdir}
|
||||
%make_install PREFIX=%{_prefix}
|
||||
find %{buildroot} -type f -iname '*.a' -print -delete
|
||||
if [ "%{_lib}" != lib ]; then
|
||||
mv %{buildroot}/%{_libdir}/../lib/* %{buildroot}/%{_libdir}/
|
||||
mkdir -p %buildroot%_libdir
|
||||
%make_install PREFIX=%_prefix
|
||||
find %buildroot -type f -iname '*.a' -print -delete
|
||||
if [ "%_lib" != lib ]; then
|
||||
mv %buildroot/%_libdir/../lib/* %buildroot/%_libdir/
|
||||
fi
|
||||
# packaged via macro
|
||||
rm -rvf %{buildroot}%{_datadir}/licenses/%{name}
|
||||
rm -rvf %buildroot%_datadir/licenses/%name
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
@@ -82,13 +84,13 @@ rm -rvf %{buildroot}%{_datadir}/licenses/%{name}
|
||||
%files devel
|
||||
%doc DEPENDENCIES README TODO
|
||||
%license LICENSE
|
||||
%{_libdir}/%{name}.so
|
||||
%{_includedir}/*
|
||||
%{_mandir}/man3/*.3%{?ext_man}
|
||||
%{_mandir}/man7/*.7%{?ext_man}
|
||||
%_libdir/%name.so
|
||||
%_includedir/*
|
||||
%_mandir/man3/*.3%{?ext_man}
|
||||
%_mandir/man7/*.7%{?ext_man}
|
||||
|
||||
%files -n %lname
|
||||
%license LICENSE
|
||||
%{_libdir}/%{name}.so.*
|
||||
%_libdir/%name.so.*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user