Index: net-mgmt/networkmgr/Makefile =================================================================== --- /dev/null +++ net-mgmt/networkmgr/Makefile @@ -0,0 +1,26 @@ +# Created by: Eric Turgeon +# $FreeBSD$ + +PORTNAME= networkmgr +PORTVERSION= 2.2 +CATEGORIES= net-mgmt +MASTER_SITES= http://github.com/GhostBSD/${PORTNAME}/archive/ + +MAINTAINER= ericturgeon.bsd@gmail.com +COMMENT= FreeBSD/GhostBSD network conection manager + +LICENSE= BSD3CLAUSE + +RUN_DEPENDS= doas:security/doas + +USE_GITHUB= yes +GH_ACCOUNT= GhostBSD + +USES= python:2 +USE_PYTHON= distutils +USE_GNOME= pygtk2 + +ETCDIR= ${PREFIX}/etc +SUB_FILES= pkg-message + +.include Index: net-mgmt/networkmgr/distinfo =================================================================== --- /dev/null +++ net-mgmt/networkmgr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1485637875 +SHA256 (GhostBSD-networkmgr-2.2_GH0.tar.gz) = 7af236cd96941199f0e42973bd35146de9ac4be045448081b0b890f92f2a68ab +SIZE (GhostBSD-networkmgr-2.2_GH0.tar.gz) = 21782 Index: net-mgmt/networkmgr/files/pkg-message.in =================================================================== --- /dev/null +++ net-mgmt/networkmgr/files/pkg-message.in @@ -0,0 +1,18 @@ +====================================================================== + +Any bug reports or request of new feature should be addressed at: + https://github.com/GhostBSD/networkmgr/issues + +Make sure that the %%ETCDIR%%/doas.conf have someting simular like this: + + 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. + +====================================================================== Index: net-mgmt/networkmgr/pkg-descr =================================================================== --- /dev/null +++ net-mgmt/networkmgr/pkg-descr @@ -0,0 +1,4 @@ +NetworkMgr is an open source, Network Manager based on the look of the Linux +Network Manager user interface. It use ifconfig and netif if make all work. + +WWW: https://github.com/GhostBSD/networkmgr Index: net-mgmt/networkmgr/pkg-plist =================================================================== --- /dev/null +++ net-mgmt/networkmgr/pkg-plist @@ -0,0 +1,40 @@ +bin/netcardmgr +bin/networkmgr +%%ETCDIR%%/xdg/autostart/networkmgr.desktop +%%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