diff -u openvas-server-2.0.3/debian/changelog openvas-server-2.0.3/debian/changelog --- openvas-server-2.0.3/debian/changelog +++ openvas-server-2.0.3/debian/changelog @@ -1,3 +1,27 @@ +openvas-server (2.0.3-6) unstable; urgency=low + + * debian/openvas-server.config: Change the template names to openvas-server + which prevents an installation error for users running on 'medium' or lower + debconf priority (Closes: #674612) + * debian/openvas-server.postrm: Remove cache directory after purge + (Closes: #608734) + + -- Javier Fernández-Sanguino Peña Wed, 30 May 2012 23:52:49 +0200 + +openvas-server (2.0.3-5) unstable; urgency=low + + * debian/control: + - Add a reference to nessus in the package description (Closes: #580252) + - Update references to VCS + * _Really_ include the translation updates promised in the previous + version (Closes: #581744, #597312) + * debian/README.Debian: Update the name of the openvas-plugins script + (Closes: #580528, #662647) + [ Changes by Jan Wagner ] + * Add gettext-base as dependency for openvas-server (LP: #511981) + + -- Javier Fernandez-Sanguino Pen~a Wed, 06 Oct 2010 02:21:32 +0200 + openvas-server (2.0.3-4.1) unstable; urgency=low * Non-maintainer upload. @@ -10,6 +34,10 @@ -- Christian Perrier Thu, 26 Jan 2012 07:47:56 +0100 + openvas-server (2.0.3-4) unstable; urgency=low + + * Update for PO-debconf translation updates: + openvas-server (2.0.3-4) unstable; urgency=low * Update for PO-debconf translation updates: @@ -20,7 +48,7 @@ -- Javier Fernandez-Sanguino Pen~a Wed, 06 Oct 2010 02:10:52 +0200 -openvas-server (2.0.3-3) unstable; urgency=low +openvas-server (2.0.3-3.2) UNRELEASED; urgency=low * Stop providing the openvas-nvt-sync script since this will be provided by a new openvas-plugins package. (Closes: #546746) @@ -33,6 +61,23 @@ -- Javier Fernandez-Sanguino Pen~a Sun, 20 Sep 2009 04:29:56 +0200 +openvas-server (2.0.3-3) unstable; urgency=low + + * Add README.source + * Raise build-dep of libopenvas2-dev to (>= 2.0.4-2), which should fix build + issues on mips + * Fix 10_bashism.dpatch, which broke the scripts + * Fix Vcs location + * Remove openvas-nvt-sync, which moved to openvas-plugins-base + (Closes: #546746) + - Drop 11_openvas-nvt-sync.dpatch and 12_openvas_nvt-sync-var.dpatch + - Remove Recommands: rsync, nmap, smbclient + - Remove Suggests: snmp, pnscan, strobe, ike-scan + * Add Recommends: openvas-plugins-base + * Add Suggests: openvas-plugins-dfsg + + -- Jan Wagner Mon, 12 Oct 2009 14:40:08 +0200 + openvas-server (2.0.3-2) unstable; urgency=low * Add 11_openvas-nvt-sync.dpatch and 12_openvas_nvt-sync-var.dpatch to patch diff -u openvas-server-2.0.3/debian/openvas-server.postrm openvas-server-2.0.3/debian/openvas-server.postrm --- openvas-server-2.0.3/debian/openvas-server.postrm +++ openvas-server-2.0.3/debian/openvas-server.postrm @@ -3,7 +3,7 @@ if [ "$1" = "purge" ]; then for DIR in /etc/openvas /var/log/openvas /var/lib/openvas \ - /usr/lib/openvas/plugins/.desc/ + /usr/lib/openvas/plugins/.desc/ /var/cache/openvas/ do if [ -d $DIR ] ; then find $DIR -type f -o -type l | xargs rm -f diff -u openvas-server-2.0.3/debian/openvas-server.config openvas-server-2.0.3/debian/openvas-server.config --- openvas-server-2.0.3/debian/openvas-server.config +++ openvas-server-2.0.3/debian/openvas-server.config @@ -5,24 +5,24 @@ if [ ! -f /var/lib/openvas/CA/cacert.pem ] || [ ! -f /var/lib/openvas/CA/servercert.pem ]; then . /usr/share/debconf/confmodule - db_input low openvasd/certificate || true + db_input low openvas-server/certificate || true # TODO: All these fields (specially numeric fields should be # reviewed to make sure that the data is sane) # Numeric: - db_input medium openvasd/califetime || true - db_input medium openvasd/srvlifetime || true + db_input medium openvas-server/califetime || true + db_input medium openvas-server/srvlifetime || true # Set a default if [ ! -z "$LANG" ]; then DC=`echo $LANG | sed -n 's/^..*_\(..\)$/\1/p'` fi - [ -n "$DC" ] && db_set openvasd/country $DC + [ -n "$DC" ] && db_set openvas-server/country $DC # Two letter code: - db_input medium openvasd/country || true + db_input medium openvas-server/country || true # Free text: (i.e. no validation needed) but might need # to be limited to a given size - db_input medium openvasd/province || true - db_input medium openvasd/location || true - db_input medium openvasd/organization || true + db_input medium openvas-server/province || true + db_input medium openvas-server/location || true + db_input medium openvas-server/organization || true db_go fi diff -u openvas-server-2.0.3/debian/openvas-server.init openvas-server-2.0.3/debian/openvas-server.init --- openvas-server-2.0.3/debian/openvas-server.init +++ openvas-server-2.0.3/debian/openvas-server.init @@ -125,7 +125,7 @@ force_stop fi echo "openvasd." - ;; + ;; restart) echo -n "Restarting $LABEL: " if running; then diff -u openvas-server-2.0.3/debian/control openvas-server-2.0.3/debian/control --- openvas-server-2.0.3/debian/control +++ openvas-server-2.0.3/debian/control @@ -2,28 +2,30 @@ Section: admin Priority: optional Maintainer: Debian OpenVAS Maintainers -Uploaders: Tim Brown , Javier Fernandez-Sanguino Pen~a , Jan Wagner , Joey Schulze -Build-Depends: debhelper (>= 5), autotools-dev, libgcrypt11-dev, libglib2.0-dev, libgnutls-dev, libopenvas2-dev (>= 2.0.4), libopenvasnasl2-dev (>= 2.0.2), libpcap-dev, libwrap0-dev, pkg-config, po-debconf, devscripts, dpatch +Uploaders: Tim Brown , Javier Fernández-Sanguino Peña , Jan Wagner , Joey Schulze +Build-Depends: debhelper (>= 5), autotools-dev, libgcrypt11-dev, libglib2.0-dev, libgnutls-dev, libopenvas2-dev (>= 2.0.4-2), libopenvasnasl2-dev (>= 2.0.2), libpcap-dev, libwrap0-dev, pkg-config, po-debconf, devscripts, dpatch Homepage: http://www.openvas.org/ -Vcs-Browser: http://wald.intevation.org/plugins/scmsvn/viewcvs.php/trunk/openvas-server/packaging/debian/?root=openvas -Vcs-Svn: https://svn.wald.intevation.org/svn/openvas/trunk/openvas-server/packaging/debian/ +Vcs-Browser: http://wald.intevation.org/plugins/scmsvn/viewcvs.php/trunk/openvas-packaging/openvas-server/debian/2-0/?root=openvas +Vcs-Svn: https://svn.wald.intevation.org/svn/openvas/trunk/openvas-packaging/openvas-server/debian/2-0/ Standards-Version: 3.8.3 Package: openvas-server Section: net Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, openssl, openvas-plugins -Suggests: openvas-client +Depends: ${shlibs:Depends}, ${misc:Depends}, openssl, gettext-base +Recommends: openvas-plugins-base +Suggests: openvas-plugins-dfsg, openvas-client Description: remote network security auditor - server - The Open Vulnerability Assessment System is a modular security auditing - tool, used for testing remote systems for vulnerabilities that should be - fixed. + The Open Vulnerability Assessment System (OpenVAS) is a modular security + auditing tool, used for testing remote systems for vulnerabilities that should + be fixed. OpenVAS was forked of the Nessus vulnerability scanner. . It is made up of two parts: a server, and a client. The server/daemon, - openvasd, is in charge of the attacks, whereas the client, - OpenVAS-Client, provides an X11/GTK+ user interface. - . - This package provides the server. + openvasd, is in charge of running the tests, whereas the client, + OpenVAS-Client, provides both a text and a graphical user interface. + . + This package provides the server needed to run the tests agains the remote + hosts. Package: openvas-server-dev Section: devel @@ -43 +45 @@ - compiling other programs. + compiling the server diff -u openvas-server-2.0.3/debian/README.source openvas-server-2.0.3/debian/README.source --- openvas-server-2.0.3/debian/README.source +++ openvas-server-2.0.3/debian/README.source @@ -1,5 +1,3 @@ - -This package uses dpatch for patch handling. Please refer to +We use dpatch for patch handling inside our package(s). Please see /usr/share/doc/dpatch/README.source.gz (if you have installed dpatch) for -more information on dpatch. - +documentation about dpatch. diff -u openvas-server-2.0.3/debian/README.Debian openvas-server-2.0.3/debian/README.Debian --- openvas-server-2.0.3/debian/README.Debian +++ openvas-server-2.0.3/debian/README.Debian @@ -91,8 +91,11 @@ them SSH access to the remote hosts you have configured (if any) 2.- The openvas-plugins package does _not_ automatically run -openvas-update-plugins, you have to do this manually. Review the plugins -retrieved by this before you run your OpenVAS server +the script that downloads the plugins. You have to do this manually +using the 'openvas-nvt-sync' script provided in the package. +Review the plugins retrieved by this before you run your OpenVAS server +as any plugin downloaded will be run with full administrative (root) +permissions. 3.- Be careful when setting up remote SSH access so that OpenVAS can run local security checks since you are (effectively) given console access diff -u openvas-server-2.0.3/debian/po/it.po openvas-server-2.0.3/debian/po/it.po --- openvas-server-2.0.3/debian/po/it.po +++ openvas-server-2.0.3/debian/po/it.po @@ -1,21 +1,20 @@ -# ITALIAN TRANSLATION OF OPENVAS'S.PO-DEBCONF FILE -# COPYRIGHT (C) 2009 THE OPENVAS'S COPYRIGHT HOLDER +# ITALIAN TRANSLATION OF OPENVAS' PO-DEBCONF FILE +# COPYRIGHT (C) 2009-2010 THE OPENVAS' COPYRIGHT HOLDER # This file is distributed under the same license as the openvas package. # -# Vincenzo Campanella , 2009. +# Vincenzo Campanella , 2009, 2010. msgid "" msgstr "" -"Project-Id-Version: openvas 2.0.0-2\n" +"Project-Id-Version: openvas 2.0.3-3\n" "Report-Msgid-Bugs-To: openvas-server@packages.debian.org\n" "POT-Creation-Date: 2009-02-08 07:35+0100\n" -"PO-Revision-Date: 2009-01-23 08:06+0100\n" +"PO-Revision-Date: 2010-09-17 13:31+0100\n" "Last-Translator: Vincenzo Campanella \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 1.11.4\n" #. Type: note #. Description @@ -23,15 +22,10 @@ msgid "OpenVAS daemon certificate generation" msgstr "Demone OpenVAS per la generazione di certificati" +# #. Type: note #. Description #: ../openvas-server.templates:2001 -#, fuzzy -#| msgid "" -#| "You will need to provide the relevant information to create an SSL " -#| "certificate for your OpenVAS daemon. Note that this information will " -#| "remain local to this system, but anyone with the ability to connect to " -#| "your OpenVAS daemon will be able to see it." msgid "" "You will need to provide the relevant information to create an SSL " "certificate for your OpenVAS daemon. Note that this information will remain " @@ -39,9 +33,9 @@ "daemon will be able to see it." msgstr "" "Sarà necessario fornire le informazioni pertinenti per creare un certificato " -"SSL per il proprio demone OpenVAS. Si noti che queste informazioni " -"rimarranno in locale sul proprio sistema, ma chiunque si possa connettere " -"con il demone OpenVAS sarà in grado di visualizzarle." +"SSL per il proprio demone OpenVAS. Notare che queste informazioni rimarranno " +"in locale su questo sistema, ma chiunque sia in grado di collegarsi al " +"demone OpenVAS sarà in grado di visualizzarle." #. Type: string #. Description @@ -57,7 +51,7 @@ "will be used to generate the OpenVAS daemon certificate." msgstr "" "Scegliere la durata del certificato dell'autorità di certificazione che sarà " -"usata per generare il certificato del demone OpenVAS." +"utilizzata per generare il certificato del demone OpenVAS." #. Type: string #. Description @@ -79,9 +73,9 @@ "you should choose a duration longer than the time you plan to run this " "server." msgstr "" -"I client OpenVAS non si connetteranno a server con certificati scaduti, per " -"cui è necessario scegliere una durata più lunga del tempo di durata prevista " -"per il server." +"I client OpenVAS non si collegheranno a server con certificati scaduti, per " +"cui è necessario scegliere un lasso di tempo maggiore della durata prevista " +"di esecuzione del server." #. Type: string #. Description diff -u openvas-server-2.0.3/debian/po/es.po openvas-server-2.0.3/debian/po/es.po --- openvas-server-2.0.3/debian/po/es.po +++ openvas-server-2.0.3/debian/po/es.po @@ -36,10 +36,11 @@ msgstr "" "Project-Id-Version: openvas-server\n" "Report-Msgid-Bugs-To: openvas-server@packages.debian.org\n" -"POT-Creation-Date: 2009-01-22 07:14+0100\n" +"POT-Creation-Date: 2009-02-08 07:35+0100\n" "PO-Revision-Date: 2009-05-10 11:44+0200\n" "Last-Translator: Javier Fernandez-Sanguino \n" "Language-Team: Debian Spanish \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" @@ -57,32 +58,33 @@ msgid "" "You will need to provide the relevant information to create an SSL " "certificate for your OpenVAS daemon. Note that this information will remain " -"local to this system, but anyone with the ability to connect to your " -"OpenVAS daemon will be able to see it." -msgstr "Debe introducir la información necesaria para crear un certificado SSL para su demonio de OpenVAS. Tenga en cuenta que esta información sólo estará disponible localmente, pero cualquiera que pueda conectarse de forma remota con su demonio de OpenVAS podrá obtenerla." +"local to this system, but anyone with the ability to connect to your OpenVAS " +"daemon will be able to see it." +msgstr "" +"Debe introducir la información necesaria para crear un certificado SSL para " +"su demonio de OpenVAS. Tenga en cuenta que esta información sólo estará " +"disponible localmente, pero cualquiera que pueda conectarse de forma remota " +"con su demonio de OpenVAS podrá obtenerla." #. Type: string #. Description #: ../openvas-server.templates:3001 -#| msgid "Server certificate life time in days" msgid "Certificate authority certificate lifetime (days):" msgstr "Caducidad del certificado de la Autoridad de Certificación (en días):" #. Type: string #. Description #: ../openvas-server.templates:3001 -#| msgid "" -#| "Provide the life time of the Certificate Authority used to generate the " -#| "OpenVAS daemon certificate." msgid "" "Please choose the lifetime of the Certificate Authority certificate that " "will be used to generate the OpenVAS daemon certificate." -msgstr "Introduzca la caducidad del certificado de la Autoridad de Certificación que se utilizará para generar el certificado del demonio de OpenVAS." +msgstr "" +"Introduzca la caducidad del certificado de la Autoridad de Certificación que " +"se utilizará para generar el certificado del demonio de OpenVAS." #. Type: string #. Description #: ../openvas-server.templates:4001 -#| msgid "Server certificate life time in days" msgid "Server certificate lifetime (days):" msgstr "Caducidad del certificado del servidor (en días):" @@ -99,7 +101,10 @@ "OpenVAS clients will not connect to servers with expired certificates, so " "you should choose a duration longer than the time you plan to run this " "server." -msgstr "Los clientes de OpenVAS no se conectarán a los servidores que utilicen certificados caducados. Por ello, debería escoger una duración mayor que el tiempo durante el cual prevé tener este servidor funcionando." +msgstr "" +"Los clientes de OpenVAS no se conectarán a los servidores que utilicen " +"certificados caducados. Por ello, debería escoger una duración mayor que el " +"tiempo durante el cual prevé tener este servidor funcionando." #. Type: string #. Description @@ -107,7 +112,10 @@ msgid "" "This certificate can be regenerated later by removing the certificate file " "stored in /var/lib/openvas/CA/ and running \"openvas-mkcert\"." -msgstr "Este certificado puede crearse más adelante borrando el fichero del certificado almacenado en «/var/lib/openvas/CA/» y ejecutando «openvas-mkcert»." +msgstr "" +"Este certificado puede crearse más adelante borrando el fichero del " +"certificado almacenado en «/var/lib/openvas/CA/» y ejecutando «openvas-" +"mkcert»." #. Type: string #. Description @@ -120,7 +128,9 @@ #: ../openvas-server.templates:5001 msgid "" "Please enter the two-letter code for the country where this server resides." -msgstr "Introduzca el código de dos letras del país donde se encuentra ubicado el servidor." +msgstr "" +"Introduzca el código de dos letras del país donde se encuentra ubicado el " +"servidor." #. Type: string #. Description @@ -132,12 +142,13 @@ #. Description #: ../openvas-server.templates:6001 msgid "Please enter the state or province where this server resides." -msgstr "Introduzca el nombre del estado o de la provincia donde se encuentra ubicado el servidor." +msgstr "" +"Introduzca el nombre del estado o de la provincia donde se encuentra ubicado " +"el servidor." #. Type: string #. Description #: ../openvas-server.templates:7001 -#| msgid "Your location" msgid "Location:" msgstr "Ubicación:" @@ -146,21 +157,23 @@ #: ../openvas-server.templates:7001 msgid "" "Please enter the location (town, for example) where this server resides." -msgstr "Introduzca la ubicación (por ejemplo, la ciudad) donde se encuentra ubicado el servidor." +msgstr "" +"Introduzca la ubicación (por ejemplo, la ciudad) donde se encuentra ubicado " +"el servidor." #. Type: string #. Description #: ../openvas-server.templates:8001 -#| msgid "Your organisation" msgid "Organization:" msgstr "Organización:" #. Type: string #. Description #: ../openvas-server.templates:8001 -#| msgid "Enter the name of your organization or company." msgid "Please enter the name of the organization this server belongs to." -msgstr "Introduzca el nombre de la organización o compañía a la que pertenece el servidor." +msgstr "" +"Introduzca el nombre de la organización o compañía a la que pertenece el " +"servidor." #~ msgid "CA certificate life time in days" #~ msgstr "Tiempo de vida en días del certificado de CA" diff -u openvas-server-2.0.3/debian/patches/10_bashism.dpatch openvas-server-2.0.3/debian/patches/10_bashism.dpatch --- openvas-server-2.0.3/debian/patches/10_bashism.dpatch +++ openvas-server-2.0.3/debian/patches/10_bashism.dpatch @@ -12,7 +12,7 @@ GETTEXT=`command -v gettext.sh` -if (( $? )); -+if $(( $? )); ++if [ $? -ne 0 ]; then # define dummy functions @@ -24,7 +24,7 @@ GETTEXT=`command -v gettext.sh` -if (( $? )); -+if $(( $? )); ++if [ $? -ne 0 ]; then # define dummy functions @@ -36,7 +36,7 @@ GETTEXT=`command -v gettext.sh` -if (( $? )); -+if $(( $? )); ++if [ $? -ne 0 ]; then # define dummy functions @@ -48,7 +48,7 @@ GETTEXT=`command -v gettext.sh` -if (( $? )); -+if $(( $? )); ++if [ $? -ne 0 ]; then # define dummy functions reverted: --- openvas-server-2.0.3/include/config.h +++ openvas-server-2.0.3.orig/include/config.h @@ -312,7 +312,7 @@ /* #undef GTK_VERSION */ /* #undef BROKEN_PTHREAD_CLEANUP_PUSH */ +#define HAVE_REGEX_SUPPORT 1 -/* #undef HAVE_REGEX_SUPPORT */ /* * Experimental features */ reverted: --- openvas-server-2.0.3/include/corevers.h +++ openvas-server-2.0.3.orig/include/corevers.h @@ -28,9 +28,9 @@ */ +#define OVS_COMPILER "gcc version 4.3.2 (Debian 4.3.2-1.1) " -#define OVS_COMPILER "gcc version 4.3.4 (Debian 4.3.4-2) " #define OVS_OS_NAME "Linux" +#define OVS_OS_VERSION "2.6.29.4-id1-k8-9" -#define OVS_OS_VERSION "2.6.24-1-686" #define PROGNAME "OpenVAS" #define OPENVAS_VERSION "2.0.3"