Created attachment 187078 [details]
Patch to include cryptest
Cryptopp has the possibility of building a test program, which can be used to easily use the libcryptopp API to encrypt or decrypt files.
This patch is intended to include this program, optionally, in the build process.
The cryptest.exe program also requires the data in the TestData directory (at least usage.dat since most people would like to know how to use it). CRYPTOPP_DATA_DIR would also have to be set in MAKE_ENV since, by default, the program looks for the data in the same directory it is in. Setting this to DATADIR or something would break the port tests, though, since the data wouldn't be installed yet when they are run.
Created attachment 187080 [details]
Patch to include cryptest (reviewed)
Reviewed the patch to include the usage.dat file in order to get the usage for the file.
make check-plist fails
make test fails
I have a quick question before trying to do the things the hard way. Is there any way to include all the files that are inside a folder and put them into PLIST_FILES?
Created attachment 187302 [details]
Avoiding make to break
The new patch passes make check-plist and make test.
The main thing I did is to rebuild everything without the TOOLS_MAKE_ENV Variable set, so the tests are being run in place.
I hope it could be approved now
A commit references this bug:
Date: Sun Mar 11 16:10:20 UTC 2018
New revision: 464184
Reinstate the cryptest binary removed in r428022 as it may be useful to some
people. Since it was installed by default before, so it shall be now. It can
be toggled with the TOOLS option. For the regression tests to run, it must be
toggled OFF due to environment restrictions.
- Switch to plain USES=zip, it extracts fine with base unzip
- Clean up whitespace
- Fix portlint warnings
- Rename LIBVERSION variable to SOVERSION
Submitted by: Roberto Fernandez Cueto <firstname.lastname@example.org>
Committed with some other work done. Sorry I took so long with this!