aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordbaio <dbaio@FreeBSD.org>2017-09-25 06:12:31 +0800
committerdbaio <dbaio@FreeBSD.org>2017-09-25 06:12:31 +0800
commitae4649e1d3253c0af6bf4b79fbab083b7a707640 (patch)
tree43188d1339cb41ef63381afcf59186ce5ae03f8c
parent588b9e6740c762e28cc19bb71702ec8d3ee507c9 (diff)
downloadfreebsd-ports-gnome-ae4649e1d3253c0af6bf4b79fbab083b7a707640.tar.gz
freebsd-ports-gnome-ae4649e1d3253c0af6bf4b79fbab083b7a707640.tar.zst
freebsd-ports-gnome-ae4649e1d3253c0af6bf4b79fbab083b7a707640.zip
net-mgmt/networkmgr: Update to 2.4
- Inform the correct location of doas.conf (pkg-message). - While here, set architecture neutral, fix shebang (QA) and add LICENSE_FILE. PR: 222489 Submitted by: ericturgeon.bsd@gmail.com (maintainer)
-rw-r--r--net-mgmt/networkmgr/Makefile9
-rw-r--r--net-mgmt/networkmgr/distinfo6
-rw-r--r--net-mgmt/networkmgr/files/pkg-message.in2
3 files changed, 11 insertions, 6 deletions
diff --git a/net-mgmt/networkmgr/Makefile b/net-mgmt/networkmgr/Makefile
index 06da8b4462d1..c8bfe90f06dd 100644
--- a/net-mgmt/networkmgr/Makefile
+++ b/net-mgmt/networkmgr/Makefile
@@ -2,23 +2,28 @@
# $FreeBSD$
PORTNAME= networkmgr
-PORTVERSION= 2.2
+PORTVERSION= 2.4
CATEGORIES= net-mgmt
MAINTAINER= ericturgeon.bsd@gmail.com
COMMENT= FreeBSD/GhostBSD network conection manager
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= doas:security/doas
USE_GITHUB= yes
GH_ACCOUNT= GhostBSD
-USES= python:2.7
+NO_ARCH= yes
+USES= python:2.7 shebangfix
USE_PYTHON= distutils
USE_GNOME= pygtk2
SUB_FILES= pkg-message
+SHEBANG_FILES= ${WRKSRC}/src/*.py \
+ ${WRKSRC}/src/netcardmgr
+
.include <bsd.port.mk>
diff --git a/net-mgmt/networkmgr/distinfo b/net-mgmt/networkmgr/distinfo
index 3dde76744751..3d625fb92479 100644
--- a/net-mgmt/networkmgr/distinfo
+++ b/net-mgmt/networkmgr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1485637875
-SHA256 (GhostBSD-networkmgr-2.2_GH0.tar.gz) = 7af236cd96941199f0e42973bd35146de9ac4be045448081b0b890f92f2a68ab
-SIZE (GhostBSD-networkmgr-2.2_GH0.tar.gz) = 21782
+TIMESTAMP = 1506287663
+SHA256 (GhostBSD-networkmgr-2.4_GH0.tar.gz) = ee32e6e059d1208bdff57ffe94713f96cc18286158bdd170a4fd62f45f00a5b7
+SIZE (GhostBSD-networkmgr-2.4_GH0.tar.gz) = 21858
diff --git a/net-mgmt/networkmgr/files/pkg-message.in b/net-mgmt/networkmgr/files/pkg-message.in
index 17fe8546aaa2..188428910af8 100644
--- a/net-mgmt/networkmgr/files/pkg-message.in
+++ b/net-mgmt/networkmgr/files/pkg-message.in
@@ -3,7 +3,7 @@
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:
+Make sure that the %%PREFIX%%/etc/doas.conf have someting simular like this:
permit nopass keepenv :wheel cmd netcardmgr
permit nopass keepenv :wheel cmd detect-nics