Package: snort
Version: 2.8.5.2-9.1
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu precise ubuntu-patch
*** /tmp/tmpWxWRHu/bug_body
In Ubuntu, the attached patch was applied to achieve the following:
libmysqlclient-dev is multiarch in experimental, and should move to
unstable soon.
* d/rules: use mysql_config to find libraries to fix FTBFS with
multiarch libmysqlclient.
Thanks for considering the patch.
-- System Information:
Debian Release: wheezy/sid
APT prefers precise-updates
APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500,
'precise')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-12-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u snort-2.8.5.2/debian/rules snort-2.8.5.2/debian/rules
--- snort-2.8.5.2/debian/rules
+++ snort-2.8.5.2/debian/rules
@@ -96,6 +96,7 @@
# MySQL package:
./configure $(CONFFLAGS) \
--with-mysql \
+ --with-mysql-libraries=`mysql_config --variable=pkglibdir` \
--without-postgresql
$(MAKE)
cp src/snort src/snort-mysql