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

Couchdb src #56

Closed
wants to merge 3 commits into from
Closed

Couchdb src #56

wants to merge 3 commits into from

Conversation

mtimaN
Copy link
Contributor

@mtimaN mtimaN commented Jul 15, 2023

Add CouchDB build from source using a script. Currently version 3.3.2 but can be modifiable via a variable in the script

Add GnuPG 2.4.3 dynamic executable with dependencies

Signed-off-by: Mantu Matei <matei.mantu@stud.acs.upb.ro>
Add CouchDB build from source script

Signed-off-by: Mantu Matei <matei.mantu@stud.acs.upb.ro>
Add CouchDB build from source using a script. Currently version 3.3.2 but can be modifiable via a variable in the script

Signed-off-by: Mantu Matei <matei.mantu@stud.acs.upb.ro>
Copy link
Member

@StefanJum StefanJum left a comment

Choose a reason for hiding this comment

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

Thanks.

Besides the comments, please:

  • Squash and sign-off the commits
  • Add a README file explaining the use of the script, both on Linux and on top of Unikraft, using the run.sh script.

couchdb-src/build.sh Show resolved Hide resolved
#pushd apache-couchdb-3.3.2.tar.gz > /dev/null 2>&1 || exit

echo "Configuring CouchDB ... "
cd apache-couchdb-$VERSION
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
cd apache-couchdb-$VERSION
pushd "apache-couchdb-$VERSION" &> /dev/null || exit 1

make -j "$(nproc)"
#popd > /dev/null 2>&1 || exit

cd ../
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
cd ../
popd &> /dev/null || exit 1


echo -n "Building CouchDB ... "
make -j "$(nproc)"
#popd > /dev/null 2>&1 || exit
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
#popd > /dev/null 2>&1 || exit

tar xzf apache-couchdb-$VERSION.tar.gz
echo ""

#pushd apache-couchdb-3.3.2.tar.gz > /dev/null 2>&1 || exit
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
#pushd apache-couchdb-3.3.2.tar.gz > /dev/null 2>&1 || exit


# Packing the app
mkdir dynamic-couchdb
cd dynamic-couchdb
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
cd dynamic-couchdb
pushd dynamic-couchdb &> /dev/null || exit 1

@mtimaN mtimaN closed this Oct 24, 2023
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