Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add replace default build script#292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
aidangarske wants to merge1 commit intowolfSSL:master
base:master
Choose a base branch
Loading
fromaidangarske:replace-default-script

Conversation

@aidangarske
Copy link
Contributor

Description

Script to automate build procedure for replace default

@aidangarskeaidangarske self-assigned thisSep 26, 2025
@aidangarskeaidangarske marked this pull request as ready for reviewSeptember 29, 2025 16:05
@padelsbach
Copy link
Contributor

General question: where will this script be used?

@aidangarske
Copy link
ContributorAuthor

General question: where will this script be used?

I use this to build replace default locally; Added it so that potential customers / devs could test it out easier / build easier. This doesn't have to be merged its just an option and I found it useful when testing

padelsbach reacted with thumbs up emoji


# Install wolfProvider main package
wolfprov_main=$(ls -1 /tmp/wolfprov-packages/libwolfprov_[0-9]*.deb 2>/dev/null | head -n1 || true)
if [ -z "$wolfprov_main" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we print the name of the wolfprov package too for consistency?

mkdir -p "/tmp/wolfssl-pkg"
chmod +x debian/install-wolfssl.sh
./debian/install-wolfssl.sh \
--tag v5.8.2-stable \
Copy link
Contributor

Choose a reason for hiding this comment

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

Why hardcode the 5.8.2 tag? That deviates from the default behavior ofinstall-wolfssl.sh

git fetch --tags --force --prune

# Install wolfSSL Debian packages from repo tarball
mkdir -p "/tmp/wolfssl-pkg"
Copy link
Contributor

Choose a reason for hiding this comment

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

Should probably clean out this directory if it exists prior to generating the packages. Or just letintstall-wolfssl.sh create a temp dir.

find /tmp/wolfssl-pkg -name "*wolfssl*" -type f -name "*.deb" -exec cp {} /tmp/wolfprov-packages/ \;

# Build Debian packages (wolfProvider + OpenSSL)
yes Y | ./scripts/build-wolfprovider.sh --debian
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we have an option for--debug?

"/tmp/wolfssl-pkg"

# Stage wolfSSL debs into artifacts directory
mkdir -p "/tmp/wolfprov-packages"
Copy link
Contributor

Choose a reason for hiding this comment

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

Same comment here about cleaning out the directory

echo "=== Installing packages ==="

# Install wolfSSL first
wolfssl_debs=$(ls -1 /tmp/wolfprov-packages/*wolfssl*.deb 2>/dev/null || true)
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be already completed byinstall-wolfssl.sh

echo "Installing custom OpenSSL packages..."
if [ -n "$libssl3_debs" ]; then
echo "Installing custom libssl3 package..."
sudo dpkg -i $libssl3_debs || sudo apt install -f -y
Copy link
Contributor

Choose a reason for hiding this comment

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

What happens if the package is already installed or is a "downgrade" to a lower version number? Doesdpkg -i handle this correctly?

@aidangarskeaidangarske marked this pull request as draftOctober 8, 2025 13:18
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@padelsbachpadelsbachpadelsbach left review comments

@ColtonWilleyColtonWilleyAwaiting requested review from ColtonWilley

At least 1 approving review is required to merge this pull request.

Assignees

@aidangarskeaidangarske

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@aidangarske@padelsbach

[8]ページ先頭

©2009-2025 Movatter.jp