Package: snort-common-libraries
Version: 2.8.5.2-8
Severity: normal
Tags: patch
snort ships libtool la files in subdirectories of /usr/lib which
contain nonempty dependency_libs lines. Please either
a) stop shipping the la files (I do not know whether snort needs
them.)
or
b) clean dependency_libs (straightforward patch attached).
http://wiki.debian.org/ReleaseGoals/LAFileRemoval
http://lists.debian.org/debian-devel/2009/08/msg00808.html
http://release.debian.org/~aba/la/current.txt
cu andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
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
@@ -150,6 +150,9 @@
# Install the common binaries
$(MAKE) install prefix=$(TMP)/snort-common/usr/
rm -f $(TMP)/snort-common/usr/sbin/snort
+ # clean dependency_libs
+ find $(TMP)/snort-common/usr/lib -name "*.la" -exec \
+ sed -i -e "s,^dependency_libs=.*,dependency_libs=''," {} +
# Snort binaries
install -m 755 -o root -g root src/snort-basic $(TMP)/snort/usr/sbin/snort