Skip to content
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

Add Apache httpd dynamic application build from source #43

Open
StefanJum opened this issue Jul 14, 2023 · 0 comments
Open

Add Apache httpd dynamic application build from source #43

StefanJum opened this issue Jul 14, 2023 · 0 comments

Comments

@StefanJum
Copy link
Member

Add the Apache httpd applications as a dynamic build, from the application source files.
Test it using app-elfloader.
If any problems appear, open issues on the Unikraft core repository.

The typical process of adding apps to the dynamic-apps repository, built from the source files, is:

  • Create the app directory that will store: the executable, depending shared libraries, configuration files, data files, etc. Name it app-name-source (e.g. app-redis-source).
  • Download the source code for the application (use apt source or find the source code somwhere else, like GitHub)
  • Build the application following the instructions provided.
  • Update or create any configuration files, if required.
  • Run the executable locally, to test it.
  • Run the extract.sh script to pack the application.
  • Build a bash script that does all the steps you just did (downloads the sources, builds the application, creates the config files, calls the extract.sh script).
    You can take a peek at the static-pie scripts (app-nginx for example).
  • Now profit. Use app-elfloader.

Hackathon points: 40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant