forked from pool/sha1collisiondetection
1.0.3
OBS-URL: https://build.opensuse.org/package/show/security/sha1collisiondetection?expand=0&rev=3
This commit is contained in:
parent
1d7ca93b81
commit
eaf1a9e28a
15
_service
15
_service
@ -1,15 +0,0 @@
|
|||||||
<services>
|
|
||||||
<service mode="disabled" name="tar_scm">
|
|
||||||
<param name="url">https://github.com/cr-marcstevens/sha1collisiondetection.git</param>
|
|
||||||
<param name="scm">git</param>
|
|
||||||
<param name="changesgenerate">enable</param>
|
|
||||||
<param name="filename">sha1collisiondetection</param>
|
|
||||||
<param name="versionformat">%cd.%h</param>
|
|
||||||
</service>
|
|
||||||
<service mode="disabled" name="recompress">
|
|
||||||
<param name="file">*.tar</param>
|
|
||||||
<param name="compression">xz</param>
|
|
||||||
</service>
|
|
||||||
<service mode="disabled" name="set_version"/>
|
|
||||||
</services>
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
|||||||
<servicedata>
|
|
||||||
<service name="tar_scm">
|
|
||||||
<param name="url">https://github.com/cr-marcstevens/sha1collisiondetection.git</param>
|
|
||||||
<param name="changesrevision">ec0ddf3d6041989463a584fe2ca0d241f7248e43</param></service></servicedata>
|
|
BIN
sha1collisiondetection-1.0.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
sha1collisiondetection-1.0.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:943388ca93f85c843e6346801ec4d6cce1c894caccb7a58eae59bf8a33344f74
|
|
||||||
size 398424
|
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 10 08:27:43 UTC 2017 - astieger@suse.com
|
||||||
|
|
||||||
|
- update to 1.0.3:
|
||||||
|
* SIMD code removed
|
||||||
|
* performance improvements
|
||||||
|
- package library
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 28 20:59:56 UTC 2017 - astieger@suse.com
|
Tue Feb 28 20:59:56 UTC 2017 - astieger@suse.com
|
||||||
|
|
||||||
|
@ -18,14 +18,13 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: sha1collisiondetection
|
Name: sha1collisiondetection
|
||||||
Version: 20170228.ec0ddf3
|
Version: 1.0.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Command line tool to detect SHA-1 collision in a file
|
Summary: Detection of SHA-1 collisions
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Productivity/Security
|
Group: Productivity/Security
|
||||||
Url: https://github.com/cr-marcstevens/sha1collisiondetection
|
Url: https://github.com/cr-marcstevens/sha1collisiondetection
|
||||||
Source: %{name}-%{version}.tar.xz
|
Source: https://github.com/cr-marcstevens/sha1collisiondetection/archive/stable-v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -35,27 +34,65 @@ implementations. It will compute the SHA-1 hash of any given file and additional
|
|||||||
will detect cryptanalytic collision attacks against SHA-1 present in each file.
|
will detect cryptanalytic collision attacks against SHA-1 present in each file.
|
||||||
It is very fast and takes less than twice the amount of time as regular SHA-1.
|
It is very fast and takes less than twice the amount of time as regular SHA-1.
|
||||||
|
|
||||||
|
%package -n libsha1detectcoll1
|
||||||
|
Summary: Library that can detect SHA-1 collisions
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
|
%description -n libsha1detectcoll1
|
||||||
|
This library was designed as near drop-in replacements for other sha1sum
|
||||||
|
implementations. It will compute the SHA-1 hash of any given file and additionally
|
||||||
|
will detect cryptanalytic collision attacks against SHA-1 present in each file.
|
||||||
|
It is very fast and takes less than twice the amount of time as regular SHA-1.
|
||||||
|
|
||||||
|
%package -n libsha1detectcoll-devel
|
||||||
|
Summary: Development files for
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: libsha1detectcoll1 = %{version}
|
||||||
|
|
||||||
|
%description -n libsha1detectcoll-devel
|
||||||
|
This library was designed as near drop-in replacements for other sha1sum
|
||||||
|
implementations. It will compute the SHA-1 hash of any given file and additionally
|
||||||
|
will detect cryptanalytic collision attacks against SHA-1 present in each file.
|
||||||
|
It is very fast and takes less than twice the amount of time as regular SHA-1.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{name}-stable-v%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export TARGETCFLAGS="%{optflags}"
|
||||||
make %{?_smp_mflags} PREFIX=%{_prefix}
|
make %{?_smp_mflags} PREFIX=%{_prefix}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
mkdir -p %{buildroot}%{_libdir}
|
mkdir -p %{buildroot}%{_libdir}
|
||||||
make install \
|
%make_install \
|
||||||
|
INCLUDEDIR=%{buildroot}%{_includedir} \
|
||||||
BINDIR=%{buildroot}%{_bindir} \
|
BINDIR=%{buildroot}%{_bindir} \
|
||||||
LIBDIR=%{buildroot}%{_libdir}
|
LIBDIR=%{buildroot}%{_libdir}
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
%fdupes %{buildroot}%{_bindir}
|
find %{buildroot} -type f -name "*.a" -delete -print
|
||||||
|
chmod -x %{buildroot}%{_includedir}/sha1.h
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} test
|
make %{?_smp_mflags} test
|
||||||
|
|
||||||
|
%post -n libsha1detectcoll1 -p /sbin/ldconfig
|
||||||
|
%postun -n libsha1detectcoll1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE.txt README.md
|
%doc LICENSE.txt README.md
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
|
%files -n libsha1detectcoll1
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc LICENSE.txt README.md
|
||||||
|
%{_libdir}/libsha1detectcoll.so.*
|
||||||
|
|
||||||
|
%files -n libsha1detectcoll-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc LICENSE.txt README.md
|
||||||
|
%{_includedir}/sha1.h
|
||||||
|
%{_libdir}/libsha1detectcoll.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user