Bug#709562: debsecan: Suites for debsecan are out of date

2013-08-20 Thread Stephen Kitt
On Tue, May 28, 2013 at 10:20:00PM +0200, Michel Messerschmidt wrote:
 A patch is attached

I'm attaching a version of the patch with fixes for the debconf
templates.

Regards,

Stephen
diff -urN debsecan-0.4.16+nmu1/debian/debsecan.config debsecan-0.4.16+nmu2/debian/debsecan.config
--- debsecan-0.4.16+nmu1/debian/debsecan.config	2011-10-06 15:02:56.0 +0200
+++ debsecan-0.4.16+nmu2/debian/debsecan.config	2013-08-21 07:47:44.970399819 +0200
@@ -10,7 +10,7 @@
 
 normalize_suite () {
 case $SUITE in
-	sarge|etch|lenny|squeeze|wheezy|sid)
+	sarge|etch|lenny|squeeze|wheezy|jessie|sid)
 	;;
 	*)
 	SUITE=GENERIC
diff -urN debsecan-0.4.16+nmu1/debian/debsecan.templates debsecan-0.4.16+nmu2/debian/debsecan.templates
--- debsecan-0.4.16+nmu1/debian/debsecan.templates	2011-10-06 15:02:56.0 +0200
+++ debsecan-0.4.16+nmu2/debian/debsecan.templates	2013-08-21 07:48:08.342094074 +0200
@@ -16,7 +16,7 @@
 
 Template: debsecan/suite
 Type: select
-Choices: GENERIC, sarge, etch, lenny, squeeze, wheezy, sid
+Choices: GENERIC, sarge, etch, lenny, squeeze, wheezy, jessie, sid
 Default: GENERIC
 _Description: Main suite from which packages are installed:
  To present more useful data, debsecan needs to know
diff -urN debsecan-0.4.16+nmu1/src/debsecan debsecan-0.4.16+nmu2/src/debsecan
--- debsecan-0.4.16+nmu1/src/debsecan	2011-10-06 15:02:56.0 +0200
+++ debsecan-0.4.16+nmu2/src/debsecan	2013-08-21 07:45:28.152189248 +0200
@@ -270,7 +270,7 @@
   default='/etc/default/debsecan')
 parser.add_option(--suite, type=choice,
   choices=['woody', 'sarge', 'etch', 'lenny', 'squeeze', 'wheezy',
-   'sid'],
+   'jessie', 'sid'],
   help=set the Debian suite of this installation)
 parser.add_option(--source, metavar=URL,
   help=sets the URL for the vulnerability information)


signature.asc
Description: Digital signature


Bug#709562: debsecan: Suites for debsecan are out of date

2013-05-28 Thread Michel Messerschmidt
Package: debsecan
Version: 0.4.16+nmu1
Followup-For: Bug #709562

A patch is attached

diff --git a/debsecan b/debsecan.new
index 7b869b7..559d49d 100755
--- a/debsecan
+++ b/debsecan.new
@@ -270,7 +270,7 @@ def parse_cli():
   default='/etc/default/debsecan')
 parser.add_option(--suite, type=choice,
   choices=['woody', 'sarge', 'etch', 'lenny', 'squeeze', 'wheezy',
-   'sid'],
+   'jessie', 'sid'],
   help=set the Debian suite of this installation)
 parser.add_option(--source, metavar=URL,
   help=sets the URL for the vulnerability information)


Bug#709562: debsecan: Suites for debsecan are out of date

2013-05-23 Thread kittyofthebox
Package: debsecan
Version: 0.4.16+nmu1
Severity: important

Hi,

Running the following command gives the following response:

$ debsecan --suite jessie --format packages
Usage: debsecan OPTIONS...

debsecan: error: option --suite: invalid choice: 'jessie' (choose from 'woody', 
'sarge', 'etch', 'lenny', 'squeeze', 'wheezy', 'sid')

The suite list seems really old can this be fixed?

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'stable'), (400, 'oldstable'), (300, 
'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debsecan depends on:
ii  debconf [debconf-2.0]  1.5.50
ii  python 2.7.3-5
ii  python-apt 0.8.8.2

Versions of packages debsecan recommends:
ii  cron   3.0pl1-124
ii  exim4-daemon-light [mail-transport-agent]  4.80-7

debsecan suggests no packages.

-- debconf information:
  debsecan/source:
  debsecan/mailto: root
  debsecan/report: true
  debsecan/suite: GENERIC


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org