Saturday, March 31, 2018

suricata portable binary

suricata documents this option as "Do not optimize the binary for the hardware it is built on."

I think it is appropriate for the amd64 build since not every machine is the ports build machine.

Index: Makefile
===================================================================
RCS file: /cvs/ports/security/suricata/Makefile,v
retrieving revision 1.4
diff -u -p -u -r1.4 Makefile
--- Makefile 17 Mar 2018 13:03:14 -0000 1.4
+++ Makefile 1 Apr 2018 05:42:47 -0000
@@ -38,6 +38,8 @@ CONFIGURE_STYLE = gnu
CONFIGURE_ENV = ac_cv_path_HAVE_PDFLATEX= \
ac_cv_path_HAVE_GIT_CMD=

+CONFIGURE_ARGS = --disable-gccmarch-native
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/suricata/rules
${INSTALL_DATA} ${WRKSRC}/*.config ${PREFIX}/share/examples/suricata

No comments:

Post a Comment