Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

[RFC] Add support for static linking of libressl#114

Closed
mfelsche wants to merge 4 commits into
mainfrom
link-static
Closed

[RFC] Add support for static linking of libressl#114
mfelsche wants to merge 4 commits into
mainfrom
link-static

Conversation

@mfelsche

Copy link
Copy Markdown

This is an experimental change that enables the net_ssl package to not depend upon the system openssl variant, but can be compiled with a pinned vendored libressl version. It is presented as a Proof of concept and request for comments.

This feature could be made available by pony applications using this library by enabling a feature switch -Dlink_static. The naming of this flag is also just experimental and should have a prefix like net_ssl, so it won't collide with other libraries (e.g. crypto).

Windows support is also missing. I don't even know if this is even possible on windows.

@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Dec 10, 2024
Comment on lines +32 to +42
INPUT_LIBRARY_NAME: "net_ssl"
INPUT_DOCS_BUILD_DIR: "build/net_ssl-docs"
- name: Setup Pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'build/net_ssl-docs/site/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is unrelated, please move to a different PR

@SeanTAllen

Copy link
Copy Markdown
Member

What's the use case here?

@SeanTAllen

Copy link
Copy Markdown
Member

Also, does this work on macOS?

Comment on lines 55 to 67
INPUT_DOCS_BUILD_DIR: "build/net_ssl-docs"
- name: Setup Pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'build/net_ssl-docs/site/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

trigger-release-announcement:
name: Trigger release announcement

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

see above

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

FYI both of those updates are breaking changes. Can you back them out and I will handle that update.

@SeanTAllen

Copy link
Copy Markdown
Member

What's the [RFC] in the title indicate?

@mfelsche

Copy link
Copy Markdown
Author

What's the [RFC] in the title indicate?

As it was written above: "It is presented as a Proof of concept and request for comments."

@mfelsche

Copy link
Copy Markdown
Author

Also, does this work on macOS?

I don't have a macOS system at hand, so I cannot test this. This likely needs some tweeks to work there. Or it doesn't.

@SeanTAllen SeanTAllen removed the discuss during sync Should be discussed during an upcoming sync label Dec 17, 2024
@SeanTAllen

Copy link
Copy Markdown
Member

Closing as this repo is being archived in favor of https://github.com/ponylang/ssl

@SeanTAllen SeanTAllen closed this Jul 16, 2025
@ponylang-main ponylang-main added discuss during sync Should be discussed during an upcoming sync and removed discuss during sync Should be discussed during an upcoming sync labels Jul 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants