Skip to content

wolfprovider build script updates#230

Merged
padelsbach merged 3 commits into
wolfSSL:masterfrom
sebastian-carpenter:build-script-update
Jul 25, 2025
Merged

wolfprovider build script updates#230
padelsbach merged 3 commits into
wolfSSL:masterfrom
sebastian-carpenter:build-script-update

Conversation

@sebastian-carpenter

@sebastian-carpenter sebastian-carpenter commented Jul 24, 2025

Copy link
Copy Markdown
Contributor

wolfProvider will now always build, no matter what
added -- style script args:

  • --debug -> just sets WOLFPROV_DEBUG during the script
  • --wolfssl-ver=, --openssl-ver= -> set the wolfssl or openssl version to be cloned
  • --enable-fips -> might need to change this name (--clone-fips?). Will clone a FIPS bundle to use for wolfProvider. Allows defaults to be overridden with --fips-check and --fips-version
  • --fips-bundle= -> specify the directory to copy a FIPS bundle from. Will also need to use --fips-version.
  • --fips-check= -> a version of FIPS to clone. Any of the args which can be given to wolfssl/fips-check.sh are valid
  • --fips-version= -> the version of FIPS being used which will be (v5, v6, etc.). Used in ./configure --enable-fips=[VERSION]
  • --quicktest -> disable some tests for quicker test suite

examples:

  • ./build-wolfprovider.sh --enable-fips --fips-check=v6.0.0 --fips-version=v6 -> will clone v6.0.0 FIPS and configure with --enable-fips=v6
  • ./build-wolfprovider.sh --enable-fips -> default behavior. clone linuxv5.2.1 FIPS and configure with --enable-fips=v5
  • ./build-wolfprovider --fips-bundle=/dir/to/fips/bundle --fips-version=bundle_version -> copy FIPS bundle over and configure with the provided bundle_version

addendum:

  • Added --disable-err-trace and --debug-asn-template for --debug manipulation
  • Added --clean and --distclean for purging the *-install and *-source directories respectively. They may be used solo or together.
  • Made formatting more consistent when installing OpenSSL, wolfSSL, and wolfProvider.
  • Added logging for the --clean and --distclean arguments.

addendum2:

  • --clean and --distclean now prevent wolfProvider from building

also changed wolfProvider to always build, no matter what
Comment thread scripts/build-wolfprovider.sh Outdated
Comment thread scripts/build-wolfprovider.sh Outdated
Comment thread scripts/build-wolfprovider.sh
added more flags and improved formatting
Comment thread scripts/utils-wolfssl.sh Outdated
--make and --distmake now preventing further building

@padelsbach padelsbach left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better. Nice job!

@padelsbach
padelsbach merged commit 2a9d13d into wolfSSL:master Jul 25, 2025
230 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants