get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 814520,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/814520/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170916151535.2948-1-bernd.kuhls@t-online.de/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20170916151535.2948-1-bernd.kuhls@t-online.de>",
    "list_archive_url": null,
    "date": "2017-09-16T15:15:35",
    "name": "[1/1] package/openobex: bump version to 1.7.2",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "93cbba557f4b991926f0ef3fe560d93ad0c02db6",
    "submitter": {
        "id": 62613,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/62613/?format=api",
        "name": "Bernd Kuhls",
        "email": "bernd.kuhls@t-online.de"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170916151535.2948-1-bernd.kuhls@t-online.de/mbox/",
    "series": [
        {
            "id": 3451,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/3451/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=3451",
            "date": "2017-09-16T15:15:35",
            "name": "[1/1] package/openobex: bump version to 1.7.2",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/3451/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/814520/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/814520/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.138; helo=whitealder.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\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 3xvbSS2kDzz9s81\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 17 Sep 2017 01:15:52 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id CF3CE89CA8;\n\tSat, 16 Sep 2017 15:15:47 +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 7p7tcVgH8Aaq; Sat, 16 Sep 2017 15:15:45 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 3A4FF89C21;\n\tSat, 16 Sep 2017 15:15:45 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id BCF2E1C0A78\n\tfor <buildroot@lists.busybox.net>;\n\tSat, 16 Sep 2017 15:15:43 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id B709888CA1\n\tfor <buildroot@lists.busybox.net>;\n\tSat, 16 Sep 2017 15:15:43 +0000 (UTC)",
            "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id swSFT4HC0HnJ for <buildroot@lists.busybox.net>;\n\tSat, 16 Sep 2017 15:15:42 +0000 (UTC)",
            "from mailout02.t-online.de (mailout02.t-online.de [194.25.134.17])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id DE8AD88C9C\n\tfor <buildroot@buildroot.org>; Sat, 16 Sep 2017 15:15:41 +0000 (UTC)",
            "from fwd06.aul.t-online.de (fwd06.aul.t-online.de [172.20.26.150])\n\tby mailout02.t-online.de (Postfix) with SMTP id 8E37041BE27E;\n\tSat, 16 Sep 2017 17:15:39 +0200 (CEST)",
            "from fli4l.lan.fli4l\n\t(VUjIJaZVrhRelmJR6k7b8Cym01iC3V1KA6yHwJWzTRAiqfSVnKbxDm5nDvLeYaFZtq@[79.228.1.99])\n\tby fwd06.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted)\n\tesmtp id 1dtEoj-3LS1aq0; Sat, 16 Sep 2017 17:15:37 +0200",
            "from mahler.lan.fli4l ([192.168.1.1]:46010 helo=kuhls.lan.fli4l)\n\tby fli4l.lan.fli4l with esmtp (Exim 4.89)\n\t(envelope-from <bernd.kuhls@t-online.de>)\n\tid 1dtEoh-0001fD-Pe; Sat, 16 Sep 2017 17:15:36 +0200"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "From": "Bernd Kuhls <bernd.kuhls@t-online.de>",
        "To": "buildroot@buildroot.org",
        "Date": "Sat, 16 Sep 2017 17:15:35 +0200",
        "Message-Id": "<20170916151535.2948-1-bernd.kuhls@t-online.de>",
        "X-Mailer": "git-send-email 2.11.0",
        "X-ID": "VUjIJaZVrhRelmJR6k7b8Cym01iC3V1KA6yHwJWzTRAiqfSVnKbxDm5nDvLeYaFZtq",
        "X-TOI-MSGID": "9b3e4c11-5551-40fa-95c6-b3a6e1b30e48",
        "Subject": "[Buildroot] [PATCH 1/1] package/openobex: bump version to 1.7.2",
        "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": "Package switched to cmake without providing most of the autoconf\noptions previously available. Therefore we move all suboptions to\nConfig.in.legacy.\n\nAll patches are removed, the files to be patched do not exist anymore.\n\nOPENOBEX_EXTRACT_CMDS is not needed anymore, upstream provides the\nsource as .tar.gz now.\n\nVersion 1.6 added support for libusb-1.x and udev. The current version\nalso supports bluez5_utils, not only bluez_utils.\n\nSigned-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>\n---\n Config.in.legacy                                   | 22 ++++++++++++\n .../0001-libusb_check_when_cross-compiling.patch   | 18 ----------\n .../0002-replace_deprecated_functions.patch        | 30 ----------------\n package/openobex/Config.in                         | 36 -------------------\n package/openobex/openobex.hash                     |  6 ++--\n package/openobex/openobex.mk                       | 40 ++++++++--------------\n 6 files changed, 39 insertions(+), 113 deletions(-)\n delete mode 100644 package/openobex/0001-libusb_check_when_cross-compiling.patch\n delete mode 100644 package/openobex/0002-replace_deprecated_functions.patch",
    "diff": "diff --git a/Config.in.legacy b/Config.in.legacy\nindex 73c01217a6..181cb8098a 100644\n--- a/Config.in.legacy\n+++ b/Config.in.legacy\n@@ -145,6 +145,28 @@ endif\n ###############################################################################\n comment \"Legacy options removed in 2017.11\"\n \n+config BR2_PACKAGE_OPENOBEX_BLUEZ\n+\tbool \"openobex bluez option removed\"\n+\tselect BR2_LEGACY\n+\tselect BR2_PACKAGE_BLUEZ_UTILS\n+\n+config BR2_PACKAGE_OPENOBEX_LIBUSB\n+\tbool \"openobex libusb option removed\"\n+\tselect BR2_LEGACY\n+\tselect BR2_PACKAGE_LIBUSB\n+\n+config BR2_PACKAGE_OPENOBEX_APPS\n+\tbool \"openobex apps option removed\"\n+\tselect BR2_LEGACY\n+\n+config BR2_PACKAGE_OPENOBEX_SYSLOG\n+\tbool \"openobex syslog option removed\"\n+\tselect BR2_LEGACY\n+\n+config BR2_PACKAGE_OPENOBEX_DUMP\n+\tbool \"openobex dump option removed\"\n+\tselect BR2_LEGACY\n+\n config BR2_PACKAGE_AICCU\n \tbool \"aiccu utility removed\"\n \tselect BR2_LEGACY\ndiff --git a/package/openobex/0001-libusb_check_when_cross-compiling.patch b/package/openobex/0001-libusb_check_when_cross-compiling.patch\ndeleted file mode 100644\nindex 7b8056afcc..0000000000\n--- a/package/openobex/0001-libusb_check_when_cross-compiling.patch\n+++ /dev/null\n@@ -1,18 +0,0 @@\n-Fix libusb check when cross-compiling.\n-\n-Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>\n-Signed-off-by: Samuel Martin <s.martin49@gmail.com>\n-\n-Index: openobex-1.5/acinclude.m4\n-===================================================================\n---- openobex-1.5.orig/acinclude.m4\t2010-06-16 10:32:47.000000000 +0200\n-+++ openobex-1.5/acinclude.m4\t2010-06-16 10:35:33.000000000 +0200\n-@@ -158,7 +158,7 @@\n- \t\t;;\n- \t*)\n- \t\tPKG_CHECK_MODULES(USB, libusb, usb_lib_found=yes, AC_MSG_RESULT(no))\n--\t\tAC_CHECK_FILE(${prefix}/lib/pkgconfig/libusb.pc, REQUIRES=\"libusb\")\n-+\t\tREQUIRES=\"libusb\"\n- \t\t;;\n- \tesac\n- \tAC_SUBST(USB_CFLAGS)\ndiff --git a/package/openobex/0002-replace_deprecated_functions.patch b/package/openobex/0002-replace_deprecated_functions.patch\ndeleted file mode 100644\nindex 17274d385b..0000000000\n--- a/package/openobex/0002-replace_deprecated_functions.patch\n+++ /dev/null\n@@ -1,30 +0,0 @@\n-obex_test_cable.c: avoid to use SuSv3 LEGACY APIs\n-\n-Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>\n-Signed-off-by: Samuel Martin <s.martin49@gmail.com>\n-\n-Index: openobex-1.5/apps/obex_test_cable.c\n-===================================================================\n---- openobex-1.5.orig/apps/obex_test_cable.c\t2009-02-08 19:30:22.000000000 +0100\n-+++ openobex-1.5/apps/obex_test_cable.c\t2010-06-16 11:11:05.000000000 +0200\n-@@ -113,9 +113,9 @@\n- \t\t\tif(total == sizeof(tmpbuf))\n- \t\t\t\treturn -1;\n- \n--\t\t\tif( (answer = index(tmpbuf, '\\n')) )\t{\n-+\t\t\tif( (answer = strchr(tmpbuf, '\\n')) )\t{\n- \t\t\t\t// Remove first line (echo)\n--\t\t\t\tif( (answer_end = index(answer+1, '\\n')) )\t{\n-+\t\t\t\tif( (answer_end = strchr(answer+1, '\\n')) )\t{\n- \t\t\t\t\t// Found end of answer\n- \t\t\t\t\tdone = 1;\n- \t\t\t\t}\n-@@ -178,7 +178,7 @@\n- \t}\n- \n- \ttcgetattr(gt->ttyfd, &gt->oldtio);\n--\tbzero(&gt->newtio, sizeof(struct termios));\n-+\tmemset(&gt->newtio, 0, sizeof(struct termios));\n- \tgt->newtio.c_cflag = B115200 | CS8 | CREAD | CRTSCTS;\n- \tgt->newtio.c_iflag = IGNPAR;\n- \tgt->newtio.c_oflag = 0;\ndiff --git a/package/openobex/Config.in b/package/openobex/Config.in\nindex ed1b81fe42..e611b8d803 100644\n--- a/package/openobex/Config.in\n+++ b/package/openobex/Config.in\n@@ -5,39 +5,3 @@ config BR2_PACKAGE_OPENOBEX\n \t  protocol.\n \n \t  http://sourceforge.net/projects/openobex\n-\n-if BR2_PACKAGE_OPENOBEX\n-\n-config BR2_PACKAGE_OPENOBEX_BLUEZ\n-\tbool \"enable bluez support\"\n-\tdepends on !BR2_STATIC_LIBS # bluez_utils\n-\tdepends on BR2_USE_WCHAR # libglib2\n-\tdepends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib, libglib2\n-\tdepends on BR2_USE_MMU # dbus\n-\tselect BR2_PACKAGE_BLUEZ_UTILS\n-\n-comment \"bluez support needs a toolchain w/ wchar, threads, dynamic library\"\n-\tdepends on BR2_USE_MMU\n-\tdepends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS\n-\n-config BR2_PACKAGE_OPENOBEX_LIBUSB\n-\tbool \"enable libusb support\"\n-\tdepends on BR2_TOOLCHAIN_HAS_THREADS # libusb\n-\tselect BR2_PACKAGE_LIBUSB\n-\tselect BR2_PACKAGE_LIBUSB_COMPAT\n-\n-comment \"libusb support needs a toolchain w/ threads\"\n-\tdepends on !BR2_TOOLCHAIN_HAS_THREADS\n-\n-config BR2_PACKAGE_OPENOBEX_APPS\n-\tbool \"install test applications\"\n-\thelp\n-\t  Also install the openobex test applications on target.\n-\n-config BR2_PACKAGE_OPENOBEX_SYSLOG\n-\tbool \"enable debugging to the system logger\"\n-\n-config BR2_PACKAGE_OPENOBEX_DUMP\n-\tbool \"enable protocol dumping for debugging\"\n-\n-endif\ndiff --git a/package/openobex/openobex.hash b/package/openobex/openobex.hash\nindex 2aef98194b..dbff4f1c1f 100644\n--- a/package/openobex/openobex.hash\n+++ b/package/openobex/openobex.hash\n@@ -1,3 +1,3 @@\n-# From http://sourceforge.net/projects/openobex/files/openobex/1.5/\n-sha1\t5332ef95bc8b321bda675cdb74379804c6c1a83f\topenobex-1.5.0-Source.zip\n-md5\tf6d87af55a1d702d582173c81619176e\t\topenobex-1.5.0-Source.zip\n+# From http://sourceforge.net/projects/openobex/files/openobex/1.7.2/\n+sha1 4a5098a62889134cbd2b54997e7ff3e959e601e6  openobex-1.7.2-Source.tar.gz\n+md5 f6e0b6cb7dcfd731460a7e9a91429a3a  openobex-1.7.2-Source.tar.gz\ndiff --git a/package/openobex/openobex.mk b/package/openobex/openobex.mk\nindex 8337990eb8..d9d4db5609 100644\n--- a/package/openobex/openobex.mk\n+++ b/package/openobex/openobex.mk\n@@ -4,42 +4,30 @@\n #\n ################################################################################\n \n-OPENOBEX_VERSION_MAJOR = 1.5\n-OPENOBEX_VERSION = $(OPENOBEX_VERSION_MAJOR).0\n-OPENOBEX_SITE = http://downloads.sourceforge.net/project/openobex/openobex/$(OPENOBEX_VERSION_MAJOR)\n-OPENOBEX_SOURCE = openobex-$(OPENOBEX_VERSION)-Source.zip\n+OPENOBEX_VERSION = 1.7.2\n+OPENOBEX_SITE = http://downloads.sourceforge.net/project/openobex/openobex/$(OPENOBEX_VERSION)\n+OPENOBEX_SOURCE = openobex-$(OPENOBEX_VERSION)-Source.tar.gz\n # Libraries seems to be released under LGPL-2.1+,\n # while other material is under GPL-2.0+.\n OPENOBEX_LICENSE = GPL-2.0+/LGPL-2.1+\n OPENOBEX_LICENSE_FILES = COPYING COPYING.LIB\n-\n OPENOBEX_DEPENDENCIES = host-pkgconf\n-OPENOBEX_AUTORECONF = YES\n OPENOBEX_INSTALL_STAGING = YES\n \n-define OPENOBEX_EXTRACT_CMDS\n-\t$(UNZIP) -d $(@D) $(DL_DIR)/$(OPENOBEX_SOURCE)\n-\tmv $(@D)/openobex-$(OPENOBEX_VERSION)-Source/* $(@D)\n-\t$(RM) -r $(@D)/openobex-$(OPENOBEX_VERSION)-Source\n-endef\n+ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)\n+OPENOBEX_DEPENDENCIES += bluez_utils\n+endif\n \n-OPENOBEX_CONF_OPTS += \\\n-\t$(if $(BR2_PACKAGE_OPENOBEX_APPS),--enable-apps) \\\n-\t$(if $(BR2_PACKAGE_OPENOBEX_SYSLOG),--enable-syslog) \\\n-\t$(if $(BR2_PACKAGE_OPENOBEX_DUMP),--enable-dump)\n+ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)\n+OPENOBEX_DEPENDENCIES += bluez5_utils\n+endif\n \n-ifeq ($(BR2_PACKAGE_OPENOBEX_BLUEZ),y)\n-OPENOBEX_DEPENDENCIES += bluez_utils\n-OPENOBEX_CONF_OPTS += --with-bluez=$(STAGING_DIR)\n-else\n-OPENOBEX_CONF_OPTS += --disable-bluetooth\n+ifeq ($(BR2_PACKAGE_LIBUSB),y)\n+OPENOBEX_DEPENDENCIES += libusb\n endif\n \n-ifeq ($(BR2_PACKAGE_OPENOBEX_LIBUSB),y)\n-OPENOBEX_DEPENDENCIES += libusb-compat\n-OPENOBEX_CONF_OPTS += --with-usb=$(STAGING_DIR)\n-else\n-OPENOBEX_CONF_OPTS += --disable-usb\n+ifeq ($(BR2_PACKAGE_HAS_UDEV),y)\n+OPENOBEX_DEPENDENCIES += udev\n endif\n \n-$(eval $(autotools-package))\n+$(eval $(cmake-package))\n",
    "prefixes": [
        "1/1"
    ]
}