The attached patch adds additional functionality to the pkg_install tools. pkg_info can now do pattern matcing: # pkg_info -e cv* cvsup-16.0 cvsup-mirrot-1.0 This will also allow bsd.port.mk (with appropriate patch) and pkg_add to check for conflicting ports before installing a port. pkg_create adds port conflicts to the package. With the appropriate patches to bsd.port.mk, a port that has the following in its Makefile: CONFLICTS= apache*-1.2* apache*-1.3.[012345] apache-*+ssl_* will result in @pkgcfl directives in its packing list. @pkgcfl apache*-1.2* @pkgcfl apache*-1.3.[012345] @pkgcfl apache-*+ssl_* Fix: Apply the attached uuenoded patch to the pkg_install tools.
Responsible Changed From-To: freebsd-bugs->billf I'm going to look at this, test it, and pass the patches that Satoshi needs over to him.
State Changed From-To: open->closed Similar functionality has been committed some time ago. Nevertheless, thank you for submission!
From: <sobomax@FreeBSD.org> > Synopsis: Enhancement to PKG_INSTALL tools (4.0-CURRENT) > > State-Changed-From-To: open->closed > State-Changed-By: sobomax > State-Changed-When: Thu Oct 11 04:13:22 PDT 2001 > State-Changed-Why: > Similar functionality has been committed some time ago. Nevertheless, thank you > for submission! > > http://www.freebsd.org/cgi/query-pr.cgi?pr=13649 > While the pattern matching was added to the pkg-install tools, the main purpose of this PR was to add PACKAGE DEPENDANCY CONFLICT DETECTION between different versions and port revisions of the same port (the pattern matching was just a side effect). Also, the PACKAGE DEPENDANCY CONFLICT DETECTION would have been written into the ports package. This would have helped people out with installing the larger ports with many dependencies, especially the GNOME and KDE ports. Scot
State Changed From-To: closed->open Was closed prematurely (my fault). In originator's words: While the pattern matching was added to the pkg-install tools, the main purpose of this PR was to add PACKAGE DEPENDANCY CONFLICT DETECTION between different versions and port revisions of the same port (the pattern matching was just a side effect). Also, the PACKAGE DEPENDANCY CONFLICT DETECTION would have been written into the ports package. This would have helped people out with installing the larger ports with many dependencies, especially the GNOME and KDE ports.
"Scot W. Hetzel" wrote: > From: <sobomax@FreeBSD.org> > > Synopsis: Enhancement to PKG_INSTALL tools (4.0-CURRENT) > > > > State-Changed-From-To: open->closed > > State-Changed-By: sobomax > > State-Changed-When: Thu Oct 11 04:13:22 PDT 2001 > > State-Changed-Why: > > Similar functionality has been committed some time ago. Nevertheless, > thank you > > for submission! > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=13649 > > > While the pattern matching was added to the pkg-install tools, the main > purpose of this PR was to add PACKAGE DEPENDANCY CONFLICT DETECTION between > different versions and port revisions of the same port (the pattern matching > was just a side effect). > > Also, the PACKAGE DEPENDANCY CONFLICT DETECTION would have been written into > the ports package. > > This would have helped people out with installing the larger ports with many > dependencies, especially the GNOME and KDE ports. OOPS, sorry, my fault. I've just reopened it. -Maxim
Responsible Changed From-To: billf->portmgr i once was going to look at this, but it is now portmgr material.
This PR was reopened accidentally by sobomax. It's time to close it again? ---- Sem.
Sorry, I'v mistaken. I thought this patch was applaied already. Really Scot made a lot of hard work that was ignored :( ---- Sem.
Patch to add conflicts detection to -CURRENT pkg_install ---- Sem.
Send again my patch with Mozilla because of stupid =0A= symbols of M$ Outlook
is obsoleted by bin/47175
sorry, obsoleted by bin/47145
State Changed From-To: open->closed Superseded by PR 47145, thanks!