diff --git a/arch/PKGBUILD b/arch/PKGBUILD index b06a492..a46c35c 100644 --- a/arch/PKGBUILD +++ b/arch/PKGBUILD @@ -5,7 +5,7 @@ pkgname=('libnetctlgui' 'netctlgui-helper' 'netctl-gui' 'libnetctlgui-qt4' 'netctlgui-helper-qt4' 'netctl-gui-qt4' 'kdeplasma-applets-netctl-gui') pkgver=1.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="Qt4/Qt5 GUI for netctl. Also provides a widget for KDE" arch=('i686' 'x86_64') url="http://arcanis.name/projects/netctl-gui" @@ -36,6 +36,7 @@ build() { -DCMAKE_BUILD_TYPE=Release \ -DBUILD_DATAENGINE:BOOL=0 \ -DBUILD_PLASMOID:BOOL=0 \ + -DUSE_CAPABILITIES:BOOL=0 \ -DUSE_QT5:BOOL=0 \ "../${pkgbase}" make @@ -45,6 +46,7 @@ build() { -DCMAKE_BUILD_TYPE=Release \ -DBUILD_DATAENGINE:BOOL=0 \ -DBUILD_PLASMOID:BOOL=0 \ + -DUSE_CAPABILITIES:BOOL=0 \ "../${pkgbase}" make } @@ -84,7 +86,7 @@ package_netctlgui-helper() { depends=('libnetctlgui') provides=('netctlgui-helper-qt4') conflicts=('netctlgui-helper-qt4') - backup=('etc/netctlgui-helper.conf' + backup=('etc/netctl-gui.conf' 'etc/dbus-1/system.d/org.netctlgui.helper.conf') install="netctlgui-helper.install" @@ -127,7 +129,7 @@ package_netctlgui-helper-qt4() { depends=('libnetctlgui-qt4') provides=('netctlgui-helper') conflicts=('netctlgui-helper') - backup=('etc/netctlgui-helper.conf' + backup=('etc/netctl-gui.conf' 'etc/dbus-1/system.d/org.netctlgui.helper.conf') install="netctlgui-helper.install" diff --git a/arch/netctlgui-helper.install b/arch/netctlgui-helper.install index d26512a..7d11847 100644 --- a/arch/netctlgui-helper.install +++ b/arch/netctlgui-helper.install @@ -1,5 +1,5 @@ post_install() { - setcap cap_setuid=ep usr/bin/netctlgui-helper 2>/dev/null || chmod +s usr/bin/ping + setcap cap_setuid=ep usr/bin/netctlgui-helper 2>/dev/null || chmod +s usr/bin/netctlgui-helper 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