Package: snort
Severity: normal
Tags: patch

Hi,
your package specifies a build-dependency on libsnmp4.2-dev (provided by
the ucd-snmp source-package). This dependency will be removed from the
archive soon (A removal was already requested). Searching through
snorts' files i cannot find a reference single reference on
libsnmpXX-dev and the upstream changelog also mentions the removal of
snmp from configure.in. 

Attached patch:
- removed the libsnmp4.2-dev build-dep, and the '--with-snmp' option
  from the configure call in debian/rules (as configure doesn't know
  about this option)
- removes the libssl-dev build-dep and the '--with-openssl' option from
  debian/rules (same explanation as above)
- removes the conditional 'coreutils | fileutils (>= 4.1.9) | stat (>=
  3.0)' utils dependency from the binary package and replaces it by a
  simple 'coreutils' dependency. As fileutils is adummy package
  depending on coreutils (and it was in sarge) and there isn't a stat
  package in the archive (sarge,etch,sid).
- remove the DH_COMPAT export in debian/rules as it it redundant
  (debhelper compat level is also set in debian/compat) and this
  triggers a lintian warning.

Please double check this and consider applying the patch.

The packaging fixed are all Severity: minor. But since libsnmp4.2-dev
will vanish soon your package will ftbfs then -> higher severity.


Regards,
Stefan

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
diff -ur snort-2.3.3/debian/control snort-2.3.3.mod/debian/control
--- snort-2.3.3/debian/control  2006-05-03 15:11:37.000000000 +0200
+++ snort-2.3.3.mod/debian/control      2006-05-03 15:23:39.000000000 +0200
@@ -3,13 +3,13 @@
 Priority: optional
 Maintainer: Javier Fernandez-Sanguino Pen~a <[EMAIL PROTECTED]>
 Uploaders: Pascal Hakim <[EMAIL PROTECTED]>
-Build-Depends: libnet1-dev, libpcap0.8-dev, libpcre3-dev, debhelper (>= 
4.1.13), libmysqlclient15-dev | libmysqlclient-dev, libsnmp4.2-dev, libpq-dev, 
libssl-dev, po-debconf (>= 0.5.0), tetex-bin, tetex-extra, gs-common
+Build-Depends: libnet1-dev, libpcap0.8-dev, libpcre3-dev, debhelper (>= 
4.1.13), libmysqlclient15-dev | libmysqlclient-dev, libpq-dev, po-debconf (>= 
0.5.0), tetex-bin, tetex-extra, gs-common
 Standards-Version: 3.5.6
 
 Package: snort
 Architecture: any
 Pre-Depends: adduser (>= 3.11)
-Depends: snort-rules-default (>= ${Source-Version}), debconf (>= 0.2.80) | 
debconf-2.0, syslogd | system-log-daemon, ${shlibs:Depends}, snort-common (>= 
${Source-Version}), logrotate, coreutils | fileutils (>= 4.1.9) | stat (>= 3.0)
+Depends: snort-rules-default (>= ${Source-Version}), debconf (>= 0.2.80) | 
debconf-2.0, syslogd | system-log-daemon, ${shlibs:Depends}, snort-common (>= 
${Source-Version}), logrotate, coreutils
 Conflicts: snort-mysql, snort-pgsql
 Replaces: snort-common (<< 2.0.2-3)
 Recommends: snort-doc
@@ -71,7 +71,7 @@
 Architecture: any
 Priority: extra
 Pre-Depends: adduser (>= 3.11)
-Depends: snort-rules-default (>= ${Source-Version}), debconf (>= 0.2.80) | 
debconf-2.0, syslogd | system-log-daemon, ${shlibs:Depends}, snort-common (>= 
${Source-Version}), logrotate, coreutils | fileutils (>= 4.1.9) | stat (>= 3.0)
+Depends: snort-rules-default (>= ${Source-Version}), debconf (>= 0.2.80) | 
debconf-2.0, syslogd | system-log-daemon, ${shlibs:Depends}, snort-common (>= 
${Source-Version}), logrotate
 Conflicts: snort, snort-pgsql
 Description: Flexible Network Intrusion Detection System [MySQL]
  Distribution of Snort with support for logging to a MySQL database.
@@ -91,7 +91,7 @@
 Provides: snort
 Architecture: any
 Priority: optional
-Depends: snort-rules-default (>= ${Source-Version}), debconf (>= 0.2.80) | 
debconf-2.0, adduser (>= 3.11), syslogd | system-log-daemon, ${shlibs:Depends}, 
snort-common (>= ${Source-Version}), logrotate, coreutils | fileutils (>= 
4.1.9) | stat (>= 3.0)
+Depends: snort-rules-default (>= ${Source-Version}), debconf (>= 0.2.80) | 
debconf-2.0, adduser (>= 3.11), syslogd | system-log-daemon, ${shlibs:Depends}, 
snort-common (>= ${Source-Version}), logrotate, coreutils
 Conflicts: snort, snort-mysql
 Description: Flexible Network Intrusion Detection System [PostgreSQL]
  Distribution of Snort with support for logging to a PostgreSQL dbase.
diff -ur snort-2.3.3/debian/rules snort-2.3.3.mod/debian/rules
--- snort-2.3.3/debian/rules    2006-05-03 15:11:37.000000000 +0200
+++ snort-2.3.3.mod/debian/rules        2006-05-03 15:23:32.000000000 +0200
@@ -5,7 +5,6 @@
 # Some lines taken from debmake, by Christoph Lameter.
 
 export DH_VERBOSE=1
-export DH_COMPAT=4
 
 TMP=`pwd`/debian
 
@@ -24,8 +23,6 @@
        --bindir=\$$\{exec_prefix\}/sbin \
        --mandir=\$$\{exec_prefix\}/share/man \
        --enable-smbalerts \
-       --with-snmp \
-       --with-openssl
 # Cannot enable flexresp since it builds only with libnet 1.0.2a
 #      --enable-flexresp \
 

Reply via email to