From 82485bca4c318cf4aec1dee3e61758999d5424ef Mon Sep 17 00:00:00 2001 From: arcan1s Date: Sat, 6 Sep 2014 15:05:00 +0400 Subject: [PATCH] updte netctlguo --- netctl-gui/PKGBUILD | 10 ++++++---- netctl-gui/libnetctlgui.install | 2 +- netctl-gui/netctlgui-helper.install | 4 ++++ 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/netctl-gui/PKGBUILD b/netctl-gui/PKGBUILD index 7cdb640..b06a492 100644 --- a/netctl-gui/PKGBUILD +++ b/netctl-gui/PKGBUILD @@ -4,7 +4,7 @@ pkgbase=netctl-gui pkgname=('libnetctlgui' 'netctlgui-helper' 'netctl-gui' 'libnetctlgui-qt4' 'netctlgui-helper-qt4' 'netctl-gui-qt4' 'kdeplasma-applets-netctl-gui') -pkgver=1.3.0 +pkgver=1.3.1 pkgrel=1 pkgdesc="Qt4/Qt5 GUI for netctl. Also provides a widget for KDE" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ url="http://arcanis.name/projects/netctl-gui" license=('GPL3') makedepends=('automoc4' 'cmake' 'kdelibs' 'qt5-base' 'qt5-tools') source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${pkgbase}-${pkgver}-src.tar.xz") -md5sums=('9b56b04258855258ed30549f1039b8f8') +md5sums=('d57bf3773f6cd9ead91c2669a02360fb') prepare() { @@ -84,7 +84,8 @@ package_netctlgui-helper() { depends=('libnetctlgui') provides=('netctlgui-helper-qt4') conflicts=('netctlgui-helper-qt4') - backup=('etc/netctlgui-helper.conf') + backup=('etc/netctlgui-helper.conf' + 'etc/dbus-1/system.d/org.netctlgui.helper.conf') install="netctlgui-helper.install" cd "${srcdir}/build-qt5/helper" @@ -126,7 +127,8 @@ package_netctlgui-helper-qt4() { depends=('libnetctlgui-qt4') provides=('netctlgui-helper') conflicts=('netctlgui-helper') - backup=('etc/netctlgui-helper.conf') + backup=('etc/netctlgui-helper.conf' + 'etc/dbus-1/system.d/org.netctlgui.helper.conf') install="netctlgui-helper.install" cd "${srcdir}/build-qt4/helper" diff --git a/netctl-gui/libnetctlgui.install b/netctl-gui/libnetctlgui.install index 1c08bca..d36adac 100644 --- a/netctl-gui/libnetctlgui.install +++ b/netctl-gui/libnetctlgui.install @@ -1,5 +1,5 @@ post_install() { - xdg-icon-resource forceupdate --theme hicolor 2> /dev/null + true } post_upgrade() { diff --git a/netctl-gui/netctlgui-helper.install b/netctl-gui/netctlgui-helper.install index 655fa6a..d26512a 100644 --- a/netctl-gui/netctlgui-helper.install +++ b/netctl-gui/netctlgui-helper.install @@ -1,5 +1,9 @@ post_install() { setcap cap_setuid=ep usr/bin/netctlgui-helper 2>/dev/null || chmod +s usr/bin/ping + cat << EOF +Note: users should be in network group if you want to get them access to the system bus +See http://arcanis.name/devs/netctl-gui-security-notes.html#helper +EOF } post_upgrade() {