mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-04-24 15:37:23 +00:00
update archlinux install scripts
This commit is contained in:
parent
f86ef0514b
commit
4e8bbeed35
@ -5,7 +5,7 @@ pkgname=('libnetctlgui' 'netctlgui-helper' 'netctl-gui'
|
|||||||
'libnetctlgui-qt4' 'netctlgui-helper-qt4' 'netctl-gui-qt4'
|
'libnetctlgui-qt4' 'netctlgui-helper-qt4' 'netctl-gui-qt4'
|
||||||
'kdeplasma-applets-netctl-gui')
|
'kdeplasma-applets-netctl-gui')
|
||||||
pkgver=1.3.1
|
pkgver=1.3.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Qt4/Qt5 GUI for netctl. Also provides a widget for KDE"
|
pkgdesc="Qt4/Qt5 GUI for netctl. Also provides a widget for KDE"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://arcanis.name/projects/netctl-gui"
|
url="http://arcanis.name/projects/netctl-gui"
|
||||||
@ -36,6 +36,7 @@ build() {
|
|||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_DATAENGINE:BOOL=0 \
|
-DBUILD_DATAENGINE:BOOL=0 \
|
||||||
-DBUILD_PLASMOID:BOOL=0 \
|
-DBUILD_PLASMOID:BOOL=0 \
|
||||||
|
-DUSE_CAPABILITIES:BOOL=0 \
|
||||||
-DUSE_QT5:BOOL=0 \
|
-DUSE_QT5:BOOL=0 \
|
||||||
"../${pkgbase}"
|
"../${pkgbase}"
|
||||||
make
|
make
|
||||||
@ -45,6 +46,7 @@ build() {
|
|||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_DATAENGINE:BOOL=0 \
|
-DBUILD_DATAENGINE:BOOL=0 \
|
||||||
-DBUILD_PLASMOID:BOOL=0 \
|
-DBUILD_PLASMOID:BOOL=0 \
|
||||||
|
-DUSE_CAPABILITIES:BOOL=0 \
|
||||||
"../${pkgbase}"
|
"../${pkgbase}"
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
@ -84,7 +86,7 @@ package_netctlgui-helper() {
|
|||||||
depends=('libnetctlgui')
|
depends=('libnetctlgui')
|
||||||
provides=('netctlgui-helper-qt4')
|
provides=('netctlgui-helper-qt4')
|
||||||
conflicts=('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')
|
'etc/dbus-1/system.d/org.netctlgui.helper.conf')
|
||||||
install="netctlgui-helper.install"
|
install="netctlgui-helper.install"
|
||||||
|
|
||||||
@ -127,7 +129,7 @@ package_netctlgui-helper-qt4() {
|
|||||||
depends=('libnetctlgui-qt4')
|
depends=('libnetctlgui-qt4')
|
||||||
provides=('netctlgui-helper')
|
provides=('netctlgui-helper')
|
||||||
conflicts=('netctlgui-helper')
|
conflicts=('netctlgui-helper')
|
||||||
backup=('etc/netctlgui-helper.conf'
|
backup=('etc/netctl-gui.conf'
|
||||||
'etc/dbus-1/system.d/org.netctlgui.helper.conf')
|
'etc/dbus-1/system.d/org.netctlgui.helper.conf')
|
||||||
install="netctlgui-helper.install"
|
install="netctlgui-helper.install"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
post_install() {
|
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
|
cat << EOF
|
||||||
Note: users should be in network group if you want to get them access to the system bus
|
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
|
See http://arcanis.name/devs/netctl-gui-security-notes.html#helper
|
||||||
|
Loading…
Reference in New Issue
Block a user