mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Robert Schwebel <r.schwebel@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] networkmanager: version bump 1.2.2 -> 1.4.0
Date: Wed, 24 Aug 2016 22:29:57 +0200	[thread overview]
Message-ID: <20160824202957.3v6stfft7yfjwde5@pengutronix.de> (raw)
In-Reply-To: <1472070474-30980-1-git-send-email-r.schwebel@pengutronix.de>

Hi,

This is a first attempt to update NetworkManager to 1.4.0.

On Wed, Aug 24, 2016 at 10:27:54PM +0200, Robert Schwebel wrote:
> Update version. The patch is not necessary any more, sleep-monitor
> already has the missing header file.
> 
> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
> ---
>  ...-sleep-monitor-upower-add-missing-include.patch | 26 ----------------------
>  patches/NetworkManager-1.2.2/series                |  4 ----
>  rules/networkmanager.make                          | 21 +++++++++++++----
>  3 files changed, 17 insertions(+), 34 deletions(-)
>  delete mode 100644 patches/NetworkManager-1.2.2/0001-sleep-monitor-upower-add-missing-include.patch
>  delete mode 100644 patches/NetworkManager-1.2.2/series
> 
> diff --git a/patches/NetworkManager-1.2.2/0001-sleep-monitor-upower-add-missing-include.patch b/patches/NetworkManager-1.2.2/0001-sleep-monitor-upower-add-missing-include.patch
> deleted file mode 100644
> index 425974c..0000000
> --- a/patches/NetworkManager-1.2.2/0001-sleep-monitor-upower-add-missing-include.patch
> +++ /dev/null
> @@ -1,26 +0,0 @@
> -From: Michael Olbrich <m.olbrich@pengutronix.de>
> -Date: Wed, 18 May 2016 10:16:15 +0200
> -Subject: [PATCH] sleep-monitor-upower: add missing include
> -
> -Otherwise building fails with:
> -
> -nm-sleep-monitor-upower.c:132:45: error: expected declaration specifiers or '...' before 'nm_sleep_monitor_get'
> -nm-sleep-monitor-upower.c:132:67: error: expected declaration specifiers or '...' before '(' token
> -
> -Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> ----
> - src/nm-sleep-monitor-upower.c | 1 +
> - 1 file changed, 1 insertion(+)
> -
> -diff --git a/src/nm-sleep-monitor-upower.c b/src/nm-sleep-monitor-upower.c
> -index 5f0ff24552b2..8d0719039ccf 100644
> ---- a/src/nm-sleep-monitor-upower.c
> -+++ b/src/nm-sleep-monitor-upower.c
> -@@ -24,6 +24,7 @@
> - #include <sys/stat.h>
> - 
> - #include "nm-core-internal.h"
> -+#include "NetworkManagerUtils.h"
> - 
> - #include "nm-sleep-monitor.h"
> - 
> diff --git a/patches/NetworkManager-1.2.2/series b/patches/NetworkManager-1.2.2/series
> deleted file mode 100644
> index d288508..0000000
> --- a/patches/NetworkManager-1.2.2/series
> +++ /dev/null
> @@ -1,4 +0,0 @@
> -# generated by git-ptx-patches
> -#tag:base --start-number 1
> -0001-sleep-monitor-upower-add-missing-include.patch
> -# ed83c6f2cf812e4453d3644fb7eafaaf  - git-ptx-patches magic
> diff --git a/rules/networkmanager.make b/rules/networkmanager.make
> index 3e4d2ac..10f2a20 100644
> --- a/rules/networkmanager.make
> +++ b/rules/networkmanager.make
> @@ -17,11 +17,11 @@ PACKAGES-$(PTXCONF_NETWORKMANAGER) += networkmanager
>  #
>  # Paths and names
>  #
> -NETWORKMANAGER_VERSION	:= 1.2.2
> -NETWORKMANAGER_MD5	:= a922bf20c2243c9014fb14c4427ad035
> +NETWORKMANAGER_VERSION	:= 1.4.0
> +NETWORKMANAGER_MD5	:= 337e676261ca94af08f8e9b6f9b09a5b
>  NETWORKMANAGER		:= NetworkManager-$(NETWORKMANAGER_VERSION)
>  NETWORKMANAGER_SUFFIX	:= tar.xz
> -NETWORKMANAGER_URL	:= http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/1.2/$(NETWORKMANAGER).$(NETWORKMANAGER_SUFFIX)
> +NETWORKMANAGER_URL	:= http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/1.4/$(NETWORKMANAGER).$(NETWORKMANAGER_SUFFIX)
>  NETWORKMANAGER_SOURCE	:= $(SRCDIR)/$(NETWORKMANAGER).$(NETWORKMANAGER_SUFFIX)
>  NETWORKMANAGER_DIR	:= $(BUILDDIR)/$(NETWORKMANAGER)
>  
> @@ -48,6 +48,7 @@ NETWORKMANAGER_CONF_OPT := \
>  	--disable-introspection \
>  	--disable-qt \
>  	--disable-wimax \
> +	--disable-json-validation \
>  	--disable-polkit \
>  	--disable-modify-system \
>  	--$(call ptx/endis,PTXCONF_NETWORKMANAGER_PPP)-ppp \
> @@ -66,7 +67,7 @@ NETWORKMANAGER_CONF_OPT := \
>  	--with-systemdsystemunitdir=/lib/systemd/system \
>  	--with-hostname-persist=default \
>  	--$(call ptx/wwo,PTXCONF_NETWORKMANAGER_SYSTEMD_UNIT)-systemd-journal \
> -	--with-logging-backend-default="" \
> +	--with-config-logging-backend-default="" \
>  	--$(call ptx/wwo,PTXCONF_NETWORKMANAGER_SYSTEMD_UNIT)-systemd-logind \
>  	--without-consolekit \
>  	--with-session-tracking=no \
> @@ -76,10 +77,12 @@ NETWORKMANAGER_CONF_OPT := \
>  	--with-crypto=gnutls \
>  	--with-dbus-sys-dir=/usr/share/dbus-1/system.d \
>  	--$(call ptx/wwo,PTXCONF_NETWORKMANAGER_WWAN)-modem-manager-1 \
> +	--with-ofono=no \
>  	--with-dhclient=/sbin/dhclient \
>  	--without-dhcpcd \
>  	--without-resolvconf \
>  	--without-netconfig \
> +	--with-config-dns-rc-manager-default=file \

I'm not entirely sure if this is the right choice.

>  	--with-iptables=/usr/sbin/iptables \
>  	--with-dnsmasq=/usr/sbin/dnsmasq \
>  	--with-dnssec-trigger=/bin/true \
> @@ -91,6 +94,16 @@ NETWORKMANAGER_CONF_OPT := \
>  	--without-valgrind \
>  	--without-tests
  
> +# FIXME:
> +#
> +#  --enable-ld-gc          Enable garbage collection of unused symbols on
> +#                          linking (default: auto)
> +#  --enable-address-sanitizer
> +#                          Compile with address sanitizer (default: no)
> +#  --enable-undefined-sanitizer
> +#                          Compile with undefined behavior sanitizer (default:
> +#                          no)

Any idea what to do with these new options? Switching all off?

rsc 
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2016-08-24 20:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-24 20:27 Robert Schwebel
2016-08-24 20:29 ` Robert Schwebel [this message]
2016-08-25 11:46   ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160824202957.3v6stfft7yfjwde5@pengutronix.de \
    --to=r.schwebel@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox