1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Update net-mgmt/networkmgr to 2.6

Approved by:	bapt (mentor)
This commit is contained in:
Eric Turgeon 2018-06-12 13:50:58 +00:00
parent 45f1d826d8
commit ac97a81393
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472249
4 changed files with 192 additions and 46 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= networkmgr
DISTVERSION= 2.5
DISTVERSION= 2.6
CATEGORIES= net-mgmt
MAINTAINER= ericbsd@FreeBSD.org
@ -11,19 +11,18 @@ COMMENT= FreeBSD/GhostBSD network conection manager
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= doas:security/doas
RUN_DEPENDS= doas:security/doas \
${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme
USES= python:2.7 shebangfix
USES= python:3.6 gnome
USE_GITHUB= yes
GH_ACCOUNT= GhostBSD
NO_ARCH= yes
USE_PYTHON= distutils
USE_GNOME= pygtk2
USE_GNOME= pygobject3 gtk-update-icon-cache
SUB_FILES= pkg-message
SHEBANG_FILES= ${WRKSRC}/src/*.py \
${WRKSRC}/src/netcardmgr
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1510256654
SHA256 (GhostBSD-networkmgr-2.5_GH0.tar.gz) = b4b6e4665e396b38195a34783ae7dc52d2e25e9dc02305131a08316984e86936
SIZE (GhostBSD-networkmgr-2.5_GH0.tar.gz) = 21917
TIMESTAMP = 1528807843
SHA256 (GhostBSD-networkmgr-2.6_GH0.tar.gz) = f88b739e2aad02664f4ecd78e9facca137a6fedf7a7f77f74cb86793ffd208ce
SIZE (GhostBSD-networkmgr-2.6_GH0.tar.gz) = 1272977

View File

@ -5,12 +5,11 @@ Any bug reports or request of new feature should be addressed at:
Make sure that the %%PREFIX%%/etc/doas.conf have someting simular like this:
permit nopass keepenv root
permit :wheel
permit nopass keepenv :wheel cmd netcardmgr
permit nopass keepenv :wheel cmd detect-nics
permit nopass keepenv :wheel cmd detect-wifi
permit nopass keepenv :wheel cmd ifconfig
permit nopass keepenv :wheel cmd service
permit nopass keepenv :wheel cmd wpa_supplicant
When rebooting it should automaticaly start is the desktop support xdg and make
sure that the user using NetworkMgr is in the wheel group.

View File

@ -6,40 +6,188 @@ etc/xdg/autostart/networkmgr.desktop
%%PYTHON_SITELIBDIR%%/networkmgr-1.10-py%%PYTHON_VER%%.egg-info/dependency_links.txt
%%PYTHON_SITELIBDIR%%/networkmgr-1.10-py%%PYTHON_VER%%.egg-info/requires.txt
%%PYTHON_SITELIBDIR%%/networkmgr-1.10-py%%PYTHON_VER%%.egg-info/top_level.txt
share/icons/hicolor/128x128/apps/nm-adhoc.png
share/icons/hicolor/128x128/apps/nm-device-wired-secure.png
share/icons/hicolor/128x128/apps/nm-no-connection.png
share/icons/hicolor/128x128/apps/nm-signal-00-secure.png
share/icons/hicolor/128x128/apps/nm-signal-00.png
share/icons/hicolor/128x128/apps/nm-signal-100-secure.png
share/icons/hicolor/128x128/apps/nm-signal-100.png
share/icons/hicolor/128x128/apps/nm-signal-25-secure.png
share/icons/hicolor/128x128/apps/nm-signal-25.png
share/icons/hicolor/128x128/apps/nm-signal-50-secure.png
share/icons/hicolor/128x128/apps/nm-signal-50.png
share/icons/hicolor/128x128/apps/nm-signal-75-secure.png
share/icons/hicolor/128x128/apps/nm-signal-75.png
share/icons/hicolor/16x16/apps/nm-adhoc.png
share/icons/hicolor/16x16/apps/nm-device-wired-secure.png
share/icons/hicolor/16x16/apps/nm-no-connection.png
share/icons/hicolor/16x16/apps/nm-signal-00-secure.png
share/icons/hicolor/16x16/apps/nm-signal-00.png
share/icons/hicolor/16x16/apps/nm-signal-100-secure.png
share/icons/hicolor/16x16/apps/nm-signal-100.png
share/icons/hicolor/16x16/apps/nm-signal-25-secure.png
share/icons/hicolor/16x16/apps/nm-signal-25.png
share/icons/hicolor/16x16/apps/nm-signal-50-secure.png
share/icons/hicolor/16x16/apps/nm-signal-50.png
share/icons/hicolor/16x16/apps/nm-signal-75-secure.png
share/icons/hicolor/16x16/apps/nm-signal-75.png
share/icons/hicolor/192x192/apps/nm-adhoc.png
share/icons/hicolor/192x192/apps/nm-device-wired-secure.png
share/icons/hicolor/192x192/apps/nm-no-connection.png
share/icons/hicolor/192x192/apps/nm-signal-00-secure.png
share/icons/hicolor/192x192/apps/nm-signal-00.png
share/icons/hicolor/192x192/apps/nm-signal-100-secure.png
share/icons/hicolor/192x192/apps/nm-signal-100.png
share/icons/hicolor/192x192/apps/nm-signal-25-secure.png
share/icons/hicolor/192x192/apps/nm-signal-25.png
share/icons/hicolor/192x192/apps/nm-signal-50-secure.png
share/icons/hicolor/192x192/apps/nm-signal-50.png
share/icons/hicolor/192x192/apps/nm-signal-75-secure.png
share/icons/hicolor/192x192/apps/nm-signal-75.png
share/icons/hicolor/20x20/apps/nm-adhoc.png
share/icons/hicolor/20x20/apps/nm-device-wired-secure.png
share/icons/hicolor/20x20/apps/nm-no-connection.png
share/icons/hicolor/20x20/apps/nm-signal-00-secure.png
share/icons/hicolor/20x20/apps/nm-signal-00.png
share/icons/hicolor/20x20/apps/nm-signal-100-secure.png
share/icons/hicolor/20x20/apps/nm-signal-100.png
share/icons/hicolor/20x20/apps/nm-signal-25-secure.png
share/icons/hicolor/20x20/apps/nm-signal-25.png
share/icons/hicolor/20x20/apps/nm-signal-50-secure.png
share/icons/hicolor/20x20/apps/nm-signal-50.png
share/icons/hicolor/20x20/apps/nm-signal-75-secure.png
share/icons/hicolor/20x20/apps/nm-signal-75.png
share/icons/hicolor/24x24/apps/nm-adhoc.png
share/icons/hicolor/24x24/apps/nm-device-wired-secure.png
share/icons/hicolor/24x24/apps/nm-no-connection.png
share/icons/hicolor/24x24/apps/nm-signal-00-secure.png
share/icons/hicolor/24x24/apps/nm-signal-00.png
share/icons/hicolor/24x24/apps/nm-signal-100-secure.png
share/icons/hicolor/24x24/apps/nm-signal-100.png
share/icons/hicolor/24x24/apps/nm-signal-25-secure.png
share/icons/hicolor/24x24/apps/nm-signal-25.png
share/icons/hicolor/24x24/apps/nm-signal-50-secure.png
share/icons/hicolor/24x24/apps/nm-signal-50.png
share/icons/hicolor/24x24/apps/nm-signal-75-secure.png
share/icons/hicolor/24x24/apps/nm-signal-75.png
share/icons/hicolor/256x256/apps/nm-adhoc.png
share/icons/hicolor/256x256/apps/nm-device-wired-secure.png
share/icons/hicolor/256x256/apps/nm-no-connection.png
share/icons/hicolor/256x256/apps/nm-signal-00-secure.png
share/icons/hicolor/256x256/apps/nm-signal-00.png
share/icons/hicolor/256x256/apps/nm-signal-100-secure.png
share/icons/hicolor/256x256/apps/nm-signal-100.png
share/icons/hicolor/256x256/apps/nm-signal-25-secure.png
share/icons/hicolor/256x256/apps/nm-signal-25.png
share/icons/hicolor/256x256/apps/nm-signal-50-secure.png
share/icons/hicolor/256x256/apps/nm-signal-50.png
share/icons/hicolor/256x256/apps/nm-signal-75-secure.png
share/icons/hicolor/256x256/apps/nm-signal-75.png
share/icons/hicolor/32x32/apps/nm-adhoc.png
share/icons/hicolor/32x32/apps/nm-device-wired-secure.png
share/icons/hicolor/32x32/apps/nm-no-connection.png
share/icons/hicolor/32x32/apps/nm-signal-00-secure.png
share/icons/hicolor/32x32/apps/nm-signal-00.png
share/icons/hicolor/32x32/apps/nm-signal-100-secure.png
share/icons/hicolor/32x32/apps/nm-signal-100.png
share/icons/hicolor/32x32/apps/nm-signal-25-secure.png
share/icons/hicolor/32x32/apps/nm-signal-25.png
share/icons/hicolor/32x32/apps/nm-signal-50-secure.png
share/icons/hicolor/32x32/apps/nm-signal-50.png
share/icons/hicolor/32x32/apps/nm-signal-75-secure.png
share/icons/hicolor/32x32/apps/nm-signal-75.png
share/icons/hicolor/36x36/apps/nm-adhoc.png
share/icons/hicolor/36x36/apps/nm-device-wired-secure.png
share/icons/hicolor/36x36/apps/nm-no-connection.png
share/icons/hicolor/36x36/apps/nm-signal-00-secure.png
share/icons/hicolor/36x36/apps/nm-signal-00.png
share/icons/hicolor/36x36/apps/nm-signal-100-secure.png
share/icons/hicolor/36x36/apps/nm-signal-100.png
share/icons/hicolor/36x36/apps/nm-signal-25-secure.png
share/icons/hicolor/36x36/apps/nm-signal-25.png
share/icons/hicolor/36x36/apps/nm-signal-50-secure.png
share/icons/hicolor/36x36/apps/nm-signal-50.png
share/icons/hicolor/36x36/apps/nm-signal-75-secure.png
share/icons/hicolor/36x36/apps/nm-signal-75.png
share/icons/hicolor/48x48/apps/nm-adhoc.png
share/icons/hicolor/48x48/apps/nm-device-wired-secure.png
share/icons/hicolor/48x48/apps/nm-no-connection.png
share/icons/hicolor/48x48/apps/nm-signal-00-secure.png
share/icons/hicolor/48x48/apps/nm-signal-00.png
share/icons/hicolor/48x48/apps/nm-signal-100-secure.png
share/icons/hicolor/48x48/apps/nm-signal-100.png
share/icons/hicolor/48x48/apps/nm-signal-25-secure.png
share/icons/hicolor/48x48/apps/nm-signal-25.png
share/icons/hicolor/48x48/apps/nm-signal-50-secure.png
share/icons/hicolor/48x48/apps/nm-signal-50.png
share/icons/hicolor/48x48/apps/nm-signal-75-secure.png
share/icons/hicolor/48x48/apps/nm-signal-75.png
share/icons/hicolor/512x512/apps/nm-adhoc.png
share/icons/hicolor/512x512/apps/nm-device-wired-secure.png
share/icons/hicolor/512x512/apps/nm-no-connection.png
share/icons/hicolor/512x512/apps/nm-signal-00-secure.png
share/icons/hicolor/512x512/apps/nm-signal-00.png
share/icons/hicolor/512x512/apps/nm-signal-100-secure.png
share/icons/hicolor/512x512/apps/nm-signal-100.png
share/icons/hicolor/512x512/apps/nm-signal-25-secure.png
share/icons/hicolor/512x512/apps/nm-signal-25.png
share/icons/hicolor/512x512/apps/nm-signal-50-secure.png
share/icons/hicolor/512x512/apps/nm-signal-50.png
share/icons/hicolor/512x512/apps/nm-signal-75-secure.png
share/icons/hicolor/512x512/apps/nm-signal-75.png
share/icons/hicolor/64x64/apps/nm-adhoc.png
share/icons/hicolor/64x64/apps/nm-device-wired-secure.png
share/icons/hicolor/64x64/apps/nm-no-connection.png
share/icons/hicolor/64x64/apps/nm-signal-00-secure.png
share/icons/hicolor/64x64/apps/nm-signal-00.png
share/icons/hicolor/64x64/apps/nm-signal-100-secure.png
share/icons/hicolor/64x64/apps/nm-signal-100.png
share/icons/hicolor/64x64/apps/nm-signal-25-secure.png
share/icons/hicolor/64x64/apps/nm-signal-25.png
share/icons/hicolor/64x64/apps/nm-signal-50-secure.png
share/icons/hicolor/64x64/apps/nm-signal-50.png
share/icons/hicolor/64x64/apps/nm-signal-75-secure.png
share/icons/hicolor/64x64/apps/nm-signal-75.png
share/icons/hicolor/72x72/apps/nm-adhoc.png
share/icons/hicolor/72x72/apps/nm-device-wired-secure.png
share/icons/hicolor/72x72/apps/nm-no-connection.png
share/icons/hicolor/72x72/apps/nm-signal-00-secure.png
share/icons/hicolor/72x72/apps/nm-signal-00.png
share/icons/hicolor/72x72/apps/nm-signal-100-secure.png
share/icons/hicolor/72x72/apps/nm-signal-100.png
share/icons/hicolor/72x72/apps/nm-signal-25-secure.png
share/icons/hicolor/72x72/apps/nm-signal-25.png
share/icons/hicolor/72x72/apps/nm-signal-50-secure.png
share/icons/hicolor/72x72/apps/nm-signal-50.png
share/icons/hicolor/72x72/apps/nm-signal-75-secure.png
share/icons/hicolor/72x72/apps/nm-signal-75.png
share/icons/hicolor/96x96/apps/nm-adhoc.png
share/icons/hicolor/96x96/apps/nm-device-wired-secure.png
share/icons/hicolor/96x96/apps/nm-no-connection.png
share/icons/hicolor/96x96/apps/nm-signal-00-secure.png
share/icons/hicolor/96x96/apps/nm-signal-00.png
share/icons/hicolor/96x96/apps/nm-signal-100-secure.png
share/icons/hicolor/96x96/apps/nm-signal-100.png
share/icons/hicolor/96x96/apps/nm-signal-25-secure.png
share/icons/hicolor/96x96/apps/nm-signal-25.png
share/icons/hicolor/96x96/apps/nm-signal-50-secure.png
share/icons/hicolor/96x96/apps/nm-signal-50.png
share/icons/hicolor/96x96/apps/nm-signal-75-secure.png
share/icons/hicolor/96x96/apps/nm-signal-75.png
share/icons/hicolor/scalable/apps/nm-adhoc.svg
share/icons/hicolor/scalable/apps/nm-device-wired-secure.svg
share/icons/hicolor/scalable/apps/nm-no-connection.svg
share/icons/hicolor/scalable/apps/nm-signal-00-secure.svg
share/icons/hicolor/scalable/apps/nm-signal-00.svg
share/icons/hicolor/scalable/apps/nm-signal-100-secure.svg
share/icons/hicolor/scalable/apps/nm-signal-100.svg
share/icons/hicolor/scalable/apps/nm-signal-25-secure.svg
share/icons/hicolor/scalable/apps/nm-signal-25.svg
share/icons/hicolor/scalable/apps/nm-signal-50-secure.svg
share/icons/hicolor/scalable/apps/nm-signal-50.svg
share/icons/hicolor/scalable/apps/nm-signal-75-secure.svg
share/icons/hicolor/scalable/apps/nm-signal-75.svg
%%DATADIR%%/authentication.py
%%DATADIR%%/icons/nm-adhoc.png
%%DATADIR%%/icons/nm-device-wired-autoip.png
%%DATADIR%%/icons/nm-device-wired.png
%%DATADIR%%/icons/nm-device-wireless.png
%%DATADIR%%/icons/nm-device-wwan.png
%%DATADIR%%/icons/nm-mb-roam.png
%%DATADIR%%/icons/nm-no-connection.png
%%DATADIR%%/icons/nm-secure-lock.png
%%DATADIR%%/icons/nm-signal-0-secure.png
%%DATADIR%%/icons/nm-signal-0.png
%%DATADIR%%/icons/nm-signal-00-secure.png
%%DATADIR%%/icons/nm-signal-00.png
%%DATADIR%%/icons/nm-signal-100-secure.png
%%DATADIR%%/icons/nm-signal-100.png
%%DATADIR%%/icons/nm-signal-25-secure.png
%%DATADIR%%/icons/nm-signal-25.png
%%DATADIR%%/icons/nm-signal-50-secure.png
%%DATADIR%%/icons/nm-signal-50.png
%%DATADIR%%/icons/nm-signal-75-secure.png
%%DATADIR%%/icons/nm-signal-75.png
%%DATADIR%%/icons/nm-tech-3g.png
%%DATADIR%%/icons/nm-tech-cdma-1x.png
%%DATADIR%%/icons/nm-tech-edge.png
%%DATADIR%%/icons/nm-tech-evdo.png
%%DATADIR%%/icons/nm-tech-gprs.png
%%DATADIR%%/icons/nm-tech-hspa.png
%%DATADIR%%/icons/nm-tech-umts.png
%%DATADIR%%/icons/nm-vpn-active-lock.png
%%DATADIR%%/icons/nm-vpn-connecting12.png
%%DATADIR%%/icons/nm-vpn-connecting13.png
%%DATADIR%%/icons/nm-vpn-connecting14.png
%%DATADIR%%/icons/nm-vpn-lock.png
%%DATADIR%%/icons/nm-vpn-standalone-lock.png
%%DATADIR%%/icons/nm-wwan-tower.png
%%DATADIR%%/net_api.py
%%DATADIR%%/trayicon.py