commit
5eccd0df47
@ -0,0 +1,2 @@
|
||||
SOURCES/libsodium-1.0.20.tar.gz
|
||||
SOURCES/libsodium-1.0.20.tar.gz.sig
|
@ -0,0 +1,2 @@
|
||||
e37f50e66b4b90957cfef5792c6af6abf27ae9c6 SOURCES/libsodium-1.0.20.tar.gz
|
||||
c5a100c838fb012b6ab184506d533bc3094f31bd SOURCES/libsodium-1.0.20.tar.gz.sig
|
@ -0,0 +1,127 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v1 (OpenBSD)
|
||||
|
||||
mQINBFTZ0A8BEAD2/BeYhJpEJDADNuOz5EO8E0SIj5VeQdb9WLh6tBe37KrJJy7+
|
||||
FBFnsd/ahfsqoLmr/IUE3+ZejNJ6QVozUKUAbds1LnKh8ejX/QegMrtgb+F2Zs83
|
||||
8ju4k6GtWquW5OmiG7+b5t8R/oHlPs/1nHbk7jkQqLkYAYswRmKld1rqrrLFV8fH
|
||||
SAsnTkgeNxpX8W4MJR22yEwxb/k9grQTxnKHHkjJInoP6VnGRR+wmXL/7xeyUg6r
|
||||
EVmTaqEoZA2LiSaxaJ1c8+5c7oJ3zSBUveJA587KsCp56xUKcwm2IFJnC34WiBDn
|
||||
KOLB7lNxIT3BnnzabF2m+5602qWRbyMME2YZmcISQzjiVKt8O62qmKfFr5u9B8Tx
|
||||
iYpSOal9HvZqih8C7u/SKeGzbONfbmmJgFuA15LVwt7I5Xx7565+kWeoDgKPlfrL
|
||||
7zPrCQqS1a75MB+W/fOHhCRJ3IqFc+dT1F4hb8AAKWrERVq27LEJzmxXH36kMbB+
|
||||
eQg336JlS6TmqelVFb15PgtcFh972jJK8u/vpHY0EBPij5chjYQ2nCBmFLT5O4UZ
|
||||
Y4Gm8Z3QLFG1EeOiz+uRdNfchxwfLkjng1UhKXSq5yuOAAeMaNoYFtCf1hAHG6tx
|
||||
vWyIijRxUd5c8cDZsKMuLQ34O6DuvPZyeCy6q8BTfW18miMMhIH0QTS9MwAR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BI4vKNHSiAQ1/J94uiu9Aze
|
||||
W6ddPO4Ax7LycK0WOeNVNAT6a3tFJbQrve3ZoDDSNXAa70VKmpdrsrwnX+/4+rly
|
||||
Z7lj7rnMWCe9jllfZ2Mi+nIYXCrvhVh0t7OHVGwpSq28B/e2AFsQZxXcT4Y+6po7
|
||||
aJADVdb+LlOAuF6xB3sylE1Im0iADCW9UAWub1oiOr9jv0+mHEYc3kaF0kPU5zKO
|
||||
I9cg891jcOBV/qRv89ubSHifw9hTZB0dDjXzBjNwNjBHqkYDaLsf1izeYHEG4gEO
|
||||
sjoMDQMqgw6KyZ++6FgAUGX5I1dBOYLJoonhOH/lNmxjQvc= =Hkmu
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
@ -0,0 +1,366 @@
|
||||
# Fedora spec file for libsodium
|
||||
#
|
||||
# License: MIT
|
||||
# http://opensource.org/licenses/MIT
|
||||
#
|
||||
# Please preserve changelog entries
|
||||
#
|
||||
%global libname libsodium
|
||||
%global soname 26
|
||||
|
||||
%if 0%{?fedora}
|
||||
%bcond_without mingw
|
||||
%else
|
||||
%bcond_with mingw
|
||||
%endif
|
||||
|
||||
Name: libsodium
|
||||
Version: 1.0.20
|
||||
Release: 2%{?dist}
|
||||
Summary: The Sodium crypto library
|
||||
License: ISC
|
||||
URL: https://libsodium.org/
|
||||
|
||||
Source0: https://download.libsodium.org/libsodium/releases/%{name}-%{version}.tar.gz
|
||||
Source1: https://download.libsodium.org/libsodium/releases/%{name}-%{version}.tar.gz.sig
|
||||
# https://doc.libsodium.org/installation#integrity-checking
|
||||
Source2: %{name}.pubkey
|
||||
|
||||
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
|
||||
%if %{with mingw}
|
||||
BuildRequires: mingw32-filesystem
|
||||
BuildRequires: mingw32-gcc
|
||||
|
||||
BuildRequires: mingw64-gcc
|
||||
BuildRequires: mingw64-filesystem
|
||||
%endif
|
||||
|
||||
# manage update from 3rd party repository
|
||||
Obsoletes: %{libname}%{soname} <= %{version}
|
||||
|
||||
|
||||
%description
|
||||
Sodium is a new, easy-to-use software library for encryption, decryption,
|
||||
signatures, password hashing and more. It is a portable, cross-compilable,
|
||||
installable, packageable fork of NaCl, with a compatible API, and an extended
|
||||
API to improve usability even further. Its goal is to provide all of the core
|
||||
operations needed to build higher-level cryptographic tools. The design
|
||||
choices emphasize security, and "magic constants" have clear rationales.
|
||||
|
||||
The same cannot be said of NIST curves, where the specific origins of certain
|
||||
constants are not described by the standards. And despite the emphasis on
|
||||
higher security, primitives are faster across-the-board than most
|
||||
implementations of the NIST standards.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: %{libname}%{soname}-devel <= %{version}
|
||||
|
||||
%description devel
|
||||
This package contains libraries and header files for
|
||||
developing applications that use %{name} libraries.
|
||||
|
||||
%package static
|
||||
Summary: Static library for %{name}
|
||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: %{libname}%{soname}-static <= %{version}
|
||||
|
||||
%description static
|
||||
This package contains the static library for statically
|
||||
linking applications to use %{name}.
|
||||
|
||||
%if %{with mingw}
|
||||
%package -n mingw32-%{name}
|
||||
Summary: MinGW compiled %{name} library for Win32 target
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n mingw32-%{name}
|
||||
This package contains the MinGW compiled library of %{name}
|
||||
for Win32 target.
|
||||
|
||||
%package -n mingw64-%{name}
|
||||
Summary: MinGW compiled %{name} library for Win64 target
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n mingw64-%{name}
|
||||
This package contains the MinGW compiled library of %{name}
|
||||
for Win64 target.
|
||||
|
||||
%{?mingw_debug_package}
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%{?gpgverify:%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'}
|
||||
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
# This package has a configure test which uses ASMs, but does not link the
|
||||
# resultant .o files. As such the ASM test is always successful, even on
|
||||
# architectures were the ASM is not valid when compiling with LTO.
|
||||
#
|
||||
# -ffat-lto-objects is sufficient to address this issue. It is the default
|
||||
# for F33, but is expected to only be enabled for packages that need it in
|
||||
# F34, so we use it here explicitly
|
||||
%define _lto_cflags -flto=auto -ffat-lto-objects
|
||||
|
||||
mkdir build_native
|
||||
pushd build_native
|
||||
%global _configure ../configure
|
||||
%configure \
|
||||
--disable-silent-rules \
|
||||
--disable-opt
|
||||
|
||||
%make_build
|
||||
popd
|
||||
|
||||
%if %{with mingw}
|
||||
%mingw_configure \
|
||||
--disable-silent-rules \
|
||||
--disable-opt
|
||||
|
||||
%mingw_make_build
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
%make_install -C build_native
|
||||
|
||||
rm %{buildroot}%{_libdir}/%{libname}.la
|
||||
|
||||
%if %{with mingw}
|
||||
%mingw_make_install
|
||||
rm %{buildroot}%{mingw32_libdir}/libsodium.a
|
||||
rm %{buildroot}%{mingw64_libdir}/libsodium.a
|
||||
%mingw_debug_install_post
|
||||
%endif
|
||||
|
||||
|
||||
%check
|
||||
make -C build_native check
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{_libdir}/%{libname}.so.%{soname}*
|
||||
|
||||
%files devel
|
||||
%doc AUTHORS ChangeLog README.markdown THANKS
|
||||
%doc test/default/*.{c,exp,h}
|
||||
%doc test/quirks/quirks.h
|
||||
%{_includedir}/sodium.h
|
||||
%{_includedir}/sodium/
|
||||
%{_libdir}/%{libname}.so
|
||||
%{_libdir}/pkgconfig/%{libname}.pc
|
||||
|
||||
%files static
|
||||
%{_libdir}/libsodium.a
|
||||
|
||||
%if %{with mingw}
|
||||
%files -n mingw32-%{name}
|
||||
%license LICENSE
|
||||
%{mingw32_bindir}/*.{dll,def}
|
||||
%{mingw32_includedir}/sodium.h
|
||||
%{mingw32_includedir}/sodium/
|
||||
%{mingw32_libdir}/pkgconfig/libsodium.pc
|
||||
%{mingw32_libdir}/libsodium.dll.a
|
||||
|
||||
%files -n mingw64-%{name}
|
||||
%license LICENSE
|
||||
%{mingw64_bindir}/*.{dll,def}
|
||||
%{mingw64_includedir}/sodium.h
|
||||
%{mingw64_includedir}/sodium/
|
||||
%{mingw64_libdir}/pkgconfig/libsodium.pc
|
||||
%{mingw64_libdir}/libsodium.dll.a
|
||||
%endif
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Dec 23 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.0.20-2
|
||||
- Rebuilt for MSVSphere 10
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.20-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Mon May 27 2024 Remi Collet <remi@remirepo.net> - 1.0.20-1
|
||||
- update to 1.0.20
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.19-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.19-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Nov 08 2023 Marian Koncek <mkoncek@redhat.com> - 1.0.19-2
|
||||
- Make mingw subpackages noarch
|
||||
|
||||
* Wed Sep 13 2023 Remi Collet <remi@remirepo.net> - 1.0.19-1
|
||||
- update to 1.0.19
|
||||
- soname is 26
|
||||
|
||||
* Mon Aug 21 2023 Marian Koncek <mkoncek@redhat.com> - 1.0.18-14
|
||||
- Add mingw subpackages
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Fri Apr 21 2023 Remi Collet <remi@remirepo.net> - 1.0.18-12
|
||||
- check archive signature
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Fri Aug 21 2020 Jeff Law <law@redhat.com> - 1.0.18-6
|
||||
- Re-enable LTO
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jul 14 2020 Jeff Law <law@redhat.com> - 1.0.18-4
|
||||
- Disable LTO
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Mon Jun 3 2019 Remi Collet <remi@remirepo.net> - 1.0.18-1
|
||||
- update to 1.0.18
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.17-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Mon Jan 7 2019 Remi Collet <remi@remirepo.net> - 1.0.17-1
|
||||
- update to 1.0.17
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Feb 20 2018 Remi Collet <remi@remirepo.net> - 1.0.16-4
|
||||
- missing BR on C compiler
|
||||
- drop ldconfig scriptlets
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Dec 13 2017 Remi Collet <remi@remirepo.net> - 1.0.16-1
|
||||
- update to 1.0.16
|
||||
|
||||
* Sun Oct 1 2017 Remi Collet <remi@remirepo.net> - 1.0.15-1
|
||||
- update to 1.0.15
|
||||
- soname bump to 23
|
||||
- manage update from libsodium23 (3rd party repository)
|
||||
|
||||
* Fri Sep 22 2017 Remi Collet <remi@remirepo.net> - 1.0.14-1
|
||||
- update to 1.0.14
|
||||
- manage update from libsodium-last (3rd party repository)
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.13-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.13-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon Jul 17 2017 Remi Collet <remi@fedoraproject.org> - 1.0.13-1
|
||||
- update to 1.0.13
|
||||
|
||||
* Mon Mar 13 2017 Remi Collet <remi@fedoraproject.org> - 1.0.12-1
|
||||
- update to 1.0.12
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon Dec 12 2016 Neal Gompa <ngompa13@gmail.com> - 1.0.11-2
|
||||
- Add static library subpackage
|
||||
|
||||
* Mon Aug 1 2016 Remi Collet <remi@fedoraproject.org> - 1.0.11-1
|
||||
- update to 1.0.11
|
||||
|
||||
* Tue Apr 5 2016 Remi Collet <remi@fedoraproject.org> - 1.0.10-1
|
||||
- update to 1.0.10
|
||||
|
||||
* Sat Apr 2 2016 Remi Collet <remi@fedoraproject.org> - 1.0.9-1
|
||||
- update to 1.0.9
|
||||
|
||||
* Mon Mar 7 2016 Remi Collet <remi@fedoraproject.org> - 1.0.8-1
|
||||
- update to 1.0.8
|
||||
- soname bump to 18
|
||||
- fix license management
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Sun Oct 25 2015 Christopher Meng <rpm@cicku.me> - 1.0.5-1
|
||||
- Update to 1.0.5
|
||||
|
||||
* Mon Jul 13 2015 Christopher Meng <rpm@cicku.me> - 1.0.3-1
|
||||
- Update to 1.0.3
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Fri Jan 23 2015 Christopher Meng <rpm@cicku.me> - 1.0.2-1
|
||||
- Update to 1.0.2
|
||||
|
||||
* Sat Nov 22 2014 Christopher Meng <rpm@cicku.me> - 1.0.1-1
|
||||
- Update to 1.0.1
|
||||
|
||||
* Sat Oct 18 2014 Christopher Meng <rpm@cicku.me> - 1.0.0-1
|
||||
- Update to 1.0.0
|
||||
|
||||
* Sun Aug 24 2014 Christopher Meng <rpm@cicku.me> - 0.7.0-1
|
||||
- Update to 0.7.0
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Thu Jul 17 2014 Christopher Meng <rpm@cicku.me> - 0.6.1-1
|
||||
- Update to 0.6.1
|
||||
|
||||
* Thu Jul 03 2014 Christopher Meng <rpm@cicku.me> - 0.6.0-1
|
||||
- Update to 0.6.0
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Fri May 16 2014 Christopher Meng <rpm@cicku.me> - 0.5.0-1
|
||||
- Update to 0.5.0
|
||||
|
||||
* Mon Dec 09 2013 Christopher Meng <rpm@cicku.me> - 0.4.5-3
|
||||
- Disable silent build rules.
|
||||
- Preserve the timestamp.
|
||||
|
||||
* Wed Nov 20 2013 Christopher Meng <rpm@cicku.me> - 0.4.5-2
|
||||
- Add doc for devel package.
|
||||
- Add support for EPEL6.
|
||||
|
||||
* Wed Nov 20 2013 Christopher Meng <rpm@cicku.me> - 0.4.5-1
|
||||
- Update to 0.4.5
|
||||
|
||||
* Wed Jul 10 2013 Christopher Meng <rpm@cicku.me> - 0.4.2-2
|
||||
- Drop useless files.
|
||||
- Improve the description.
|
||||
|
||||
* Wed Jul 10 2013 Christopher Meng <rpm@cicku.me> - 0.4.2-1
|
||||
- Initial Package.
|
Loading…
Reference in new issue