get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/814307/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 814307,
    "url": "http://patchwork.ozlabs.org/api/patches/814307/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170915142437.10131-1-peter@korsgaard.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": "<20170915142437.10131-1-peter@korsgaard.com>",
    "list_archive_url": null,
    "date": "2017-09-15T14:24:37",
    "name": "chrony: add optional seccomp support",
    "commit_ref": "883eb058afeaa345886d0bb617f5134ca206cd93",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "fcebca8fa6483aec37b893ee2d431b5185b3b31c",
    "submitter": {
        "id": 42365,
        "url": "http://patchwork.ozlabs.org/api/people/42365/?format=api",
        "name": "Peter Korsgaard",
        "email": "peter@korsgaard.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170915142437.10131-1-peter@korsgaard.com/mbox/",
    "series": [
        {
            "id": 3320,
            "url": "http://patchwork.ozlabs.org/api/series/3320/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=3320",
            "date": "2017-09-15T14:24:37",
            "name": "chrony: add optional seccomp support",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/3320/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/814307/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/814307/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"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"ukgILKeN\"; dkim-atps=neutral"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xtyNT6ZFJz9sPs\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 00:25:12 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 0CBB28AF4E;\n\tFri, 15 Sep 2017 14:25:08 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id Muz7ZsCEwqnB; Fri, 15 Sep 2017 14:25:06 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 5AB6C8AF22;\n\tFri, 15 Sep 2017 14:25:06 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id DAC721C3F99\n\tfor <buildroot@lists.busybox.net>;\n\tFri, 15 Sep 2017 14:25:04 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id D414F89E7C\n\tfor <buildroot@lists.busybox.net>;\n\tFri, 15 Sep 2017 14:25:04 +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 YnR8602Z73Bv for <buildroot@lists.busybox.net>;\n\tFri, 15 Sep 2017 14:25:03 +0000 (UTC)",
            "from mail-wm0-f67.google.com (mail-wm0-f67.google.com\n\t[74.125.82.67])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 7A76B89E36\n\tfor <buildroot@buildroot.org>; Fri, 15 Sep 2017 14:25:03 +0000 (UTC)",
            "by mail-wm0-f67.google.com with SMTP id r136so2928969wmf.3\n\tfor <buildroot@buildroot.org>; Fri, 15 Sep 2017 07:25:03 -0700 (PDT)",
            "from dell.be.48ers.dk ([91.183.172.93])\n\tby smtp.gmail.com with ESMTPSA id\n\te12sm724358edj.88.2017.09.15.07.24.40\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tFri, 15 Sep 2017 07:24:40 -0700 (PDT)",
            "from peko by dell.be.48ers.dk with local (Exim 4.88)\n\t(envelope-from <peko@dell.be.48ers.dk>)\n\tid 1dsrXr-0002e7-6h; Fri, 15 Sep 2017 16:24:39 +0200"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id;\n\tbh=5CmI1ddyriz8e4MNEkzPvKIlyadtMStcz87GVoKnsyI=;\n\tb=ukgILKeNtXEUB1aItuhtZLwNmPPCrfPfBrKe2s5OpYlo9MKHPp0felKkvFhgQFtG0u\n\toyS3kokxytukTfc71nZa6SMLQNhdArEiA6wZFLNCir4KzRpi0K0KAYZ+zu+9Yvp+Sc9V\n\tGe0JK165TrZIdRTXe+Kpo7sp6ZHnWw6lyCq8egyx7J3X1BoRIX9K383gB72IBGYQ7TlY\n\tQZNDozBlyX16YVA05LRr3r9EEcolX3U0cujxyBvwbwrkxmsUVFrPWlVdv+0vYp75olPK\n\tD2JTe2f4E9Zg8GTnPZvTr/PgOdOat3xp/vGrEjMRKqp7AugJH15mUjk7pfZRNf0TwGI4\n\tN5fw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id;\n\tbh=5CmI1ddyriz8e4MNEkzPvKIlyadtMStcz87GVoKnsyI=;\n\tb=s5xQe3wRWukSk1IohV1VFYvCURgupoVW0ThmYN1WvluckxQ2gR9WzFQIuzZNXAJdak\n\tLf/KgKGcqEbRpsmprdqfiIDqMuX1yrHkyQiLOEvdYIpg9eIcfmTQVCnmyshy6uOz7EFn\n\tmeGuqj53ATcLMcmIjr01yWu2Nm6dGngYkMTvyTzU50BruwxJf0KR1HknfnqVFx07/Kw8\n\tz/CpkyRD5K7fx9HAbt3lz8vTfjyv338FRJSBNpVfS2/ENYo/LSXAbnpa6vW7C62qOVlO\n\toHo98PWTCrag/T3Vol93qrU3luX+PQ87bo+y3qiZFwTQF8xaciU0KBUcmA5G650bcZXy\n\t0IrQ==",
        "X-Gm-Message-State": "AHPjjUiSHyb/vh/hK//FHUqE7P5z4Dwll6T3vKkQ4ioM0E/wY3/s18pI\n\td/yoscuzQgPrQzN5P3w=",
        "X-Google-Smtp-Source": "ADKCNb5XhZKy0Hb/Fo6t7FrQ89WvFV80U/X4aq1PZzcoSGB50/fSEm3nS+VXRWayUoC4jgNbtR+ljg==",
        "X-Received": "by 10.80.213.26 with SMTP id u26mr20414435edi.87.1505485501480; \n\tFri, 15 Sep 2017 07:25:01 -0700 (PDT)",
        "From": "Peter Korsgaard <peter@korsgaard.com>",
        "To": "buildroot@buildroot.org",
        "Date": "Fri, 15 Sep 2017 16:24:37 +0200",
        "Message-Id": "<20170915142437.10131-1-peter@korsgaard.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "Subject": "[Buildroot] [PATCH] chrony: add optional seccomp support",
        "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": "seccomp support has been available since chrony-2.2\n\nSigned-off-by: Peter Korsgaard <peter@korsgaard.com>\n---\n package/chrony/chrony.mk | 8 +++++++-\n 1 file changed, 7 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/package/chrony/chrony.mk b/package/chrony/chrony.mk\nindex 3b10c8cbff..e78d4b4857 100644\n--- a/package/chrony/chrony.mk\n+++ b/package/chrony/chrony.mk\n@@ -13,7 +13,6 @@ CHRONY_CONF_OPTS = \\\n \t--host-system=Linux \\\n \t--host-machine=$(BR2_ARCH) \\\n \t--prefix=/usr \\\n-\t--without-seccomp \\\n \t--without-tomcrypt\n \n ifeq ($(BR2_PACKAGE_LIBCAP),y)\n@@ -28,6 +27,13 @@ else\n CHRONY_CONF_OPTS += --without-nss\n endif\n \n+ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)\n+CHRONY_CONF_OPTS += --enable-scfilter\n+CHRONY_DEPENDENCIES += libseccomp\n+else\n+CHRONY_CONF_OPTS += --without-seccomp\n+endif\n+\n ifeq ($(BR2_PACKAGE_READLINE),y)\n CHRONY_DEPENDENCIES += readline\n else\n",
    "prefixes": []
}