summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2007-06-18add tag no shadow, to allow us to specify that we do NOT want tempfilesMarc Espie
into some directories. a few minor style tweaks, such as using a nice join(map()) to build some strings.
2007-06-17only display header if we actually display some information.Marc Espie
Allows saying pkg_info -a -M, and not having 100s of empty lines corresponding to all packages without a MESSAGE.
2007-06-17fix format for timestamps. Use a non-ambiguous subset of ISO8601.Marc Espie
2007-06-17more scaffolding we don't really use yet.Marc Espie
2007-06-17document @exec/@unexec variations in more detail.Marc Espie
Point users at pkg_create for packing-list details (suggested by ajacoutot@)
2007-06-17do not try to reopen the wsmouse device whenRobert Nagy
the calibration was not accurate enough and keep the device open all the time since there is no need to close and reopen it if we need to retry.
2007-06-17add a bit of scaffolding for signaturesMarc Espie
2007-06-16introduce new stuff: @tag, to be used to tag files and other objects.Marc Espie
Only one tag for now: no checksum. Will supersede @comment no checksum eventually. Benefit: errors out in case of a typo.
2007-06-16Add variation on exec/unexec:Marc Espie
@exec-always @unexec-always @exec-add @unexec-delete @exec-update @unexec-update with the obvious semantics that *update are only run during updates, and *add/delete are only run during `pure' additions/removals. This should solve the problem of those packages that `lose' manual configuration when you update them (e.g., all the mod_xxx apache stuff and postfix). caveat: you will need to go through one finaly broken update before the new stuff kicks in.
2007-06-16FTP_KEEPALIVE as a crude interface to ftp -k. To be thought out later.Marc Espie
this is just an experiment.
2007-06-16use OpenBSD::Paths contentsMarc Espie
2007-06-14Print communities in a nicer format and include a missing well-known one.Claudio Jeker
This is mostly from Stuart Henderson. OK canacar@
2007-06-14Really cleanup temporary directories.Matthias Kilian
"commit that now, please." espie@
2007-06-14explicitly mark -S as deprecated, I'd love to use for something else...Marc Espie
2007-06-14I don't know what we will do with system packages yet, but preventMarc Espie
them from getting deleted.
2007-06-14minor changes: move @ignore to deprecated stuff (it's been out for a fewMarc Espie
months now), register lastfileobject for future changes, make a common class for uniqueoptions.
2007-06-14The External Route Tag for AS-External-LSAs can be an arbitrary 32bitReyk Floeter
value and doesn't need to be an IPv4 address. It is more like a vendor-specific field. as discussed with claudio after looking into rfc2328
2007-06-13NBR_ACT_HELLO_CHK was missing in the nbr_action_names list.Claudio Jeker
2007-06-13Don't RB_REMOVE() vertices in area_del() this will be done by vertex_free().Claudio Jeker
With this the RDE no longer crashes on shutdown.
2007-06-13Ingnore updates that did not change the route. This enhances the signal toClaudio Jeker
nois ratio on the routing socket. OK norby@ reyk@
2007-06-12reflect msf's changes to the imsg framework in hoststated.Pierre-Yves Ritschard
2007-06-12put the fd passing from bgpd back in to hoststated's version of imsg,Mathieu Sauve-Frankel
needed for layer 7 reload support. ok pyr@
2007-06-12use constant subs instead of variable names.Marc Espie
Turns out completely specified variable names do not warn, even if strict, so the previous scheme was not immune from typos.
2007-06-12tidy error messages: uses $! more consistently, do not append \n on die,Marc Espie
do append \n on warn. Fix the two cases where the temp dir vanished too soon: not copying +DESC should have been apparent. Not finding a +DISPLAY file is not a reason for burping all over the place.
2007-06-12tag directories and files with pid, so that we clean them up when theMarc Espie
corresponding process dies, not before...
2007-06-12When calculating as_ext routes only respect the connected flag for rt_nodesClaudio Jeker
with d_type DT_NET. Without this directly connected DT_RTRs use the wrong nexthop and fail to install the as_ext route because the nexthop is not directly reachable.
2007-06-12When removeing as-ext LSA initialise the metric to some sane default elseClaudio Jeker
the ospfd on the other side is dropping the packets because the sanity check fails.
2007-06-11prepare more stuff to be able to deal with UpdateSets directlyMarc Espie
2007-06-11keep on extracting stuffMarc Espie
2007-06-10give repository/locations slightly more control over package names.Marc Espie
2007-06-10Add Paths.pm, to centralize all system dependent paths all over the place.Marc Espie
okay millert@, deraadt@
2007-06-10extract constructor to create old handles.Marc Espie
2007-06-10set_infodir when we can in PackageLocation.Marc Espie
Create a full handle for replaced packages as well.
2007-06-10make the replacement check methods slightly clearer, avoid doing twoMarc Espie
things at once, mostly.
2007-06-10split create_handle code, so that we create the object as a trivialMarc Espie
place-holder, then complete it later. This should allow us to create `empty shell' UpdateSets eventually, in replacement of pkgnames lists.
2007-06-10refactor the code a bit, so that lists through ftp and htpp share moreMarc Espie
code. Finally handle ftp_proxy (close PR 5308).
2007-06-09tag user installed packages.Marc Espie
- record what's on the command line. - adjust option depending on -a / !-a - report `manual-install' status when replacing stuff.
2007-06-09rework `special' package names a bit.Marc Espie
- do a test to create partial-foo-1.0.1 instead of partial-partial-foo-1.0 when removing partial-foo fails. - have .libs name generation, e.g., .libs-foo, then .libs1-foo, then .libs2-foo instead of .libs-.libs-foo.... extend the pkgspec pattern slightly, so that all these are more or less equivalent for dependencies and conflicts. With this, we can do practically any scenario of shared libs updates and downgrades.
2007-06-09give Dependencies a chance at finding libraries in old packages.Marc Espie
2007-06-09new code is much sturdier with respect to old libraries, we do not haveMarc Espie
to consider .libs-* as `special case', saving old libraries should do the right thing in all cases, more or less...
2007-06-07show messages about keeping libraries more often, starting on verbose.Marc Espie
2007-06-07give handle a temporary name, this prevents `undefined' messages.Marc Espie
2007-06-07always close sockets before calling hce_notify_done.Pierre-Yves Ritschard
first spotted by Paulius Bulotas <paulius+openbsd-misc at devnull.lt>.
2007-06-07outline what to do with old libs.Marc Espie
2007-06-07make compute_size explicit. That way, we can do it once, at the rightMarc Espie
moment.
2007-06-07(finally) Enable reload support for layer 3 configurations.Pierre-Yves Ritschard
Hoststated can be reloaded either by sending SIGHUP to the parent process or by using ``hoststatectl reload'' discussed and ok reyk@
2007-06-06do it only for older sets.Marc Espie
2007-06-06finish moving the size computations out of validate_plist.Marc Espie
2007-06-06separate the size computation from other operations in `prepare_for_addition'Marc Espie
`prepare_for_deletion' -> move that to Vstat, as it is common code. Do the splitting of libraries through a deep copy and shallow copy, so that we keep any State information related to libraries (like special group/owners).
2007-06-06tweak split_libs slightly for further changes: make it return the oldMarc Espie
packing-list, and the new, instead of doing `in-place' edition of the plist contents.