ports/54424: portupgrade ignores ALT_PKGDEP
Bharat Mediratta
bharat at menalto.com
Sun Jul 13 05:00:31 UTC 2003
>Number: 54424
>Category: ports
>Synopsis: portupgrade ignores ALT_PKGDEP
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 12 22:00:29 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Bharat Mediratta
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
menalto.com
>Environment:
System: FreeBSD harmony.menalto.com 4.8-RELEASE FreeBSD 4.8-RELEASE #3: Wed Apr 16 00:50:18 PDT 2003 bharat at harmony.menalto.com:/usr/obj/usr/src/sys/HARMONY i386
portupgrade-20030427
>Description:
pkgtools.conf contains a section called ALT_PKGDEP that allows you to
substitute one package dependency for another. In my particular case,
I want to install the "security/acid" port without having it install
"databases/adodb", which is listed in the RUN_DEPENDS for the acid
Makefile.
In the ALT_PKGDEP section of pkgtools.conf I've tried the following
settings:
1. 'databases/adodb' => :delete,
2. 'databases/adodb' => :skip,
3. 'adodb' => :delete,
4. 'adodb' => :skip,
but none of them work. A quick grep through the /usr/local/lib/ruby/site_ruby
code shows that most of the other hashes defined in pkgtools.conf are
referenced in the code, but ALT_PKGDEP isn't. It looks like this feature
was never implemented.
>How-To-Repeat:
Edit pkgtools.conf and modify ALT_PKGDEP to be:
ALT_PKGDEP = {
'databases/adodb' => :delete,
}
then do "portinstall acid" and see that it still tries to install adodb.
>Fix:
Implement this function, or document the fact that it doesn't work in pkgtools.conf
so that folks don't waste their time trying to get it working!
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list