Commit 2d89077f authored by Lorenzo "Palinuro" Faletra's avatar Lorenzo "Palinuro" Faletra Committed by Nong Hoang Tu
Browse files

Import Debian changes 21.4.3-1parrot1

ospd-openvas (21.4.3-1parrot1) parrot-updates; urgency=medium
.
  * Import new Debian release.
.
ospd-openvas (21.4.3-1) unstable; urgency=medium
.
  * New upstream version 21.4.3
  * Bump Standards-Version to 4.6.0 (no changes)
.
ospd-openvas (21.4.2-1) unstable; urgency=medium
.
  * Update debian/copyright
  * Refresh patches (remove upstream patches merged in new version)
  * Update minimal required version of python3-ospd
  * Bump Standards-Version to 4.5.1 (no change)
  * New upstream version 21.4.2
.
ospd-openvas (20.8.0-1) unstable; urgency=medium
.
  * Team upload.
.
  [ Sophie Brun ]
  * New upstream version 20.8.0
  * Update debian/copyright: now license is AGL-3+
  * Update minimal required version of python3-ospd
  * Update minimal required versions of openvas-scanner
  * Fix debian/copyright
  * Refresh patches
  * Fix unix-socket in ospd-openvas.service
  * Update ospd-openvas.service with Debian lock-file-dir
  * Import upstream patches (see https://bugs.kali.org/view.php?id=6893)
.
  [ SZ Lin (林上智) ]
  * I am no longer using this package, and thus remove my name from the
    uploaders field due to time constraints
.
ospd-openvas (1.0.1-2) unstable; urgency=medium
.
  * Team upload
.
  [ Sophie Brun ]
  * Change the adapt-ospd-openvas.service.patch (Closes: #966715)
  * Add /etc/sudoers.d/ospd-openvas (Closes: #967046)
.
ospd-openvas (1.0.1-1) unstable; urgency=medium
.
  * Team upload
.
  [ Sophie Brun ]
  * Add python3-setuptools for autopkgtest
  * Update ospd-openvas.service to start it only after gvmd.service
.
  [ Raphaël Hertzog ]
  * Remove obsolete field Name from debian/upstream/metadata (already present
    in machine-readable debian/copyright).
.
ospd-openvas (1.0.1-1~exp1) experimental; urgency=medium
.
  [ Sophie Brun ]
  * New upstream version 1.0.1
  * Update build-deps for new release
  * Improve ospd-openvas.service
    - Change pid name file (from ospd.pid to ospd-openvas.pid to avoid
      conflict with ospd.pid used by python3-ospd)
    - Add Wants=redis-server@openvas.service
.
  [ SZ Lin (林上智) ]
  * Add autopkgtest test case
  * Correct copyright information
  * Bump debhelper-compat to 13
.
ospd-openvas (1.0.0-1~exp1) experimental; urgency=medium
.
  [ Sophie Brun ]
  * Initial release (Closes: #950834)
.
  [ SZ Lin (林上智) ]
  * Add upstream metadata
  * Add comments in elaborating the typo in license declaration
  * d/control:
    - Set Rules-Requires-Root: no
  * d/rules:
    - Remove trailing newline
parent 0b9dc79b
ospd-openvas (21.4.3-1parrot1) parrot-updates; urgency=medium
* Import new Debian release.
-- Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org> Wed, 23 Mar 2022 12:57:15 +0100
ospd-openvas (21.4.3-1) unstable; urgency=medium
* New upstream version 21.4.3
* Bump Standards-Version to 4.6.0 (no changes)
-- Sophie Brun <sophie@offensive-security.com> Tue, 19 Oct 2021 14:31:50 +0200
ospd-openvas (21.4.2-1) unstable; urgency=medium
* Update debian/copyright
* Refresh patches (remove upstream patches merged in new version)
* Update minimal required version of python3-ospd
* Bump Standards-Version to 4.5.1 (no change)
* New upstream version 21.4.2
-- Sophie Brun <sophie@offensive-security.com> Fri, 27 Aug 2021 11:38:21 +0200
ospd-openvas (20.8.0-1) unstable; urgency=medium
* Team upload.
[ Sophie Brun ]
* New upstream version 20.8.0
* Update debian/copyright: now license is AGL-3+
* Update minimal required version of python3-ospd
* Update minimal required versions of openvas-scanner
* Fix debian/copyright
* Refresh patches
* Fix unix-socket in ospd-openvas.service
* Update ospd-openvas.service with Debian lock-file-dir
* Import upstream patches (see https://bugs.kali.org/view.php?id=6893)
[ SZ Lin (林上智) ]
* I am no longer using this package, and thus remove my name from the
uploaders field due to time constraints
-- Raphaël Hertzog <raphael@offensive-security.com> Thu, 03 Dec 2020 14:52:46 +0100
ospd-openvas (1.0.1-2) unstable; urgency=medium
* Team upload
[ Sophie Brun ]
* Change the adapt-ospd-openvas.service.patch (Closes: #966715)
* Add /etc/sudoers.d/ospd-openvas (Closes: #967046)
-- Raphaël Hertzog <raphael@offensive-security.com> Thu, 06 Aug 2020 15:19:13 +0200
ospd-openvas (1.0.1-1) unstable; urgency=medium
* Team upload
[ Sophie Brun ]
* Add python3-setuptools for autopkgtest
* Update ospd-openvas.service to start it only after gvmd.service
[ Raphaël Hertzog ]
* Remove obsolete field Name from debian/upstream/metadata (already present
in machine-readable debian/copyright).
-- Raphaël Hertzog <raphael@offensive-security.com> Fri, 31 Jul 2020 16:11:01 +0200
ospd-openvas (1.0.1-1~exp1) experimental; urgency=medium
[ Sophie Brun ]
* New upstream version 1.0.1
* Update build-deps for new release
* Improve ospd-openvas.service
- Change pid name file (from ospd.pid to ospd-openvas.pid to avoid
conflict with ospd.pid used by python3-ospd)
- Add Wants=redis-server@openvas.service
[ SZ Lin (林上智) ]
* Add autopkgtest test case
* Correct copyright information
* Bump debhelper-compat to 13
-- SZ Lin (林上智) <szlin@debian.org> Fri, 03 Jul 2020 10:53:37 +0800
ospd-openvas (1.0.0-1~exp1) experimental; urgency=medium
[ Sophie Brun ]
* Initial release (Closes: #950834)
[ SZ Lin (林上智) ]
* Add upstream metadata
* Add comments in elaborating the typo in license declaration
* d/control:
- Set Rules-Requires-Root: no
* d/rules:
- Remove trailing newline
-- SZ Lin (林上智) <szlin@debian.org> Mon, 27 Apr 2020 14:57:29 +0800
Source: ospd-openvas
Section: admin
Priority: optional
Maintainer: Debian Security Tools <team+pkg-security@tracker.debian.org>
Uploaders: Sophie Brun <sophie@offensive-security.com>
Build-Depends: debhelper-compat (= 13),
dh-python,
python3-all,
python3-ospd (>= 21.4.1),
python3-packaging,
python3-psutil,
python3-redis,
python3-setuptools
Standards-Version: 4.6.0
Rules-Requires-Root: no
Homepage: https://www.greenbone.net/
Vcs-Browser: https://salsa.debian.org/pkg-security-team/ospd-openvas
Vcs-Git: https://salsa.debian.org/pkg-security-team/ospd-openvas.git
Testsuite: autopkgtest-pkg-python
Package: ospd-openvas
Architecture: all
Depends: openvas-scanner (>= 21.4.1), ${misc:Depends}, ${python3:Depends}, sudo
Description: OSP server implementation to allow GVM to remotely control an OpenVAS Scanner
This package contains an OSP server implementation to allow GVM to remotely
control OpenVAS.
.
It is a command line tool with parameters to start a daemon which keeps
waiting for instructions to update the feed of vulnerability tests and to
start a scan. The second part of the interface is the redis store where the
parameters about a scan task need to be placed and from where the results can
be retrieved, being the unique communication channel between OSPD-OpenVAS and
OpenVAS.
.
Once running, you need to configure OpenVAS for the Greenbone Vulnerability
Manager, for example via the web interface Greenbone Security Assistant. Then
you can create scan tasks to use OpenVAS.
This diff is collapsed.
[DEFAULT]
debian-branch = debian/master
pristine-tar = True
[buildpackage]
sign-tags = True
[import-orig]
filter-pristine-tar = True
[pq]
patch-numbers = False
[dch]
multimaint-merge = True
config/ospd-openvas.service lib/systemd/system/
debian/sudoers.d/* etc/sudoers.d
From: Sophie Brun <sophie@offensive-security.com>
Date: Thu, 15 Oct 2020 10:50:27 +0200
Subject: Adapt ospd-openvas.service
Add the RuntimeDirectory ospd to create the dir /var/un/ospd for the socket and pid
User and group are specific to Debian: _gvm
Add PIDFIle and unix-socket to the command line to use the path specific to Debian
Change lock-file-dir to /var/lib/openvas (path specific to Debian)
Forwarded: not-needed
---
config/ospd-openvas.service | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/config/ospd-openvas.service b/config/ospd-openvas.service
index 6fa57b6..c56a8d1 100644
--- a/config/ospd-openvas.service
+++ b/config/ospd-openvas.service
@@ -7,12 +7,12 @@ ConditionKernelCommandLine=!recovery
[Service]
Type=forking
-User=gvm
-Group=gvm
+User=_gvm
+Group=_gvm
RuntimeDirectory=ospd
RuntimeDirectoryMode=2775
PIDFile=/run/ospd/ospd-openvas.pid
-ExecStart=/usr/local/bin/ospd-openvas --config /etc/gvm/ospd-openvas.conf --log-config /etc/gvm/ospd-logging.conf
+ExecStart=/usr/bin/ospd-openvas --config /etc/gvm/ospd-openvas.conf --log-config /etc/gvm/ospd-logging.conf --unix-socket /run/ospd/ospd.sock --pid-file /run/ospd/ospd-openvas.pid --log-file /var/log/gvm/ospd-openvas.log --lock-file-dir /var/lib/openvas
SuccessExitStatus=SIGKILL
Restart=always
RestartSec=60
Adapt-ospd-openvas.service.patch
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
export PYBUILD_NAME=ospd-openvas
%:
dh $@ --with python3 --buildsystem=pybuild
---
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
extend-diff-ignore = "^[^/]*[.]egg-info/"
_gvm ALL = NOPASSWD: /usr/sbin/openvas
Tests: test
Depends: @, sudo, python3-setuptools
Restrictions: allow-stderr
#!/bin/sh
set -e
python3 setup.py test
Bug-Database: https://github.com/greenbone/ospd-openvas/issues
Bug-Submit: https://github.com/greenbone/ospd-openvas/issues/new
Repository: https://github.com/greenbone/ospd-openvas.git
Repository-Browse: https://github.com/greenbone/ospd-openvas
version=4
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%ospd-openvas-$1.tar.gz%" \
https://github.com/greenbone/ospd-openvas/tags \
(?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment