From owner-svn-ports-head@freebsd.org Mon Sep 28 08:25:45 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44515A08F62; Mon, 28 Sep 2015 08:25:45 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 328741B92; Mon, 28 Sep 2015 08:25:45 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8S8Pj0B067602; Mon, 28 Sep 2015 08:25:45 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8S8PjkT067601; Mon, 28 Sep 2015 08:25:45 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201509280825.t8S8PjkT067601@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Mon, 28 Sep 2015 08:25:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398101 - head/security/suricata X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 08:25:45 -0000 Author: koobs Date: Mon Sep 28 08:25:44 2015 New Revision: 398101 URL: https://svnweb.freebsd.org/changeset/ports/398101 Log: 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 Tested by: Olivier Cochard MFH: 2015Q3 Modified: head/security/suricata/Makefile Modified: head/security/suricata/Makefile ============================================================================== --- head/security/suricata/Makefile Mon Sep 28 08:10:12 2015 (r398100) +++ head/security/suricata/Makefile Mon Sep 28 08:25:44 2015 (r398101) @@ -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