get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2223172,
    "url": "http://patchwork.ozlabs.org/api/patches/2223172/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260414160708.2041081-1-bernd@kuhls.net/",
    "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": "<20260414160708.2041081-1-bernd@kuhls.net>",
    "list_archive_url": null,
    "date": "2026-04-14T16:07:04",
    "name": "[1/5] package/strongswan: remove unneeded wolfSSL fix",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "539b0ab3242f9e77a10be2724e0b12a01a2e6836",
    "submitter": {
        "id": 86624,
        "url": "http://patchwork.ozlabs.org/api/people/86624/?format=api",
        "name": "Bernd Kuhls",
        "email": "bernd@kuhls.net"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260414160708.2041081-1-bernd@kuhls.net/mbox/",
    "series": [
        {
            "id": 499864,
            "url": "http://patchwork.ozlabs.org/api/series/499864/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=499864",
            "date": "2026-04-14T16:07:05",
            "name": "[1/5] package/strongswan: remove unneeded wolfSSL fix",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499864/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2223172/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2223172/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=Yr/eGGf2;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\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 4fw8LW4YFyz1y2d\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Wed, 15 Apr 2026 02:07:31 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id B8A9342B05;\n\tTue, 14 Apr 2026 16:07:29 +0000 (UTC)",
            "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id fo2nJJeKnT6B; Tue, 14 Apr 2026 16:07:29 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id D303542B0A;\n\tTue, 14 Apr 2026 16:07:28 +0000 (UTC)",
            "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n by lists1.osuosl.org (Postfix) with ESMTP id 80579283\n for <buildroot@buildroot.org>; Tue, 14 Apr 2026 16:07:27 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 7E28784CB0\n for <buildroot@buildroot.org>; Tue, 14 Apr 2026 16:07:27 +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 HL8guOJA9qCa for <buildroot@buildroot.org>;\n Tue, 14 Apr 2026 16:07:26 +0000 (UTC)",
            "from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp1.osuosl.org (Postfix) with ESMTPS id EDB6684CA8\n for <buildroot@buildroot.org>; Tue, 14 Apr 2026 16:07:25 +0000 (UTC)",
            "from fli4l.lan.fli4l (p54a1be9a.dip0.t-ipconnect.de\n [84.161.190.154])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id EBB78A4C0F00;\n Tue, 14 Apr 2026 18:07:08 +0200 (CEST)",
            "from bruckner.lan.fli4l ([192.168.1.1]:48116)\n by fli4l.lan.fli4l with esmtp (Exim 4.99.1)\n (envelope-from <bernd@kuhls.net>) id 1wCgI8-000000003ZX-0txE;\n Tue, 14 Apr 2026 16:07:08 +0000"
        ],
        "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 smtp4.osuosl.org D303542B0A",
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org EDB6684CA8"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1776182848;\n\tbh=elAHVHsOAayIdKGCbejZEVLdabDQCR1H7tQVyyjdUu8=;\n\th=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=Yr/eGGf2uXD5nAaexkK+8pza/1p27DJ+p2ETD0z5x9mfdu5nGfq4I5Fm98PYZG5Je\n\t wTAQOrTbWdFtVT+pFb7UNsXmf4R63Ei+JzwWYh5X1DnNyG9oBysHIQA7q44te0Aj1I\n\t cuGO3cpot6VWps5I6IVxG2N7TVPjignXLysFT0jdTnUomyXwCrco1qtfbLVPDhBL2+\n\t FiGeM9XltelNg83LLIyUMSkPilFwt0oNsVsndhFE63U3mjD9GeVD97q7RaEXZNW7MK\n\t BQ8Lihk6ptFesg2fnqvkA5P42OaYlzkSakeIqHKwP17hzb74OZAanK17bNJCGyG+dp\n\t cR3W8AC5R43Xw==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=85.13.140.57;\n helo=dd20012.kasserver.com; envelope-from=bernd@kuhls.net;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org EDB6684CA8",
        "From": "Bernd Kuhls <bernd@kuhls.net>",
        "To": "buildroot@buildroot.org",
        "Cc": "Dimitar Tomov <dimi@tpm.dev>,\n =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <jezz@sysmic.org>,\n Sergio Prado <sergio.prado@e-labworks.com>",
        "Date": "Tue, 14 Apr 2026 18:07:04 +0200",
        "Message-ID": "<20260414160708.2041081-1-bernd@kuhls.net>",
        "X-Mailer": "git-send-email 2.47.3",
        "MIME-Version": "1.0",
        "X-Spamd-Bar": "/",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=kuhls.net;\n s=kas202511301023; t=1776182829;\n bh=zASB5lP1pZ0nU2Hp6AH/YeXQvGKXGETNFIasg+7m4Fk=;\n h=From:To:Cc:Subject:Date:From;\n b=BFlKgkukknqkrQW0Nj5sfbiYIPpttgrYnFnP3LJlLqH6trv9l4kJEGGE3IBYpCk0W\n tXyv6gwzfck8TyNgJfRKWTwPuxEt0GdKNwFxk75rR1M6pKtoofirMReRzn8N7rQSHL\n vR4HOgV2/oi8bggbXhkKjkPa0qjGwqTyH6KBv890cgQvF7r2/YxkGPnITa3q+jCsqP\n WaAAdG6C+ITb7gjqx5UK7T+5/mrAVMq6W545CiZuWTcV2f6NEghtA1hoP1Tl7DNzNs\n RqtWdiFjUC/xa2eQXonB5RVE8Ko/8cti47BuaxU/0wzZ8OII4/JoOuXQuRuT+WXiTU\n qELZdI36DcYdw==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp1.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=kuhls.net",
            "smtp1.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256\n header.s=kas202511301023 header.b=BFlKgkuk"
        ],
        "Subject": "[Buildroot] [PATCH 1/5] package/strongswan: remove unneeded wolfSSL\n fix",
        "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=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "Using this defconfig\n\nBR2_x86_64=y\nBR2_TOOLCHAIN_EXTERNAL=y\nBR2_PER_PACKAGE_DIRECTORIES=y\nBR2_PACKAGE_STRONGSWAN=y\nBR2_PACKAGE_STRONGSWAN_WOLFSSL=y\n\napplied after 'git reset 10a70b1af67cf79986c2e401f7a54aa850ea82d6 --hard'\n\nreplicates the build error\nhttp://autobuild.buildroot.net/results/278b3f74c48c858ae368d59069752adb69c05246\n\nwhich was fixed in 2024 by\nhttps://gitlab.com/buildroot.org/buildroot/-/commit/89d512729cfa5b2ef5c5165492789ba4441add19\n\nNote: The git tree was reset to the commit right before the fix.\n\nInstead of using the fix mentioned above the build error is also fixed\nwhen the buildroot commit 6c183754342e6bb73aeab3c8731789c73fcae4ad is\ncherry-picked onto 10a70b1af67cf79986c2e401f7a54aa850ea82d6.\n\nThis means the build error mentioned above is really fixed by enabling\nBR2_PACKAGE_WOLFSSL_ALL. Therefore we can remove the content of commit\n89d512729cfa5b2ef5c5165492789ba4441add19.\n\nThis commit also prevents a build error in strongswan\n\nwolfssl_rsa_private_key.c: In function 'create_empty':\nwolfssl_rsa_private_key.c:450:18: error: 'RsaKey' has no member named 'rng'\n  450 |         this->rsa.rng = &this->rng;\n\ncaused by the upcoming bump of wolfSSL from 5.7.2 to 5.9.1 due to\nupstream commit\nhttps://github.com/wolfSSL/wolfssl/commit/cd88a8ae88bac13019689c087755d826145811bb\nwhich was first included in wolfSSL 5.9.0.\n\nSigned-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\n package/strongswan/strongswan.mk | 5 -----\n 1 file changed, 5 deletions(-)",
    "diff": "diff --git a/package/strongswan/strongswan.mk b/package/strongswan/strongswan.mk\nindex fd46445df3..bb5fd2d217 100644\n--- a/package/strongswan/strongswan.mk\n+++ b/package/strongswan/strongswan.mk\n@@ -101,11 +101,6 @@ STRONGSWAN_DEPENDENCIES += \\\n \t$(if $(BR2_PACKAGE_MARIADB),mariadb)\n endif\n \n-# https://github.com/strongswan/strongswan/issues/2410\n-ifeq ($(BR2_PACKAGE_STRONGSWAN_WOLFSSL),y)\n-STRONGSWAN_CONF_ENV += CPPFLAGS=\"$(TARGET_CPPFLAGS) -DWC_NO_RNG\"\n-endif\n-\n # disable connmark/forecast until net/if.h vs. linux/if.h conflict resolved\n # problem exist since linux 4.5 header changes\n STRONGSWAN_CONF_OPTS += \\\n",
    "prefixes": [
        "1/5"
    ]
}