summaryrefslogtreecommitdiffstats
path: root/package/cryptopp
Commit message (Collapse)AuthorAgeFilesLines
* package/cryptopp: fix dos/unix newlines in patchPeter Korsgaard2019-02-261-8/+8
| | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/0a26265961747600388258d32ba7dc9226c9249b/ Commit 40005b9a0da6 (package/cryptopp: fix build with gcc < 4.9) added a patch to fix building with old toolchains. The source code unfortunately contains a mix of DOS and UNIX newlines, and the DOS new lines got stripped by the mailing list, causing the patch to no longer apply. Fix up the patch manually. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/cryptopp: fix build with gcc < 4.9Fabrice Fontaine2019-02-221-0/+40
| | | | | | | | | | Disable AVX2 if gcc < 4.9 Fixes: - http://autobuild.buildroot.org/results/195e40b34344f773da51a3fbff9d8e76c517eed1 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/cryptopp: bump to version 8.0.0Fabrice Fontaine2019-01-132-3/+3
| | | | | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/cryptopp: change site to https to avoid a redirectionCarlos Santos2018-12-131-1/+1
| | | | | Signed-off-by: Carlos Santos <casantos@datacom.com.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/cryptopp: purge trailing '/' from CRYPTOPP_SITECarlos Santos2018-12-101-1/+1
| | | | | | | | | | <PKG>_SITE cannot have a trailing slash. This was not detected by the check in generic-package because it is a host-only package without Config.in symbol. Signed-off-by: Carlos Santos <casantos@datacom.com.br> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* cryptopp: bump to version 7.0.0Fabrice Fontaine2018-04-093-52/+3
| | | | | | | Remove patch (applied upstream) Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* cryptopp: use HOST_CRYPTOPP_DL_DIR instead of CRYPTOPP_DL_DIRMaxime Hadjinlian2018-04-021-1/+1
| | | | | | | | | The infrastructure only provides HOST_CRYPTOPP_DL_DIR, because this package is host only. Ideally the infra should provide CRYPTOPP_DL_DIR, but it doesn't currently, and that requires more significant changes. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* packages: use new $($PKG)_DL_DIR) variableMaxime Hadjinlian2018-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | Instead of DL_DIR, the package should now use $(PKG)_DL_DIR to ease the transition into a new directory structure for DL_DIR. This commit has been generated with the following scripts: for i in $(find . -iname "*.mk"); do if ! grep -q "\$(DL_DIR)" ${i}; then continue fi pkg_name="$(basename $(dirname ${i}))" [ "${pkg_name}" = "package" ] && continue raw_pkg_name=$(echo ${pkg_name} | tr [a-z] [A-Z] | tr '-' '_') pkg_dl_dir="${raw_pkg_name}_DL_DIR" sed -i "s/\$(DL_DIR)/\$($pkg_dl_dir)/" ${i} done Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* cryptopp: fix build with host-gcc 4.7.xFabrice Fontaine2018-03-101-0/+49
| | | | | | | | Fixes: - http://autobuild.buildroot.org/results/9ab386124e4a09b50598c6f95ad40b25a83d227e Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* cryptopp: bump to version 6.1.0Fabrice Fontaine2018-03-053-72/+6
| | | | | | | Remove patch (applied upstream) Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* generic packages: use $(HOST_DIR) instead of $(HOST_DIR)/usr as prefixArnout Vandecappelle2017-07-051-1/+1
| | | | | | | | | | | | Remove the redundant usr/ component of the HOST_DIR paths. Since a previous commit added a symlink from $(HOST_DIR)/usr to $(HOST_DIR), everything keeps on working. This is a mechanical change with git grep -l '\$(HOST_DIR)/usr' | xargs sed -i 's%\(prefix\|PREFIX\)=\("\?\)\$(HOST_DIR)/usr%\1=\2$(HOST_DIR)%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: use SPDX short identifier for Boost Software License 1.0Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for Boost Software License 1.0 is BSL-1.0. Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cryptopp: fixup DOS newlines in CVE-2016-9939 patchPeter Korsgaard2016-12-291-42/+42
| | | | | | | The patch did contain the correct newlines, but they got stripped by patchwork so now the patch no longer applies. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* cryptopp: add upstream security fix for CVE-2016-9939Peter Korsgaard2016-12-281-0/+69
| | | | | | | | Fixes security issue (DoS) in Crypto++ ASN1 decoder: https://github.com/weidai11/cryptopp/issues/346 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* cryptopp: use $(HOST_MAKE_ENV) when calling $(MAKE)Gustavo Zacarias2016-10-291-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cryptopp: bump to 5.6.5Thomas Petazzoni2016-10-222-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit bumps cryptopp from 5.6.3 to 5.6.5 in order to fix bug The commit f707b9ef1688d4429ca6239cf2dc236440974681, which Buildroot was downloading as a patch to fix build with older gcc versions, has been merged upstream as of 5.6.4, is therefore no longer necessary, and dropped in this commit. In addition, Andrey Volkov in the bug report #9321, proposed to add a number of patches to cryptopp to solve issues when using tegrarcm. Those patches are the following ones: - patch 0: moving to autotools as the build system. This is not strictly a bug fix, and is not necessary. - patch 1: merged upstream in "3941be18891a6a87626b7c70f715ca91c61c08c3 Fixed hang on ARM platforms in Integer::DivideThreeWordsByTwo", which is part of 5.6.5. - patch 2: merged upstream in "9fca0c28023a177106cf58a3de6da610f185a6e4 Work around issue on ARMEL in MultiplyTop and GCC. ARMHF is OK", which is part of 5.6.5. - patch 3: merged upstream in "dce2317195a7d9aa77b159fd1beddaf8358f6243 Increase range for GCC workaround on ARMEL. After speaking with AP from GCC, he states some issues are still likely present in Master, which is GCC 6.0", which is part of 5.6.5 - patch 4: merged upstream in "605744d8260c6ada033805c13ae0b2646acf18d6 Fixed SecBlock append when "this == t", fixed assert, added validation test (Issue 92)", which is part of 5.6.5 - patch 5: merged upstream in "9f335d719ebc27f58251559240de0077ec42c583 Fix the Rijndael timing attack counter measure", which is part of 5.6.5 - patch 6: merged upstream in "d8b02cfaafd7350ed0f876cd5da405cff330d537 Fixed m68k detection (Issue 153)", which is part of 5.6.5 - patch 7: merged upstream in "c82fd655ed7465db8d21a0e0559c304a7a86d298 Cleared assert in debug builds (Issue 138)", which is part of 5.6.5 Bottom line: none of the patches proposed by Andrey Volkov are necessary if we bump to 5.6.5. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/cryptopp: Backport gcc compatibility patchJulian Scheel2016-04-282-0/+3
| | | | | | | | | | | | | | Import patch from cryptopp upstream which fixes the gcc version checks for using attribute deprecated with messages. Fixes build with host gcc versions < 4.5. Signed-off-by: Julian Scheel <julian@jusst.de> [Thomas: - directly use the patch from upstream through <pkg>_PATCH rather than storing it in package/cryptopp/, as it helps avoiding line-endings problems: upstream has the source code with DOS line endings.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cryptopp: new packageJulian Scheel2016-04-192-0/+32
Signed-off-by: Julian Scheel <julian@jusst.de> [Thomas: - put HOST_CRYPTOPP_EXTRACT_CMDS earlier in the file, since it's what gets executed first. - fix typo in the name of HOST_CRYPTOPP_MAKE_OPTS - pass -fPIC in CXXFLAGS, since we're building a shared library - just call "make shared" for the build and "make install" for the installation.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud