Package: snort
Version: 2.8.5.2-6

Hello,

the new snort.debian.conf handling adds a -p to snort/options on each
re-install if snort/disable_promiscuous is true:

        # grep ^DEBIAN_SNORT_OPTIONS /etc/snort/snort.debian.conf
        DEBIAN_SNORT_OPTIONS=" -p"
        # aptitude reinstall snort
        ...
        # grep ^DEBIAN_SNORT_OPTIONS /etc/snort/snort.debian.conf
        DEBIAN_SNORT_OPTIONS="-p -p"
        # aptitude reinstall snort
        ...
        # grep ^DEBIAN_SNORT_OPTIONS /etc/snort/snort.debian.conf
        DEBIAN_SNORT_OPTIONS="-p -p -p"
        # 

Btw: the new handling considers *each* snort.debian.conf from an older
package version as manually changed, because the (comments) header of
the new template changed and no old md5sum file exists.

Btw2: why do you re-invent all that changes-tracking and implement it
all on your own? Why don't you just put snort.debian.conf under ucf
control? ucf does everything you want and does it better - it asks the
user whether to replace a changed file or not and retains the old or
new version depending on user's choice similar to dpkg, for example.


regards
   Mario
-- 
Nicht das Unrecht soll man anklagen, wenn es das Recht von seinem Sitz
verdraengt, sondern das Recht, welches sich dies gefallen laesst.
                                                  -- Rudolf v. Ihering

Attachment: signature.asc
Description: Digital signature

Reply via email to