diff -Nru cvechecker-3.2/debian/applications/backbox-cvechecker.desktop cvechecker-3.2/debian/applications/backbox-cvechecker.desktop --- cvechecker-3.2/debian/applications/backbox-cvechecker.desktop 2013-01-31 15:48:48.000000000 +0000 +++ cvechecker-3.2/debian/applications/backbox-cvechecker.desktop 1970-01-01 00:00:00.000000000 +0000 @@ -1,9 +0,0 @@ -[Desktop Entry] -Type=Application -Name=cvechecker -Comment=Local CVE checker tool -TryExec=cvechecker -Exec=sh -c "cvechecker --help; echo; bash" -Icon=utilities-terminal -Terminal=true -Categories=BackBox-LocalAssessment; diff -Nru cvechecker-3.2/debian/applications/backbox-update-cvechecker.desktop cvechecker-3.2/debian/applications/backbox-update-cvechecker.desktop --- cvechecker-3.2/debian/applications/backbox-update-cvechecker.desktop 2013-01-12 11:23:52.000000000 +0000 +++ cvechecker-3.2/debian/applications/backbox-update-cvechecker.desktop 1970-01-01 00:00:00.000000000 +0000 @@ -1,8 +0,0 @@ -[Desktop Entry] -Type=Application -Name=cvechecker -TryExec=pullcves -Exec=sh -c "sudo pullcves pull; echo; bash" -Icon=backbox-update -Terminal=true -Categories=BackBox-Update; diff -Nru cvechecker-3.2/debian/bin/cvechecker cvechecker-3.2/debian/bin/cvechecker --- cvechecker-3.2/debian/bin/cvechecker 2013-01-31 15:45:22.000000000 +0000 +++ cvechecker-3.2/debian/bin/cvechecker 1970-01-01 00:00:00.000000000 +0000 @@ -1,10 +0,0 @@ -#!/bin/sh - -if [ `id -u` -eq 0 ] -then - pullcves pull - echo "Done!" -else - echo "Please run this script as root!" - exit 1 -fi diff -Nru cvechecker-3.2/debian/changelog cvechecker-3.2/debian/changelog --- cvechecker-3.2/debian/changelog 2013-01-31 15:51:18.000000000 +0000 +++ cvechecker-3.2/debian/changelog 2013-05-14 13:03:40.000000000 +0000 @@ -1,3 +1,9 @@ +cvechecker (3.2-0backbox4) precise; urgency=high + + * Updated package + + -- Raffaele Forte Tue, 14 May 2013 15:00:00 +0200 + cvechecker (3.2-0backbox3) precise; urgency=high * add textual update menu script diff -Nru cvechecker-3.2/debian/compat cvechecker-3.2/debian/compat --- cvechecker-3.2/debian/compat 2012-12-05 20:54:54.000000000 +0000 +++ cvechecker-3.2/debian/compat 2013-05-14 13:44:38.000000000 +0000 @@ -1 +1 @@ -7 +9 diff -Nru cvechecker-3.2/debian/control cvechecker-3.2/debian/control --- cvechecker-3.2/debian/control 2013-01-12 11:19:28.000000000 +0000 +++ cvechecker-3.2/debian/control 2013-05-14 13:43:54.000000000 +0000 @@ -1,8 +1,8 @@ Source: cvechecker Section: admin Priority: optional -Maintainer: Alessio Pascolini <6alessiop@gmail.com> -Build-Depends: debhelper (>= 7.0.50~), autotools-dev, libconfig-dev, libsqlite3-dev +Maintainer: Raffaele Forte +Build-Depends: debhelper (>= 9), autotools-dev, libconfig-dev, libsqlite3-dev Standards-Version: 3.9.3 Homepage: http://cvechecker.sourceforge.net/ diff -Nru cvechecker-3.2/debian/copyright cvechecker-3.2/debian/copyright --- cvechecker-3.2/debian/copyright 2012-12-05 20:56:34.000000000 +0000 +++ cvechecker-3.2/debian/copyright 2013-05-14 13:43:27.000000000 +0000 @@ -7,7 +7,8 @@ License: GPL-3.0+ Files: debian/* -Copyright: 2012 Alessio Pascolini <6alessiop@gmail.com> +Copyright: 2012-2013 Alessio Pascolini <6alessiop@gmail.com> + 2012-2013 Raffaele Forte License: GPL-3.0+ License: GPL-3.0+ diff -Nru cvechecker-3.2/debian/dirs cvechecker-3.2/debian/dirs --- cvechecker-3.2/debian/dirs 1970-01-01 00:00:00.000000000 +0000 +++ cvechecker-3.2/debian/dirs 2013-05-14 10:15:16.000000000 +0000 @@ -0,0 +1,2 @@ +var/cvechecker/cache +var/cvechecker/local diff -Nru cvechecker-3.2/debian/install cvechecker-3.2/debian/install --- cvechecker-3.2/debian/install 2013-01-31 15:46:46.000000000 +0000 +++ cvechecker-3.2/debian/install 2013-05-14 13:42:58.000000000 +0000 @@ -1,2 +1,2 @@ -debian/applications/backbox-*.desktop usr/share/applications -debian/bin/cvechecker menu/update +debian/usr/share/applications/*.desktop usr/share/applications +debian/menu/update/* menu/update diff -Nru cvechecker-3.2/debian/menu/update/cvechecker cvechecker-3.2/debian/menu/update/cvechecker --- cvechecker-3.2/debian/menu/update/cvechecker 1970-01-01 00:00:00.000000000 +0000 +++ cvechecker-3.2/debian/menu/update/cvechecker 2013-05-16 14:03:37.000000000 +0000 @@ -0,0 +1,33 @@ +#!/bin/sh + +# +# Copyright(c) 2011-2013 BackBox Developers +# http://www.backbox.org/ +# +# This file is part of BackBox Scripts +# +# backbox-scripts is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# backbox-scripts is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with backbox-scripts. If not, see . +# + +TOOL='cvechecker' +CMD='pullcves pull' + +# Check root privileges +if [ $(id -u) -ne 0 ];then + echo '[!] Please run this script as root' >&2 + exit 1 +fi + +# Execute commands +exec $CMD diff -Nru cvechecker-3.2/debian/patches/00-override-local-data.patch cvechecker-3.2/debian/patches/00-override-local-data.patch --- cvechecker-3.2/debian/patches/00-override-local-data.patch 2012-12-06 22:14:09.000000000 +0000 +++ cvechecker-3.2/debian/patches/00-override-local-data.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,14 +0,0 @@ -Description: Edit data/Makefile.in to override install_data_local target and avoid making of /var/cvechecker dir and subdir -Author: Alessio Pascolini <6alessiop@gmail.com> ---- a/data/Makefile.in -+++ b/data/Makefile.in -@@ -366,8 +366,7 @@ - - info-am: - --install-data-am: install-cvecheckerDATA install-data-local \ -- install-exampleDATA -+install-data-am: install-cvecheckerDATA install-exampleDATA - - install-dvi: install-dvi-am - diff -Nru cvechecker-3.2/debian/patches/no-example.patch cvechecker-3.2/debian/patches/no-example.patch --- cvechecker-3.2/debian/patches/no-example.patch 1970-01-01 00:00:00.000000000 +0000 +++ cvechecker-3.2/debian/patches/no-example.patch 2013-05-16 17:36:07.000000000 +0000 @@ -0,0 +1,12 @@ +--- cvechecker-3.2.orig/data/Makefile.in ++++ cvechecker-3.2/data/Makefile.in +@@ -366,8 +366,7 @@ info: info-am + + info-am: + +-install-data-am: install-cvecheckerDATA install-data-local \ +- install-exampleDATA ++install-data-am: install-cvecheckerDATA install-exampleDATA + + install-dvi: install-dvi-am + diff -Nru cvechecker-3.2/debian/patches/series cvechecker-3.2/debian/patches/series --- cvechecker-3.2/debian/patches/series 2012-12-06 22:08:25.000000000 +0000 +++ cvechecker-3.2/debian/patches/series 2013-05-16 17:36:31.000000000 +0000 @@ -1 +1 @@ -00-override-local-data.patch +no-example.patch diff -Nru cvechecker-3.2/debian/postinst cvechecker-3.2/debian/postinst --- cvechecker-3.2/debian/postinst 2012-12-11 13:21:11.000000000 +0000 +++ cvechecker-3.2/debian/postinst 2013-05-14 13:34:49.000000000 +0000 @@ -4,14 +4,9 @@ case "$1" in configure) - if ! [ -d /var/cvechecker ] - then - mkdir -p /var/cvechecker/local /var/cvechecker/cache - fi - if ! [ -f /var/cvecchecker/global.db ] - then - cvechecker -i - fi + if ! [ -f /var/cvechecker/global.db ]; then + cvechecker -i + fi ;; abort-upgrade|abort-remove|abort-deconfigure) diff -Nru cvechecker-3.2/debian/postrm cvechecker-3.2/debian/postrm --- cvechecker-3.2/debian/postrm 2013-01-12 11:42:15.000000000 +0000 +++ cvechecker-3.2/debian/postrm 2013-05-14 13:36:19.000000000 +0000 @@ -4,8 +4,12 @@ case "$1" in purge) - rm -rf /var/cvechecker + if [ -d /var/cvechecker ]; then + echo "Purging cvechecker..." + rm -rf /var/cvechecker + fi ;; + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; diff -Nru cvechecker-3.2/debian/usr/share/applications/backbox-cvechecker.desktop cvechecker-3.2/debian/usr/share/applications/backbox-cvechecker.desktop --- cvechecker-3.2/debian/usr/share/applications/backbox-cvechecker.desktop 1970-01-01 00:00:00.000000000 +0000 +++ cvechecker-3.2/debian/usr/share/applications/backbox-cvechecker.desktop 2013-05-14 10:08:00.000000000 +0000 @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=cvechecker +Comment=Local CVE checker tool +TryExec=cvechecker +Exec=sh -c "cvechecker --help; echo; ${SHELL:-bash}" +Icon=utilities-terminal +Terminal=true +Categories=BackBox-LocalAssessment;