{"id":833310,"url":"http://patchwork.ozlabs.org/api/1.2/patches/833310/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20171102112722.19414-1-marcus.folkesson@gmail.com/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/1.2/projects/27/?format=json","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":"<20171102112722.19414-1-marcus.folkesson@gmail.com>","list_archive_url":null,"date":"2017-11-02T11:27:22","name":"[v6] libostree: new package","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"ea3fe518ba5b0dfa0ed96d909c42c7b3e422b85f","submitter":{"id":46679,"url":"http://patchwork.ozlabs.org/api/1.2/people/46679/?format=json","name":"Marcus Folkesson","email":"marcus.folkesson@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20171102112722.19414-1-marcus.folkesson@gmail.com/mbox/","series":[{"id":11485,"url":"http://patchwork.ozlabs.org/api/1.2/series/11485/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=11485","date":"2017-11-02T11:27:22","name":"[v6] libostree: new package","version":6,"mbox":"http://patchwork.ozlabs.org/series/11485/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/833310/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/833310/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.136; helo=silver.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"L7ji0yAI\"; dkim-atps=neutral"],"Received":["from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 3ySN9c2YX2z9t2M\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  2 Nov 2017 22:27:47 +1100 (AEDT)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 6C08C2FAD7;\n\tThu,  2 Nov 2017 11:27:43 +0000 (UTC)","from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id uhz07UxPipWA; Thu,  2 Nov 2017 11:27:42 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id D3C422C9EF;\n\tThu,  2 Nov 2017 11:27:41 +0000 (UTC)","from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 9E4D31C00E9\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 11:27:39 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 8BF1D8848E\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 11:27:39 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id tG6ADrrMF63l for <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 11:27:38 +0000 (UTC)","from mail-lf0-f65.google.com (mail-lf0-f65.google.com\n\t[209.85.215.65])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 3AEB583001\n\tfor <buildroot@buildroot.org>; Thu,  2 Nov 2017 11:27:38 +0000 (UTC)","by mail-lf0-f65.google.com with SMTP id b190so6043482lfg.9\n\tfor <buildroot@buildroot.org>; Thu, 02 Nov 2017 04:27:38 -0700 (PDT)","from localhost.localdomain (c-5eea375d-74736162.cust.telenor.se.\n\t[94.234.55.93]) by smtp.gmail.com with ESMTPSA id\n\tq28sm507634lfb.15.2017.11.02.04.27.34\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 02 Nov 2017 04:27:34 -0700 (PDT)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=SYs5pp4x8Yw+1+B5O+yZSp+DLCPLT0nPBJ+cQgytoB4=;\n\tb=L7ji0yAIqMWdtyNdHUXMuQIKs2++H9hIEzDUlfsoK86pnh/Xvl95yy1GCdaI9Jwyis\n\t1lsmNVJUMHes3pvEKHauikK2NV/IDK2f8ko8Fsa/uOLPqSVv8aS/PLeG+oTaxMjFsCiJ\n\t7AhtNppB/Y2fq/g1yPfYdm1J5Wj42TNXZv/bcUf2vvVM2lhH4BO2TuR6NDsU45fpI5kx\n\tClpeKP70m1iw/UU28vO25ZeO6XMSGdNBx9yc/IRqguSXqbPnk9cH73uj0mizuSMPFqK+\n\tkUhAK9w5nuHruyCGIr1n2NVi2oDXXIocPn064yuiQkHeSzqRPHpTlrDIQ9lsCdmvA7s7\n\t02oA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=SYs5pp4x8Yw+1+B5O+yZSp+DLCPLT0nPBJ+cQgytoB4=;\n\tb=cUO9tMhgnM+FNwBN7hI5ymzTmt4yRAtOmR0uhV5DrS9pNIqnBeqcz16YJ9xES53xCD\n\tOYdq2G69u39OKiiVoqsCcufSacxX+5oAB0QtiQ9Vo7XM3x/h0IfQ/ANvDI5oJ2wuzORs\n\t3THo7IgpGx9r0XFre1vS89IHyooUfnxu8UQ8MNRtrhOlwkhoyC4BOnZg9U83dj/+aqUW\n\t1xP/AYU5RAS6kl+zt/mFKfe3OADCe3vWb3OPpl1yKJR6sUyXZ1HfcvQ2VLX4IkoMQ4bC\n\tbeNp1J0erPKAKyUysnmuK2EvxQmfX6GgFiW4ULOEm9rAcavJ/Xro90sr9/FfXSeWpzOp\n\tW5DQ==","X-Gm-Message-State":"AJaThX6jwHN81xAhJVX+TCGe6O7Cblr+vzxvFriveZjV7tZoFupsgHEl\n\t4gQfiMIOHpIy/2vOHmLcsQmc1jYu","X-Google-Smtp-Source":"ABhQp+QH/bqXa1ZpowFngaHgr2hXPbhALSv+ZB+OHa5R9qYCeEPkoqNGwS1fXRCNhy6kBJRUfqv7Fg==","X-Received":"by 10.25.229.17 with SMTP id c17mr1074657lfh.42.1509622056020;\n\tThu, 02 Nov 2017 04:27:36 -0700 (PDT)","From":"Marcus Folkesson <marcus.folkesson@gmail.com>","To":"buildroot@buildroot.org,\n\tbernd.kuhls@t-online.de","Date":"Thu,  2 Nov 2017 12:27:22 +0100","Message-Id":"<20171102112722.19414-1-marcus.folkesson@gmail.com>","X-Mailer":"git-send-email 2.13.1","Subject":"[Buildroot] [PATCH v6] libostree: new package","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.24","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>","Cc":"marcus.folkesson@gmail.com","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":"OSTree is an upgrade system for Linux-based operating systems\n\nSigned-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>\n---\nv6:\n- Rearrange logic for curl and libsoup check\n\nv5:\nFix comments from Bernd Kuhls:\n- use tarball provided by upstream\n- propagate dependencies\n- set optional dependencies\n- depend on !musl\n\nv4:\n- bump version to 2017.12\n\nv3:\n- move with the package within Config.in to match the chronological order\n  (the former name was just 'ostree')\n\nv2:\n- add e2fsprogs as dependency\n DEVELOPERS                       |  3 ++\n package/Config.in                |  1 +\n package/libostree/Config.in      | 20 ++++++++++++++\n package/libostree/libostree.hash |  1 +\n package/libostree/libostree.mk   | 59 ++++++++++++++++++++++++++++++++++++++++\n 5 files changed, 84 insertions(+)\n create mode 100644 package/libostree/Config.in\n create mode 100644 package/libostree/libostree.hash\n create mode 100644 package/libostree/libostree.mk","diff":"diff --git a/DEVELOPERS b/DEVELOPERS\nindex 632d87a829..c10a62e4f8 100644\n--- a/DEVELOPERS\n+++ b/DEVELOPERS\n@@ -985,6 +985,9 @@ F:\tpackage/turbolua/\n N:\tMarcin Nowakowski <marcin.nowakowski@imgtec.com>\n F:\tpackage/libkcapi/\n \n+N:\tMarcus Folkesson <marcus.folkesson@gmail.com>\n+F:\tpackage/libostree/\n+\n N:\tMarek Belisko <marek.belisko@open-nandra.com>\n F:\tpackage/libatasmart/\n F:\tpackage/polkit/\ndiff --git a/package/Config.in b/package/Config.in\nindex dbfb288d53..c7bec5152b 100644\n--- a/package/Config.in\n+++ b/package/Config.in\n@@ -1916,6 +1916,7 @@ menu \"System tools\"\n \tsource \"package/keyutils/Config.in\"\n \tsource \"package/kmod/Config.in\"\n \tsource \"package/kvmtool/Config.in\"\n+\tsource \"package/libostree/Config.in\"\n \tsource \"package/lxc/Config.in\"\n \tsource \"package/monit/Config.in\"\n \tsource \"package/ncdu/Config.in\"\ndiff --git a/package/libostree/Config.in b/package/libostree/Config.in\nnew file mode 100644\nindex 0000000000..d4a802a6b6\n--- /dev/null\n+++ b/package/libostree/Config.in\n@@ -0,0 +1,20 @@\n+config BR2_PACKAGE_LIBOSTREE\n+\tbool \"libostree\"\n+\tdepends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpgme\n+\tdepends on !BR2_STATIC_LIBS # libfuse\n+\tdepends on BR2_TOOLCHAIN_HAS_THREADS # libglib2\n+\tdepends on BR2_USE_WCHAR # libglib2\n+\tdepends on BR2_USE_MMU # e2fsprogs, libfuse,libglib2, libgpgme\n+\n+\t# doesn't build with musl due to lack of TEMP_FAILURE_RETRY()\n+\tdepends on !BR2_TOOLCHAIN_USES_MUSL\n+\n+\tselect BR2_PACKAGE_E2FSPROGS\n+\tselect BR2_PACKAGE_LIBFUSE\n+\tselect BR2_PACKAGE_LIBGLIB2\n+\tselect BR2_PACKAGE_LIBGPGME\n+\tselect BR2_PACKAGE_XZ\n+\thelp\n+\t  OSTree is an upgrade system for Linux-based operating systems.\n+\n+\t  https://ostree.readthedocs.io/en/latest/\ndiff --git a/package/libostree/libostree.hash b/package/libostree/libostree.hash\nnew file mode 100644\nindex 0000000000..b8bdd974c4\n--- /dev/null\n+++ b/package/libostree/libostree.hash\n@@ -0,0 +1 @@\n+sha256 fc409f04c9fd440b83b4fa324f3b912cbf61145389378d44254b8b191c9fef08  libostree-2017.12.tar.xz\ndiff --git a/package/libostree/libostree.mk b/package/libostree/libostree.mk\nnew file mode 100644\nindex 0000000000..0d8bc9bccd\n--- /dev/null\n+++ b/package/libostree/libostree.mk\n@@ -0,0 +1,59 @@\n+################################################################################\n+#\n+# libostree\n+#\n+################################################################################\n+\n+LIBOSTREE_VERSION = 2017.12\n+LIBOSTREE_SOURCE = libostree-$(LIBOSTREE_VERSION).tar.xz\n+LIBOSTREE_SITE = https://github.com/ostreedev/ostree/releases/download/v$(LIBOSTREE_VERSION)\n+\n+LIBOSTREE_LICENSE = GPLv2\n+LIBOSTREE_LICENSE_FILES = COPYING\n+LIBOSTREE_DEPENDENCIES = e2fsprogs host-pkgconf libfuse libglib2 libgpgme xz\n+\n+LIBOSTREE_CONF_OPTS += --with-gpgme-prefix=$(STAGING_DIR)/usr\n+\n+ifeq ($(BR2_PACKAGE_OPENSSL),y)\n+LIBOSTREE_CONF_OPTS += --with-openssl\n+LIBOSTREE_DEPENDENCIES += openssl\n+else\n+LIBOSTREE_CONF_OPTS += --without-openssl\n+endif\n+\n+ifeq ($(BR2_PACKAGE_AVAHI),y)\n+LIBOSTREE_CONF_OPTS += --with-avahi\n+LIBOSTREE_DEPENDENCIES += avahi\n+else\n+LIBOSTREE_CONF_OPTS += --without-avahi\n+endif\n+\n+#cURL depends on libsoup\n+ifeq ($(BR2_PACKAGE_LIBSOUP),y)\n+LIBOSTREE_CONF_OPTS += --with-libsoup\n+LIBOSTREE_DEPENDENCIES += libsoup\n+ifeq ($(BR2_PACKAGE_LIBCURL),y)\n+LIBOSTREE_CONF_OPTS += --with-curl\n+LIBOSTREE_DEPENDENCIES += libcurl\n+else\n+LIBOSTREE_CONF_OPTS += --without-curl\n+endif\n+else\n+LIBOSTREE_CONF_OPTS += --without-libsoup --without-curl\n+endif\n+\n+ifeq ($(BR2_PACKAGE_LIBARCHIVE),y)\n+LIBOSTREE_CONF_OPTS += --with-libarchive\n+LIBOSTREE_DEPENDENCIES += libarchive\n+else\n+LIBOSTREE_CONF_OPTS += --without-libarchive\n+endif\n+\n+ifeq ($(BR2_PACKAGE_LIBSELINUX),y)\n+LIBOSTREE_CONF_OPTS += --with-selinux\n+LIBOSTREE_DEPENDENCIES += libselinux\n+else\n+LIBOSTREE_CONF_OPTS += --without-selinux\n+endif\n+\n+$(eval $(autotools-package))\n","prefixes":["v6"]}