From patchwork Fri Jul 27 16:12:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 143083 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1005409ljj; Fri, 27 Jul 2018 09:12:50 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfVGLZUMbEgL+CZ6bXIA19xVCKpXS4zr9YoYL42nvAbCTq3C6ok8lI4UY7nZA3a843gUaR8 X-Received: by 2002:a65:630e:: with SMTP id g14-v6mr6817157pgv.153.1532707970196; Fri, 27 Jul 2018 09:12:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532707970; cv=none; d=google.com; s=arc-20160816; b=Lm6zkSQCmYPilfy6GmiEt4ZsyBaunLNShZGa6sS0ZlTBzh0cneAZe/vi+rsitzR7/K ytJwC+InTW9lKBlJhYBg8hB9+aoXDIVl8A/fo1IcZ1u2S2UUT72KM3VUNZpLonXtGkmR VEA6dAteX2YznSynq/beQ2a1RjzxmHtBwqWCJLMZpqTfsiqHOpiWPUgO8G3i43M3aFXc iiuwNRdoteYpaKXnItO39XhSum4H28j0VbTpZQhmUrRI1a5e+H4DHAYRwMDO+KvRcF3T 2piQD/ad6VD1pQ+prnsbnAY09GTeBSMoC6eZWaJobH/ZlqhgOTQTNs/VuOGbbDPiwlX6 wWnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=uiBKSlqc72wCtuzVadW/+uad8ibvF84Vo4qMaJ8218g=; b=zrVd7MuXBUdj2HBR0E17oPSKncoHM1Bnh7tMEmOZlqE6Z3HEZ8X9LmvPFX85uwDClI bYp33c0a+hnE4Z+mfTa82hPsg9LmSKZ7xUkNIGR2IH27/x4/j9cf+E6FprQvTID/A+5E usN01ZaUhFHN7/T7DDTjNsPUg6nK2Tw/rK7rabiIehaP0hFGowAmYdMDlNWUNcnROzhm w/ACke3RvbnD9o3UlNDkdIcsyIztkOYRwdeagpFYaT9Rvqlev5zCO4z71T56/MvWPFMN JRSt+qilDFNeB+EttfQR1RfS6nZwocfEumQYog22a/W1EBJw5mU00CKOOCGtwUe4HoKN YoPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=v24CvvZ1; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id t6-v6si4180121pgk.215.2018.07.27.09.12.49; Fri, 27 Jul 2018 09:12:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=v24CvvZ1; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 6ECE078D69; Fri, 27 Jul 2018 16:12:47 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by mail.openembedded.org (Postfix) with ESMTP id D005A78D34 for ; Fri, 27 Jul 2018 16:12:45 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id s12-v6so5812823wmc.0 for ; Fri, 27 Jul 2018 09:12:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=0dLgL8Qii0LILQWQsqlXp7VdzwzYiKU0t8W9eGmOgS8=; b=v24CvvZ14wfKI+Tqwe8caoS55rDiWxeKx9LIl8DH77fCokeEJiB1Jodx+HWKjjLgDb k8os/uguhd9MzSLRM81yrE5ZaczDhKU0sowUqkGtNGovLGGxexcggLG7/HWmFn1yTJK9 5y1t62cZGgKElbvxwUZ1t7ePmp2SV/yOCaRsIuo66/763u2nnIKKFC+cFnasUaIr2kn6 5cFZcu+yMsB6MpOi32NQRnUMSbMWg8C1uRcps3FHqCNXInn6Imm/k9vKsUEIyNEv/TMh VikxRSnDYMpHkbu6CGaFJAgf5hyudEK2x/nFls2I+eNqKFgw71G7thvSFok/N/efVJap QuYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=0dLgL8Qii0LILQWQsqlXp7VdzwzYiKU0t8W9eGmOgS8=; b=CNnXCUQbewRgRXmyZF/93MXup0cG0ZGVkb5M50YQaRfU/PMUbRRddAxSIVNo3rwoSh HbR5KV2KWzZcVRq5bPJKeTZ3Xp/v0dNn97dQZ9b8mhpNR3B9eofvYZfLTFMMvS9oKU7g 2JvP0Ibs/v85t30EgWb4R2bweixy3o/xxbD4M+Ym77TW+Aee9Ut0xF40GlxaSbkCgAPu dCvqXkOhC9Jif8ZAtirYKeuqFQSVG6oJo3zVG+lbCzydEvq9099oedPIyj72A0MSAy8q x0O/9aQynEIvT9sQb052Aq6mXc5mv+QpvUn+XvRPBwlLcmC/gs78HxrlnSFfbvyEue1k //0A== X-Gm-Message-State: AOUpUlEmSNp3eHAGmDPHjUrGOcxS/pA8/wJsa0s/yzV/sHOyyDo5ZwPT BgFO25+Hulk2T4xDgX4i0PRgKiFMLF0= X-Received: by 2002:a1c:a009:: with SMTP id j9-v6mr4479198wme.132.1532707966104; Fri, 27 Jul 2018 09:12:46 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id b11-v6sm3287130wrv.82.2018.07.27.09.12.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jul 2018 09:12:45 -0700 (PDT) From: Ross Burton To: openembedded-devel@lists.openembedded.org Date: Fri, 27 Jul 2018 17:12:42 +0100 Message-Id: <20180727161242.5515-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [oe] [PATCH] pax-utils: add (from oe-core) X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Ross Burton --- .../recipes-devtools/pax-utils/pax-utils_1.2.2.bb | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 meta-oe/recipes-devtools/pax-utils/pax-utils_1.2.2.bb -- 2.11.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-devtools/pax-utils/pax-utils_1.2.2.bb b/meta-oe/recipes-devtools/pax-utils/pax-utils_1.2.2.bb new file mode 100644 index 0000000000..9635a5e708 --- /dev/null +++ b/meta-oe/recipes-devtools/pax-utils/pax-utils_1.2.2.bb @@ -0,0 +1,36 @@ +SUMMARY = "Security-focused ELF files checking tool" +DESCRIPTION = "This is a small set of various PaX aware and related \ +utilities for ELF binaries. It can check ELF binary files and running \ +processes for issues that might be relevant when using ELF binaries \ +along with PaX, such as non-PIC code or executable stack and heap." +HOMEPAGE = "http://www.gentoo.org/proj/en/hardened/pax-utils.xml" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" + +SRC_URI = "https://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz" +SRC_URI[md5sum] = "a580468318f0ff42edf4a8cd314cc942" +SRC_URI[sha256sum] = "7f4a7f8db6b4743adde7582fa48992ad01776796fcde030683732f56221337d9" + +RDEPENDS_${PN} += "bash" + +export GNULIB_OVERRIDES_WINT_T = "0" + +do_configure_prepend() { + touch ${S}/NEWS ${S}/AUTHORS ${S}/ChangeLog ${S}/README +} + +do_install() { + oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install +} + +BBCLASSEXTEND = "native" + +inherit autotools pkgconfig + +PACKAGECONFIG ??= "" + +PACKAGECONFIG[libcap] = "--with-caps, --without-caps, libcap" +PACKAGECONFIG[libseccomp] = "--with-seccomp, --without-seccomp, libseccomp" +PACKAGECONFIG[pyelftools] = "--with-python, --without-python,, pyelftools" + +EXTRA_OECONF += "--enable-largefile"