get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2217844,
    "url": "http://patchwork.ozlabs.org/api/patches/2217844/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/xxphlblukou5lkvmaskvh5ojthysbluh7shjhw6fyjd4csqnna@oyjufu7hs4wm/",
    "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": "<xxphlblukou5lkvmaskvh5ojthysbluh7shjhw6fyjd4csqnna@oyjufu7hs4wm>",
    "list_archive_url": null,
    "date": "2026-03-30T18:25:54",
    "name": "[v2] package/libcurl: Use certificate bundle conditionally",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "3ec30de25ebcc303dc3cbc85409ba824e01b3e2d",
    "submitter": {
        "id": 64847,
        "url": "http://patchwork.ozlabs.org/api/people/64847/?format=api",
        "name": "Ignacy Gawędzki",
        "email": "ignacy.gawedzki@green-communications.fr"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/xxphlblukou5lkvmaskvh5ojthysbluh7shjhw6fyjd4csqnna@oyjufu7hs4wm/mbox/",
    "series": [
        {
            "id": 498075,
            "url": "http://patchwork.ozlabs.org/api/series/498075/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=498075",
            "date": "2026-03-30T18:25:54",
            "name": "[v2] package/libcurl: Use certificate bundle conditionally",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/498075/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217844/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217844/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@buildroot.org>",
        "X-Original-To": [
            "incoming-buildroot@patchwork.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Delivered-To": [
            "patchwork-incoming-buildroot@legolas.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=k+LpcJ8l;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=140.211.166.136; helo=smtp3.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fl07G6kptz1xrn\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Tue, 31 Mar 2026 05:26:02 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id DA19260DD2;\n\tMon, 30 Mar 2026 18:26:00 +0000 (UTC)",
            "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id PYVFWSEn5SuX; Mon, 30 Mar 2026 18:26:00 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 141B160BDE;\n\tMon, 30 Mar 2026 18:26:00 +0000 (UTC)",
            "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n by lists1.osuosl.org (Postfix) with ESMTP id 6BDED10F\n for <buildroot@buildroot.org>; Mon, 30 Mar 2026 18:25:58 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 5103381160\n for <buildroot@buildroot.org>; Mon, 30 Mar 2026 18:25:58 +0000 (UTC)",
            "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id lkfnkp2USCZD for <buildroot@buildroot.org>;\n Mon, 30 Mar 2026 18:25:57 +0000 (UTC)",
            "from smtp3-g21.free.fr (smtp3-g21.free.fr\n [IPv6:2a01:e0c:1:1599::12])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 2E83B80FF5\n for <buildroot@buildroot.org>; Mon, 30 Mar 2026 18:25:56 +0000 (UTC)",
            "from mail.qult.net (unknown [IPv6:2a01:e34:ec12:1270::2])\n by smtp3-g21.free.fr (Postfix) with ESMTPS id 19A2E13F89C\n for <buildroot@buildroot.org>; Mon, 30 Mar 2026 20:25:55 +0200 (CEST)",
            "from zenon.in.qult.net ([192.168.64.1] helo=zenon.qult.net)\n by mail.qult.net with esmtps (TLS1.3) tls\n TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97)\n (envelope-from <ignacy.gawedzki@green-communications.fr>)\n id 1w7HJC-0000000B8Tp-3nHq for buildroot@buildroot.org;\n Mon, 30 Mar 2026 20:25:54 +0200",
            "from ig by zenon.qult.net with local (Exim 4.98.2)\n (envelope-from <ignacy.gawedzki@green-communications.fr>)\n id 1w7HJC-0000000GjYs-1QuB for buildroot@buildroot.org;\n Mon, 30 Mar 2026 20:25:54 +0200"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp3.osuosl.org 141B160BDE",
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 2E83B80FF5"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1774895160;\n\tbh=T3NZmG7qIykHLSDSVIPkJflTQ+86qPajV1wEK6Xeixk=;\n\th=Date:From:To:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=k+LpcJ8lXdhubeWxlP+Q6YvE66isE0sKA/JP6XpJVAjgaly/ZiKJmIg8HOrM6oJzl\n\t NvWKvgKwjA9pQnNCqPZ5acdlMq7h5AZriAgaUXdHTm82yaT2+ikKFaq2+602qTrfWA\n\t UaPVJo+u/GJZLjl1FHptsJJ1IxaQtXrEQJHeh3KEidOWQwstkqRH06eAuOcU2stNbe\n\t lIbphqU/+dTVVLA2uIYt0CTdAMBxuhraEWsXMBwdESO7vt0jHecRY46aiag0BkMV8z\n\t d2zJE0B0JGKCjNxCo8zoLxbsRrOxmXRL4j5fLH8b3+VK+AepvZyrWW28eJYWLwqksi\n\t Ri3LRja5J/R6A==",
        "Received-SPF": "Softfail (mailfrom) identity=mailfrom;\n client-ip=2a01:e0c:1:1599::12; helo=smtp3-g21.free.fr;\n envelope-from=ignacy.gawedzki@green-communications.fr; receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org 2E83B80FF5",
        "Date": "Mon, 30 Mar 2026 20:25:54 +0200",
        "From": "Ignacy =?utf-8?b?R2F3xJlkemtp?=\n <ignacy.gawedzki@green-communications.fr>",
        "To": "buildroot@buildroot.org",
        "Message-ID": "<xxphlblukou5lkvmaskvh5ojthysbluh7shjhw6fyjd4csqnna@oyjufu7hs4wm>",
        "MIME-Version": "1.0",
        "Content-Disposition": "inline",
        "X-Mailman-Original-Authentication-Results": "smtp1.osuosl.org;\n dmarc=none (p=none dis=none)\n header.from=green-communications.fr",
        "Subject": "[Buildroot] [PATCH v2] package/libcurl: Use certificate bundle\n conditionally",
        "X-BeenThere": "buildroot@buildroot.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.buildroot.org>",
        "List-Unsubscribe": "<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.buildroot.org/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@buildroot.org>",
        "List-Help": "<mailto:buildroot-request@buildroot.org?subject=help>",
        "List-Subscribe": "<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"iso-8859-2\"",
        "Content-Transfer-Encoding": "quoted-printable",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "Configure with --with-ca-bundle option only if package ca-certificates\nis selected, otherwise curl will fail connecting with HTTPS, since the\nspecified /etc/ssl/certs/ca-certificates.crt file does not exist.\n\nThe use of --with-ca-bundle was introduced by the following commit:\n\"5a63ee3c09 package/libcurl: also specify the CA bundle location\"\n\nSigned-off-by: Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr>\n---\n package/libcurl/libcurl.mk | 6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk\nindex 3d00a4a33a..3410317b6d 100644\n--- a/package/libcurl/libcurl.mk\n+++ b/package/libcurl/libcurl.mk\n@@ -58,8 +58,10 @@ endif\n ifeq ($(BR2_PACKAGE_LIBCURL_OPENSSL),y)\n LIBCURL_DEPENDENCIES += openssl\n LIBCURL_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr \\\n-\t--with-ca-path=/etc/ssl/certs \\\n-\t--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt\n+\t--with-ca-path=/etc/ssl/certs\n+ifeq ($(BR2_PACKAGE_CA_CERTIFICATES),y)\n+LIBCURL_CONF_OPTS += --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt\n+endif\n else\n LIBCURL_CONF_OPTS += --without-openssl\n endif\n",
    "prefixes": [
        "v2"
    ]
}