From patchwork Fri Jun 24 21:32:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 640432 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rbs4d1cxvz9t0J for ; Sat, 25 Jun 2016 07:32:49 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=FyS7EAHv; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2DD3291EED; Fri, 24 Jun 2016 21:32:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jiYOrPxUutum; Fri, 24 Jun 2016 21:32:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 835F291F1F; Fri, 24 Jun 2016 21:32:32 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id C18FA1C26FF for ; Fri, 24 Jun 2016 21:32:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BFB8591E62 for ; Fri, 24 Jun 2016 21:32:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qY4nWhVaAGxJ for ; Fri, 24 Jun 2016 21:32:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-io0-f196.google.com (mail-io0-f196.google.com [209.85.223.196]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6856C91E5C for ; Fri, 24 Jun 2016 21:32:16 +0000 (UTC) Received: by mail-io0-f196.google.com with SMTP id u25so17371241iou.2 for ; Fri, 24 Jun 2016 14:32:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aWFRtFMRaY7kMvTKaGusHmuKS+mgvAhWLLfHu53p3rM=; b=FyS7EAHvY04XpXArAEh5iwZOk0+Ia+5IBuV3vaSjFbMaexfqTNevVo1qb9dRMJJ8p6 gUIfqERevrBjMzotPeZC03UED/zHKWO8hlijal/jQdJUlhG9lAXjubBdPW8Rr25a/kIW dT4I3tT8dU9pivk00fURDHI2dFb4pYOOpeYxRjkH7XPrAz8B3+oZE2lqxodp+tpnRKJS YtVHs1JXf5fWA3F6MCyiGJMQZih3mYoOj47j0k8d4EcA2nlv3Liqbd8NoksoNaQU/0pH 1iE+8qncP1o4P1gmsBWX9ccT5YKP/Ov4EcerEEPWp/MAot2lqDH2QXwF+b+49wNFIZ0U SLjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=aWFRtFMRaY7kMvTKaGusHmuKS+mgvAhWLLfHu53p3rM=; b=ZKDSQ7tiMTNRIU1OeKYox2QVwY+37EzcIr0D7lfPt+GPT5FnGFRECCUZO2mBzRz4F1 dS5OzMTXw0iVZ6GRtOw6xnjDJC7kjlFQF3z3B77wZAaNyVA1GPWJV+WMSq1TR+kwrJxd Lql63OkAhoNx3zBviwpmbKV2CWDJRJCpxoETICMtb9p2zbGWYmrygb+jmAc0T/gmPXnP d+1H5SfNeeS8evapmC6dQBJ2rFlw7Ij11E0e1q2BFU3IPAztDxltUO84hc4RzxIT3OUo mN/8pRqJ/bTKXf7O7JSRcANR1+ho9ptAe7C+VsnsNDw7H35KSUDi/w5epXFsGspvkkVn hGag== X-Gm-Message-State: ALyK8tLDSuHPbmmO3MlVZgHrnKsd1pN70fzwa4syAEsLXnJBZ+hWHVigs19ielnesLJZdA== X-Received: by 10.107.52.133 with SMTP id b127mr8344744ioa.6.1466803935826; Fri, 24 Jun 2016 14:32:15 -0700 (PDT) Received: from localhost.localdomain.localdomain (97-84-2-82.dhcp.aldl.mi.charter.com. [97.84.2.82]) by smtp.gmail.com with ESMTPSA id f69sm3788532ioj.39.2016.06.24.14.32.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jun 2016 14:32:15 -0700 (PDT) From: Adam Duskett X-Google-Original-From: Adam Duskett To: buildroot@buildroot.org Date: Fri, 24 Jun 2016 17:32:06 -0400 Message-Id: <1466803929-5513-4-git-send-email-Aduskett@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1466803929-5513-1-git-send-email-Aduskett@gmail.com> References: <1466803929-5513-1-git-send-email-Aduskett@gmail.com> Cc: Adam Duskett Subject: [Buildroot] [PATCH 4/7] v3-libselinux: bump to version 2.5 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" In addition, glibc 2.22 will fail to compile against the default flag -D_FILE_OFFSET_BITS64 This option is now overwritten in libselinux.mk to ensure that toolchains compiled against glibc 2.22 will build the new version of the package. Signed-off-by: Adam Duskett --- package/libselinux/libselinux.hash | 2 +- package/libselinux/libselinux.mk | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package/libselinux/libselinux.hash b/package/libselinux/libselinux.hash index 861c327..a4c3440 100644 --- a/package/libselinux/libselinux.hash +++ b/package/libselinux/libselinux.hash @@ -1,2 +1,2 @@ # Locally computed -sha256 57aad47c06b7ec18a76e8d9870539277a84cb40109cfdcf70ed3260bdb04447a libselinux-2.1.13.tar.gz +sha256 94c9e97706280bedcc288f784f67f2b9d3d6136c192b2c9f812115edba58514f libselinux-2.5.tar.gz diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index d4b96c4..f2757ab 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -4,8 +4,8 @@ # ################################################################################ -LIBSELINUX_VERSION = 2.1.13 -LIBSELINUX_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20130423 +LIBSELINUX_VERSION = 2.5 +LIBSELINUX_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223 LIBSELINUX_LICENSE = Public Domain LIBSELINUX_LICENSE_FILES = LICENSE @@ -13,8 +13,10 @@ LIBSELINUX_DEPENDENCIES = libsepol pcre LIBSELINUX_INSTALL_STAGING = YES +#Because Glibc 2.22 fails to compile against -D_FILE_OFFSET_BITS64, CFLAGS have to be specified manually. LIBSELINUX_MAKE_OPTS = \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" \ LDFLAGS="$(TARGET_LDFLAGS) -lpcre -lpthread" \ ARCH=$(KERNEL_ARCH)