Bug 13649

Summary: Enhancement to PKG_INSTALL tools (4.0-CURRENT)
Product: Base System Reporter: Scot W. Hetzel <hetzels>
Component: binAssignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
pkg_install4.diff.gz
none
pkg_install.patch
none
pkg_install.patch none

Description Scot W. Hetzel 1999-09-09 03:20:02 UTC
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.
Comment 1 bill fumerola freebsd_committer freebsd_triage 1999-09-24 22:02:30 UTC
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. 
Comment 2 Maxim Sobolev freebsd_committer freebsd_triage 2001-10-11 12:13:22 UTC
State Changed
From-To: open->closed

Similar functionality has been committed some time ago. Nevertheless, thank you 
for submission!
Comment 3 Scot W. Hetzel 2001-10-11 16:46:28 UTC
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
Comment 4 Maxim Sobolev freebsd_committer freebsd_triage 2001-10-16 14:47:04 UTC
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.
Comment 5 Maxim Sobolev freebsd_committer freebsd_triage 2001-10-16 14:50:55 UTC
"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
Comment 6 bill fumerola freebsd_committer freebsd_triage 2002-05-02 00:36:59 UTC
Responsible Changed
From-To: billf->portmgr

i once was going to look at this, but it is now portmgr material.
Comment 7 Sergey Matveychuk 2002-11-18 18:27:14 UTC
This PR was reopened accidentally by sobomax.
It's time to close it again?

----
Sem.
Comment 8 Sergey Matveychuk 2002-11-29 15:43:18 UTC
Sorry, I'v mistaken. I thought this patch was applaied already.

Really Scot made a lot of hard work that was ignored :(

----
Sem.
Comment 9 Sergey Matveychuk 2002-12-01 20:38:55 UTC
Patch to add conflicts detection to -CURRENT pkg_install

----
Sem.
Comment 10 Sergey Matveychuk 2002-12-05 02:00:42 UTC
Send again my patch with Mozilla because of stupid =0A= symbols of M$ 
Outlook
Comment 11 Sergey Matveychuk 2003-01-16 16:22:32 UTC
is obsoleted by bin/47175
Comment 12 Sergey Matveychuk 2003-01-16 16:44:03 UTC
sorry, obsoleted by bin/47145
Comment 13 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2003-01-31 17:45:37 UTC
State Changed
From-To: open->closed

Superseded by PR 47145, thanks!