get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2215824,
    "url": "http://patchwork.ozlabs.org/api/patches/2215824/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/dpzpiofmvjr7qshzhveo3ebyu5igb2rv3u25ti56huo4axz3m3@mqub7vltk6uv/",
    "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": "<dpzpiofmvjr7qshzhveo3ebyu5igb2rv3u25ti56huo4axz3m3@mqub7vltk6uv>",
    "list_archive_url": null,
    "date": "2026-03-25T11:26:12",
    "name": "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/dpzpiofmvjr7qshzhveo3ebyu5igb2rv3u25ti56huo4axz3m3@mqub7vltk6uv/mbox/",
    "series": [
        {
            "id": 497425,
            "url": "http://patchwork.ozlabs.org/api/series/497425/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=497425",
            "date": "2026-03-25T11:26:12",
            "name": "package/libcurl: Use certificate bundle conditionally",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497425/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2215824/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2215824/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=Lf0/argy;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::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 4fgl3M5tYDz1xy3\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Wed, 25 Mar 2026 22:26:23 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id AD8376133E;\n\tWed, 25 Mar 2026 11:26:21 +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 wNIHmugjfFOU; Wed, 25 Mar 2026 11:26:19 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id C10F661327;\n\tWed, 25 Mar 2026 11:26:19 +0000 (UTC)",
            "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n by lists1.osuosl.org (Postfix) with ESMTP id E1C3CF5\n for <buildroot@buildroot.org>; Wed, 25 Mar 2026 11:26:17 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id D35DA8376B\n for <buildroot@buildroot.org>; Wed, 25 Mar 2026 11:26:17 +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 iLV7XQfcEgnO for <buildroot@buildroot.org>;\n Wed, 25 Mar 2026 11:26:17 +0000 (UTC)",
            "from smtp6-g21.free.fr (smtp6-g21.free.fr\n [IPv6:2a01:e0c:1:1599::15])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 9A24C83760\n for <buildroot@buildroot.org>; Wed, 25 Mar 2026 11:26:15 +0000 (UTC)",
            "from mail.qult.net (unknown [IPv6:2a01:e34:ec12:1270::2])\n by smtp6-g21.free.fr (Postfix) with ESMTPS id 053C178050F\n for <buildroot@buildroot.org>; Wed, 25 Mar 2026 12:26:12 +0100 (CET)",
            "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 1w5MNI-0000000Gwvj-3Pi3 for buildroot@buildroot.org;\n Wed, 25 Mar 2026 12:26:12 +0100",
            "from ig by zenon.qult.net with local (Exim 4.98.2)\n (envelope-from <ignacy.gawedzki@green-communications.fr>)\n id 1w5MNI-00000006CSk-1oc7 for buildroot@buildroot.org;\n Wed, 25 Mar 2026 12:26:12 +0100"
        ],
        "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 C10F661327",
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 9A24C83760"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1774437979;\n\tbh=QGiZSZIBlCFygYfcuP+XGPhFwxvBhdBJP9U1WI4HGdQ=;\n\th=Date:From:To:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=Lf0/argyS2I3PAbU1UnOGo2Txpa7cDLH6wdGblEeBFcE9hHngn+VBIXflk/568t2E\n\t XR3X9/daQu7i+4zoszQtafV59CR56BBrFB6FhOQQxqr+qiLsiFyDQIDg1oRxTj+yYr\n\t jTmh8/bHmF3HKLZ2NMo2AjZoVXXz0If8IBjrheiPxBHv6v8kCColDN3hA1S5c5wfEm\n\t yoUx+wSDo+T1ou60rukcnqwJgzgBPSLYr4HDjRiovRzQLt41NgER2w/i7VIUE+bdPI\n\t q1TLAuchRXv9M42BVlkMMTymiqyGURs0uaV4HI9GOjzpBv+j9hPYYavEPU/jPNxlg5\n\t xsvi+BxjeLtCA==",
        "Received-SPF": "Softfail (mailfrom) identity=mailfrom;\n client-ip=2a01:e0c:1:1599::15; helo=smtp6-g21.free.fr;\n envelope-from=ignacy.gawedzki@green-communications.fr; receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org 9A24C83760",
        "Date": "Wed, 25 Mar 2026 12:26:12 +0100",
        "From": "Ignacy =?utf-8?b?R2F3xJlkemtp?=\n <ignacy.gawedzki@green-communications.fr>",
        "To": "buildroot@buildroot.org",
        "Message-ID": "<dpzpiofmvjr7qshzhveo3ebyu5igb2rv3u25ti56huo4axz3m3@mqub7vltk6uv>",
        "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] 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\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": []
}