1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Update `net-mgmt/wifimgr' to version 1.14, which brings:

- Fix lagg(4) interfaces support which broke after FreeBSD 12.2
  - Fix parsing of ifconfig(8) output to handle data in any order

While here, do not try to update icon cache which breaks non-root
installation, it is handled by the port via INSTALLS_ICONS anyway.

PR:		250302
Approved by:	maintainer
Timeout from:	pi (three months)
This commit is contained in:
Alexey Dokuchaev 2021-04-25 11:52:42 +00:00
parent 03777087ea
commit 05a0ec2c10
3 changed files with 23 additions and 8 deletions

View File

@ -1,8 +1,7 @@
# Created by: J.R. Oldroyd <fbsd@opal.com>
PORTNAME= wifimgr
PORTVERSION= 1.13
PORTREVISION= 1
PORTVERSION= 1.14
CATEGORIES= net-mgmt sysutils
MASTER_SITES= http://opal.com/freebsd/ports/net-mgmt/wifimgr/ \
LOCAL/ehaupt
@ -28,7 +27,4 @@ NLS_USES= gettext-runtime gettext-tools
NLS_CFLAGS_OFF= -DWITHOUT_NLS
NLS_MAKE_ENV_OFF= WITHOUT_NLS=yes
post-patch:
@${REINPLACE_CMD} -e 's/-o root -g wheel//' ${WRKSRC}/src/Makefile
.include <bsd.port.mk>

View File

@ -1,3 +1,2 @@
TIMESTAMP = 1598172258
SHA256 (wifimgr-1.13.tar.bz2) = b090a09af1781be78e960e93573ef337ed8c3b572ad18385c6b3b17bb4d5b32a
SIZE (wifimgr-1.13.tar.bz2) = 119722
SHA256 (wifimgr-1.14.tar.bz2) = ad78e457617765b05fb3fecb68a7721a344946951335f930b7d4f56a5642506c
SIZE (wifimgr-1.14.tar.bz2) = 120523

View File

@ -0,0 +1,20 @@
--- src/Makefile.orig 2014-05-10 22:54:38 UTC
+++ src/Makefile
@@ -97,7 +97,7 @@ clean:
rm -f *.o
rm -f *.core
-install: ${installed} update-icon-cache
+install: ${installed} # update-icon-cache
deinstall: do-deinstall update-icon-cache
@@ -113,7 +113,7 @@ ${DESTDIR}${PREFIX}/bin/wifimgr: wifimgr
${INSTALL} $? $@
${DESTDIR}${PREFIX}/libexec/wifimgrsu: wifimgrsu
- ${INSTALL} -o root -g wheel -m 4511 $? $@
+ ${INSTALL} -m 511 $? $@
${DESTDIR}${PREFIX}/share/applications/wifimgr.desktop: wifimgr.desktop
${INSTALL} -m 444 $? $@