OpenBSD CVS

CVS log for src/usr.sbin/pkg_add/Attic/pkg_delete


[BACK] Up to [local] / src / usr.sbin / pkg_add

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.135, Fri Jun 4 13:19:39 2010 UTC (14 years ago) by espie
Branch: MAIN
CVS Tags: HEAD
Changes since 1.134: +1 -1 lines
FILE REMOVED

move code around, so that commands can be used as modules.
pkg becomes the start hub, which does nothing except require the
correct module.
Saner code wrt Add/Delete, and more sharing.

Revision 1.134 / (download) - annotate - [select for diffs], Mon May 10 09:17:55 2010 UTC (14 years, 1 month ago) by espie
Branch: MAIN
Changes since 1.133: +7 -7 lines
Diff to previous 1.133 (colored)

whitespace fixes

Revision 1.133 / (download) - annotate - [select for diffs], Sun Jan 10 21:27:59 2010 UTC (14 years, 5 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.132: +2 -2 lines
Diff to previous 1.132 (colored)

unify options a bit: use -Dname=value for defines uniformously (e.g., deprecate
-F keyword heavily).

Revision 1.132 / (download) - annotate - [select for diffs], Mon Dec 21 11:03:00 2009 UTC (14 years, 5 months ago) by espie
Branch: MAIN
Changes since 1.131: +2 -11 lines
Diff to previous 1.131 (colored)

document recent changes, clean up old pkg_delete options

Revision 1.131 / (download) - annotate - [select for diffs], Mon Dec 21 10:38:58 2009 UTC (14 years, 5 months ago) by espie
Branch: MAIN
Changes since 1.130: +12 -7 lines
Diff to previous 1.130 (colored)

much simpler SIG{INFO} handling: create a status object in state and
update it when needed. Install a SIG{INFO} handler at start that will do
what's needed.

Revision 1.130 / (download) - annotate - [select for diffs], Sun Dec 20 22:38:45 2009 UTC (14 years, 5 months ago) by espie
Branch: MAIN
Changes since 1.129: +11 -5 lines
Diff to previous 1.129 (colored)

change verbosity handling: be silent by default, turn on the first level if -v.
Add more levels, specifically, lots of info regarding individual files only
visible if -vvvvv.
Make -n display the same stuff as normal (need -n -v to display more stuff).
Introduce -s, "size-only", turns on -n and does skip any extraction.
Sprinkle handlers for SIG_INFO, not really nice yet.

Note that -n is non functional for complex updates, because of caching
issues I have to fix.

Revision 1.129 / (download) - annotate - [select for diffs], Sat Dec 19 14:21:14 2009 UTC (14 years, 5 months ago) by espie
Branch: MAIN
Changes since 1.128: +6 -0 lines
Diff to previous 1.128 (colored)

create a $state->todo method to account for sets to install.
have tracker keep track of sets not done, and ask it directly for how many
there's still to do. Provide an offset into next for cases where we know
we already did a set but haven't accounted for it yet.
-> more accurate number of sets still to do.

Revision 1.128 / (download) - annotate - [select for diffs], Sat Nov 28 10:05:58 2009 UTC (14 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.127: +2 -3 lines
Diff to previous 1.127 (colored)

still not right, so revert to original algorithm, and compute @todo
in a more expensive way...

Revision 1.127 / (download) - annotate - [select for diffs], Sat Nov 28 10:01:50 2009 UTC (14 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.126: +2 -1 lines
Diff to previous 1.126 (colored)

oops, if I want to modify @todo, I should do it right.

Revision 1.126 / (download) - annotate - [select for diffs], Sat Nov 28 09:36:32 2009 UTC (14 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.125: +2 -1 lines
Diff to previous 1.125 (colored)

add (n to go) to pkg_delete as well.

Revision 1.125 / (download) - annotate - [select for diffs], Tue Nov 17 10:17:21 2009 UTC (14 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.124: +2 -4 lines
Diff to previous 1.124 (colored)

revamp interactive stuff: simplify (just one always for everything, per
theo suggestion. Also go through the "state" object which simplifies code
a great deal)

Revision 1.124 / (download) - annotate - [select for diffs], Mon Nov 16 23:02:36 2009 UTC (14 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.123: +0 -1 lines
Diff to previous 1.123 (colored)

-Vstat (get it from AddDelete)

Revision 1.123 / (download) - annotate - [select for diffs], Mon Nov 16 12:53:27 2009 UTC (14 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.122: +51 -61 lines
Diff to previous 1.122 (colored)

pull more common code in a "framework" routine.

Revision 1.122 / (download) - annotate - [select for diffs], Mon Nov 16 12:32:16 2009 UTC (14 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.121: +8 -0 lines
Diff to previous 1.121 (colored)

identical end sequence, to be factorized

Revision 1.121 / (download) - annotate - [select for diffs], Mon Nov 16 12:20:32 2009 UTC (14 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.120: +17 -83 lines
Diff to previous 1.120 (colored)

start pulling all the code that's the same between pkg_add and pkg_delete
into a common AddDelete package... lots of identical options and handling,
actually...

Revision 1.120 / (download) - annotate - [select for diffs], Sat Nov 14 10:47:17 2009 UTC (14 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.119: +39 -33 lines
Diff to previous 1.119 (colored)

pull the eval {} code into an anonymous sub, so that we can choose to exec
it without the eval (useful for backtraces when I want bug-reports,
since eval {} will show you the backtrace of the eval, not of the
function call)

Revision 1.119 / (download) - annotate - [select for diffs], Wed Nov 11 12:21:20 2009 UTC (14 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.118: +1 -0 lines
Diff to previous 1.118 (colored)

also get most STDERR messages through the same way

Revision 1.118 / (download) - annotate - [select for diffs], Wed Nov 11 12:04:18 2009 UTC (14 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.117: +5 -4 lines
Diff to previous 1.117 (colored)

progressmeter puts STDOUT in autoflush if -t, so that it can display to it instead of piping a lot of stuff to STDERR.

Go through state->print for most messages, so they will NOT do weird things
with the progressmeter.
Use a ->say shortcut which does the same thing that perl 5.10 say does...

Revision 1.117 / (download) - annotate - [select for diffs], Wed Nov 11 11:13:16 2009 UTC (14 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.116: +2 -2 lines
Diff to previous 1.116 (colored)

remove forwarders, and provide a sensible API that says what's going on
(e.g., we're logging information for later).

Revision 1.116 / (download) - annotate - [select for diffs], Tue Nov 10 11:36:56 2009 UTC (14 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.115: +1 -0 lines
Diff to previous 1.115 (colored)

bad espie: use strict/warnings consistently, and fix two nits and two
actual errors !

Revision 1.115 / (download) - annotate - [select for diffs], Tue Nov 10 11:13:59 2009 UTC (14 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.114: +2 -1 lines
Diff to previous 1.114 (colored)

proposing details when we remove one single package is ridiculous

Revision 1.114 / (download) - annotate - [select for diffs], Tue Nov 3 09:57:27 2009 UTC (14 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.113: +7 -0 lines
Diff to previous 1.113 (colored)

catch signals while we're doing something, so that cleanup always happens.

Revision 1.113 / (download) - annotate - [select for diffs], Sat Mar 8 12:07:45 2008 UTC (16 years, 3 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.112: +8 -8 lines
Diff to previous 1.112 (colored)

rename forced to defines

Revision 1.112 / (download) - annotate - [select for diffs], Sat Mar 8 11:32:38 2008 UTC (16 years, 3 months ago) by espie
Branch: MAIN
Changes since 1.111: +2 -2 lines
Diff to previous 1.111 (colored)

let GetOpt count how many times it sees an option, removes special case
for -v, and allow other fun possibilities.

Revision 1.111 / (download) - annotate - [select for diffs], Tue Dec 18 10:58:46 2007 UTC (16 years, 5 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored)

make it possible to run without locking the database. To be used by
SRC: url, which require it.

Revision 1.110 / (download) - annotate - [select for diffs], Sat Jun 30 11:38:38 2007 UTC (16 years, 11 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.109: +2 -2 lines
Diff to previous 1.109 (colored)

move the UpdateSet stuff into its separate file, leaving Vstat much cleaner.

Revision 1.109 / (download) - annotate - [select for diffs], Sat Jun 16 09:29:37 2007 UTC (16 years, 11 months ago) by espie
Branch: MAIN
Changes since 1.108: +3 -2 lines
Diff to previous 1.108 (colored)

use OpenBSD::Paths contents

Revision 1.108 / (download) - annotate - [select for diffs], Mon Jun 4 14:57:33 2007 UTC (17 years ago) by espie
Branch: MAIN
Changes since 1.107: +3 -3 lines
Diff to previous 1.107 (colored)

I am on drugs, I don't know where I found split can take strings as
arguments. Repair...

Revision 1.107 / (download) - annotate - [select for diffs], Mon Jun 4 14:40:39 2007 UTC (17 years ago) by espie
Branch: MAIN
Changes since 1.106: +5 -5 lines
Diff to previous 1.106 (colored)

some minor systematic changes.
- mark all regexps I can with /o if they can be compiled once.
- turn $o->method() into $o->method
- remove unneeded prototypes
- reduce split /re/ into split "string" where possible.

Revision 1.106 / (download) - annotate - [select for diffs], Fri Jun 1 14:58:29 2007 UTC (17 years ago) by espie
Branch: MAIN
Changes since 1.105: +5 -15 lines
Diff to previous 1.105 (colored)

refactor ProgressMeter code to create objects, put these into state.
Create a common state class for delete and add, put the progressmeter
creation in there.

neat effect: we don't have a progressmeter, we use a stub class instead
and *never* pull the code in at all.

Revision 1.105 / (download) - annotate - [select for diffs], Thu May 31 13:33:17 2007 UTC (17 years ago) by espie
Branch: MAIN
Changes since 1.104: +1 -2 lines
Diff to previous 1.104 (colored)

move set validation earlier (in fact, it probably doesn't belong in
really_add).

move common delete_installed() code inside Delete.pm

Revision 1.104 / (download) - annotate - [select for diffs], Wed May 30 15:10:07 2007 UTC (17 years ago) by espie
Branch: MAIN
Changes since 1.103: +3 -3 lines
Diff to previous 1.103 (colored)

fix verbosity.

Revision 1.103 / (download) - annotate - [select for diffs], Tue May 22 10:47:40 2007 UTC (17 years ago) by espie
Branch: MAIN
Changes since 1.102: +2 -4 lines
Diff to previous 1.102 (colored)

cleanup shared state a bit earlier. Shouldn't change much, but may help
ensuring we don't reload fontdirs twice with weird fontdirs case.

Revision 1.102 / (download) - annotate - [select for diffs], Tue May 22 10:11:59 2007 UTC (17 years ago) by espie
Branch: MAIN
Changes since 1.101: +3 -7 lines
Diff to previous 1.101 (colored)

introduce a SharedItemsRecorder (put it into Vstat, since that's a file
common to Add and Delete, for now).

Use it to have common code that records items to remove / items remaining.

Stash it into pkg_add/pkg_delete state, and abstract the cleaning up
operation into the SharedItemsRecorder (so that pkg_add and pkg_delete no
longer have to know about the internals of SharedItems at all).

Revision 1.101 / (download) - annotate - [select for diffs], Sun May 20 14:21:33 2007 UTC (17 years ago) by espie
Branch: MAIN
Changes since 1.100: +7 -2 lines
Diff to previous 1.100 (colored)

create specific `state' objects for pkg_add and pkg_delete, so that I can
write shortcuts for common behavior, and start hiding some details.

Revision 1.100 / (download) - annotate - [select for diffs], Sun May 20 14:04:39 2007 UTC (17 years ago) by espie
Branch: MAIN
Changes since 1.99: +2 -1 lines
Diff to previous 1.99 (colored)

placeholders for UpdateSet, once we have it.

Revision 1.99 / (download) - annotate - [select for diffs], Sun May 20 13:54:30 2007 UTC (17 years ago) by espie
Branch: MAIN
Changes since 1.98: +2 -1 lines
Diff to previous 1.98 (colored)

both pkg_add and pkg_delete use Vstat, make it explicit.

Revision 1.98 / (download) - annotate - [select for diffs], Mon May 14 09:49:27 2007 UTC (17 years, 1 month ago) by espie
Branch: MAIN
Changes since 1.97: +3 -3 lines
Diff to previous 1.97 (colored)

tidy

Revision 1.97 / (download) - annotate - [select for diffs], Tue May 1 18:22:20 2007 UTC (17 years, 1 month ago) by espie
Branch: MAIN
Changes since 1.96: +1 -2 lines
Diff to previous 1.96 (colored)

move the old elements into PackingElements, since the code is now
much shorter.

Revision 1.96 / (download) - annotate - [select for diffs], Sun Apr 15 10:17:29 2007 UTC (17 years, 1 month ago) by espie
Branch: MAIN
Changes since 1.95: +2 -2 lines
Diff to previous 1.95 (colored)

update copyright years, standardize licence.
reword the introduction to the stuff originally from FreeBSD to clarify
slightly.

Revision 1.95 / (download) - annotate - [select for diffs], Thu Feb 22 21:31:41 2007 UTC (17 years, 3 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored)

Problem noticed by Henrik Hellerstedt <henrik@kohina.net>

Fix a really fun bug in pkg_delete: solve_installed_names has to
normalize the list of names so that comparing its size vs. its
transitive closure is meaningful. Use the classical hash + list to
preserve the order. While we're there, use the hash to avoid asking
the same questions again and again.

After some back&forth with bernd. okay bernd@

Revision 1.94 / (download) - annotate - [select for diffs], Tue Aug 1 10:23:38 2006 UTC (17 years, 10 months ago) by bernd
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.93: +26 -8 lines
Diff to previous 1.93 (colored)

If pkg_delete is trying to remove more than one package at the same time and
is finding some dependency problems, explain which package depend on what.
(with -v, -i or '-F verbosedeps')

idea & ok espie@

Revision 1.93 / (download) - annotate - [select for diffs], Wed Sep 7 14:01:59 2005 UTC (18 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored)

use `pkg-name' rather than `pkgname' here, for consistency with other
pkg_* bits;

ok espie@

Revision 1.92 / (download) - annotate - [select for diffs], Wed Sep 7 09:24:19 2005 UTC (18 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.91: +2 -2 lines
Diff to previous 1.91 (colored)

sort options and sync usage();

Revision 1.91 / (download) - annotate - [select for diffs], Sun Sep 4 22:47:56 2005 UTC (18 years, 9 months ago) by espie
Branch: MAIN
Changes since 1.90: +13 -35 lines
Diff to previous 1.90 (colored)

* New -i interactive option, that can ask obnoxious questions.
* move the signature code to a packing-list method, prepend the pkgname.
* depend on distant listings, cache these systematically.
* cut the PKG_PATH at :/ systematically, much simpler than parsing URLs.
People should get used to trailing /s.
* let pkg_add -u actually run the update.
* check for signature in more places, for instance, let pkg_add installed_stuff
be a void operation.
* grab enough stuff during updates to check signatures, so that pkg_add -u
can report updates that are not needed right away, instead of waiting
for the more confusing `trying to update'
* beginning of @module support.
* @pkgpath support, including updates.
* systematically expand stems when applicable.
* use visitors systematically in pkg_info.
* pkg_info -S reports signature.
* remove hardcoding of categories in PackingList, so that future modules
will be able to expand them.
* add @updateset and @incompatibility keywords.

Revision 1.90 / (download) - annotate - [select for diffs], Wed Aug 17 18:44:24 2005 UTC (18 years, 9 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.89: +7 -20 lines
Diff to previous 1.89 (colored)

reuse compute_closure

Revision 1.89 / (download) - annotate - [select for diffs], Wed Aug 17 18:37:10 2005 UTC (18 years, 9 months ago) by espie
Branch: MAIN
Changes since 1.88: +1 -4 lines
Diff to previous 1.88 (colored)

we have a much more accurate image of stuff in -n mode, so we can
ditch this test, pkg_delete -n should no longer loop indefinitely.

Revision 1.88 / (download) - annotate - [select for diffs], Wed Aug 17 09:24:53 2005 UTC (18 years, 9 months ago) by espie
Branch: MAIN
Changes since 1.87: +2 -1 lines
Diff to previous 1.87 (colored)

restore $main::not that is needed by OpenBSD::RequiredBy,
put an # XXX comment so I won't be tempted to clean it again.

Revision 1.87 / (download) - annotate - [select for diffs], Sat Jan 22 13:00:35 2005 UTC (19 years, 4 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored)

do not clean-up shared items in pretend mode (for now, need extra logic
to pretend cleaning it up).

Revision 1.86 / (download) - annotate - [select for diffs], Fri Jan 14 02:25:12 2005 UTC (19 years, 4 months ago) by espie
Branch: MAIN
Changes since 1.85: +2 -1 lines
Diff to previous 1.85 (colored)

`big lock' model: lock the whole db for reading/writing.
design checked with millert@, relying on process termination for unlock
at his suggestion.

Perf optimization: don't try to reinstall installed packages in kitchensink
mode if !-r.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Jan 3 01:02:45 2005 UTC (19 years, 5 months ago) by espie
Branch: MAIN
Changes since 1.84: +8 -3 lines
Diff to previous 1.84 (colored)

rename -f -> -F
okay pvalchev@, naddy@, marco@, deraadt@

(keep -f around for the transition, will scrap it soon)

Revision 1.84 / (download) - annotate - [select for diffs], Mon Dec 27 22:54:25 2004 UTC (19 years, 5 months ago) by espie
Branch: MAIN
Changes since 1.83: +15 -4 lines
Diff to previous 1.83 (colored)

recover from a nasty problem, allow people to delete package even if
some dependency got badly adjusted.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Dec 27 22:44:29 2004 UTC (19 years, 5 months ago) by espie
Branch: MAIN
Changes since 1.82: +6 -2 lines
Diff to previous 1.82 (colored)

better message

Revision 1.82 / (download) - annotate - [select for diffs], Wed Dec 15 01:07:10 2004 UTC (19 years, 5 months ago) by espie
Branch: MAIN
Changes since 1.81: +3 -1 lines
Diff to previous 1.81 (colored)

move -n down into RequiredBy and PackingList (as $main::not, since we
don't want to load RequiredBy all the time).
Remove a few $state->{not} tests that are no longer needed.

pkg_add -n / pkg_delete -n should work much better when they need to
handle multiple dependencies.

(todo: kill plist caches, finish replacing with specialized caches like
libraries).

Revision 1.81 / (download) - annotate - [select for diffs], Sun Dec 12 11:26:16 2004 UTC (19 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.80: +18 -17 lines
Diff to previous 1.80 (colored)

add somewhat more regular error catching code.

Revision 1.80 / (download) - annotate - [select for diffs], Mon Dec 6 12:35:36 2004 UTC (19 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.79: +15 -6 lines
Diff to previous 1.79 (colored)

Usage

Revision 1.79 / (download) - annotate - [select for diffs], Mon Nov 15 11:39:05 2004 UTC (19 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.78: +8 -8 lines
Diff to previous 1.78 (colored)

clean-up: pull all option parsing together.

Revision 1.78 / (download) - annotate - [select for diffs], Sun Nov 14 13:20:07 2004 UTC (19 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.77: +8 -7 lines
Diff to previous 1.77 (colored)

allows for several -f options, since OpenBSD::Getopt makes this possible

Revision 1.77 / (download) - annotate - [select for diffs], Sun Nov 14 11:58:43 2004 UTC (19 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored)

turn on progress meter by default, use -x to disable it.
document the new stuff, partial reorder of options.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Nov 14 11:40:08 2004 UTC (19 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.75: +9 -11 lines
Diff to previous 1.75 (colored)

let RequiredBy generate lists directly, use hashes to trim down duplicates directly. Optimize for !wantarray, by telling whether the list is empty or not.

prepare for a second similar list (REQUIRING) that will replace pkgdep, since
pkg_add -r spends a hell of a lot of its time reading/writing long
packing-lists...

Use the simplified interface.

Remove quite a few tests that the RequiredBy list is non-empty that do
nothing but obfuscate the code: just deal with the damn list already.

Revision 1.75 / (download) - annotate - [select for diffs], Thu Nov 11 16:28:57 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)

reversed test.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Nov 11 12:29:20 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.73: +2 -1 lines
Diff to previous 1.73 (colored)

store a ref to %forced in $state, for access anywhere.

Revision 1.73 / (download) - annotate - [select for diffs], Thu Nov 11 11:36:26 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored)

move some code from pkg_add to OpenBSD/Add.pm, for symetry with pkg_delete.

change prototype of validate_plist, ditch globals cdrom_only and ftp_only
(stash this into state).

Use Warn properly.

Revision 1.72 / (download) - annotate - [select for diffs], Thu Nov 11 11:23:04 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

don't touch font directories if -n either...

Revision 1.71 / (download) - annotate - [select for diffs], Thu Nov 11 11:16:39 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.70: +9 -6 lines
Diff to previous 1.70 (colored)

introduce shortcuts to read/write contents from_installation/to_installation

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.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Nov 11 10:47:26 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.69: +5 -4 lines
Diff to previous 1.69 (colored)

fix interaction of -n -v -r.
don't enable the progress meter if a very verbose mode is on.

Revision 1.69 / (download) - annotate - [select for diffs], Tue Nov 9 11:11:01 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.68: +1 -9 lines
Diff to previous 1.68 (colored)

kill old Logger interface, use $state->print() to report problems at
end exclusively now.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Nov 7 11:39:10 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.67: +4 -1 lines
Diff to previous 1.67 (colored)

show tally in verbose mode as well, why not ?

Revision 1.67 / (download) - annotate - [select for diffs], Sun Oct 31 11:33:50 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.66: +2 -7 lines
Diff to previous 1.66 (colored)

Simplify ldconfig handling: one single ensure_ldconfig routine that
reruns ldconfig -R (okay, we don't check that -m would be enough, so what ?)

First hooks for -r: check that replacement should work.

Revision 1.66 / (download) - annotate - [select for diffs], Sun Oct 31 10:26:17 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.65: +5 -411 lines
Diff to previous 1.65 (colored)

Move most of the code of pkg_delete into a separate module so that it will
be usable by pkg_add -r.

Revision 1.65 / (download) - annotate - [select for diffs], Sun Oct 31 09:06:04 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.64: +1 -6 lines
Diff to previous 1.64 (colored)

Erase old code

Revision 1.64 / (download) - annotate - [select for diffs], Tue Oct 26 17:37:04 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.63: +1 -14 lines
Diff to previous 1.63 (colored)

kill old duplicate code.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Oct 26 17:23:15 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.62: +8 -149 lines
Diff to previous 1.62 (colored)

move the code that handles shared items into a separate Module.

- It will be used after deletion/adding during updates.
- We might avoid loading it if a package contains no new directories.
Actually a lot of packages don't use it.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Oct 23 09:27:48 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.61: +10 -7 lines
Diff to previous 1.61 (colored)

store pkgname in shared items, so that delayed printing can be used
(and use it).

Optimisation: don't clone() directories

Revision 1.61 / (download) - annotate - [select for diffs], Wed Oct 20 11:38:57 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.60: +5 -3 lines
Diff to previous 1.60 (colored)

basic framework for delayed messages.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Oct 19 09:43:40 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.59: +34 -11 lines
Diff to previous 1.59 (colored)

Extra progress meter for the handling of shared items: first show
the reading of remaining stuff from installed packages, then the
cleaning-up as it progresses.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Oct 18 12:03:19 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.58: +22 -7 lines
Diff to previous 1.58 (colored)

experimental progress meter.
not active unless you specify -x for pkg_add/pkg_delete.
(option is bound to change)

Revision 1.58 / (download) - annotate - [select for diffs], Mon Oct 18 10:51:03 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.57: +12 -9 lines
Diff to previous 1.57 (colored)

use OpenBSD::Getopt so that we can do -v -v.
Be much terser by default, start showing dependency information and
various things only with at least one -v.

Build a `flattened tree' of dependencies information in pkg_add, and
show why we install a given package (idea from deraadt@).

Revision 1.57 / (download) - annotate - [select for diffs], Sun Oct 17 09:32:21 2004 UTC (19 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.56: +3 -2 lines
Diff to previous 1.56 (colored)

behave according to documentation, e.g., delete groups/users only if -c.
fix typo.

Revision 1.56 / (download) - annotate - [select for diffs], Mon Oct 11 14:40:04 2004 UTC (19 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.55: +3 -16 lines
Diff to previous 1.55 (colored)

common code for exec/unexec/extraunexec.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Oct 11 14:35:08 2004 UTC (19 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.54: +8 -6 lines
Diff to previous 1.54 (colored)

simplify ldconfig now that we run in an uniform way.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Oct 11 13:46:17 2004 UTC (19 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.53: +7 -2 lines
Diff to previous 1.53 (colored)

aggregate all MESSAGES and display them at the end, with proper markers to
separate distinct packages.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Oct 11 13:29:05 2004 UTC (19 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.52: +8 -5 lines
Diff to previous 1.52 (colored)

move mandir handling to pkg_add/delete time, solely.
Adjust stuff so that pkg_add can run makewhatis just once.
pkg_delete cannot, since it has to have the manpages around still
to remove them...

Revision 1.52 / (download) - annotate - [select for diffs], Mon Oct 11 13:10:25 2004 UTC (19 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.51: +9 -26 lines
Diff to previous 1.51 (colored)

common code for all script running.
Common option for not running scripts: -I for both pkg_add and pkg_delete.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Oct 11 12:31:02 2004 UTC (19 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.50: +10 -9 lines
Diff to previous 1.50 (colored)

$state->{beverbose} = $state->{verbose} || $state->{not}

Revision 1.50 / (download) - annotate - [select for diffs], Mon Oct 11 11:48:18 2004 UTC (19 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.49: +32 -23 lines
Diff to previous 1.49 (colored)

tweak, make it work a bit more like pkg_add

Revision 1.49 / (download) - annotate - [select for diffs], Mon Oct 11 10:30:33 2004 UTC (19 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.48: +19 -1 lines
Diff to previous 1.48 (colored)

add support for undisplay file, to be able to show information at pkg
removal without having to run a DEINSTALL script...

Revision 1.48 / (download) - annotate - [select for diffs], Fri Sep 24 09:06:50 2004 UTC (19 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.47: +7 -7 lines
Diff to previous 1.47 (colored)

ditch `config' in the @sample messages, since this more or less covers
all files installed from templates.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Sep 24 08:49:27 2004 UTC (19 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.46: +82 -20 lines
Diff to previous 1.46 (colored)

2nd half of @newuser/@newgroup: treat them as shared items, and remove
them along with directories, if extra.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Sep 21 09:44:09 2004 UTC (19 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

typo

Revision 1.45 / (download) - annotate - [select for diffs], Tue Sep 21 09:42:33 2004 UTC (19 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.44: +11 -11 lines
Diff to previous 1.44 (colored)

rename cleanup dirs functions, since they will apply to all shared items
soon.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Sep 20 07:31:42 2004 UTC (19 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

use fullname() in sample, so that absolute names AND relative names work.
problem noticed by sturm@

Revision 1.43 / (download) - annotate - [select for diffs], Sat Sep 18 09:27:05 2004 UTC (19 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.42: +28 -1 lines
Diff to previous 1.42 (colored)

full support for @shell: insert shells into /etc/shells if they're
not already there, and remove them on deinstall.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Sep 14 22:58:30 2004 UTC (19 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.41: +27 -8 lines
Diff to previous 1.41 (colored)

better wording for documentation.
use System more or less everywhere.
prepare to delete info directories properly.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Aug 11 09:28:26 2004 UTC (19 years, 10 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.40: +8 -2 lines
Diff to previous 1.40 (colored)

protect main loop of pkg_delete with an eval, so that
ldconfig, directory removal, manpage handling, and fontdir handling
always happen.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Aug 10 12:05:52 2004 UTC (19 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

typo

Revision 1.39 / (download) - annotate - [select for diffs], Tue Aug 10 11:53:27 2004 UTC (19 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.38: +49 -13 lines
Diff to previous 1.38 (colored)

cosmetic tweak: ensure all dirs always get exactly one / at the end.
cosmetic tweak: do not show a space after a keyword without args.
dir support reworked: keep clones() of dir objects, and call cleanup/reload
routines at end.

@mandir/fontdir support:
both mandir and fontdir remove extra files on delete.
@fontdir creates alias files, runs mkfontdir, and uses fc-cache.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Aug 9 01:40:57 2004 UTC (19 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.37: +6 -1 lines
Diff to previous 1.37 (colored)

record remaining DirRms.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Aug 7 17:27:26 2004 UTC (19 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

use chroot DESTDIR ldconfig in DESTDIR case.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Aug 6 14:33:02 2004 UTC (19 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.35: +5 -2 lines
Diff to previous 1.35 (colored)

protect makewhatis calls inside eval.
failing makewhatis should be a warning at best.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Aug 6 12:21:11 2004 UTC (19 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.34: +5 -3 lines
Diff to previous 1.34 (colored)

use OpenBSD::Makewhatis, avoid forking extra makewhatis.

Note: requires you to update makewhatis to work.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Aug 6 10:23:45 2004 UTC (19 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.33: +25 -2 lines
Diff to previous 1.33 (colored)

@lib shared library marker.

- runs ldconfig to find out search library path.
- if library is in path, mark directory for updating cache.
- run ldconfig when needed, e.g., right before executing something that
might depend on the library.

Doesn't handle destdir case yet.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Aug 6 07:51:17 2004 UTC (19 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.32: +14 -23 lines
Diff to previous 1.32 (colored)

unified headers, switch to smaller copyright notice.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Aug 6 07:37:34 2004 UTC (19 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored)

Extradir name.
Don't bother deleting it if it's not there.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Aug 6 07:05:16 2004 UTC (19 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.30: +7 -1 lines
Diff to previous 1.30 (colored)

deinstall DirRm like DirBase.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Aug 5 23:36:39 2004 UTC (19 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.29: +17 -19 lines
Diff to previous 1.29 (colored)

refactor classes in PackingElement to share more code.
- all files go through FileBase, all directories go through DirBase.
- dirclass() is used to switch classes based on final /, so that
@sample, @extra, and @file  all take directories as well.
- set NoDuplicateNames() more thoroughly.
- make sure all no-default-conflict objects are correct.

compute_fullname() checks for absolute paths, allowed for @sample and
@extra.

lastfile only gets set for actual files.

special names like INSTALL are only checked for normal files.

add a CVSTag class for @comment $OpenBSD$, so that these get sorted first.

Changes for make-plist rewrite:

clone() method that can create copies of all hash objects, to specialize
if needed.

add_object() method so that add() is now new() followed by add_object()
for most objects (useful for cloned objects).

Check that plist has a name in pkg_create, allowing PackingList to write
unnamed plists.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Aug 3 12:29:45 2004 UTC (19 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.28: +57 -1 lines
Diff to previous 1.28 (colored)

Support @sample, tested by fries@.
@mandir and @fontdir keywords recognition.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Aug 2 12:12:36 2004 UTC (19 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.27: +12 -1 lines
Diff to previous 1.27 (colored)

@man type file for manpages.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jul 20 18:58:41 2004 UTC (19 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.26: +14 -2 lines
Diff to previous 1.26 (colored)

support for gnu-info, with @info keyword.
- modify pkg_create so that it will look for info-[0-9]+ and add them
to the packing-list.
- deal with installing the info file/de-installing it at pkg_add/pkg_delete
time.

tested by naddy@

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jul 18 12:00:21 2004 UTC (19 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.25: +6 -6 lines
Diff to previous 1.25 (colored)

when deleting @link, don't bother checking for md5, since we don't have any.
The check will have been done for the `parent' file anyways.

noticed by krw@, seems all heavy-duty porters use -q, so we didn't notice
it...

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jul 14 10:44:03 2004 UTC (19 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.24: +46 -47 lines
Diff to previous 1.24 (colored)

Rework @dirrm: keep them all, and remove them at the end of pkg_delete.
Add @dir, more powerful than @dirrm, so that we can get rid of those
pesky @exec mkdir -p.

okay naddy@

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jun 21 16:33:45 2004 UTC (19 years, 11 months ago) by espie
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

support for old stuff in pkg_info/pkg_delete, e.g., @src
prompted by miod@, okay miod@ millert@.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Feb 25 21:56:12 2004 UTC (20 years, 3 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.22: +45 -23 lines
Diff to previous 1.22 (colored)

Add -B support to pkg_delete.
new method in Logger, annotate, so that the pkg_delete log script can
set
PKG_DESTDIR=  conditionally, and use ${PKG_DESTDIR} later on in filenames.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jan 28 22:12:01 2004 UTC (20 years, 4 months ago) by espie
Branch: MAIN
Changes since 1.21: +6 -4 lines
Diff to previous 1.21 (colored)

Add -L to record/enforce localbase.
Okay sturm@

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jan 27 15:34:31 2004 UTC (20 years, 4 months ago) by espie
Branch: MAIN
Changes since 1.20: +32 -21 lines
Diff to previous 1.20 (colored)

more forced keywords.
`looks sane' henning@

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jan 27 14:50:52 2004 UTC (20 years, 4 months ago) by espie
Branch: MAIN
Changes since 1.19: +5 -1 lines
Diff to previous 1.19 (colored)

first series of -forced switches, looks okay to henning@.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 27 13:09:16 2004 UTC (20 years, 4 months ago) by espie
Branch: MAIN
Changes since 1.18: +8 -2 lines
Diff to previous 1.18 (colored)

-f framework, manpage fixes.
comments and okay jmc@

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jan 27 00:13:04 2004 UTC (20 years, 4 months ago) by espie
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

show $! in system related errors.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 27 00:08:31 2004 UTC (20 years, 4 months ago) by espie
Branch: MAIN
Changes since 1.16: +6 -2 lines
Diff to previous 1.16 (colored)

remove package if RequiredBy file ends up empty too soon.
This allows users to remove packages with bogus dependency registration
that happened at one point in the life of the pkg_*.

This should please henning.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 21 18:41:23 2003 UTC (20 years, 5 months ago) by espie
Branch: MAIN
Changes since 1.15: +15 -2 lines
Diff to previous 1.15 (colored)

Add virtual file system, so that pkg_add and pkg_delete can check for
read-only status, or size concerns, before even beginning to add/remove
files.

Allows pkg_add -n and pkg_delete -n to be more thorough as well.

Some testing by Todd Millert, comments by Greg Steuck and Sam Smith.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Dec 10 11:43:52 2003 UTC (20 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.14: +9 -4 lines
Diff to previous 1.14 (colored)

Flag unresolved package names as errors.
Help resolution by stripping away .tgz.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Dec 10 11:12:22 2003 UTC (20 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

Replace Adding/Deleting with "Pretending to add/delete" in -n mode.
Pick up DISPLAY from staging area, so that it gets found even if -n.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 9 19:22:36 2003 UTC (20 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

better management of list of installed packages. Allow pkg_add/delete -n
to proceed correctly in case of dependencies.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Nov 9 15:42:48 2003 UTC (20 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

fix semantics to match old tools. This prefix is what was passed on
the command line, not the first cwd in the archive, sorry.

No way to override this currently.

To be safe,
- packages would need to be built with a specific base.
- packages would need to be installed with the same base.

Somewhat the same semantic difference as with LOCALBASE/PREFIX.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Nov 6 18:42:01 2003 UTC (20 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

set env PKG_PREFIX for compatibility with old tools.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 6 17:49:31 2003 UTC (20 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Allow the use of full paths to refer to installed packages, so that
pkg_delete /var/db/pkg/zsh-*/  works.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Nov 4 17:55:17 2003 UTC (20 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.8: +34 -4 lines
Diff to previous 1.8 (colored)

let pkg_delete use logging facilities to save issues with deleting files
(mostly md5 problems for now)

okay sturm@

Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 3 11:05:55 2003 UTC (20 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 (colored)

canonpath strips ending /, rely on unstripped name for @extra.
found out by naddy@

Revision 1.7 / (download) - annotate - [select for diffs], Mon Nov 3 11:04:21 2003 UTC (20 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.6: +20 -19 lines
Diff to previous 1.6 (colored)

fix logic wrt pkgstems and dependencies.
ok sturm@

Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 28 17:26:01 2003 UTC (20 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.5: +45 -7 lines
Diff to previous 1.5 (colored)

let pkg_delete evaluate dependencies earlier: check that all packages
that the user wants removed are actually a complete set with respect
to dependencies. Otherwise, report a list of packages that would
have to be removed as well for this pkg_delete to work, and stop right
there.

okay naddy@

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 27 22:46:23 2003 UTC (20 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

extra block around do while loop.
perl quick: this is needed for last to work.

Found out by sturm@

Revision 1.4 / (download) - annotate - [select for diffs], Thu Oct 23 23:11:22 2003 UTC (20 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Typo. Fix removal for multiple times the same dependency.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 23 17:48:07 2003 UTC (20 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.2: +12 -2 lines
Diff to previous 1.2 (colored)

missing space in DEINSTALL message.
allow pkg_delete stem to work, unless ambiguous.
put all pkg_info's work into a single function, so that
pkg_info autoconf will work.

ok fries@ sturm@

Revision 1.2 / (download) - annotate - [select for diffs], Sun Oct 19 18:42:55 2003 UTC (20 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.1: +6 -6 lines
Diff to previous 1.1 (colored)

plist's has/get methods for accessing elements: perl ->{} has quirks
that make it unusable for looking up constants correctly.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Thu Oct 16 17:43:34 2003 UTC (20 years, 7 months ago) by espie
Branch: espie
CVS Tags: pkgtools
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

new import of my pkgtools, after a slight naming disagreement with the
Upper Management...

Revision 1.1 / (download) - annotate - [select for diffs], Thu Oct 16 17:43:34 2003 UTC (20 years, 7 months ago) by espie
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.