-
Notifications
You must be signed in to change notification settings - Fork 6
Switch to OpenSSL 3.4 and Ubuntu 22.04 #21
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
pschlan
wants to merge
5
commits into
main
Choose a base branch
from
ubuntu-22.04-openssl-3.4.1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
9d3d751
openssl to 3.4.1, mariadb connector to 3.4.4, set build env to ubuntu…
Sebijk 4d110c6
Attempt to fix OpenSSL linking
pschlan 341c83a
docker: Disable tests during OpenSSL build
pschlan 2df58c6
Fix compiler warning, address OpenSSL deprecation warnings
pschlan db49c78
docker: Invoke ldd to show b1gmailserver lib dependencies
pschlan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,34 +1,34 @@ | ||
| FROM ubuntu:xenial AS build-stage | ||
| FROM ubuntu:jammy AS build-stage | ||
|
|
||
| ENV DEBIAN_FRONTEND=noninteractive | ||
|
|
||
| RUN apt-get update && \ | ||
| apt-get install -y build-essential git cmake autoconf libtool pkg-config \ | ||
| zlib1g-dev libncurses5-dev php7.0-cli wget | ||
| zlib1g-dev libncurses5-dev php-cli wget | ||
|
|
||
| RUN mkdir -p /buildenv/include | ||
|
|
||
| WORKDIR /src/buildenv | ||
|
|
||
| RUN wget https://www.openssl.org/source/openssl-1.1.1w.tar.gz | ||
| RUN tar xzf openssl-1.1.1w.tar.gz | ||
| RUN cd openssl-1.1.1w && ./config --prefix=/buildenv shared && make -j && make install && cd .. | ||
| RUN wget https://github.com/openssl/openssl/releases/download/openssl-3.4.1/openssl-3.4.1.tar.gz | ||
| RUN tar xzf openssl-3.4.1.tar.gz | ||
| RUN cd openssl-3.4.1 && ./config --prefix=/buildenv --openssldir=/buildenv/usr/ssl --libdir=lib no-tests shared && make -j && make -j install && cd .. | ||
|
|
||
| RUN wget https://invisible-mirror.net/archives/dialog/dialog-1.3-20160828.tgz | ||
| RUN tar xzf dialog-1.3-20160828.tgz | ||
| RUN cd dialog-1.3-20160828 && ./configure --disable-widec --prefix=/buildenv && make -j && make install && cp dlg_config.h dialog.h /buildenv/include && cd .. | ||
|
|
||
| RUN wget https://dlm.mariadb.com/3677127/Connectors/c/connector-c-3.3.8/mariadb-connector-c-3.3.8-src.tar.gz | ||
| RUN tar xzf mariadb-connector-c-3.3.8-src.tar.gz | ||
| RUN cd mariadb-connector-c-3.3.8-src && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/buildenv .. && make -j && make install && cd .. | ||
| RUN wget https://dlm.mariadb.com/4047871/Connectors/c/connector-c-3.4.4/mariadb-connector-c-3.4.4-src.tar.gz | ||
| RUN tar xzf mariadb-connector-c-3.4.4-src.tar.gz | ||
| RUN cd mariadb-connector-c-3.4.4-src && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/buildenv -DOPENSSL_ROOT_DIR=/buildenv .. && make -j && make install && cd .. | ||
|
|
||
| RUN wget http://ftp.cs.stanford.edu/pub/exim/pcre/pcre-8.45.tar.gz | ||
| RUN tar xzf pcre-8.45.tar.gz | ||
| RUN cd pcre-8.45 && ./configure --prefix=/buildenv --enable-shared --disable-static && make -j && make install && cd .. | ||
|
|
||
| COPY ./src /src/b1gmailserver | ||
| WORKDIR /src/b1gmailserver/build | ||
| RUN cmake -DCMAKE_INSTALL_PREFIX=/buildenv -DCMAKE_BUILD_TYPE=Release .. && make -j && make dist | ||
| RUN cmake -DCMAKE_INSTALL_PREFIX=/buildenv -DOPENSSL_ROOT_DIR=/buildenv -DCMAKE_BUILD_TYPE=Release .. && make -j && ldd ./b1gmailserver && make dist | ||
|
|
||
| FROM scratch AS export-stage | ||
| COPY --from=build-stage /src/b1gmailserver/build/dist/*.run / |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 3306 | ||
| 3310 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should only be bumped by one, probably