From patchwork Sat Dec 21 15:35:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergio Prado X-Patchwork-Id: 1214531 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=e-labworks.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=e-labworks-com.20150623.gappssmtp.com header.i=@e-labworks-com.20150623.gappssmtp.com header.b="B/gX8IFc"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47g9RG5WrHz9sP6 for ; Sun, 22 Dec 2019 03:04:26 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 85B3C8629B; Sat, 21 Dec 2019 16:04:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ScEkyhRdyrb7; Sat, 21 Dec 2019 16:04:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6B8E983335; Sat, 21 Dec 2019 16:04:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id F36AD1BF3F7 for ; Sat, 21 Dec 2019 16:04:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id ED39E83335 for ; Sat, 21 Dec 2019 16:04:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wRMxASYNFR1d for ; Sat, 21 Dec 2019 16:04:16 +0000 (UTC) X-Greylist: delayed 00:22:24 by SQLgrey-1.7.6 Received: from mail-qv1-f67.google.com (mail-qv1-f67.google.com [209.85.219.67]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 6138381ECB for ; Sat, 21 Dec 2019 16:04:16 +0000 (UTC) Received: by mail-qv1-f67.google.com with SMTP id m14so4819987qvl.3 for ; Sat, 21 Dec 2019 08:04:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=e-labworks-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=JRkiY14l4oRvwEoXZjcWfnO8gtQRlTBUxVkv9ZNzJKI=; b=B/gX8IFc6Pwe8uuNOW3txapFIGlPkdlCxE40pTWbkc7fUQxINO2G6VN2AQZA1xC9tW YcWkhLLQbHDgqACgigLQyq3RVJfPlGcprkClOjk9NU1UWwkSZqJ/20rBESGKeXe/wECE e6yQlDQLXE+yyUd/3+Lgh6dNg+JbSWkHAe6422d678fRlA1PSKkRd1/YAUnGFS5I/Hy6 D29MkwP7tt7YLafTHqHGj+IYqXam/G4KV90xZ0N/y+/2ixGDrLbJU88bJEE1eQmtvTeB osyhdSYh9DxqD47Zt1ZEAN+HRH3t87HmFHD54RCO1uRCl9+41hraovSyL/JX/1zQv46G JSWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=JRkiY14l4oRvwEoXZjcWfnO8gtQRlTBUxVkv9ZNzJKI=; b=ZSzVRKLyJMUdP736GmYfMtNDPLoAd1UuYkIaDO8wrYj886/Yvcu7IEFG42LbZB9J3D sjMnYSNmbTustLgoodTt8Q+M5TirfonRrgdfb6L5XaIsw+QzldtZkZWJ0Hs6zdI2IrWW NSnd8kw8RIRuLY908S7S0+TP7O1cLYvYjjxhKEQA3wAqEafzdj3VlQw58h6ij2/qj3nk a+CBLXu3mMdJ1jVXDhoOlQpg2Mw8FKx6aA8pAb4nzYwUisQpIMLS7ILVUCIWz5p7A98c qPImaUguWXGJ1hwfUHFn2ctrOTlCVE4udVNF6K2RMhHlMjSkibKS8vDQf4rINgpIn2nk JJbw== X-Gm-Message-State: APjAAAXfiPocdi+aVbfLV/+GwyWgHIeXA1LcFKMy4Z2lRyMoC65QlCWu 24iduZDRtZnrvCU67OOhruuYjr37OHA= X-Google-Smtp-Source: APXvYqxF4Jj1NnwBbbAkzIwcRnQCTLJpJto9N8aPubPbz/xVkQdIJPZLM8ZABQSzgO359viPCLMVhA== X-Received: by 2002:a17:902:694c:: with SMTP id k12mr10117698plt.329.1576942560227; Sat, 21 Dec 2019 07:36:00 -0800 (PST) Received: from localhost.localdomain ([179.209.45.161]) by smtp.gmail.com with ESMTPSA id u6sm14383241pjv.31.2019.12.21.07.35.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Dec 2019 07:35:59 -0800 (PST) From: Sergio Prado To: buildroot@buildroot.org Date: Sat, 21 Dec 2019 12:35:45 -0300 Message-Id: <20191221153545.7732-1-sergio.prado@e-labworks.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH] package/snort: bump to version 2.9.15 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sergio Prado MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Also adds a patch that fixes a build error when cross-compiling on a Fedora host machine. Fixes: http://autobuild.buildroot.net/results/47a367c2c5cbf13079b0e60ad7ebe3dbd05756d4 http://autobuild.buildroot.net/results/837e43b085ac30fb8545c67352403ceb7de59976 http://autobuild.buildroot.net/results/a69df3959b45620f811c18744aa661caa479aef4 many more... Signed-off-by: Sergio Prado --- ...en-building-on-a-Fedora-host-machine.patch | 51 +++++++++++++++++++ package/snort/snort.hash | 2 +- package/snort/snort.mk | 2 +- 3 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch diff --git a/package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch b/package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch new file mode 100644 index 000000000000..afe9672a3c2a --- /dev/null +++ b/package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch @@ -0,0 +1,51 @@ +From eae97632157b73f0ca7c099232617b2777d0fa54 Mon Sep 17 00:00:00 2001 +From: Sergio Prado +Date: Sat, 21 Dec 2019 12:00:42 -0300 +Subject: [PATCH] Fix error when building on a Fedora host machine. + +Remove the code that adds unsafe header/library path when +cross-compiling on a Fedora host machine. + +Signed-off-by: Sergio Prado +--- + configure.in | 24 ------------------------ + 1 file changed, 24 deletions(-) + +diff --git a/configure.in b/configure.in +index e6586f399898..fb35d4d7e3e3 100644 +--- a/configure.in ++++ b/configure.in +@@ -957,30 +957,6 @@ if test "x$enable_dlclose" = "xno"; then + AC_DEFINE([DISABLE_DLCLOSE_FOR_VALGRIND_TESTING],[1],[Don't close opened shared objects for valgrind leak testing of dynamic libraries]) + fi + +-################################################## +-# Fedora 28+ does not have inbuilt SunRPC support# +-# in glibc and is separately availble in tirpc # +-# package. Make sure we've got the library and # +-# link it # +-################################################## +- +-if test -f /etc/fedora-release ; then +- DISTRO_VERSION=$(awk '{ print $3 }' /etc/fedora-release) +- if test $DISTRO_VERSION -ge 28 ; then +- TIRPC="" +- AC_CHECK_LIB(tirpc,bindresvport,, TIRPC="no") +- echo "$TIRPC" +- if test "x$TIRPC" = "xno"; then +- echo +- echo " ERROR! tirpc not found, get it by running " +- echo " yum install libtirpc-devel " +- exit +- fi +- LIBS="${LIBS} -ltirpc" +- extra_incl="-I/usr/include/tirpc" +- fi +-fi +- + Z_LIB="" + AC_CHECK_HEADERS(zlib.h,, Z_LIB="no") + if test "x$Z_LIB" = "xno"; then +-- +2.17.1 + diff --git a/package/snort/snort.hash b/package/snort/snort.hash index 69b3210c0210..898840dadc5a 100644 --- a/package/snort/snort.hash +++ b/package/snort/snort.hash @@ -1,5 +1,5 @@ # Locally computed: -sha256 2472989da3aace000d1ea5931ece68f8e5cc0c511e272d65182113a2481e822d snort-2.9.14.1.tar.gz +sha256 bfb437746446ef72a03c501db13cd6da5edd2b41f55c80c437ba288be6da7dba snort-2.9.15.tar.gz # Hash for license files: sha256 f98260a6d3e5ef4ede8a2a6b698e5ac91d64c09243f7171e1c5b17b920a835c7 LICENSE diff --git a/package/snort/snort.mk b/package/snort/snort.mk index bfb6f9f91b9d..024c94162bff 100644 --- a/package/snort/snort.mk +++ b/package/snort/snort.mk @@ -4,7 +4,7 @@ # ################################################################################ -SNORT_VERSION = 2.9.14.1 +SNORT_VERSION = 2.9.15 SNORT_SITE = https://www.snort.org/downloads/snort SNORT_LICENSE = GPL-2.0 SNORT_LICENSE_FILES = LICENSE COPYING