aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/network-manager-applet/APKBUILD28
-rw-r--r--community/network-manager-applet/fix-without-selinux.patch22
2 files changed, 37 insertions, 13 deletions
diff --git a/community/network-manager-applet/APKBUILD b/community/network-manager-applet/APKBUILD
index a3d6286393..9ef0a4af58 100644
--- a/community/network-manager-applet/APKBUILD
+++ b/community/network-manager-applet/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=network-manager-applet
-pkgver=1.4.6
+pkgver=1.7.1
pkgrel=0
pkgdesc="GTK network manager applet"
url="https://wiki.gnome.org/Projects/NetworkManager"
@@ -9,24 +9,24 @@ license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev
-
+ gcr-dev
gtk+3.0-dev
-
- jansson-dev
- libsecret-dev
iso-codes-dev
- polkit-dev
+ jansson-dev
libgudev-dev
- libgnome-keyring-dev
- dbus-glib-dev
+ libmm-glib-dev
libnotify-dev
- networkmanager-dev
+ libsecret-dev
+ libsecret-dev
modemmanager-dev
- libmm-glib-dev
+ networkmanager-dev
+ polkit-dev
"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-source="https://download.gnome.org/sources/network-manager-applet/1.4/network-manager-applet-$pkgver.tar.xz"
+source="https://download.gnome.org/sources/network-manager-applet/${pkgver%.*}/network-manager-applet-$pkgver.tar.xz
+ fix-without-selinux.patch
+ "
builddir="$srcdir/network-manager-applet-$pkgver"
build() {
@@ -38,7 +38,8 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
- --with-modem-manager-1 \
+ --without-selinux \
+ --with-gcr \
|| return 1
make || return 1
}
@@ -48,4 +49,5 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-sha512sums="f0eab5c50739c2309fa19336e23ead6603dc953b62fff0600a91988df8d41c2f300c22ebd4d5be8654a3fd7bac38dacc23be149f1a7085f10bb55e1830d9472f network-manager-applet-1.4.6.tar.xz"
+sha512sums="d4b0cd5dcb219c34abf9c4f4df0861e3198c45edbb1e8d45eb53fe85fc590dd0486eb978c4445430554c70f337bb9e8fa9367c5c1689228ecc2c30194e8d7ff0 network-manager-applet-1.7.1.tar.xz
+ceff76ac33ddd54e0d1428a43cb6cdba177843de6355ab0119b9e54e766330dffa1e91a6a0857e749c76c728af808de45f79433316acf125d58579092a33c47e fix-without-selinux.patch"
diff --git a/community/network-manager-applet/fix-without-selinux.patch b/community/network-manager-applet/fix-without-selinux.patch
new file mode 100644
index 0000000000..0134cc0610
--- /dev/null
+++ b/community/network-manager-applet/fix-without-selinux.patch
@@ -0,0 +1,22 @@
+diff --git a/src/connection-editor/nm-connection-editor.c b/src/connection-editor/nm-connection-editor.c
+index ca74d12..be211f2 100644
+--- a/src/connection-editor/nm-connection-editor.c
++++ b/src/connection-editor/nm-connection-editor.c
+@@ -31,7 +31,7 @@
+ #include <errno.h>
+ #include <gdk/gdkx.h>
+
+-#ifdef WITH_SELINUX
++#if WITH_SELINUX
+ #include <selinux/selinux.h>
+ #endif
+
+@@ -183,7 +183,7 @@ update_sensitivity (NMConnectionEditor *editor)
+ }
+ }
+
+-#ifdef WITH_SELINUX
++#if WITH_SELINUX
+ /* This is what the files in ~/.cert would get. */
+ static const char certcon[] = "unconfined_u:object_r:home_cert_t:s0";
+