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

Fix: Fix installing ospd-openvas and notus-scanner on Debian 11 #245

Merged
merged 1 commit into from
Jan 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 17 additions & 5 deletions src/22.4/source-build/notus-scanner/build.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
.. code-block::
:caption: Installing notus-scanner
.. tabs::
.. tab:: Debian/CentOS
.. code-block::
:caption: Installing notus-scanner

cd $SOURCE_DIR/notus-scanner-$NOTUS_VERSION
cd $SOURCE_DIR/notus-scanner-$NOTUS_VERSION

python3 -m pip install . --root=$INSTALL_DIR --no-warn-script-location
python3 -m pip install . --prefix=$INSTALL_PREFIX --root=$INSTALL_DIR --no-warn-script-location

sudo cp -rv $INSTALL_DIR/* /
sudo cp -rv $INSTALL_DIR/* /

.. tab:: Ubuntu/Fedora
.. code-block::
:caption: Installing notus-scanner

cd $SOURCE_DIR/notus-scanner-$NOTUS_VERSION

python3 -m pip install . --root=$INSTALL_DIR --no-warn-script-location

sudo cp -rv $INSTALL_DIR/* /

1 change: 1 addition & 0 deletions src/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Calendar Versioning](https://calver.org).

## Latest
* Fix installing ospd-openvas and notus-scanner on Debian 11

## 22.12.0 – 22-12-27
* Fix setting executable permission for setup and install script after the
Expand Down
22 changes: 17 additions & 5 deletions src/common/source-build/ospd-openvas/build.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
.. code-block::
:caption: Installing ospd-openvas
.. tabs::
.. tab:: Debian/CentOS
.. code-block::
:caption: Installing ospd-openvas

cd $SOURCE_DIR/ospd-openvas-$OSPD_OPENVAS_VERSION
cd $SOURCE_DIR/ospd-openvas-$OSPD_OPENVAS_VERSION

python3 -m pip install . --root=$INSTALL_DIR --no-warn-script-location
python3 -m pip install . --prefix=$INSTALL_PREFIX --root=$INSTALL_DIR --no-warn-script-location

sudo cp -rv $INSTALL_DIR/* /
sudo cp -rv $INSTALL_DIR/* /

.. tab:: Ubuntu/Fedora
.. code-block::
:caption: Installing ospd-openvas

cd $SOURCE_DIR/ospd-openvas-$OSPD_OPENVAS_VERSION

python3 -m pip install . --root=$INSTALL_DIR --no-warn-script-location

sudo cp -rv $INSTALL_DIR/* /