tags 349839 + patch
tags 356772 + patch
tags 361428 + patch
thanks

Hi,

        Attached is a patch to sort out the issues listed below.

* #349839: nufw: debconf-updatepo is launched too late in the build
process
  This adds a call to debconf-updatepo in the clean target of
debian/rules.

* #356772: lintian-warning: relative-conffile / duplicate-conffile
  This removes all lines in nuauth.conffiles, which you'll have to
remove by hand, or run patch with -E

* #361428: nufw: Please use "boolean" templates instead of "select"
templates with "Choices: 0, 1"
  This changes all of the questions it made sense to change to use
Type: boolean, as opposed to Type: select.

Cheers,
-- 
                                        Steve
If it (dieting) was like a real time strategy game, I'd have loaded a save
game from ten years ago.
         - Greg, Columbia Internet
--- nufw-2.0.9/debian/control   2006-11-02 06:05:04.000000000 +1100
+++ nufw-2.0.9/debian/control   2006-11-19 23:39:54.000000000 +1100
@@ -21,6 +21,7 @@
 
 Package: nuauth
 Architecture: any
+Pre-Depends: adduser
 Depends: ${shlibs:Depends}, debconf, libsasl2-modules, ssl-cert, openssl
 Recommends: nuauth-utils
 Description: The authentication daemon from the nufw package
--- nufw-2.0.9/debian/nuauth.conffiles  2006-11-02 06:05:04.000000000 +1100
+++ nufw-2.0.9/debian/nuauth.conffiles  1970-01-01 10:00:00.000000000 +1000
@@ -1,4 +0,0 @@
-etc/nufw/nuauth.conf
-etc/nufw/periods.xml
-etc/nufw/acls.nufw
-etc/nufw/users-plaintext.nufw
--- nufw-2.0.9/debian/nuauth.templates  2006-11-02 06:05:04.000000000 +1100
+++ nufw-2.0.9/debian/nuauth.templates  2006-11-19 23:53:57.000000000 +1100
@@ -179,31 +179,23 @@
  Default value : 1
 
 Template: nuauth/log_users_sync
-Type: select
-_Choices: 0, 1
-Default: 1
+Type: boolean
+Default: true
 _Description: Whether to sync users logs
  Syncing users logs makes activities overall slower, but guarantees users
  logs (for instance, in SQL database) exist before the network packet is
  passed through. It is advised to set this option if you setup nuauth for
  SSO.
-  - 0 : no sync
-  - 1 : sync
- Default value : 1
 
 Template: nuauth/log_users_strict
-Type: select
-_Choices: 0, 1
-Default: 1
+Type: boolean
+Default: true
 _Description: Whether to update logs automatically for consistency
  If set to 1, whenever a connection already in conntrack (for TCP or UDP,
  same source IP, same source port) will be opened, existing connections
  that might already exist in our conntrack will be closed. If set to 0, no
  such update will be performed. The Safe option is to use 1. Setting this
  to 0 may cause SSO modules to refuse some connections, in some rare cases.
-  - 0 : no update
-  - 1 : strict update of existing 'old' connections
- Default value : 1
 
 Template: nuauth/user_logs_module
 Type: select
@@ -266,9 +258,8 @@
 _Description: DBM file with users/groups definition
 
 Template: nuauth/prio_to_nok
-Type: select
-_Choices: 0, 1
-Default: 1
+Type: boolean
+Default: true
 _Description: Decision to accept when groups disagree
  When a user is member of several groups, it can happen that some groups
  grant access for a connection, and others deny it. If you choose 1 here,
@@ -318,9 +309,8 @@
   Please enter the timeout (in seconds) for connections to the MYSQL server
 
 Template: nuauth/mysql_use_ssl
-Type: select
-_Choices: 0, 1
-Default: 1
+Type: boolean
+Default: true
 _Description: Use SSL for Mysql connections
   Set this to 1 to wrap MySQL connections in SSL, or 0 if you don't want
  to.
--- nufw-2.0.9/debian/rules     2006-11-02 06:05:04.000000000 +1100
+++ nufw-2.0.9/debian/rules     2006-11-11 18:01:37.000000000 +1100
@@ -47,7 +47,7 @@
        dh_testdir
        dh_testroot
        rm -f build-stamp 
-
+       debconf-updatepo
        # Add here commands to clean up after the build process.
        -$(MAKE) distclean
 

Reply via email to