ports/85219: Update port: net-mgmt/netmond

"Фомичев Виктор" vfom at narod.ru
Mon Aug 22 14:30:26 UTC 2005


>Number:         85219
>Category:       ports
>Synopsis:       Update port: net-mgmt/netmond
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 22 14:30:24 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Viktor Fomichev <vfom at narod.ru>
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD ipsec.sicex.ru 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Thu Jun 9 11:17:26 NOVST 2005 vfom at ipsec.sicex.ru:/usr/src/sys/i386/compile/IPSEC i386


>Description:
	After port deinstalling some files remain in a system.
 	Automaic ports builder and checker consider this as a bug.
	Attached patch resove the problem.
>How-To-Repeat:
>Fix:

--- netmond/Makefile.orig	Tue Aug 22 02:19:18 2005
+++ netmond/Makefile	Tue Aug 22 02:23:20 2005
@@ -43,7 +43,7 @@
 	@if pw user show netmon 2>/dev/null ; then \
 	    ${ECHO} "User 'netmon' exists." ; \
 	else \
-	    pw useradd -n netmon -g wheel -c 'Network monitor account' -m ; \
+	    pw useradd -n netmon -g wheel -c 'Network monitor account' -s /usr/sbin/nologin ; \
 	fi
 	@if pw group show ${BINGRP} 2>/dev/null ; then \
 	    ${ECHO} "Group '${BINGRP}' exists." ;  \
--- netmond/pkg-install.orig	Tue Aug 22 02:24:42 2005
+++ netmond/pkg-install	Tue Aug 22 02:24:34 2005
@@ -8,7 +8,7 @@
 	if pw user show netmon 2>/dev/null ; then 
 	    echo "User 'netmon' exists." ; 
 	else 
-	    pw useradd -n netmon -g wheel -c 'Network monitor account' -m ;
+	    pw useradd -n netmon -g wheel -c 'Network monitor account' -s /usr/sbin/nologin ;
 	fi
 	if pw group show netmon 2>/dev/null ; then 
 	    echo "Group 'netmon' exists." ;  

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list