summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2004-11-11new accounting method that works with chroot installations.Marc Espie
2004-11-11cache packing-lists, so that we don't read them again and again.Marc Espie
big win as soon as pkg_add -r updates two or three packages with lots of dependencies.
2004-11-11oops, updatable is an object method, so $self is first parameter.Marc Espie
Mark @unexec /sbin/ldconfig -R and @unexec install-info --delete as innocuous.
2004-11-11spaces at EOL in comments, spotted by theoHenning Brauer
2004-11-11NOTREACHED not not reached! Stupid me.Claudio Jeker
2004-11-11Store the local v4 and v6 address of a session. For IPv4 sessions the firstClaudio Jeker
IPv6 address with global scope of the interface used by the session is used. In any case the local endpoint of the session is used for one of the two no matter what scope. OK henning@
2004-11-11symetry: updating a package means removing the old one and adding the newMarc Espie
one, tag unsafe operations accordingly...
2004-11-11move collision reporter to a separate file, so that it doesn't get loadedMarc Espie
all the time.
2004-11-11store a ref to %forced in $state, for access anywhere.Marc Espie
2004-11-11File::Copy use moves as well.Marc Espie
2004-11-11restrict update operation less: we're not bothered by @exec or INSTALL,Marc Espie
only DEINSTALL or @unexec (we should need to run symetric checks on the package we're going to install, though...) allows forced replacement: script running, and breaking forward dependencies. Communicate more about what may break.
2004-11-11need to move collision_report over as well, and use PackageInfo routines.Marc Espie
2004-11-11package names starting with . are hidden from pkg_info by default.Marc Espie
-A shows them.
2004-11-11synch validate_plistMarc Espie
2004-11-11move some code from pkg_add to OpenBSD/Add.pm, for symetry with pkg_delete.Marc Espie
change prototype of validate_plist, ditch globals cdrom_only and ftp_only (stash this into state). Use Warn properly.
2004-11-11typoMarc Espie
2004-11-11don't touch font directories if -n either...Marc Espie
2004-11-11introduce shortcuts to read/write contents from_installation/to_installationMarc Espie
use these to simplify all those packing lists manipulations. demote non-root detection to a warning in -n mode: fix a couple of minor bugs, of stuff that was run in -n mode and should not. Namely, manpages were indexed/unindexed (ouch) and tempfiles were creating during updates.
2004-11-11fix interaction of -n -v -r.Marc Espie
don't enable the progress meter if a very verbose mode is on.
2004-11-11New config statement "rde route-age [evaluate|ignore]". If set to evaluateClaudio Jeker
the best path selection will not only be based on the path attributes but also on the age of the prefix. This is an extension to the RFC. The default is ignore but previously it was implicitly set to evaluate. OK henning@ man page OK jaredy@ jmc@
2004-11-11hide lib packagesMarc Espie
2004-11-10Use ${STATIC} rather than -static (dont hardcode). ok miod@Dale Rahn
2004-11-10prefix_write() works also for IPv6. OK henning@Claudio Jeker
2004-11-10It is not needed to mask the value wit 0xff as it is < 255. OK henning@Claudio Jeker
2004-11-10"not reached" does not help LINT use NOTREACHED instead and use it only inClaudio Jeker
places where needed. OK henning@
2004-11-10Remove no longer needed code. OK henning@Claudio Jeker
2004-11-10ntp_adjtime() -> priv_adjtime()Henning Brauer
ntp_settime() -> priv_settime() ntp_host_dns() -> priv_host_dns()
2004-11-10const'ify conffileHenning Brauer
From: Joerg Sonnenberger <joerg@britannica.bec.de>
2004-11-10use ExtraInfo, finally: allows pkg_info to report packages according toMarc Espie
PKGPATH, e.g., pkg_info -e x11/kde/base3 will tell you which version (if any) of kdebase is installed. Necessary for achieving updates.
2004-11-10resurrect -e, document that it uses packages-specs now.Marc Espie
2004-11-09oops again.Marc Espie
2004-11-09oops, dropped one line I shouldn't have.Marc Espie
2004-11-09-s seamless with other options: let it work with -a, let it be on for -v.Marc Espie
Count totalsize, and display it at end if > 1 package.
2004-11-09kill old Logger interface, use $state->print() to report problems atMarc Espie
end exclusively now.
2004-11-09alternate between package names correctly when replacing a package.Marc Espie
2004-11-09kill dup codeMarc Espie
2004-11-09-s option, grange's request.Marc Espie
2004-11-09in the list of RIRs:Henning Brauer
-add LACNIC -RIPE serves more than just europe, and ARIN more than north america -order alphabetically From: Klaus Steding-Jessen <jessen@nic.br>
2004-11-09avoid scanning the whole packing-list when looking for info that areMarc Espie
at the top anyways: recent packages have arch markers, and are in `normal order'. First cwd we meet, we're out. (speeds up the scanning of conflicts by 4 or 5).
2004-11-09save dir in plist, not state (unconfuse script operations when severalMarc Espie
plists are present). Encapsulate `extract' operation in `extract_with_pm' to allow progress meter to do something sensible when replacing packages.
2004-11-09don't keep libraries whose version numbers are not needed.Marc Espie
2004-11-09remove code we don't use.Marc Espie
2004-11-08Advice user to use multiple servers. Prodded by Daniel Polak, help and ok jmc@Otto Moerbeek
ok henning@
2004-11-08add more olden times keyword.Marc Espie
noticed by fries@ who is running really old shit (hey, why not ?)
2004-11-07document that keywords can be specified multiple times;Jason McIntyre
from otto and myself; prodded by henning;
2004-11-07document the current behavior of pkg_add -r.Marc Espie
Clearly marks this as an experimental option that can thoroughly mangle your system.
2004-11-07clone() library entry so that md5 and modes/owners get copied along.Marc Espie
2004-11-07split off libraries, so that we can erase the old packages.Marc Espie
todo: allow people to reverse the process, since _libs-* will conflict with reinstalling a package.
2004-11-07shared libraries, preliminary work, a simpler scheme:Marc Espie
compare replaced package with replacing package, mark all changed shared libraries. split_old_libs knows how to cobble a new plist off the old one with the shared libraries. print_depends_closure knows how to walk the RequiredBy objects to build a complete list of packages that may depend upon those libraries. Todo: actually split off the libraries, write a COMMENT/CONTENTS files too, and register all those dependencies.
2004-11-07don't try to be smart and not store the full tempname: we don't use thisMarc Espie
except in rare cases, so it doesn't matter if the tempname is long, and it doesn't justify missing extra code to restore it when reading the packing-list...