Date: Tue, 29 Sep 2015 03:30:54 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r398152 - branches/2015Q3/security/suricata Message-ID: <201509290330.t8T3UsLD043913@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Tue Sep 29 03:30:53 2015 New Revision: 398152 URL: https://svnweb.freebsd.org/changeset/ports/398152 Log: MFH: r398101: security/suricata: Disable -march=native Suricata currently builds with GCC -march=native by default. This can create problems if, for example, packages of this port are built on ATOM servers but installed on AMD processors. In these and other cases where the build host is not equal to the target host, suricata can generate an Illegal instruction and refuse to start. It is ultimately preferable to explicitly cross-build and/or optimize compilation for target architectures and processors. See: PEP20. PR: 203296 Submitted by: Olivier Cochard <olivier cochard me> Tested by: Olivier Cochard <olivier cochard me> Approved by: portmgr (feld) Modified: branches/2015Q3/security/suricata/Makefile Directory Properties: branches/2015Q3/ (props changed) Modified: branches/2015Q3/security/suricata/Makefile ============================================================================== --- branches/2015Q3/security/suricata/Makefile Tue Sep 29 02:45:34 2015 (r398151) +++ branches/2015Q3/security/suricata/Makefile Tue Sep 29 03:30:53 2015 (r398152) @@ -3,7 +3,7 @@ PORTNAME= suricata PORTVERSION= 2.0.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://www.openinfosecfoundation.org/download/ \ http://mirrors.rit.edu/zi/ @@ -105,6 +105,7 @@ CONFIGURE_ARGS+=--enable-gccprotect \ --with-libnet-libraries=${LOCALBASE}/lib/libnet11 \ --with-libhtp-includes=${LOCALBASE}/include/ \ --with-libhtp-libraries=${LOCALBASE}/lib \ + --disable-gccmarch-native \ --localstatedir=/var/ LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509290330.t8T3UsLD043913>