Bug 13647

Summary: Enhancement to PKG_INSTALL tools (3.2-STABLE)
Product: Base System Reporter: Scot W. Hetzel <hetzels>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.2-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
pkg_install3.diff.gz none

Description Scot W. Hetzel 1999-09-09 03:20:01 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 patched to the pkg_install tools.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 1999-09-09 10:48:23 UTC
State Changed
From-To: open->closed

Duplicate of PR 13649. Two separate patches for RELENG_3 and 
HEAD aren't needed, because commits always go into HEAD 
first and are later merged back into RELENG_3.