ports/150539: license acceptance loop on pkg_add

Jason jgh at experts-exchange.com
Mon Sep 13 20:00:04 UTC 2010


>Number:         150539
>Category:       ports
>Synopsis:       license acceptance loop on pkg_add
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 13 20:00:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Jason
>Release:        7.3-RELEASE-p1 #0
>Organization:
>Environment:
FreeBSD eggman.experts-exchange.com 7.3-RELEASE-p1 FreeBSD 7.3-RELEASE-p1 #0: Wed May 26 04:29:05 UTC 2010     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
I added license support to www/tomcat55 in ports/149848

Once this was added, I was able to install www/tomcat55 and the license handling achieved. 

One item I did come across, though, was since tomcat55 required diablo-jdk which also has a license, a continuous loop had occurred during installation of these two packages at the same time.

If I installed diablo-jdk first, and then installed tomcat55 there was no issue.

I am not very familiar with the pkg_* tool code, but I suspect that there may be an issue in handling more than one pkg in a dependency installation where more than one package requires a license acceptance agreement.
>How-To-Repeat:
Apply latest patch from ports/149848 to www/tomcat55
Do a pkg_add of diablo-jdk and tomcat55 at the same time.

I had done a Tinderbox Build and did a pkg_add -r tomcat (pointing it to the build environment)
>Fix:


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



More information about the freebsd-ports-bugs mailing list