From patchwork Mon Jan 29 07:57:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zoltan Gyarmati X-Patchwork-Id: 867030 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Xhmt8Jv2"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zVML63hZzz9ryT for ; Mon, 29 Jan 2018 18:57:18 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9A4628762E; Mon, 29 Jan 2018 07:57:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YsLVADNApkgq; Mon, 29 Jan 2018 07:57:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 884E68761F; Mon, 29 Jan 2018 07:57:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 5B4AB1C25D2 for ; Mon, 29 Jan 2018 07:57:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 57EC38761F for ; Mon, 29 Jan 2018 07:57:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Uam_0LE6f7TA for ; Mon, 29 Jan 2018 07:57:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 21ACB8761E for ; Mon, 29 Jan 2018 07:57:11 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id r71so12280266wmd.1 for ; Sun, 28 Jan 2018 23:57:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=JVdNtUmNgNmdGKbSYZrVHDIQwHaL9RkAJutMRbYkngk=; b=Xhmt8Jv27EDnc82laJGkB5Od22bP1L2gIFA9xtFMJD5ORy/Dj9MS+HZxlU3iHhWIj+ eq5104qsN1C0TFe5ODoVbddxU8x0dRXU0KXgwgJOEvJlBqXs19j1P+OxsObFtAZWhqWL RWTDRTRpwl4mdQxQYmYYHF+QGy2RyEqruiLuYq6cIO8Xw5fyYPw+Cv93wLCkqnjBcDUp ZxiEhu0GRtPHHQ8H7MOiWx3WY0OUwHhG3R1WVfZrWzcw/7RXMXU05HCRI241ewdFmpQU JOVbc6KckssEpLSshnNUpeOoHG/8jxFGHE8bE3soub/NQgK7+kqmTujd52UsR0bgqZ7K cEaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=JVdNtUmNgNmdGKbSYZrVHDIQwHaL9RkAJutMRbYkngk=; b=misJlnjQrbQdQLNYVnPRMOI9WLzSEDj4x/SGvhS6RBQZewd5QSYu9eCPfC5uSr989M TditykCjuSEY0N1g9001JSwIpVfbotYBLPvh3LZy4GSWzFqvxfvpJqqQeyk8Fh1QqJfX b8BgRLa5TG7DMXcjXfmgoCPMZxkZNwc2Znv7SSsGOnQDR3pOQw03413cmFFe4xsXzE6N GsfXRHcatoMpXO5/agDg1SlGCP1pKBZy+0XoEDKG7kL6RM7qp/qw1vXVf+eF+eJqgJsy eil4uino07Cztlc+CzdD5Okx6G/Z96qIMZtv/NS3kOr6Oq2Ruf7uNZ64wTEr13lUcTOq v5Lw== X-Gm-Message-State: AKwxytf9vxv9jyH331r29Kh6Hi71G6anQSZc8SNQ+4bBfz/tmSNEB/6I OdzNw6rNCDiUZoso+feJHgSRhw== X-Google-Smtp-Source: AH8x227/jew5udkL8GAzczr0dNhwFNorioTD7hyWY/wGJjKg73Z34UeOFop3SBvLxCQe/2aun0Vwmg== X-Received: by 10.28.127.73 with SMTP id a70mr15191259wmd.43.1517212629274; Sun, 28 Jan 2018 23:57:09 -0800 (PST) Received: from localhost.localdomain (x4e35e35e.dyn.telefonica.de. [78.53.227.94]) by smtp.gmail.com with ESMTPSA id 7sm9777856wmq.42.2018.01.28.23.57.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 28 Jan 2018 23:57:08 -0800 (PST) From: Zoltan Gyarmati To: buildroot@buildroot.org Date: Mon, 29 Jan 2018 08:57:05 +0100 Message-Id: <1517212625-32760-1-git-send-email-mr.zoltan.gyarmati@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH] package/gpsd: upgrade to 3.17, remove obsolete patch X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The upstream patch which disables the build-time systemctl call made it into this release so removing it here. Also adding hash for the COPYING file. Signed-off-by: Zoltan Gyarmati --- ...001-SConstruct-do-not-force-O2-by-default.patch | 29 +++++++++++++++ ...eract-with-systemctl-when-cross-compiling.patch | 41 ---------------------- ...002-SConstruct-do-not-force-O2-by-default.patch | 29 --------------- package/gpsd/gpsd.hash | 3 +- package/gpsd/gpsd.mk | 2 +- 5 files changed, 32 insertions(+), 72 deletions(-) create mode 100644 package/gpsd/0001-SConstruct-do-not-force-O2-by-default.patch delete mode 100644 package/gpsd/0001-do-not-interact-with-systemctl-when-cross-compiling.patch delete mode 100644 package/gpsd/0002-SConstruct-do-not-force-O2-by-default.patch diff --git a/package/gpsd/0001-SConstruct-do-not-force-O2-by-default.patch b/package/gpsd/0001-SConstruct-do-not-force-O2-by-default.patch new file mode 100644 index 0000000..641afa3 --- /dev/null +++ b/package/gpsd/0001-SConstruct-do-not-force-O2-by-default.patch @@ -0,0 +1,29 @@ +From eb7cce5dbb53a64cf55ac0d9a7fa4dcbebd4b173 Mon Sep 17 00:00:00 2001 +From: Waldemar Brodkorb +Date: Mon, 14 Aug 2017 23:24:38 +0200 +Subject: [PATCH] SConstruct: do not force -O2 by default + +-O2 can cause problems on some architectures, so do not force it by + default. + +Signed-off-by: Waldemar Brodkorb +--- + SConstruct | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/SConstruct b/SConstruct +index fe444a2..93d91a4 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -330,8 +330,6 @@ if not 'CCFLAGS' in os.environ: + # Should we build with optimisation? + if env['debug'] or env['coveraging']: + env.Append(CCFLAGS=['-O0']) +- else: +- env.Append(CCFLAGS=['-O2']) + + # Get a slight speedup by not doing automatic RCS and SCCS fetches. + env.SourceCode('.', None) +-- +2.9.4 + diff --git a/package/gpsd/0001-do-not-interact-with-systemctl-when-cross-compiling.patch b/package/gpsd/0001-do-not-interact-with-systemctl-when-cross-compiling.patch deleted file mode 100644 index 9e91a02..0000000 --- a/package/gpsd/0001-do-not-interact-with-systemctl-when-cross-compiling.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 777cb3737ae85b13642fff48eabb601c4d40f527 Mon Sep 17 00:00:00 2001 -From: James Knight -Date: Tue, 16 Feb 2016 23:51:08 -0500 -Subject: [PATCH] do not interact with systemctl when cross-compiling - -The installation process for GPSd on a systemd environment will attempt -to reload systemd's manager configuration (systemctl daemon-reload). -This is to allow the system to take advantage of the newly installed -GPSd services. When cross-compiling, the installation process should not -attempt to interact with the build environment's systemd instance (if -any). The following change checks if the build is not cross compiling -(via 'not env["sysroot"]') before attempting to do a systemd reload. - -Signed-off-by: James Knight -[yann.morin.1998@free.fr: tweak to apply on 3.16] -Signed-off-by: "Yann E. MORIN" ---- - SConstruct | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/SConstruct b/SConstruct -index c3bfd0d1..97c1b3a9 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -1909,10 +1909,12 @@ udev_install = Utility('udev-install', 'install', [ - ] + hotplug_wrapper_install) - - if env['systemd']: -+ env.Requires(udev_install, systemd_install) -+ -+if env['systemd'] and not env["sysroot"]: - systemctl_daemon_reload = Utility('systemctl-daemon-reload', '', [ 'systemctl daemon-reload || true']) - env.AlwaysBuild(systemctl_daemon_reload) - env.Precious(systemctl_daemon_reload) -- env.Requires(udev_install, systemd_install) - env.Requires(systemctl_daemon_reload, systemd_install) - env.Requires(udev_install, systemctl_daemon_reload) - --- -2.11.0 - diff --git a/package/gpsd/0002-SConstruct-do-not-force-O2-by-default.patch b/package/gpsd/0002-SConstruct-do-not-force-O2-by-default.patch deleted file mode 100644 index 641afa3..0000000 --- a/package/gpsd/0002-SConstruct-do-not-force-O2-by-default.patch +++ /dev/null @@ -1,29 +0,0 @@ -From eb7cce5dbb53a64cf55ac0d9a7fa4dcbebd4b173 Mon Sep 17 00:00:00 2001 -From: Waldemar Brodkorb -Date: Mon, 14 Aug 2017 23:24:38 +0200 -Subject: [PATCH] SConstruct: do not force -O2 by default - --O2 can cause problems on some architectures, so do not force it by - default. - -Signed-off-by: Waldemar Brodkorb ---- - SConstruct | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/SConstruct b/SConstruct -index fe444a2..93d91a4 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -330,8 +330,6 @@ if not 'CCFLAGS' in os.environ: - # Should we build with optimisation? - if env['debug'] or env['coveraging']: - env.Append(CCFLAGS=['-O0']) -- else: -- env.Append(CCFLAGS=['-O2']) - - # Get a slight speedup by not doing automatic RCS and SCCS fetches. - env.SourceCode('.', None) --- -2.9.4 - diff --git a/package/gpsd/gpsd.hash b/package/gpsd/gpsd.hash index 3083af2..805c298 100644 --- a/package/gpsd/gpsd.hash +++ b/package/gpsd/gpsd.hash @@ -1,2 +1,3 @@ # Locally calculated -sha256 03579af13a4d3fe0c5b79fa44b5f75c9f3cac6749357f1d99ce5d38c09bc2029 gpsd-3.16.tar.gz +sha256 68e0dbecfb5831997f8b3d6ba48aed812eb465d8c0089420ab68f9ce4d85e77a gpsd-3.17.tar.gz +sha256 71ff85d18bf063954cfc4251678d0e772223e21f80febbd99d5524c90f73f832 COPYING diff --git a/package/gpsd/gpsd.mk b/package/gpsd/gpsd.mk index 2b9c38a..e3fa20c 100644 --- a/package/gpsd/gpsd.mk +++ b/package/gpsd/gpsd.mk @@ -4,7 +4,7 @@ # ################################################################################ -GPSD_VERSION = 3.16 +GPSD_VERSION = 3.17 GPSD_SITE = http://download-mirror.savannah.gnu.org/releases/gpsd GPSD_LICENSE = BSD-3-Clause GPSD_LICENSE_FILES = COPYING