Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/495244/?format=api
{ "id": 495244, "url": "http://patchwork.ozlabs.org/api/patches/495244/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/1436905227-26937-15-git-send-email-clayton.shotwell@rockwellcollins.com/", "project": { "id": 27, "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api", "name": "Buildroot development", "link_name": "buildroot", "list_id": "buildroot.buildroot.org", "list_email": "buildroot@buildroot.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1436905227-26937-15-git-send-email-clayton.shotwell@rockwellcollins.com>", "list_archive_url": null, "date": "2015-07-14T20:20:26", "name": "[v9,14/15] cpio: new package", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "a3fafcedf92554efef3095f4fd39e5989687f949", "submitter": { "id": 64481, "url": "http://patchwork.ozlabs.org/api/people/64481/?format=api", "name": "Clayton Shotwell", "email": "clayton.shotwell@rockwellcollins.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/1436905227-26937-15-git-send-email-clayton.shotwell@rockwellcollins.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/495244/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/495244/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<buildroot-bounces@busybox.net>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "buildroot@lists.busybox.net" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "buildroot@osuosl.org" ], "Received": [ "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ozlabs.org (Postfix) with ESMTP id 0BEDD1402AC\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 15 Jul 2015 06:21:43 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 592BFA4373;\n\tTue, 14 Jul 2015 20:21:42 +0000 (UTC)", "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id jZ5J5A3kGMi0; Tue, 14 Jul 2015 20:21:39 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id CA6EDA43CD;\n\tTue, 14 Jul 2015 20:21:08 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 52D571C1FCC\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 14 Jul 2015 20:21:00 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 4EC2392094\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 14 Jul 2015 20:21:00 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id NVt-bGF4xIop for <buildroot@lists.busybox.net>;\n\tTue, 14 Jul 2015 20:20:59 +0000 (UTC)", "from secvs01.rockwellcollins.com (secvs01.rockwellcollins.com\n\t[205.175.225.240])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 478FA92045\n\tfor <buildroot@buildroot.org>; Tue, 14 Jul 2015 20:20:59 +0000 (UTC)", "from unknown (HELO crulimr02.rockwellcollins.com)\n\t([131.198.26.125])\n\tby secvs01.rockwellcollins.com with ESMTP; 14 Jul 2015 15:20:58 -0500" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "X-Received": "from thehammer.rockwellcollins.com (unknown [192.168.141.197])\n\tby crulimr02.rockwellcollins.com (Postfix) with ESMTP id A0A4460186; \n\tTue, 14 Jul 2015 15:20:58 -0500 (CDT)", "From": "Clayton Shotwell <clayton.shotwell@rockwellcollins.com>", "To": "buildroot@buildroot.org", "Date": "Tue, 14 Jul 2015 15:20:26 -0500", "Message-Id": "<1436905227-26937-15-git-send-email-clayton.shotwell@rockwellcollins.com>", "X-Mailer": "git-send-email 1.9.1", "In-Reply-To": "<1436905227-26937-1-git-send-email-clayton.shotwell@rockwellcollins.com>", "References": "<1436905227-26937-1-git-send-email-clayton.shotwell@rockwellcollins.com>", "Cc": "Clayton Shotwell <clayton.shotwell@rockwellcollins.com>", "Subject": "[Buildroot] [PATCH v9 14/15] cpio: new package", "X-BeenThere": "buildroot@busybox.net", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>", "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>", "List-Archive": "<http://lists.busybox.net/pipermail/buildroot/>", "List-Post": "<mailto:buildroot@busybox.net>", "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>", "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "buildroot-bounces@busybox.net", "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>" }, "content": "Adding the cpio archive utility for the target and host. Patches have\nbeen pulled from ArchLinux and Gentoo to fix CVE issues and compile\nissues.\n\nSigned-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>\n\n---\nChanges v8 -> v9:\n - Fixed commit message to say patches came from Gentoo and not Debian\n (Suggested by Samuel)\n\nChanges v7 -> v8:\n - Corrected the license to be GPLv3+ (Suggested by Thomas P.)\n - Changed all of the patches to pull from the various source locations\n since they were not being modified at all (Suggested by Thomas P.)\n\nChanges v6 -> v7:\n - Added dependency on argp-standalone package for uclibc toolchains\n to fix build error (Clayton S.)\n - Added hash file (Clayton S.)\n\nChanges v5 -> v6:\n - No changes\n---\n package/Config.in | 1 +\n package/Config.in.host | 1 +\n package/cpio/Config.in | 8 ++++++++\n package/cpio/Config.in.host | 6 ++++++\n package/cpio/cpio.hash | 9 +++++++++\n package/cpio/cpio.mk | 27 +++++++++++++++++++++++++++\n 6 files changed, 52 insertions(+)\n create mode 100644 package/cpio/Config.in\n create mode 100644 package/cpio/Config.in.host\n create mode 100644 package/cpio/cpio.hash\n create mode 100644 package/cpio/cpio.mk", "diff": "diff --git a/package/Config.in b/package/Config.in\nindex 1fe7850..ed40064 100644\n--- a/package/Config.in\n+++ b/package/Config.in\n@@ -151,6 +151,7 @@ endmenu\n menu \"Filesystem and flash utilities\"\n \tsource \"package/btrfs-progs/Config.in\"\n \tsource \"package/cifs-utils/Config.in\"\n+\tsource \"package/cpio/Config.in\"\n \tsource \"package/cramfs/Config.in\"\n \tsource \"package/curlftpfs/Config.in\"\n \tsource \"package/dosfstools/Config.in\"\ndiff --git a/package/Config.in.host b/package/Config.in.host\nindex 1e047aa..9a4f176 100644\n--- a/package/Config.in.host\n+++ b/package/Config.in.host\n@@ -1,6 +1,7 @@\n menu \"Host utilities\"\n \n \tsource \"package/checkpolicy/Config.in.host\"\n+\tsource \"package/cpio/Config.in.host\"\n \tsource \"package/cramfs/Config.in.host\"\n \tsource \"package/dfu-util/Config.in.host\"\n \tsource \"package/dos2unix/Config.in.host\"\ndiff --git a/package/cpio/Config.in b/package/cpio/Config.in\nnew file mode 100644\nindex 0000000..1787f39\n--- /dev/null\n+++ b/package/cpio/Config.in\n@@ -0,0 +1,8 @@\n+config BR2_PACKAGE_CPIO\n+\tbool \"cpio\"\n+\t# Need argp.h support\n+\tselect BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC\n+\thelp\n+\t cpio archive utility for creation and extraction.\n+\n+\t https://www.gnu.org/software/cpio/\ndiff --git a/package/cpio/Config.in.host b/package/cpio/Config.in.host\nnew file mode 100644\nindex 0000000..e927952\n--- /dev/null\n+++ b/package/cpio/Config.in.host\n@@ -0,0 +1,6 @@\n+config BR2_PACKAGE_HOST_CPIO\n+\tbool \"host cpio\"\n+\thelp\n+\t cpio archive utility for creation and extraction.\n+\n+\t https://www.gnu.org/software/cpio/\ndiff --git a/package/cpio/cpio.hash b/package/cpio/cpio.hash\nnew file mode 100644\nindex 0000000..c52e86a\n--- /dev/null\n+++ b/package/cpio/cpio.hash\n@@ -0,0 +1,9 @@\n+# Locally calculated after checking pgp signature\n+sha256\t601b1d774cd6e4cd39416203c91ec59dbd65dd27d79d75e1a9b89497ea643978\tcpio-2.11.tar.gz\n+\n+# Locally calculated\n+sha256 903fb87e00813daf257be5d1680ad93770d320c707ab2ec345486958b2e8a21f cpio-2.11-stdio.in.patch\n+sha256 6b6505a97dda75d24627d9ba461b45ab9ea4764e1a2788d6986eb2978434f25d cpio-2.11-CVE-2014-9112.patch\n+sha256 0cf7c9749f1c1610aaf46e17eacd6614c5ef8c2114236bcdd08d53e929020ae5 cpio-2.11-testsuite-CVE-2014-9112.patch\n+sha256 f1f587f70a38363691cbd4dfe89f962c8c57266277f0fbc781910c6a7065be7e cpio-2.11-check_for_symlinks-CVE-2015-1197.patch\n+sha256 b3d317e3c5705d7f9e503f56540baf3cb6dd1d0e9be0261151a5b08378c2d98c cpio-2.11-stat.patch\ndiff --git a/package/cpio/cpio.mk b/package/cpio/cpio.mk\nnew file mode 100644\nindex 0000000..67871e2\n--- /dev/null\n+++ b/package/cpio/cpio.mk\n@@ -0,0 +1,27 @@\n+################################################################################\n+#\n+# cpio\n+#\n+################################################################################\n+\n+CPIO_VERSION = 2.11\n+CPIO_SITE = http://ftp.gnu.org/gnu/cpio\n+CPIO_LICENSE = GPLv3+\n+CPIO_LICENSE_FILES = COPYING\n+CPIO_PATCH = \\\n+\thttps://projects.archlinux.org/svntogit/packages.git/plain/cpio/trunk/cpio-2.11-stdio.in.patch \\\n+\thttps://projects.archlinux.org/svntogit/packages.git/plain/cpio/trunk/cpio-2.11-CVE-2014-9112.patch \\\n+\thttps://projects.archlinux.org/svntogit/packages.git/plain/cpio/trunk/cpio-2.11-testsuite-CVE-2014-9112.patch \\\n+\thttps://projects.archlinux.org/svntogit/packages.git/plain/cpio/trunk/cpio-2.11-check_for_symlinks-CVE-2015-1197.patch \\\n+\thttps://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-arch/cpio/files/cpio-2.11-stat.patch\n+\n+# cpio uses argp.h which is not provided by uclibc by default.\n+# Use the argp-standalone package to provide this but make sure\n+# the host package does not try to use the host version.\n+ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)\n+CPIO_DEPENDENCIES += argp-standalone\n+HOST_CPIO_DEPENDENCIES =\n+endif\n+\n+$(eval $(autotools-package))\n+$(eval $(host-autotools-package))\n", "prefixes": [ "v9", "14/15" ] }