Commit 7de17d28 authored by SZ Lin (林上智)'s avatar SZ Lin (林上智) Committed by Sophie Brun

Import Debian changes 5.1.1-2

openvas-scanner (5.1.1-2) unstable; urgency=medium

  * Move package from experimental to sid archive
  * Bump standards version to 4.0.0 

openvas-scanner (5.1.1-1~exp2) experimental; urgency=medium

  * Add libgcrypt20-dev in build-depending (Closes: #864126)
  * Remove libgcrypt11-dev transition package in build-depending

openvas-scanner (5.1.1-1~exp1) experimental; urgency=medium

  [ Gianfranco Costamagna ]
  * Team upload.
  * Add es.po from jathan (Closes: #855612, #856245)

  [ SZ Lin (林上智) ]
  * Add pt.po from Traduz (Closes: #858750)
  * Move it to experimental archive

  [ Gavin Lai ]
  * Import new upstream release

openvas-scanner (5.1.0-1) UNRELEASED; urgency=medium

  * Import new upstream release
  * Add German debconf templates translation (Closes: #843771)
parents cf6ec30c 38702e4f
This diff is collapsed.
......@@ -7,7 +7,7 @@
# Jan-Oliver Wagner <jan-oliver.wagner@greenbone.net>
#
# Copyright:
# Copyright (C) 2011-2015 Greenbone Networks GmbH
# Copyright (C) 2011-2016 Greenbone Networks GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
......@@ -27,7 +27,7 @@ message ("-- Configuring the Scanner...")
project (openvas-scanner C)
cmake_minimum_required (VERSION 2.6)
cmake_minimum_required (VERSION 2.8)
if (POLICY CMP0005)
cmake_policy (SET CMP0005 OLD)
......@@ -56,18 +56,45 @@ macro (Subversion_GET_REVISION dir variable)
endmacro (Subversion_GET_REVISION)
if (NOT CMAKE_BUILD_TYPE MATCHES "Release")
if (EXISTS "${CMAKE_SOURCE_DIR}/.svn/")
if (EXISTS "${CMAKE_SOURCE_DIR}/.svn/" OR EXISTS "${CMAKE_SOURCE_DIR}/../.svn/")
if (SVN_EXECUTABLE)
Subversion_GET_REVISION(. ProjectRevision)
set (SVN_REVISION ".SVN.r${ProjectRevision}")
set (SVN_REVISION "~svn${ProjectRevision}")
else (SVN_EXECUTABLE)
set (SVN_REVISION ".SVN")
set (SVN_REVISION "~svn")
endif (SVN_EXECUTABLE)
endif (EXISTS "${CMAKE_SOURCE_DIR}/.svn/")
endif (EXISTS "${CMAKE_SOURCE_DIR}/.svn/" OR EXISTS "${CMAKE_SOURCE_DIR}/../.svn/")
endif (NOT CMAKE_BUILD_TYPE MATCHES "Release")
# TODO: Check pkg-config (maybe with code like in gsa/CMakeLists.txt).
## Project version
# The following three variables should be set through the project command once
# we require CMake >= 3.0
set (PROJECT_VERSION_MAJOR 5)
set (PROJECT_VERSION_MINOR 1)
set (PROJECT_VERSION_PATCH 1)
# Set beta version if this is a beta release series,
# unset if this is a stable release series.
#set (PROJECT_BETA_RELEASE 1)
if (SVN_REVISION)
set (PROJECT_VERSION_SVN "${SVN_REVISION}")
endif (SVN_REVISION)
# If PROJECT_BETA_RELEASE is set, the version string will be set to:
# "major.minor+beta${PROJECT_BETA_RELEASE}"
# If PROJECT_BETA_RELEASE is NOT set, the version string will be set to:
# "major.minor.patch"
if (PROJECT_BETA_RELEASE)
set (PROJECT_VERSION_SUFFIX "+beta${PROJECT_BETA_RELEASE}")
else (PROJECT_BETA_RELEASE)
set (PROJECT_VERSION_SUFFIX ".${PROJECT_VERSION_PATCH}")
endif (PROJECT_BETA_RELEASE)
set (PROJECT_VERSION_STRING "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}${PROJECT_VERSION_SUFFIX}")
## CPack configuration
set (CPACK_CMAKE_GENERATOR "Unix Makefiles")
......@@ -81,41 +108,16 @@ set (CPACK_SOURCE_GENERATOR "TGZ")
set (CPACK_SOURCE_TOPLEVEL_TAG "")
set (CPACK_SYSTEM_NAME "")
set (CPACK_TOPLEVEL_TAG "")
set (CPACK_PACKAGE_VERSION_MAJOR "5")
set (CPACK_PACKAGE_VERSION_MINOR "0")
# Use this scheme for stable releases
set (CPACK_PACKAGE_VERSION_PATCH "7${SVN_REVISION}")
set (CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
# Use this scheme for +betaN and +rcN releases:
#set (CPACK_PACKAGE_VERSION_PATCH "+beta1${SVN_REVISION}")
#set (CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}${CPACK_PACKAGE_VERSION_PATCH}")
set (CPACK_PACKAGE_VERSION "${PROJECT_VERSION_STRING}${PROJECT_VERSION_SVN}")
set (CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${CPACK_PACKAGE_VERSION}")
set (CPACK_SOURCE_PACKAGE_FILE_NAME "${PROJECT_NAME}-${CPACK_PACKAGE_VERSION}")
set (CPACK_PACKAGE_VENDOR "The OpenVAS Project")
set (CPACK_SOURCE_IGNORE_FILES
"${CMAKE_BINARY_DIR}"
"/.svn/"
"/_CPack_Packages/"
"/CMakeFiles/"
"cmake$"
"swp$"
"Cache.txt$"
".tar.gz"
"install_manifest.txt"
"Makefile"
"/doc/generated/"
"log.conf$"
"Doxyfile$"
"Doxyfile_full$"
"openvassd.8$"
"VERSION$"
"tools/openvas-mkcert$"
"tools/openvas-mkcert-client$"
"tools/openvas-nvt-sync$"
"tools/greenbone-nvt-sync$"
"doc/example_redis_2_4.conf$"
"doc/example_redis_2_6.conf$"
)
include (CPack)
......@@ -157,22 +159,21 @@ endif (NOT DATADIR)
#if (NOT SYSCONFDIR)
# set (SYSCONFDIR "${CMAKE_INSTALL_PREFIX}/etc")
#endif (NOT SYSCONFDIR)
if (NOT OPENVAS_RUN_DIR)
set (OPENVAS_RUN_DIR "${LOCALSTATEDIR}/run")
endif (NOT OPENVAS_RUN_DIR)
set (OPENVAS_DATA_DIR "${DATADIR}/openvas")
set (OPENVAS_STATE_DIR "${LOCALSTATEDIR}/lib/openvas")
set (OPENVAS_LOG_DIR "${LOCALSTATEDIR}/log/openvas")
set (OPENVAS_CACHE_DIR "${LOCALSTATEDIR}/cache/openvas")
set (OPENVAS_PID_DIR "${LOCALSTATEDIR}/run")
set (OPENVAS_SYSCONF_DIR "${SYSCONFDIR}/openvas")
set (OPENVAS_NVT_DIR "${OPENVAS_STATE_DIR}/plugins")
if (NOT OPENVAS_NVT_DIR)
set (OPENVAS_NVT_DIR "${OPENVAS_STATE_DIR}/plugins")
endif (NOT OPENVAS_NVT_DIR)
set (OPENVAS_LIB_INSTALL_DIR "${LIBDIR}")
set (OPENVAS_SCANNER_CERTIFICATE "${OPENVAS_STATE_DIR}/CA/servercert.pem")
set (OPENVAS_SCANNER_KEY "${OPENVAS_STATE_DIR}/private/CA/serverkey.pem")
set (OPENVAS_CLIENT_CERTIFICATE "${OPENVAS_STATE_DIR}/CA/clientcert.pem")
set (OPENVAS_CLIENT_KEY "${OPENVAS_STATE_DIR}/private/CA/clientkey.pem")
set (OPENVAS_CA_CERTIFICATE "${OPENVAS_STATE_DIR}/CA/cacert.pem")
set (OPENVASSD_MESSAGES "${OPENVAS_LOG_DIR}/openvassd.messages")
set (OPENVASSD_DEBUGMSG "${OPENVAS_LOG_DIR}/openvassd.dump")
......@@ -185,11 +186,10 @@ message ("-- Install prefix: ${CMAKE_INSTALL_PREFIX}")
## Dependency checks
pkg_check_modules (LIBOPENVAS_NASL REQUIRED libopenvas_nasl>=8.0.2)
pkg_check_modules (LIBOPENVAS_BASE REQUIRED libopenvas_base>=8.0.2)
pkg_check_modules (LIBOPENVAS_MISC REQUIRED libopenvas_misc>=8.0.2)
pkg_check_modules (LIBOPENVAS_OMP REQUIRED libopenvas_omp>=8.0.2)
pkg_check_modules (GLIB REQUIRED glib-2.0>=2.16)
pkg_check_modules (LIBOPENVAS_NASL REQUIRED libopenvas_nasl>=9.0.0)
pkg_check_modules (LIBOPENVAS_BASE REQUIRED libopenvas_base>=9.0.0)
pkg_check_modules (LIBOPENVAS_MISC REQUIRED libopenvas_misc>=9.0.0)
pkg_check_modules (GLIB REQUIRED glib-2.0>=2.32)
message (STATUS "Looking for libgcrypt...")
find_library (GCRYPT gcrypt)
......@@ -207,8 +207,7 @@ endif (NOT GCRYPT)
## Version
string (REPLACE "
" "" OPENVASSD_VERSION ${CPACK_PACKAGE_VERSION})
set (OPENVASSD_VERSION "${PROJECT_VERSION_STRING}")
# Configure Doxyfile with version number
configure_file (doc/Doxyfile.in doc/Doxyfile @ONLY)
......@@ -217,19 +216,18 @@ configure_file (doc/openvassd.8.in doc/openvassd.8 @ONLY)
configure_file (doc/example_redis_2_4.conf.in doc/example_redis_2_4.conf @ONLY)
configure_file (doc/example_redis_2_6.conf.in doc/example_redis_2_6.conf @ONLY)
configure_file (VERSION.in VERSION @ONLY)
configure_file (tools/openvas-mkcert.in tools/openvas-mkcert @ONLY)
configure_file (tools/openvas-mkcert-client.in tools/openvas-mkcert-client @ONLY)
configure_file (tools/openvas-nvt-sync.in tools/openvas-nvt-sync @ONLY)
configure_file (tools/greenbone-nvt-sync.in tools/greenbone-nvt-sync @ONLY)
# TODO: Once Scanner has a proper logging mechanism like Manager.
#configure_file (src/openvassd_log_conf.cmake_in src/openvassd_log.conf)
## Program
set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now")
set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector")
set (LINKER_HARDENING_FLAGS "-Wl,-z,relro -Wl,-z,now")
set (GPGME_C_FLAGS "-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1")
set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Werror")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -D_BSD_SOURCE -D_ISOC99_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE")
set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} ${GPGME_C_FLAGS} -Werror -Wextra")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} ${GPGME_C_FLAGS} -Wall -D_BSD_SOURCE -D_ISOC99_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE")
add_subdirectory (src)
......@@ -251,27 +249,15 @@ install (FILES ${CMAKE_BINARY_DIR}/src/openvassd
#install (FILES openvassd_log.conf
# DESTINATION ${OPENVAS_SYSCONF_DIR})
install (FILES ${CMAKE_BINARY_DIR}/tools/openvas-mkcert
${CMAKE_BINARY_DIR}/tools/openvas-nvt-sync
${CMAKE_BINARY_DIR}/tools/greenbone-nvt-sync
install (FILES ${CMAKE_BINARY_DIR}/tools/greenbone-nvt-sync
DESTINATION ${SBINDIR}
PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE
GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
install (FILES ${CMAKE_BINARY_DIR}/tools/openvas-mkcert-client
DESTINATION ${BINDIR}
PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE
GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
install (FILES ${CMAKE_SOURCE_DIR}/doc/openvas-mkcert-client.1
DESTINATION ${DATADIR}/man/man1 )
install (FILES ${CMAKE_BINARY_DIR}/doc/openvassd.8
DESTINATION ${DATADIR}/man/man8 )
install (FILES ${CMAKE_SOURCE_DIR}/doc/openvas-mkcert.8
${CMAKE_SOURCE_DIR}/doc/openvas-nvt-sync.8
${CMAKE_SOURCE_DIR}/doc/greenbone-nvt-sync.8
install (FILES ${CMAKE_SOURCE_DIR}/doc/greenbone-nvt-sync.8
DESTINATION ${DATADIR}/man/man8 )
install (FILES ${CMAKE_BINARY_DIR}/doc/example_redis_2_4.conf
......
......@@ -30,7 +30,4 @@ src/processes.[c|h]: GPLv2
src/sighand.[c|h]: GPLv2
src/utils.[c|h]: GPLv2
tools/greenbone-nvt-sync: GPLv2+
tools/openvas-mkcert-client.in: GPLv2
tools/openvas-mkcert.in: GPLv2
tools/openvas-nvt-sync.in: GPLv2
tools/greenbone-nvt-sync.in: GPLv2+
This diff is collapsed.
......@@ -2,7 +2,7 @@ INSTALLATION INSTRUCTIONS FOR OPENVAS-SCANNER
=============================================
Please note: The reference system used by most of the developers is Debian
Debian GNU/Linux 'Wheezy' 7. The build might fail on any other systems.
GNU/Linux 'Jessie' 8. The build might fail on any other systems.
Also it is necessary to install dependent development packages.
......@@ -10,10 +10,10 @@ Prerequisites for openvas-scanner
---------------------------------
Prerequisites:
* cmake
* glib-2.0 >= 2.16
* cmake >= 2.8
* libopenvas_nasl, libopenvas_base, libopenvas_misc >= 9.0.0
* glib-2.0 >= 2.32
* libgcrypt
* openvas-libraries >= 8.0.2
* pkg-config
* redis >= 2.4.0
......@@ -67,17 +67,7 @@ Setting up openvas-scanner
Setting up an openvas-scanner requires the following steps:
1) The scanner service communicate through an SSL connection.
In order to establish this connection, the scanner needs to have
an SSL certificate it can present to the client to prove its identity. You
can interactively create this certificate by using the following command:
$ openvas-mkcert
This command will guide you through the certificate creation and place the
certificates in the correct locations on your system.
2) (optional) You may decide to change the default scanner preferences
1) (optional) You may decide to change the default scanner preferences
by setting them in the file $prefix/etc/openvassd.conf. If that file does
not exist (default), then the default settings are used. You can view
them with "openvassd -s". The output of that command is a valid configuration
......@@ -85,27 +75,42 @@ Setting up an openvas-scanner requires the following steps:
settings, among these opportunities to restrict access of scanner regarding
scan targets and interfaces.
3) In order to run vulnerability scans, you will need a collection of Network
2) In order to run vulnerability scans, you will need a collection of Network
Vulnerability Tests (NVTs) that can be run by openvas-scanner. Initially,
your NVT collection will be empty. It is recommended that you synchronize
with an NVT feed service before starting openvas-scanner for the first time.
Your installation is preconfigured to synchronize with the OpenVAS NVT Feed.
Simply execute the following command to receive thousands of NVTs from this
feed service:
Simply execute the following command. It will retrieve over 50,000 NVTs.
$ openvas-nvt-sync
$ greenbone-nvt-sync
This tool will use the Greenbone Security Feed in case a Greenbone
subscription key is present. Else, the Community Feed will be used.
Please note that you will need at least one of the following tools for a
successful synchronization:
* rsync
* wget
* curl
NVT feeds are usually updated a few times per week. Be sure to update your
NVT collection regularly to detect the latest threats.
Please visit the OpenVAS website for more information on available NVT feeds
and instructions for integrating feeds into your scanner installation.
NVT feeds are updated on a regular basis. Be sure to update your NVT collection
regularly to detect the latest threats.
3) The scanner needs a running redis server to temporarily store information
gathered on the scanned hosts. Redis 2.4 and newer is supported but 2.6
is recommended. See doc/redis_config.txt to see how to setup and run a redis
server.
Two examples are installed which you may use directly for a quick start:
$ redis-server /share/doc/openvas-scanner/example_redis_2_4.conf
or
$ redis-server /share/doc/openvas-scanner/example_redis_2_6.conf
or copy the example to another location, edit and use the copy instead.
4) You can launch openvas-scanner using the following command:
......@@ -126,37 +131,18 @@ Setting up an openvas-scanner requires the following steps:
privileges, it is recommended that you start openvassd as root since a number
of Network Vulnerability Tests (NVTs) require root privileges to perform
certain operations like packet forgery. If you run openvassd as a user
without permission to perform these operations, your scan results are very
likely to be incomplete.
5) The scanner needs a running redis server to temporarily store information
gathered on the scanned hosts. Redis 2.4 and newer is supported but 2.6
is recommended. See doc/redis_config.txt to see how to setup and run a redis
server.
Two examples are installed which you may use directly for a quick start:
$ redis-server /share/doc/openvas-scanner/example_redis_2_4.conf
without permission to perform these operations, your scan results are likely
to be incomplete.
or
$ redis-server /share/doc/openvas-scanner/example_redis_2_6.conf
or copy the example to another location, edit and use the copy instead.
6) Once the scanner has started, openvas-manager can act as a client and control
5) Once the scanner has started, openvas-manager can act as a client and control
the scanner. The actual user interfaces (for example GSA or CLI-OMP)
will only interact with the manager, not the scanner.
You will be guided through creation of user accounts by the INSTALL file
of OpenVAS Manager.
If you encounter problems, the files /var/log/openvas/openvassd.messages and
/var/log/openvas/openvassd.dump may contain useful information. (The exact
/var/log/openvas/openvassd.dump may contain useful information. The exact
location of these files may differ depending on your distribution and
installation method.) Please have these files ready when contacting the OpenVAS
installation method. Please have these files ready when contacting the OpenVAS
developers through the OpenVAS mailing list or the online chat or submitting bug
reports at http://bugs.openvas.org/ as they may help to pinpoint the source of
your issue.
......
# see git-dpm(1) from git-dpm package
0ab8b06a63586dad92abaf822a7a7a69ecc9b8fe
0ab8b06a63586dad92abaf822a7a7a69ecc9b8fe
0ab8b06a63586dad92abaf822a7a7a69ecc9b8fe
0ab8b06a63586dad92abaf822a7a7a69ecc9b8fe
openvas-scanner_5.0.7.orig.tar.gz
ca5ba1a65ff34a8cb8c014cb09129434e319d689
238419
d0744a3f73de2a60d684c88a345d3240066389b1
d0744a3f73de2a60d684c88a345d3240066389b1
d0744a3f73de2a60d684c88a345d3240066389b1
d0744a3f73de2a60d684c88a345d3240066389b1
openvas-scanner_5.1.1.orig.tar.gz
a78a90ef6933641dcbd3b83f49d8b3b8edca04a7
256812
debianTag="debian/%e%v"
patchedTag="patched/%e%v"
upstreamTag="upstream/%e%u"
openvas-scanner (5.1.1-2) unstable; urgency=medium
* Move package from experimental to sid archive
* Bump standards version to 4.0.0
-- SZ Lin (林上智) <szlin@debian.org> Tue, 20 Jun 2017 11:26:56 +0800
openvas-scanner (5.1.1-1~exp2) experimental; urgency=medium
* Add libgcrypt20-dev in build-depending (Closes: #864126)
* Remove libgcrypt11-dev transition package in build-depending
-- SZ Lin (林上智) <szlin@debian.org> Mon, 05 Jun 2017 11:48:35 +0800
openvas-scanner (5.1.1-1~exp1) experimental; urgency=medium
[ Gianfranco Costamagna ]
* Team upload.
* Add es.po from jathan (Closes: #855612, #856245)
[ SZ Lin (林上智) ]
* Add pt.po from Traduz (Closes: #858750)
* Move it to experimental archive
[ Gavin Lai ]
* Import new upstream release
-- SZ Lin (林上智) <szlin@debian.org> Tue, 21 Mar 2017 23:19:48 +0800
openvas-scanner (5.1.0-1) UNRELEASED; urgency=medium
* Import new upstream release
* Add German debconf templates translation (Closes: #843771)
-- SZ Lin (林上智) <szlin@cs.nctu.edu.tw> Mon, 14 Nov 2016 15:04:56 +0800
openvas-scanner (5.0.7-2) unstable; urgency=medium
* Fix typo in zh_TW.po
......
......@@ -2,21 +2,20 @@ Source: openvas-scanner
Section: admin
Priority: optional
Maintainer: Debian Security Tools Packaging Team <pkg-security-team@lists.alioth.debian.org>
Uploaders: Stephan Kleine <bitshuffler@opensuse.org>,
ChangZhuo Chen (陳昌倬) <czchen@debian.org>,
SZ Lin (林上智) <szlin@cs.nctu.edu.tw>
Build-Depends: debhelper (>= 9.20151219),
Uploaders: ChangZhuo Chen (陳昌倬) <czchen@debian.org>,
SZ Lin (林上智) <szlin@debian.org>
Build-Depends: debhelper (>= 9.20160709~),
dh-systemd,
cmake (>= 2.6),
cmake (>= 2.8),
pkg-config,
libglib2.0-dev,
libgcrypt11-dev,
libglib2.0-dev (>= 2.32),
libgcrypt20-dev,
libgnutls28-dev,
libpcap-dev,
libopenvas-dev (>= 8.0.2),
libopenvas-dev (>= 9),
po-debconf,
doxygen
Standards-Version: 3.9.8
Standards-Version: 4.0.0
Homepage: http://www.openvas.org/
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-security/openvas-scanner.git
Vcs-Git: https://anonscm.debian.org/cgit/pkg-security/openvas-scanner.git
......
......@@ -3,17 +3,15 @@ Upstream-Name: openvas-scanner
Source: https://wald.intevation.org/scm/viewvc.php/branches/?root=openvas
Files: *
Copyright: 2009-2016 Greenbone Networks GmbH
Copyright: 2009-2017 Greenbone Networks GmbH
2006 Software in the Public Interest, Inc.
1998-2006 Tenable Network Security, Inc.
and others
License: GPL-2
Files: tools/greenbone-nvt-sync.in tools/openvas-mkcert-client.in
tools/openvas-mkcert.in tools/openvas-nvt-sync.in
src/otp.*
Copyright: 2009-2016 Greenbone Networks GmbH
Files: tools/greenbone-nvt-sync.in src/otp.*
Copyright: 2009-2017 Greenbone Networks GmbH
License: GPL-2+
......@@ -23,7 +21,8 @@ Copyright: 2009-2011 Stephan Kleine <bitshuffler@opensuse.org>
2013-2015 Raphaël Hertzog <hertzog@debian.org>
2014-2016 Sophie Brun <sophie@freexian.com>
2016 ChangZhuo Chen (陳昌倬) <czchen@debian.org>
2016 SZ Lin (林上智) <szlin@cs.nctu.edu.tw>
2016-2017 SZ Lin (林上智) <szlin@debian.org>
2017 Gavin Lai (賴建宇) <gavin09@gmail.com>
License: GPL-2
License: GPL-2
......
......@@ -6,8 +6,5 @@
# ExecStart=
# ExecStart=/usr/sbin/openvassd <your desired options>
# The address the OpenVAS Scanner is listening on.
SCANNER_ADDRESS=127.0.0.1
# The port the OpenVAS Scanner is listening on.
SCANNER_PORT=9391
# The Path of unix socket to listen on.
SCANNER_SOCKET=/tmp/redis.sock
......@@ -31,8 +31,7 @@ DODTIME=25
# daemon options
DAEMONOPTS=""
[ "$SCANNER_ADDRESS" ] && DAEMONOPTS="$DAEMONOPTS --listen=$SCANNER_ADDRESS"
[ "$SCANNER_PORT" ] && DAEMONOPTS="$DAEMONOPTS --port=$SCANNER_PORT"
[ "$SCANNER_SOCKET" ] && DAEMONOPTS="$DAEMONOPTS --unix-socket=$SCANNER_SOCKET"
DAEMON=/usr/sbin/openvassd
PIDFILE=/var/run/openvassd.pid
......
......@@ -10,7 +10,7 @@ WantedBy=multi-user.target
[Service]
Type=forking
PIDFile=/var/run/openvassd.pid
ExecStart=/usr/sbin/openvassd --listen=127.0.0.1 --port=9391
ExecStart=/usr/sbin/openvassd --unix-socket=/tmp/redis.sock
ExecReload=/bin/kill -HUP $MAINPID
# Kill the main process with SIGTERM and after TimeoutStopSec (defaults to
# 1m30) kill remaining processes with SIGKILL
......
# German openvas-scanner debconf translation.
# Copyright (C) 2009-2016 Greenbone Networks GmbH.
# This file is distributed under the same license as the openvas-scanner package.
# Copyright (C) of this file Chris Leick <c.leick@vollbio.de> 2016.
#
msgid ""
msgstr ""
"Project-Id-Version: openvas-scanner 5.0.7-1\n"
"Report-Msgid-Bugs-To: openvas-scanner@packages.debian.org\n"
"POT-Creation-Date: 2016-09-14 17:49+0800\n"
"PO-Revision-Date: 2016-11-03 23:47+0100\n"
"Last-Translator: Chris Leick <c.leick@vollbio.de>\n"
"Language-Team: de <debian-l10n-german@lists.debian.org>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Type: boolean
#. Description
#: ../templates:1001
msgid "Do you want to enable redis unix socket on /var/run/redis/redis.sock?"
msgstr ""
"Möchten Sie ein Redis-Unix-Socket auf /var/run/redis/redis.sock aktivieren?"
#. Type: boolean
#. Description
#: ../templates:1001
msgid ""
"Openvas scanner require redis database to store data. It will connect to the "
"database with a unix socket at /var/run/redis/redis.sock and /etc/redis/"
"redis.conf will be updated."
msgstr ""
"Openvas-Scanner benötigt zum Speichern von Daten eine Redis-Datenbank. Es "
"wird sich mit der Datenbank über ein Unix-Socket auf "
"/var/run/redis/redis.sock verbinden und /etc/redis/redis.conf wird "
"aktualisiert."
# openvas-scanner debconf translations
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the openvas-scanner package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# Changes:
# - Initial translation
# Jonathan Bustillos <jathanblackred@openmailbox.com>, 2017.
#
# Traductores, si no conocen el formato PO, merece la pena leer la
# documentación de gettext, especialmente las secciones dedicadas a este
# formato, por ejemplo ejecutando:
# info -n '(gettext)PO Files'
# info -n '(gettext)Header Entry'
#
# Equipo de traducción al español, por favor lean antes de traducir
# los siguientes documentos:
#
# - El proyecto de traducción de Debian al español
# http://www.debian.org/intl/spanish/
# especialmente las notas y normas de traducción en
# http://www.debian.org/intl/spanish/notas
#
# - La guía de traducción de po's de debconf:
# /usr/share/doc/po-debconf/README-trans
# o http://www.debian.org/intl/l10n/po-debconf/README-trans
msgid ""
msgstr ""
"Project-Id-Version: openvas-scanner\n"
"Report-Msgid-Bugs-To: openvas-scanner@packages.debian.org\n"
"POT-Creation-Date: 2016-09-14 17:49+0800\n"
"PO-Revision-Date: 2017-02-23 18:30-0600\n"
"Last-Translator: Jonathan Bustillos <jathanblackred@openmailbox.com>\n"
"Language-Team: Debian Spanish <debian-l10n-spanish@lists.debian.org>\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Gtranslator 2.91.6\n"
#. Type: boolean
#. Description
#: ../templates:1001
msgid "Do you want to enable redis unix socket on /var/run/redis/redis.sock?"
msgstr "¿Desea habilitar redis unix socket en /var/run/redis/redis.sock?"
#. Type: boolean
#. Description
#: ../templates:1001
msgid ""
"Openvas scanner require redis database to store data. It will connect to the "
"database with a unix socket at /var/run/redis/redis.sock and /etc/redis/"
"redis.conf will be updated."
msgstr ""
"El escáner Openvas requiere una base de datos redis para almacenar datos. Se "
"conectará a la base de datos con un socket unix en /var/run/redis/redis.sock "
"y se actualizará el archivo /etc/redis/redis.conf."
# openvas-scanner debconf translation to Dutch.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the openvas-scanner package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# Frans Spiesschaert <Frans.Spiesschaert@yucom.be>, 2016.
#
msgid ""
msgstr ""
"Project-Id-Version: openvas-scanner\n"
"Report-Msgid-Bugs-To: openvas-scanner@packages.debian.org\n"
"POT-Creation-Date: 2016-09-14 17:49+0800\n"
"PO-Revision-Date: 2016-11-08 18:45+0100\n"
"Last-Translator: Frans Spiesschaert <Frans.Spiesschaert@yucom.be>\n"
"Language-Team: Debian Dutch l10n Team <debian-l10n-dutch@lists.debian.org>\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Gtranslator 2.91.6\n"
#. Type: boolean
#. Description
#: ../templates:1001
msgid "Do you want to enable redis unix socket on /var/run/redis/redis.sock?"
msgstr ""
"Wilt u een unix-socket gebruiken voor redis op /var/run/redis/redis.sock?"
#. Type: boolean
#. Description
#: ../templates:1001
msgid ""
"Openvas scanner require redis database to store data. It will connect to the "
"database with a unix socket at /var/run/redis/redis.sock and /etc/redis/"
"redis.conf will be updated."
msgstr ""
"De Openvas-scanner heeft een redis-database nodig om gegevens op te slaan. "
"Hij zal contact maken met de database via een unix-socket op /var/run/redis/"
"redis.sock en /etc/redis/redis.conf zal bijgewerkt worden."
# Portuguese translation for openvas-scanner debconf messages.
# This file is distributed under the same license as the openvas-scanner package.
# Rui Branco <ruipb@debianpt.org>, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: openvas-scanner 5.0.7-3\n"
"Report-Msgid-Bugs-To: openvas-scanner@packages.debian.org\n"
"POT-Creation-Date: 2016-09-14 17:49+0800\n"
"PO-Revision-Date: 2017-03-16 16:00+0000\n"
"Last-Translator: Rui Branco <ruipb_at_debianpt.org>\n"
"Language-Team: Portuguese <traduz@debianpt.org>\n"
"Language: pt\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.11\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. Type: boolean
#. Description
#: ../templates:1001
msgid "Do you want to enable redis unix socket on /var/run/redis/redis.sock?"
msgstr "Quer activar o socket unix redis em /var/run/redis/redis.sock?"
#. Type: boolean
#. Description
#: ../templates:1001
msgid ""
"Openvas scanner require redis database to store data. It will connect to the "
"database with a unix socket at /var/run/redis/redis.sock and /etc/redis/"
"redis.conf will be updated."
msgstr ""
"O scanner Openvas necessita de uma base de dados redis para guardar a "
"informação. Este irá ligar-se à base de dados através de um 'socket' unix "
"em /var/run/redis/redis.sock e o ficheiro /etc/redis/redis.conf será "
"actualizado."
# Debconf translations for openvas-scanner.
# Copyright (C) 2016 THE openvas-scanner'S COPYRIGHT HOLDER
# This file is distributed under the same license as the openvas-scanner package.
# Adriano Rafael Gomes <adrianorg@debian.org>, 2016.
#
msgid ""
msgstr ""
"Project-Id-Version: openvas-scanner\n"
"Report-Msgid-Bugs-To: openvas-scanner@packages.debian.org\n"
"POT-Creation-Date: 2016-09-14 17:49+0800\n"
"PO-Revision-Date: 2016-11-18 22:13-0200\n"
"Last-Translator: Adriano Rafael Gomes <adrianorg@debian.org>\n"
"Language-Team: Brazilian Portuguese <debian-l10n-portuguese@lists.debian."
"org>\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Type: boolean
#. Description
#: ../templates:1001
msgid "Do you want to enable redis unix socket on /var/run/redis/redis.sock?"
msgstr ""
"Você quer habilitar o socket unix do redis em /var/run/redis/redis.sock?"
#. Type: boolean
#. Description
#: ../templates:1001
msgid ""
"Openvas scanner require redis database to store data. It will connect to the "
"database with a unix socket at /var/run/redis/redis.sock and /etc/redis/"
"redis.conf will be updated."
msgstr ""
"O scanner openvas requer um banco de dados redis para armazenar dados. Ele "
"conectará ao banco de dados através de um socket unix em /var/run/redis/"
"redis.sock e /etc/redis/redis.conf será atualizado."
......@@ -12,9 +12,6 @@ override_dh_install:
override_dh_installinit:
dh_installinit --no-start
override_dh_strip:
dh_strip --dbgsym-migration='openvas-scanner (<< 5.0.7-1~)'
override_dh_auto_clean:
debconf-updatepo
dh_auto_clean
This diff is collapsed.
This diff is collapsed.
.\" Hey, EMACS: -*- nroff -*-
.TH GREENBONE-NVT-SYNC 8 "January 2011" "The OpenVAS Project" "User Manuals"
.SH NAME
greenbone-nvt-sync \- updates the OpenVAS security checks from Greenbone Security Feed
greenbone-nvt-sync \- updates the OpenVAS NVTs from Greenbone Security Feed or Community Feed
.SH SYNOPSIS