Any reason (except time, I know) to not replace this with alternatives? 

%post plain+flexresp
if [ -L %{_sbindir}/snort ]; then ln -sf
%{_sbindir}/snort-plain+flexresp %{_sbindir}/snorti; fi
%post mysql
if [ -L %{_sbindir}/snort ]; then ln -sf %{_sbindir}/snort-mysql
%{_sbindir}/snort; fi 
%post mysql+flexresp
if [ -L %{_sbindir}/snort ]; then ln -sf
%{_sbindir}/snort-mysql+flexresp %{_sbindir}/snort; fi
%post postgresql
if [ -L %{_sbindir}/snort ]; then ln -sf %{_sbindir}/snort-postgresql
%{_sbindir}/snort; fi
%post postgresql+flexresp
if [ -L %{_sbindir}/snort ]; then ln -sf
%{_sbindir}/snort-postgresql+flexresp %{_sbindir}/snort; fi
%post snmp
if [ -L %{_sbindir}/snort ]; then ln -sf %{_sbindir}/snort-snmp
%{_sbindir}/snort; fi
%post snmp+flexresp
if [ -L %{_sbindir}/snort ]; then ln -sf %{_sbindir}/snort-snmp+flexresp
%{_sbindir}/snort; fi
%post bloat
if [ -L %{_sbindir}/snort ]; then ln -sf %{_sbindir}/snort-bloat
%{_sbindir}/snort; fi

Reply via email to