Hello community,

here is the log from the commit of package NetworkManager-openvpn for 
openSUSE:Factory checked in at 2016-09-23 11:33:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/NetworkManager-openvpn (Old)
 and      /work/SRC/openSUSE:Factory/.NetworkManager-openvpn.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "NetworkManager-openvpn"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/NetworkManager-openvpn/NetworkManager-openvpn.changes
    2016-08-12 15:44:25.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.NetworkManager-openvpn.new/NetworkManager-openvpn.changes
       2016-09-23 11:33:16.000000000 +0200
@@ -1,0 +2,79 @@
+Mon Aug 29 12:59:40 UTC 2016 - [email protected]
+
+- Update to version 1.2.4:
+  + Prefer building against stable libsecret API.
+  + Split libnm-vpn-plugin-openvpn.so into a GTK-free core plugin
+    usable by nmcli and a UI plugin for nm-applet and gnome
+    components.
+  + Support NM_VPN_PLUGIN_DEBUG environment variable to control
+    debug logging from NetworkManager.
+  + Fix handling comp-lzo option.
+  + Add support for tls-cipher option.
+  + Add support for IPv6 DNS servers.
+  + Fix handling quotes and comments when parsing ovpn files.
+  + Hide internal ABI from properties libraries.
+  + Preserve IP routing configuration on restart.
+  + Various cleanups.
+  + Updated translations.
+- Replace pkgconfig(libsecret-unstable) BuildRequires with
+  pkgconfig(libsecret-1), following upstream.
+- Drop --disable-more-warnings configure parameter: no longer
+  needed.
+- Add NetworkManager-openvpn-dl-linking.patch: Fix build by linking
+  libdl (bgo#769783).
+
+-------------------------------------------------------------------
+Thu Apr  7 07:15:38 UTC 2016 - [email protected]
+
+- Update to version 1.2.2:
+  + Fixed validation of proxy port.
+  + Use a proper name for the AppStream metadata.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Thu Apr  7 07:15:37 UTC 2016 - [email protected]
+
+- Update to version 1.2.0:
+  + build: don't include the full path to a plugin by default.
+  + service: drop off the bus when done.
+  + import/export: don't limit reneg-sec to 65536 on import.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Thu Apr  7 07:15:36 UTC 2016 - [email protected]
+
+- Update to version 1.1.93 (1.2-rc1):
+  + service,properties: add support for --ns-cert-type option.
+- Changes from version 1.1.92:
+  + Code refactoring.
+  + Bugs fixed: bgo#763039, bgo#763122, bgo#763320, bgo#763742,
+    bgo#764132.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Thu Apr  7 07:15:35 UTC 2016 - [email protected]
+
+- Update to version 1.1.91:
+  + Add support for importing inline keys, secrets and PKCS12
+    certificates.
+  + Bugs fixed: bgo#760746, bgo#760904, bgo#760968, bgo#760987,
+    bgo#761198, bgo#761285, bgo#761299, bgo#761907, bgo#762678.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Thu Apr  7 07:15:34 UTC 2016 - [email protected]
+
+- Update to version 1.1.90:
+  + Ported to libnm, libnma and GDBus.
+  + Support multiple concurrent OpenVPN connections.
+  + Various import/export fixes.
+  + Add support for --ping option to backend.
+  + Updated translations.
+- Add pkgconfig(libnm) and pkgconfig(libnma) BuildRequires: new
+  dependencies.
+- Drop nm-openvpn-desktop.patch: No longer needed.
+- Remove NetworkManager-openvpn-openvpn-settings.png source file:
+  as there is no desktop file left, there is also no need for an
+  icon.
+
+-------------------------------------------------------------------

Old:
----
  NetworkManager-openvpn-1.0.8.tar.xz
  NetworkManager-openvpn-openvpn-settings.png
  nm-openvpn-desktop.patch

New:
----
  NetworkManager-openvpn-1.2.4.tar.xz
  NetworkManager-openvpn-dl-linking.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ NetworkManager-openvpn.spec ++++++
--- /var/tmp/diff_new_pack.iMoiqD/_old  2016-09-23 11:33:17.000000000 +0200
+++ /var/tmp/diff_new_pack.iMoiqD/_new  2016-09-23 11:33:17.000000000 +0200
@@ -20,26 +20,28 @@
 Summary:        NetworkManager VPN support for OpenVPN
 License:        GPL-2.0+
 Group:          Productivity/Networking/System
-Version:        1.0.8
+Version:        1.2.4
 Release:        0
-# FIXME .desktop icons are currently disabled (on purpose) in the NM tarballs. 
They will re-appear later on (when nmce supports --import)
-# FIXME: --disable-more-warnings should be dropped from configure when 
possible. Added with 0.9.2.0 for Gtk+ 3.3 build.
 Url:            http://www.gnome.org/projects/NetworkManager
-Source0:        
http://download.gnome.org/sources/NetworkManager-openvpn/1.0/%{name}-%{version}.tar.xz
-Source1:        NetworkManager-openvpn-openvpn-settings.png
-Patch0:         nm-openvpn-desktop.patch
+Source0:        
http://download.gnome.org/sources/NetworkManager-openvpn/1.2/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM NetworkManager-openvpn-dl-linking.patch 
[email protected] -- Fix linking of libdl, taken from upstream
+Patch0:         NetworkManager-openvpn-dl-linking.patch
 BuildRequires:  intltool
+# Needed for patch0
+BuildRequires:  libtool
 BuildRequires:  translation-update-upstream
-BuildRequires:  pkgconfig(NetworkManager) >= 0.9.10
+BuildRequires:  pkgconfig(NetworkManager) >= 1.2.0
 BuildRequires:  pkgconfig(dbus-glib-1)
 BuildRequires:  pkgconfig(gtk+-3.0)
-BuildRequires:  pkgconfig(libnm-glib) >= 0.9.10
-BuildRequires:  pkgconfig(libnm-glib-vpn) >= 0.9.10
-BuildRequires:  pkgconfig(libnm-gtk) >= 1.0.5
-BuildRequires:  pkgconfig(libnm-util) >= 0.9.10
-BuildRequires:  pkgconfig(libsecret-unstable)
+BuildRequires:  pkgconfig(libnm) >= 1.2.0
+BuildRequires:  pkgconfig(libnm-glib) >= 1.2.0
+BuildRequires:  pkgconfig(libnm-glib-vpn) >= 1.2.0
+BuildRequires:  pkgconfig(libnm-gtk) >= 1.2.0
+BuildRequires:  pkgconfig(libnm-util) >= 1.2.0
+BuildRequires:  pkgconfig(libnma) >= 1.2.0
+BuildRequires:  pkgconfig(libsecret-1) >= 0.18
 Recommends:     %{name}-frontend
-Requires:       NetworkManager >= 0.9.10
+Requires:       NetworkManager >= 1.2.0
 Requires:       openvpn
 Recommends:     %{name}-lang
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -63,27 +65,20 @@
 %lang_package
 %prep
 %setup -q
-translation-update-upstream
 %patch0 -p1
-cp -a %{S:1} nm-openvpn-settings.png
+translation-update-upstream
 
 %build
+# needed for patch0
+autoreconf -fiv
 %configure\
-       --disable-static \
-        --disable-more-warnings
+       --disable-static
 %__make %{?_smp_mflags}
 
 %install
 %makeinstall
 %find_lang %{name} %{?no_lang_C}
 find %{buildroot}%{_libdir} -name '*.la' -delete -print
-# FIXME: There is no MIME type definition for application/x-openvpn-settings 
in /usr/share/mime/packages.
-# Without it, MIME icon has no effect.
-#mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/mimetypes
-#mv 
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/gnome-mime-application-x-openvpn-settings.png
 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/mimetypes/
-install -D nm-openvpn-settings.png 
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/nm-openvpn-settings.png
-# FIXME .desktop icons are currently disabled (on purpose) in the NM tarballs. 
They will re-appear later on (when nmce supports --import)
-# %%suse_update_desktop_file nm-openvpn GNOME Network Monitor Applet
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -106,19 +101,22 @@
 %files
 %defattr(-,root,root,-)
 %doc README
+%{_libdir}/NetworkManager/libnm-vpn-plugin-openvpn.so
+%{_libdir}/NetworkManager/libnm-vpn-plugin-openvpn-editor.so
 %{_libexecdir}/nm-openvpn-service
 %{_libexecdir}/nm-openvpn-service-openvpn-helper
+%dir %{_libexecdir}/NetworkManager
+%dir %{_libexecdir}/NetworkManager/VPN
+%{_libexecdir}/NetworkManager/VPN/nm-openvpn-service.name
 %{_sysconfdir}/NetworkManager/VPN/nm-openvpn-service.name
 %{_sysconfdir}/dbus-1/system.d/nm-openvpn-service.conf
 
 %files gnome
 %defattr(-,root,root,-)
+%{_datadir}/appdata/network-manager-openvpn.metainfo.xml
+%{_datadir}/gnome-vpn-properties/
 %{_libdir}/NetworkManager/libnm-openvpn-properties.so*
 %{_libexecdir}/nm-openvpn-auth-dialog
-# FIXME .desktop icons are currently disabled (on purpose) in the NM tarballs. 
They will re-appear later on (when nmce supports --import)
-#%{_datadir}/applications/nm-openvpn.desktop
-%{_datadir}/gnome-vpn-properties/
-%{_datadir}/icons/hicolor/*/*/*.png
 
 %files lang -f %{name}.lang
 

++++++ NetworkManager-openvpn-1.0.8.tar.xz -> 
NetworkManager-openvpn-1.2.4.tar.xz ++++++
++++ 85755 lines of diff (skipped)

++++++ NetworkManager-openvpn-dl-linking.patch ++++++
commit 220b38717f8d0fc16c8b9d68cfd6e5b5751e4669
Author: Dennis Schridde <[email protected]>
Date:   Mon Aug 15 16:36:57 2016 +0200

    build: fix linking libnm-vpn-plugin-openvpn.la for dlopen()
    
    On some systems, dlopen() is not in libdl.so [1].
    
    [1] https://autotools.io/autoconf/finding.html
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769783

diff --git a/configure.ac b/configure.ac
index 34829f4..3988bad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,9 @@ dnl
 AC_PROG_GCC_TRADITIONAL
 AC_FUNC_MEMCMP
 AC_CHECK_FUNCS(select socket uname)
+AC_SEARCH_LIBS([dlopen], [dl dld], [], [
+  AC_MSG_ERROR([unable to find the dlopen() function])
+])
 
 dnl ensure that when the Automake generated makefile calls aclocal,
 dnl it honours the $ACLOCAL_FLAGS environment variable
diff --git a/properties/Makefile.am b/properties/Makefile.am
index 552e537..04ed5cd 100644
--- a/properties/Makefile.am
+++ b/properties/Makefile.am
@@ -57,7 +57,8 @@ libnm_vpn_plugin_openvpn_la_CFLAGS =                    \
         $(LIBNM_CFLAGS)
 
 libnm_vpn_plugin_openvpn_la_LIBADD = \
-        $(LIBNM_LIBS)
+        $(LIBNM_LIBS) \
+        $(DLOPEN)
 
 libnm_vpn_plugin_openvpn_la_LDFLAGS = \
         -avoid-version \


commit 8d76aebe99b1b9c67adab4922c0c33edb1f89b7f
Author: Thomas Haller <[email protected]>
Date:   Mon Aug 15 16:55:01 2016 +0200

    build: use $(DL_LIBS) name for -ldl
    
    Usually, our variables for libraries are call *_LIBS. Adjust the name.

diff --git a/configure.ac b/configure.ac
index 3988bad..142fa67 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,9 +38,9 @@ dnl
 AC_PROG_GCC_TRADITIONAL
 AC_FUNC_MEMCMP
 AC_CHECK_FUNCS(select socket uname)
-AC_SEARCH_LIBS([dlopen], [dl dld], [], [
-  AC_MSG_ERROR([unable to find the dlopen() function])
-])
+
+AC_SEARCH_LIBS([dlopen], [dl dld], [], [ac_cv_search_dlopen=])
+AC_SUBST([DL_LIBS], "$ac_cv_search_dlopen")
 
 dnl ensure that when the Automake generated makefile calls aclocal,
 dnl it honours the $ACLOCAL_FLAGS environment variable
diff --git a/properties/Makefile.am b/properties/Makefile.am
index 04ed5cd..12ee00c 100644
--- a/properties/Makefile.am
+++ b/properties/Makefile.am
@@ -58,7 +58,8 @@ libnm_vpn_plugin_openvpn_la_CFLAGS =                    \
 
 libnm_vpn_plugin_openvpn_la_LIBADD = \
         $(LIBNM_LIBS) \
-        $(DLOPEN)
+        $(DL_LIBS) \
+        $(NULL)
 
 libnm_vpn_plugin_openvpn_la_LDFLAGS = \
         -avoid-version \
diff --git a/properties/tests/Makefile.am b/properties/tests/Makefile.am
index c4639ee..c3eef5b 100644
--- a/properties/tests/Makefile.am
+++ b/properties/tests/Makefile.am
@@ -27,7 +27,6 @@ test_import_export_LDADD = \
        $(GTK_LIBS) \
        $(LIBNM_LIBS) \
        $(LIBNMA_LIBS) \
-       -ldl \
        $(top_builddir)/properties/libnm-vpn-plugin-openvpn-test.la
 
 


Reply via email to