ports/79862: portupgrade-20041226_2 has faulty IGNORE on some systems

Sven Berkvens-Matthijsse sven at berkvens.net
Wed Apr 13 13:00:22 UTC 2005


>Number:         79862
>Category:       ports
>Synopsis:       portupgrade-20041226_2 has faulty IGNORE on some systems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 13 13:00:20 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Sven Berkvens-Matthijsse
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD cat.berkvens.net 4.10-STABLE FreeBSD 4.10-STABLE #4: Sun Oct 31 01:46:30 CEST 2004 sven at cat.berkvens.net:/extra0/usr_obj/usr/src/sys/CAT i386


	
>Description:
	The portupgrade-20041226_2 port tries to test whether pkg_create
	has a -b option. It does this by running /usr/sbin/pkg_create and
	grepping in the output (the usage). On my system, however, pkg_create
	is installed in /usr/local/sbin, because I use the pkg_install-20050321
	port.

>How-To-Repeat:
	Have pkg_create in /usr/local/sbin and try to install
	portupgrade-20041226_2.

>Fix:
	Change the PKG_CREATE_OK assignment to:
	PKG_CREATE_OK!= { /usr/sbin/pkg_create ; /usr/local/sbin/pkg_create ; } 2>&1 | ${GREP} ' -b ' || ${TRUE}



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



More information about the freebsd-ports-bugs mailing list