get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2217316,
    "url": "http://patchwork.ozlabs.org/api/patches/2217316/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260327212816.1228111-2-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": "<20260327212816.1228111-2-bernd@kuhls.net>",
    "list_archive_url": null,
    "date": "2026-03-27T21:28:16",
    "name": "[2/2] package/leafnode2: bump version to 2.0.0.alpha202601",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "4d028cce3e8534fc96ed842faa89203b4bff3fb5",
    "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/20260327212816.1228111-2-bernd@kuhls.net/mbox/",
    "series": [
        {
            "id": 497831,
            "url": "http://patchwork.ozlabs.org/api/series/497831/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=497831",
            "date": "2026-03-27T21:28:15",
            "name": "[1/2] package/leafnode2: fix build without pod2man",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497831/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217316/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217316/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=InkEview;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\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 4fjDKM4ZjBz1y1x\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Sat, 28 Mar 2026 08:28:39 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 49F2381C21;\n\tFri, 27 Mar 2026 21:28:37 +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 OoUFqh_fujp9; Fri, 27 Mar 2026 21:28:36 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 5D58E81A16;\n\tFri, 27 Mar 2026 21:28:36 +0000 (UTC)",
            "from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n by lists1.osuosl.org (Postfix) with ESMTP id C37472AA\n for <buildroot@buildroot.org>; Fri, 27 Mar 2026 21:28:34 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id B568F40DD9\n for <buildroot@buildroot.org>; Fri, 27 Mar 2026 21:28:34 +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 8LBOl-GCWy9T for <buildroot@buildroot.org>;\n Fri, 27 Mar 2026 21:28:33 +0000 (UTC)",
            "from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp4.osuosl.org (Postfix) with ESMTPS id A56D340DD6\n for <buildroot@buildroot.org>; Fri, 27 Mar 2026 21:28:33 +0000 (UTC)",
            "from fli4l.lan.fli4l (p5b3a0ba3.dip0.t-ipconnect.de [91.58.11.163])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id E4E5DA4C1AED\n for <buildroot@buildroot.org>; Fri, 27 Mar 2026 22:28:16 +0100 (CET)",
            "from bruckner.lan.fli4l ([192.168.1.1]:37436)\n by fli4l.lan.fli4l with esmtp (Exim 4.99.1)\n (envelope-from <bernd@kuhls.net>) id 1w6Ej2-000000001xn-2KJC\n for buildroot@buildroot.org; Fri, 27 Mar 2026 21:28:16 +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 smtp1.osuosl.org 5D58E81A16",
            "OpenDKIM Filter v2.11.0 smtp4.osuosl.org A56D340DD6"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1774646916;\n\tbh=pjiWQeNvvJ8Z1fDQJG6OjAl7SX6VKqSF6ISmYFYi/x0=;\n\th=From:To:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From;\n\tb=InkEview6rg0RO6Aqhe8sdsT2KGzmqOcNJlBvy4XvOc+mgGA7j4dMxETQmP2PbxEe\n\t riGNF3wHPwbEnqujbF0ig+M4i/HxPAGqEEqmvwPsT/wKpLpJf9izB1KduHySbeF9EH\n\t yjhnFqA1mLdwXY5or5nH30aUUrwkAGfI4bfEBKJV09fZG+KuMESL8OvStMlDYlqSqI\n\t SSsdgpcKjIAxo37OZYvDvghGx0tsH/UPwSCBhgbyCbLQPgEipOJhUXlOwvXIbhpW4K\n\t Vpmpi1eqc3lnO/0ePpDPK6wXWaGeNu3Lfcw7YAC18Ku94Wri/xY06ITjoaYAnyvtAF\n\t 4VgVEQ5uOAQHA==",
        "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 smtp4.osuosl.org A56D340DD6",
        "From": "Bernd Kuhls <bernd@kuhls.net>",
        "To": "buildroot@buildroot.org",
        "Date": "Fri, 27 Mar 2026 22:28:16 +0100",
        "Message-ID": "<20260327212816.1228111-2-bernd@kuhls.net>",
        "X-Mailer": "git-send-email 2.47.3",
        "In-Reply-To": "<20260327212816.1228111-1-bernd@kuhls.net>",
        "References": "<20260327212816.1228111-1-bernd@kuhls.net>",
        "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=1774646896;\n bh=m+wqcUeXctR7U362wwsYBlookrwxiRbarYBUtF9La7I=;\n h=From:To:Subject:Date:In-Reply-To:From;\n b=aw9SfEpv201DbTPNTJT8HfwtDAEPBD5ySi1GEAe328ctb3O8G1LTva1KDNQVRaVL+\n FLWorXM75Jmk3abU1zQQxaUCYUSm07NirPNr389TzVKc0OZGUtYRdqRPcYfO6OXO62\n 0TsIXSMzv5VdPImtPWnHriyG/kTSaVE9Yxh0KApSQh6dvSlebnvvt133bqbueUg3e+\n JydllqB7cU2zTyF0ZR6bWaerKATcQz2LPQ3kkmeCRA60NuCNl2swCCOlGY4MLIcbN8\n Wn/b4wLmWMJhXL583iCeMvlslBOpE0m1JnYFUahHRFOVRzRD4mzs2n/+cy1eid7RPz\n s5U1MdsjJ914w==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp4.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=kuhls.net",
            "smtp4.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=aw9SfEpv"
        ],
        "Subject": "[Buildroot] [PATCH 2/2] package/leafnode2: bump version to\n 2.0.0.alpha202601",
        "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": "https://gitlab.com/leafnode-2/leafnode-2/-/blob/leafnode-2.0.0.alpha202601/NEWS\n\nRebased patch 0001.\n\nUpstream switched from pcre to pcre2.\n\nSigned-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\n package/leafnode2/0001-cross_makefile.patch |  7 ++++---\n package/leafnode2/Config.in                 |  2 +-\n package/leafnode2/leafnode2.hash            |  2 +-\n package/leafnode2/leafnode2.mk              | 10 +++++-----\n 4 files changed, 11 insertions(+), 10 deletions(-)",
    "diff": "diff --git a/package/leafnode2/0001-cross_makefile.patch b/package/leafnode2/0001-cross_makefile.patch\nindex 32116446c3..00497d92c5 100644\n--- a/package/leafnode2/0001-cross_makefile.patch\n+++ b/package/leafnode2/0001-cross_makefile.patch\n@@ -7,14 +7,15 @@ Fix cross-compilation issues\n    cross-compiling. We're anyway not root, so simply remove the\n    chown/chgrp dance.\n \n-Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>\n+[Bernd: rebased for 2.0.0.alpha202601]\n+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>\n Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n \n Index: b/Makefile.am\n ===================================================================\n --- a/Makefile.am\n +++ b/Makefile.am\n-@@ -311,7 +311,7 @@\n+@@ -324,7 +324,7 @@\n  \n  configparam_data.c: $(srcdir)/config.table b_sortnl$(EXEEXT) genconfigparam_data.awk\n  \trm -f config.table.sorted\n@@ -23,7 +24,7 @@ Index: b/Makefile.am\n  \t$(AWK) -f $(srcdir)/genconfigparam_data.awk <config.table.sorted >$@ \\\n  \t|| { rm -f $@ ; false ; }\n  \n-@@ -326,13 +326,7 @@\n+@@ -339,13 +339,7 @@\n  install-data-hook:\n  \t$(INSTALL) -d -m 02770 $(DESTDIR)$(SPOOLDIR)\n  \t$(INSTALL) -d -m 02770 $(DESTDIR)$(SPOOLDIR)/leaf.node\ndiff --git a/package/leafnode2/Config.in b/package/leafnode2/Config.in\nindex df9b246946..dc6977925b 100644\n--- a/package/leafnode2/Config.in\n+++ b/package/leafnode2/Config.in\n@@ -2,7 +2,7 @@ config BR2_PACKAGE_LEAFNODE2\n \tbool \"leafnode2\"\n \tdepends on BR2_USE_MMU # fork()\n \tselect BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC\n-\tselect BR2_PACKAGE_PCRE\n+\tselect BR2_PACKAGE_PCRE2\n \thelp\n \t  Leafnode-2 is a store-and-forward NNTP (or Usenet) proxy\n \t  server designed for small sites with just a few active\ndiff --git a/package/leafnode2/leafnode2.hash b/package/leafnode2/leafnode2.hash\nindex 9c86173ae1..040e0d92a4 100644\n--- a/package/leafnode2/leafnode2.hash\n+++ b/package/leafnode2/leafnode2.hash\n@@ -1,4 +1,4 @@\n # Locally calculated\n-sha256  42f2185f29a74f683a962e9cf6e38bc5f8a342d0dde8b6a03457a165365e3445  leafnode2-9543ffaf82406f943d449d522d88baa554515e0f.tar.gz\n+sha256  c98201dffc51addf4157ceb67f2ef7f2c0f3813e49342834f243244a872d90c1  leafnode2-2.0.0.alpha202601.tar.gz\n sha256  59d37f745dc5a2d63a51dff344f4ad89f72e76f8c7b7d877f20880d838b1bec9  COPYING\n sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LGPL\ndiff --git a/package/leafnode2/leafnode2.mk b/package/leafnode2/leafnode2.mk\nindex 8c44071209..4afb449b9e 100644\n--- a/package/leafnode2/leafnode2.mk\n+++ b/package/leafnode2/leafnode2.mk\n@@ -4,11 +4,11 @@\n #\n ################################################################################\n \n-LEAFNODE2_VERSION = 9543ffaf82406f943d449d522d88baa554515e0f\n-LEAFNODE2_SITE = $(call gitlab,leafnode-2,leafnode-2,$(LEAFNODE2_VERSION))\n+LEAFNODE2_VERSION = 2.0.0.alpha202601\n+LEAFNODE2_SITE = $(call gitlab,leafnode-2,leafnode-2,leafnode-$(LEAFNODE2_VERSION))\n LEAFNODE2_LICENSE = LGPL-2.1\n LEAFNODE2_LICENSE_FILES = COPYING COPYING.LGPL\n-LEAFNODE2_DEPENDENCIES = host-pcre pcre\n+LEAFNODE2_DEPENDENCIES = host-pcre2 pcre2\n LEAFNODE2_AUTORECONF = YES\n \n # pod2man doesn't work when cross compiling\n@@ -35,13 +35,13 @@ LEAFNODE2_CONF_OPTS = \\\n # Leafnode2 needs the host version of b_sortnl during\n # compilation. Instead of creating a separate host package and\n # installing b_sortnl to $(HOST_DIR) this binary is compiled\n-# on-the-fly, host-pcre is needed for this\n+# on-the-fly, host-pcre2 is needed for this\n define LEAFNODE2_BUILD_SORTNL_TOOL\n \tcd $(@D); \\\n \t$(HOSTCC) $(HOST_CFLAGS) -o b_sortnl_host \\\n \t\tarc4random.c mergesort.c b_sortnl.c critmem_malloc.c \\\n \t\tcritmem_realloc.c -DHAVE_CONFIG_H -I$(HOST_DIR)/include \\\n-\t\t-L $(HOST_DIR)/lib -Wl,-rpath,$(HOST_DIR)/lib -lpcre\n+\t\t-L $(HOST_DIR)/lib -Wl,-rpath,$(HOST_DIR)/lib -lpcre2-8\n endef\n \n LEAFNODE2_PRE_BUILD_HOOKS += LEAFNODE2_BUILD_SORTNL_TOOL\n",
    "prefixes": [
        "2/2"
    ]
}