Summary: Embedded SSL Library Name: wolfssl Version: 5.7.2 Release: 1 License: GPLv2 Group: System Environment/Libraries BuildRequires: gcc BuildRequires: glibc BuildRequires: glibc-common BuildRequires: glibc-devel BuildRequires: glibc-headers BuildRequires: make BuildRequires: pkgconfig BuildRequires: sed BuildRequires: tar URL: http://www.wolfssl.com/ Packager: wolfSSL Source: http://wolfssl.com/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description Misc tools for wolfSSL. %package devel Summary: Header files and development libraries for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel This package contains the header files and development libraries for %{name}. If you like to develop programs using %{name}, you will need to install %{name}-devel. %prep %setup -q %build %configure '--target=mips-openwrt-linux' '--host=mips-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--enable-reproducible-build' '--enable-lighty' '--enable-opensslall' '--enable-opensslextra' '--enable-sni' '--enable-stunnel' '--enable-altcertchains' '--disable-crypttests' '--disable-examples' '--disable-jobserver' '--enable-ipv6' '--disable-aesccm' '--disable-certgen' '--disable-chacha' '--disable-poly1305' '--disable-dh' '--disable-arc4' '--disable-tlsv10' '--disable-tls13' '--disable-session-ticket' '--disable-dtls' '--disable-curve25519' '--disable-afalg' '--disable-openvpn' '--enable-devcrypto=no' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=mips-openwrt-linux' 'target_alias=mips-openwrt-linux' 'CC=mips-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/wolfssl-5.7.2-stable=wolfssl-5.7.2-stable -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -fomit-frame-pointer -flto -DFP_MAX_BITS=8192 ' 'LDFLAGS=-L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/lib -znow -zrelro -flto ' 'CPPFLAGS=-I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/usr/include -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/include/fortify -I/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/include ' %{__make} %{?_smp_mflags} if [ "no" = "yes" ] then echo Updating wolfSSL FIPS hash ./fips-hash.sh %{__make} %{?_smp_mflags} fi %install %{__rm} -rf %{buildroot} %{__make} install DESTDIR="%{buildroot}" AM_INSTALL_PROGRAM_FLAGS="" %{__rm} -f %{buildroot}/%{_libdir}/libwolfssl.la %{__rm} -f %{buildroot}/%{_libdir}/libwolfssl.a %check %clean %{__rm} -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog.md COPYING README README.md %{_docdir}/wolfssl/taoCert.txt %{_docdir}/wolfssl/example/async_client.c %{_docdir}/wolfssl/example/async_server.c %{_docdir}/wolfssl/example/client.c %{_docdir}/wolfssl/example/server.c %{_docdir}/wolfssl/example/echoclient.c %{_docdir}/wolfssl/example/echoserver.c %{_docdir}/wolfssl/example/sctp-client.c %{_docdir}/wolfssl/example/sctp-server.c %{_docdir}/wolfssl/example/sctp-client-dtls.c %{_docdir}/wolfssl/example/sctp-server-dtls.c %{_docdir}/wolfssl/example/tls_bench.c %{_docdir}/wolfssl/README.txt %{_docdir}/wolfssl/QUIC.md %{_libdir}/libwolfssl.so.* %files devel %defattr(-,root,root,-) %doc AUTHORS ChangeLog.md COPYING README README.md %{_bindir}/wolfssl-config %{_includedir}/wolfssl/*.h %{_includedir}/wolfssl/wolfcrypt/*.h %{_includedir}/wolfssl/openssl/*.h %{_libdir}/pkgconfig/wolfssl.pc %{_libdir}/libwolfssl.so %changelog * Mon Oct 17 2022 Juliusz Sosinowicz - Updates for building FIPS packages and general maintenance * Tue Sep 27 2022 Jacob Barthelmeh - Add include of kyber headers * Tue Aug 30 2022 Jacob Barthelmeh - Add include of QUIC documentation * Wed Aug 17 2022 Anthony Hu - Add a new header sphincs.h. * Wed Jul 20 2022 Anthony Hu - Add a new header dilithium.h. * Fri Jul 8 2022 Jacob Barthelmeh - Add missing sp_int.h file * Mon May 2 2022 Jacob Barthelmeh - Add missing kdf.h file * Wed Feb 16 2022 John Safranek - Update for new release. * Mon Dec 27 2021 Jacob Barthelmeh - Add a missing headers camellia.h, modes.h from compat layer. - Add a missing header falcon.h. * Mon Nov 01 2021 Jacob Barthelmeh - Add a missing headers cmac.h, compat_types.h from compat layer. * Thu Jul 08 2021 Jacob Barthelmeh - Add a missing header eccsi, sakke. * Thu Mar 25 2021 John Safranek - Add new header kdf.h * Mon Aug 17 2020 John Safranek - Add a missing header. - Update for release. * Thu Apr 16 2020 John Safranek - Add some missing headers. - Sort the file list. * Thu Dec 19 2019 Jacob Barthelmeh - Add wolfssl/openssl/tls1.h, wolfssl/openssl/x509_vfy.h * Fri Mar 15 2019 John Safranek - Updates for the v4 release. * Thu Dec 20 2018 Jacob Barthelmeh - Remove wolfssl/wolfcrypt/fips.h, add wolfssl/openssl/pkcs7.h * Wed Jun 20 2018 Jacob Barthelmeh - Remove NEWS, update ChangeLog to ChangeLog.md, remove wolfssl/wolfcrypt/fips.h, add wolfssl/wolfcrypt/cryptocb.h * Thu May 31 2018 John Safranek - Update the version number on the library SO file. * Fri Mar 02 2018 Jacob Barthelmeh - Added header files fips.h, buffer.h, objects.h, rc4.h and example tls_bench.c * Fri Sep 08 2017 Jacob Barthelmeh - Change name for header wolfssl/io.h to wolfssl/wolfio.h * Fri Aug 04 2017 Jacob Barthelmeh - Added header for wolfssl/wolfcrypt/cpuid.h, wolfssl/wolfcrypt/sha3.h * Thu May 04 2017 Jacob Barthelmeh - Added header for wolfssl/io.h, wolfssl/openssl/ssl23.h, cyassl/openssl/ssl23.h * Thu Feb 09 2017 Jacob Barthelmeh - Added header for wolfssl/wolfcrypt/wolfmath.h * Fri Nov 11 2016 Jacob Barthelmeh - Added header for wolfssl/openssl/aes.h * Fri Oct 28 2016 Jacob Barthelmeh - Added header for pkcs12 * Fri Sep 23 2016 John Safranek - Add the dtls-sctp example sources * Tue Jun 14 2016 Jacob Barthelmeh - Change location for mem_track.h header - Added header for cmac.h * Thu Mar 17 2016 Jacob Barthelmeh - Added header for mem_track.h * Wed Dec 30 2015 Jacob Barthelmeh - Added headers for curve25519 and ed25519 openssl compatibility - Added headers for Idea, srp, signature, and wc_encrypt * Tue Mar 31 2015 John Safranek - Added recent new wolfcrypt headers for curve25519 * Fri Jan 09 2015 John Safranek - Update for cyassl->wolfssl name change * Sat Oct 20 2012 Brian Aker - Initial package