summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
AgeCommit message (Collapse)Author
2005-08-13minor tweaks for BUGS;Jason McIntyre
ok espie@
2005-08-12minor semantic tweak: foo-1.0 needs to conflict with foo-1.0p0, always,Marc Espie
even in @option no-default-conflict, for updates to actually work. okay henning@
2005-08-12pkg_add -r does work.Marc Espie
on the other hand, scp(1) is a pig.
2005-08-12avoid warning messageMarc Espie
2005-08-10typoMarc Espie
2005-08-10record unsafe operations in a journal, so that we can give a muchMarc Espie
more specific message than `package XXX contains unsafe operations'.
2005-08-10bug fix: if default is not available, do not push it for installation.Marc Espie
2005-08-09if we are replacing a package, the messages for @extra stuff should beMarc Espie
slightly different. Noticed by rohee@
2005-08-07split off the code that handles dependencies proper, so that we can (later)Marc Espie
reuse it in pkg_info or lib-depends-check.
2005-08-07wrapper around Ustar that replaces long names/links with LongName#/LongLink#.Marc Espie
The archive will unpack correctly with tar, except that those names won't be preserved. The wrapper checks names against the packing-list to restore the correct names on the fly. Put into a separate file, as it is an extension of Ustar proper, and we're going to do more archive checking in the future. Lots of tests by Bernd Ahlers. Comments by Tom Cosgrove.
2005-08-05expose the algorithm used for splitting names, so that ArcCheck will beMarc Espie
able to use it.
2005-08-05activate sanity check: only files have !0 size.Marc Espie
2005-08-05fix splitting bugMarc Espie
2005-08-05Make sure $totsize != 0, even if the package does not contain any actualMarc Espie
files, so that the progress meter will work.
2005-07-26switch .libs stubs package over to new COMMENT format.Marc Espie
Fix packing-list to be complete (it was missing the DESC special file)
2005-07-25common code for all device handling.Marc Espie
2005-07-24postpone decision whether to replace already installed packages in -r mode,Marc Espie
so that we get to execute is_needed and actually comparing full signatures.
2005-07-24deal with a special case, where we are replacing files with changed md5:Marc Espie
in which case, we need to rename the files for the partial package, so the renaming phase won't fuck up.
2005-07-20support for fifo and character/block devices.Marc Espie
2005-06-29Usage().Marc Espie
noticed by deraadt@
2005-06-29stop if no pkgname.Marc Espie
from deraadt@. also lock_db later, since we can.
2005-06-29make Getopt show full option name.Marc Espie
noticed by deraadt@
2005-06-28Add pkg_merge and doc.Marc Espie
okay naddy@, jmc@
2005-06-26explain how the aliasing operation works.Marc Espie
2005-06-26pkg_merge aliasing of hard links fixed.Marc Espie
2005-06-26Handle hard links correctly: the names need to be aliased correctly forMarc Espie
pkg_merging, and the names need to lose the prefix path when getting extracted.
2005-06-26expose the name aliasing operation, since it can be useful.Marc Espie
2005-06-26some useful statistics about shared files and size gains.Marc Espie
2005-06-26missing support for `identical' files.Marc Espie
2005-06-26select fat package based on name too.Marc Espie
2005-06-26new tool (not active yet): pkg_merge.Marc Espie
Can be used to merge several packages into a fat package. Uses simple heuristics to find out a `nice' ordering for common files, can handle semi-common prefixes.
2005-06-26handle fat packages based on architecture.Marc Espie
2005-06-26switch pkg_create to built-in Ustar, no longer dependent on external tar.Marc Espie
2005-06-26faster fat package finderMarc Espie
2005-06-21move Arch->check() up to Packingelement, so that it can be called anywhere,Marc Espie
not only while adding packages. Add FatOnly filter, which will be used to get information from packing-lists to select the correct packing-list from a fat package (e.g., @arch and @name).
2005-06-21when writing store the file `real name' on the filesystem, whichMarc Espie
allows renaming it on-the-fly just for archive creation purposes.
2005-06-20flesh out the destdir() working. Provide a convenience close() method.Marc Espie
2005-06-18maintain correspondence between original archive file names and rewrittenMarc Espie
names. Allows transparent rename & copy of hard links.
2005-06-18more sanity checks, don't truncate names silently.Marc Espie
2005-06-18fix prefix/name cut (found out by aanriot)Marc Espie
2005-06-13add copy method, and document it.Marc Espie
Note that it doesn't do any magic with hard links so far.
2005-06-13if this is not a `real' file, override the size entry with a zero.Marc Espie
2005-06-13fix archive header writing.Marc Espie
add pad() method to finish archives. With this, writing Ustar archives work.
2005-06-13almost working...Marc Espie
2005-06-13document how hardlink writes occur, plus cosmetic clean-ups.Marc Espie
2005-06-13$entry->{cwd} support while writing, for symetry.Marc Espie
2005-06-13we can determine if an entry will be stored as a HardLink at prepare() time,Marc Espie
so do it...
2005-06-13document the write API as well.Marc Espie
2005-06-13interface more symetric to reading.Marc Espie
2005-06-13UStar writer, all the flesh, thoroughly untested yet, reading unaffected...Marc Espie