Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [pkgviews] src/usr.sbin/pkg_install
Module Name: src
Committed By: jlam
Date: Sun Aug 17 22:02:21 UTC 2003
Modified Files:
src/usr.sbin/pkg_install/delete [pkgviews]: perform.c
src/usr.sbin/pkg_install/lib [pkgviews]: version.h
src/usr.sbin/pkg_install/view [pkgviews]: pkg_view.sh
Log Message:
If "-n" is passed to pkg_delete(1), then we're just faking deinstallation,
so don't remove the +VIEWS registration in the depoted package.
If we're removing a package from a view using pkg_delete(1), then don't
bother trying to remove the package from dependencies' +REQUIRED_BY files
since pkg_delete(1) would try to remove them from the dependencies in the
view, and they may just not be in the view at all.
Teach pkg_view(1) to not copy the +REQUIRED_BY file from the depoted
package into PKG_DBDIR when adding a package to a view; the information
just isn't relevant to a package in a view. Also teach pkg_view(1) to not
delete the package if there _is_ a +REQUIRED_BY file present, since its
presence implies that there is an "overwrite" package that depends on that
package in the view.
Bump the version to 20030810.
To generate a diff of this commit:
cvs rdiff -r1.36.2.7 -r1.36.2.8 src/usr.sbin/pkg_install/delete/perform.c
cvs rdiff -r1.13.4.9 -r1.13.4.10 src/usr.sbin/pkg_install/lib/version.h
cvs rdiff -r1.1.2.21 -r1.1.2.22 src/usr.sbin/pkg_install/view/pkg_view.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index