Merge pull request #1116 from ayhanyalcinsoy/master

nm ve mm aiesi,scribus
This commit is contained in:
Ertuğrul Erata
2016-01-26 07:41:13 +02:00
12 changed files with 133 additions and 99 deletions
@@ -52,6 +52,13 @@
</Package>
<History>
<Update release="9">
<Date>2016-01-26</Date>
<Version>5.18.0</Version>
<Comment>rebuild for ModemManager</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="8">
<Date>2016-01-10</Date>
<Version>5.18.0</Version>
@@ -53,6 +53,13 @@
</Package>
<History>
<Update release="9">
<Date>2016-01-25</Date>
<Version>5.18.0</Version>
<Comment>rebuild for NetworkManager</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="8">
<Date>2016-01-10</Date>
<Version>5.18.0</Version>
+3 -3
View File
@@ -10,12 +10,12 @@ from pisi.actionsapi import autotools
from pisi.actionsapi import get
def setup():
#shelltools.system("./autogen.sh")
shelltools.system("./autogen.sh")
autotools.configure("--disable-static \
--enable-more-warnings=yes \
--with-udev-base-dir=/lib/udev \
--with-tests=yes \
--with-polkit=no")
--enable-gtk-doc \
--with-polkit=permissive")
def build():
autotools.make()
+21 -4
View File
@@ -13,24 +13,32 @@
<IsA>service</IsA>
<Summary>A manager framework for mobile broadband modems</Summary>
<Description>ModemManager provides a unified high level API for communicating with mobile broadband modems.</Description>
<Archive sha1sum="1e17965716a1b27a8b250e813dbeb135d88b0bb9" type="tarxz">http://www.freedesktop.org/software/ModemManager/ModemManager-1.2.0.tar.xz</Archive>
<Archive sha1sum="e42e545516706746d647ce76c83ed1065cf2dafd" type="tarxz">http://www.freedesktop.org/software/ModemManager/ModemManager-1.4.12.tar.xz</Archive>
<BuildDependencies>
<Dependency>glib2-devel</Dependency>
<Dependency>libgudev-devel</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>polkit-devel</Dependency>
<Dependency>ppp-devel</Dependency>
<Dependency>libqmi-devel</Dependency>
<Dependency>libmbim-devel</Dependency>
<Dependency>intltool</Dependency>
<Dependency>gtk-doc</Dependency>
<Dependency>docbook-xsl</Dependency>
<Dependency>vala-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>ModemManager</Name>
<RuntimeDependencies>
<Dependency>ppp</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libqmi</Dependency>
<Dependency>polkit</Dependency>
<Dependency>libmbim</Dependency>
<Dependency>eudev</Dependency>
<Dependency>libmm-glib</Dependency>
<Dependency>libgudev</Dependency>
<Dependency>libmm-glib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
@@ -44,6 +52,8 @@
<Path fileType="library">/usr/lib/ModemManager</Path>
<Path fileType="library">/usr/lib/girepository-1.0/ModemManager-1.0.typelib</Path>
<Path fileType="man">/usr/share/man/man8/ModemManager.8</Path>
<Path fileType="data">/usr/share/gtk-doc</Path>
<Path fileType="data">/usr/share/polkit-1</Path>
</Files>
</Package>
@@ -89,6 +99,13 @@
</Package>
<History>
<Update release="3">
<Date>2016-01-25</Date>
<Version>1.4.12</Version>
<Comment>Version bump.</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-02-17</Date>
<Version>1.2.0</Version>
+1 -1
View File
@@ -60,7 +60,7 @@ def build():
autotools.make()
#def check():
# autotools.make("check")
#autotools.make("check")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
@@ -0,0 +1,54 @@
From 11aa07ed939193e85516c287a57dee1837242972 Mon Sep 17 00:00:00 2001
From: Thomas Haller <thaller@redhat.com>
Date: Mon, 4 Jan 2016 18:54:26 +0100
Subject: [PATCH] core: fix failure to configure routes due to wrong
device-route for IPv4 peer-addresses
As in the case of a OpenVPN connection, we might add an address like:
10.8.0.58/32 ptp 10.8.0.57
In this case, kernel would automatically add a device-route like:
10.8.0.57/32 via 0.0.0.0 dev 32 metric 0 mss 0 src rtprot-kernel scope link pref-src 10.8.0.58
nm_ip4_config_commit() checks all IP addresses to figure out
the present device-routes. Then the routes are synced by NMRouteManager.
Due to a bug, we would not consider the peer-address, but the local-address
and configure a route 10.8.0.58/32, instead of 10.8.0.57/32.
That stays mostly unnoticed, because usually the peer and the local-address are
in the same subnet, so that there is no difference (/32 is an example of the
peer-address being in a different subnet).
It also seems that due to a bug fixed by df4e5357521 this issue didn't surface.
Probably because we would not notice the 10.8.0.57/32 right away and thus
nm_route_manager_ip4_route_sync() would not wrongly delete it.
https://bugzilla.gnome.org/show_bug.cgi?id=759892
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809195
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809494
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809526
https://bugs.archlinux.org/task/47535
https://bugzilla.redhat.com/show_bug.cgi?id=1294309
https://mail.gnome.org/archives/networkmanager-list/2015-December/msg00059.html
---
src/nm-ip4-config.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/nm-ip4-config.c b/src/nm-ip4-config.c
index f625d35..61e29af 100644
--- a/src/nm-ip4-config.c
+++ b/src/nm-ip4-config.c
@@ -298,7 +298,8 @@ nm_ip4_config_commit (const NMIP4Config *config, int ifindex, gboolean routes_fu
route.ifindex = ifindex;
route.source = NM_IP_CONFIG_SOURCE_KERNEL;
- route.network = nm_utils_ip4_address_clear_host_address (addr->address, addr->plen);
+ route.network = nm_utils_ip4_address_clear_host_address (addr->peer_address ? : addr->address,
+ addr->plen);
route.plen = addr->plen;
route.pref_src = addr->address;
route.metric = default_route_metric;
--
2.6.4
@@ -1,34 +0,0 @@
From 35c9e8d5321b6451fb74f8e7231a690c940a6e69 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Date: Wed, 6 May 2015 20:49:57 +0200
Subject: [PATCH] dns: Fix falling back in the resolv.conf methods
---
src/dns-manager/nm-dns-manager.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/dns-manager/nm-dns-manager.c b/src/dns-manager/nm-dns-manager.c
index 2f8ceab..eade2a0 100644
--- a/src/dns-manager/nm-dns-manager.c
+++ b/src/dns-manager/nm-dns-manager.c
@@ -782,13 +782,16 @@ update_dns (NMDnsManager *self,
#ifdef NETCONFIG_PATH
if (success == FALSE) {
+ g_clear_error (error);
success = dispatch_netconfig (searches, nameservers,
nis_domain, nis_servers, error);
}
#endif
- if (success == FALSE)
+ if (success == FALSE) {
+ g_clear_error (error);
success = update_resolv_conf (searches, nameservers, error);
+ }
/* signal that resolv.conf was changed */
if (success)
--
2.4.0
@@ -1,48 +0,0 @@
From 4099c9242b091604466dda081dc5f6909354258b Mon Sep 17 00:00:00 2001
From: M. Vefa Bicakci <m.v.b@runbox.com>
Date: Sat, 24 May 2014 23:37:00 +0000
Subject: core: fix crash during Wi-Fi rescan by emitting NM_DEVICE_AUTH_REQUEST signal correctly
Fixes regression introduced by commit da59b6d2229b85afbb9e14846931376340dc6030.
https://mail.gnome.org/archives/networkmanager-list/2014-May/msg00038.html
Backport-of: d9653484859c426f707b4759bc9882f7a57c1152
[thaller@redhat.com: original patch modified in nm-device-wifi.c to pass no
connection, as it is done on master]
Signed-off-by: Thomas Haller <thaller@redhat.com>
---
diff --git a/src/nm-device-wifi.c b/src/nm-device-wifi.c
index 8ca5278..052d68f 100644
--- a/zsrc/nm-device-wifi.c
+++ b/src/nm-device-wifi.c
@@ -1563,6 +1563,7 @@ impl_device_request_scan (NMDeviceWifi *self,
g_signal_emit_by_name (device,
NM_DEVICE_AUTH_REQUEST,
context,
+ NULL,
NM_AUTH_PERMISSION_NETWORK_CONTROL,
TRUE,
request_scan_cb,
diff --git a/src/nm-manager.c b/src/nm-manager.c
index 9037e64..96bf3b4 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -1874,10 +1874,10 @@ device_auth_request_cb (NMDevice *device,
}
/* Ensure the subject has permissions for this connection */
- if (!nm_auth_uid_in_acl (connection,
- priv->session_monitor,
- sender_uid,
- &error_desc)) {
+ if (connection != NULL && !nm_auth_uid_in_acl (connection,
+ priv->session_monitor,
+ sender_uid,
+ &error_desc)) {
error = g_error_new_literal (NM_MANAGER_ERROR,
NM_MANAGER_ERROR_PERMISSION_DENIED,
error_desc);
--
cgit v0.9.0.2-2-gbebe
+15 -4
View File
@@ -12,7 +12,7 @@
<IsA>app:console</IsA>
<Summary>Network connection manager powered by D-Bus and UDEV</Summary>
<Description>NetworkManager attempts to keep an active network connection available at all times.</Description>
<Archive sha1sum="bb12da39651f1477278ba4f2d5d0fac17a99bb61" type="tarxz">https://download.gnome.org/sources/NetworkManager/1.0/NetworkManager-1.0.4.tar.xz</Archive>
<Archive sha1sum="1c199fdfb9fff9e7f540d51952699ce815a12369" type="tarxz">https://download.gnome.org/sources/NetworkManager/1.0/NetworkManager-1.0.10.tar.xz</Archive>
<AdditionalFiles>
<AdditionalFile target="po/tr.po">tr.po</AdditionalFile>
</AdditionalFiles>
@@ -36,13 +36,14 @@
<Dependency>glib2-devel</Dependency>
<Dependency>polkit-devel</Dependency>
<Dependency>readline-devel</Dependency>
<Dependency>eudev-devel</Dependency>
<Dependency>libgudev-devel</Dependency>
<Dependency>libutil-linux-devel</Dependency>
<Dependency versionFrom="0.9.2">ConsoleKit-devel</Dependency>
</BuildDependencies>
<Patches>
<!--<Patch>0001-dns-Fix-falling-back-in-the-resolv.conf-methods.patch</Patch>-->
<Patch>disable_set_hostname.patch</Patch>
<Patch>0001-core-fix-failure-to-configure-routes-due-to-wrong-de.patch</Patch>
<Patch>disable_set_hostname.patch</Patch>
</Patches>
</Source>
@@ -56,12 +57,12 @@
<Dependency>readline</Dependency>
<Dependency>dbus-glib</Dependency>
<Dependency>libutil-linux</Dependency>
<Dependency>eudev</Dependency>
<Dependency>nss</Dependency>
<Dependency>newt</Dependency>
<Dependency>ppp</Dependency>
<Dependency>libnl</Dependency>
<Dependency>libsoup</Dependency>
<Dependency>libgudev</Dependency>
<Dependency>bluez-libs</Dependency>
<Dependency>iproute2</Dependency>
<Dependency>iptables</Dependency>
@@ -121,6 +122,16 @@
</Package>
<History>
<Update release="12">
<Date>2016-01-25</Date>
<Version>1.0.10</Version>
<Comment>version bump</Comment>
<Requires>
<Action package="NetworkManager">systemRestart</Action>
</Requires>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="11">
<Date>2015-07-22</Date>
<Version>1.0.4</Version>
@@ -12,7 +12,7 @@
<IsA>app:gui</IsA>
<Summary>Network connection manager GUI interface</Summary>
<Description>network-manager-applet is a powerful graphical frontend to NetworkManager.</Description>
<Archive sha1sum="9d486a6fa5a600fab5510a06cad77a6cbd745d8f" type="tarxz">http://ftp.gnome.org/mirror/gnome.org/sources/network-manager-applet/1.0/network-manager-applet-1.0.4.tar.xz</Archive>
<Archive sha1sum="4c9c65100ba11a3c9caf4fdd2063412b5e342077" type="tarxz">http://ftp.gnome.org/mirror/gnome.org/sources/network-manager-applet/1.0/network-manager-applet-1.0.10.tar.xz</Archive>
<BuildDependencies>
<Dependency>gtk2-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
@@ -29,7 +29,7 @@
<Dependency>glib2-devel</Dependency>
<Dependency>dbus-glib-devel</Dependency>
<Dependency>atk-devel</Dependency>
<Dependency>eudev-devel</Dependency>
<Dependency>libgudev-devel</Dependency>
<Dependency>intltool</Dependency>
</BuildDependencies>
</Source>
@@ -46,12 +46,12 @@
<Dependency>libmm-glib</Dependency>
<Dependency>gdk-pixbuf</Dependency>
<Dependency>NetworkManager</Dependency>
<Dependency>at-spi2-core</Dependency>
<!-- <Dependency>at-spi2-core</Dependency>-->
<!--<Dependency>gnome-bluetooth</Dependency>-->
<Dependency>dbus</Dependency>
<Dependency>glib2</Dependency>
<Dependency>dbus-glib</Dependency>
<Dependency>eudev</Dependency>
<Dependency>libgudev</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
@@ -87,6 +87,13 @@
</Package>
<History>
<Update release="14">
<Date>2016-01-26</Date>
<Version>1.0.10</Version>
<Comment>Version bump.</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="13">
<Date>2015-07-22</Date>
<Version>1.0.4</Version>
+8 -1
View File
@@ -12,7 +12,7 @@
<IsA>app:gui</IsA>
<Summary>QMI modem protocol helper library</Summary>
<Description>libqmi is a glib-based library for talking to WWAN modems and devices which speak the Qualcomm MSM Interface (QMI) protocol.</Description>
<Archive sha1sum="55d051e2bb0996218ee7e419ca255476a55e9c9b" type="tarxz">http://www.freedesktop.org/software/libqmi/libqmi-1.8.0.tar.xz</Archive>
<Archive sha1sum="62d12a4bbb6341e26f3cf69cfd45a5eb92401cc6" type="tarxz">http://www.freedesktop.org/software/libqmi/libqmi-1.12.6.tar.xz</Archive>
<BuildDependencies>
<Dependency>glib2-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
@@ -47,6 +47,13 @@
</Package>
<History>
<Update release="2">
<Date>2016-01-25</Date>
<Version>1.12.6</Version>
<Comment>version bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2014-01-19</Date>
<Version>1.8.0</Version>
+6
View File
@@ -66,13 +66,19 @@
<Dependency>podofo</Dependency>
<Dependency>python</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>poppler</Dependency>
<Dependency>freetype</Dependency>
<Dependency>hunspell</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>fontconfig</Dependency>
<Dependency>librevenge</Dependency>
<Dependency>qt5-webkit</Dependency>
<Dependency>libjpeg-turbo</Dependency>
<Dependency>qt5-declarative</Dependency>
<Dependency>libpagemaker</Dependency>
<Dependency>libcdr</Dependency>
<Dependency>GraphicsMagick</Dependency>
<Dependency>libvisio</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>