commit:     dd784fb8f7b3f376e2dc5ec61c39bad4af153a70
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 13:53:27 2016 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 13:54:14 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd784fb8

net-analyzer/snort: remove errant code block which should have been removed as 
part of USE=-* cleanup

Package-Manager: portage-2.3.1

 net-analyzer/snort/snort-2.9.8.3-r1.ebuild | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/net-analyzer/snort/snort-2.9.8.3-r1.ebuild 
b/net-analyzer/snort/snort-2.9.8.3-r1.ebuild
index d0be6ef..6427629 100644
--- a/net-analyzer/snort/snort-2.9.8.3-r1.ebuild
+++ b/net-analyzer/snort/snort-2.9.8.3-r1.ebuild
@@ -196,12 +196,6 @@ src_install() {
        sed -i -e 's|^include $RULE_PATH|# include $RULE_PATH|g' \
                "${D}etc/snort/snort.conf.distrib" || die
 
-       # Disable normalizer preprocessor config if normalizer USE flag not set.
-       if ! use normalizer; then
-               sed -i -e 's|^preprocessor normalize|#preprocessor normalize|g' 
\
-                       "${D}etc/snort/snort.conf.distrib" || die
-       fi
-
        # Set the configured DAQ to afpacket
        sed -i -e 's|^# config daq: <type>|config daq: afpacket|g' \
                "${D}etc/snort/snort.conf.distrib" || die

Reply via email to