Commit Graph

71 Commits

Author SHA1 Message Date
espie
c5101965f7 remove erroneous optimization 2006-03-04 13:02:04 +00:00
espie
5d80851387 cache even more stuff.
avoid half the computation in conflicts.

allows to specify packing-lists directly.
2006-02-12 16:33:35 +00:00
espie
fd27df373d oops, avoid IO::Scalar, which is a local module.
perl 5.8.0 does scalars directly.
2006-02-09 12:03:55 +00:00
espie
ab8eafb0a7 deal transparently with changing CVS tags or mystuff addition/removal. 2006-02-09 11:39:02 +00:00
espie
1a551c8008 use a much smarter comparator: check each element independently.
This finally allows us to transparently update old registered plists
for new elements.

For instance, let's store md5 for constant elements, like DESC, DISPLAY, etc.
2006-02-09 10:49:13 +00:00
espie
7c0d5b76c2 don't bother checking symlinks, they point at a bogus location anyways. 2005-12-30 14:09:47 +00:00
espie
f755566506 be more specific about conflict handling: conflicts can be registered at
any level in the dependency tree, but we shouldn't mark as conflicting packages
that do depend on each other or that have common dependencies.

Issue noticed by alek@ on plone vs. zope.
2005-12-12 13:37:21 +00:00
pvalchev
48a568fc60 change to cope with the new comment/descr package format; ok espie mjc 2005-09-21 04:52:22 +00:00
pvalchev
6befda6c28 some 3.8 updates 2005-09-20 17:59:40 +00:00
espie
715995a25c use new interface to PackageLocator 2005-09-19 21:12:27 +00:00
espie
388edd407a use new interface to Locator 2005-09-13 20:48:41 +00:00
espie
6dc3872b96 readable error when !-d and a dependent package is needed 2005-09-10 09:48:54 +00:00
espie
1e9f0a5a06 kill mystuff 2005-09-09 08:20:37 +00:00
espie
026d4464af use PkgSpec to work on plists (since they have no def value...)
rearrange output of common-dirs to be more usable.
2005-09-05 14:39:57 +00:00
espie
c55945a28e merge code for find-all-conflicts and check-common-dirs, since there is
a lot of shared logic in there.
2005-09-05 10:17:05 +00:00
espie
65b60545ef protect against $OpenBSD$ expansion problems.
Allow the first argument to be a path:, so that we can archive
the packing-lists in a less haphazard way.
2005-09-05 10:13:11 +00:00
espie
368bd09c02 cache ways more information, so that it runs at a reasonable pace for
3000 packages.
output stuff in a more readable way.

allows looking only in a PLIST_DB directory.
2005-09-04 22:34:23 +00:00
espie
a27436f413 new script, to register packing-list in a nice way. 2005-09-04 22:30:39 +00:00
pvalchev
3059521cb0 append pkglocatedb to plists; ok deraadt 2005-09-02 01:11:02 +00:00
espie
dd7e097b7c remove duplicates, in case we're scanning the same package several times.
okay pvalchev@
2005-08-14 11:57:17 +00:00
pvalchev
70cd8f0b74 sort list of pkgs properly; ok and tweak espie 2005-05-17 22:08:13 +00:00
pvalchev
d237bab01d ignore "pkglocatedb.gz" in the listing as well 2005-05-17 16:17:50 +00:00
pvalchev
58a2b77280 - print pathname of file in case of error
- fix up comment
2005-05-17 16:17:00 +00:00
pvalchev
1d1a81e90d missed mips64, also update osrev=3.7 2005-05-13 17:35:19 +00:00
pvalchev
251ff517f0 update list of all arches 2005-05-13 17:34:19 +00:00
espie
23f2ba46c9 don't strip the version number from wantlib in reporting issues.
will help people figure out why an incorrect library version is enough
to get lib-depends-check to holler.
2005-03-26 11:52:58 +00:00
espie
1621329450 trace dependencies. 2005-03-07 11:15:33 +00:00
espie
ebf45d12c9 let check-newlib-depends diagnose simple missing LIB_DEPENDS.
(will diagnose complicated WANTLIB by walking the dependency path
and checking that the library is indeed reachable soon).
2005-03-06 12:05:11 +00:00
espie
7394586952 start looking closer at library origin: report system libs differently.
(dependency walk and caching not finished yet).
2005-03-05 11:36:26 +00:00
espie
60aaac2918 libs found inside package itself can be marked as used directly.
Reporting these as `Extra' is obviously a bug...
2005-03-02 20:45:37 +00:00
espie
4e8bcfc35e oops, Wantlib needs special treatment, removes bogus warnings. 2005-02-26 13:21:58 +00:00
espie
19e4c12467 support a.out by calling ldd with a format that passes as objdump output. 2005-01-31 10:09:42 +00:00
espie
ce81b410e6 do not look at simple modules. 2005-01-31 09:51:32 +00:00
espie
bd19cd4c90 kill very old stuff 2004-12-22 14:09:37 +00:00
espie
059ae7b0b6 make sure libraries contained in a package are not reported as missing... 2004-12-11 14:35:05 +00:00
espie
13d53957be minimal wantlib checker. 2004-12-11 14:27:57 +00:00
espie
f4978ac9af synch with changes 2004-11-13 11:49:48 +00:00
espie
5dc2fdab3a tell all big analyzers they can forget about the packing-list. 2004-11-11 15:38:02 +00:00
espie
b71495c6f2 use base classes more 2004-10-05 20:40:11 +00:00
pvalchev
def59b4c36 update list of arches for 3.6 2004-09-15 18:57:16 +00:00
pvalchev
c862b93395 ignore "index.txt" file found in ftp directories 2004-09-15 18:53:24 +00:00
espie
eb04306537 handle -> check_common_dirs
use visit
accurate list of existing directories with Mtree.
build better results.
2004-09-14 22:31:48 +00:00
espie
67877397d3 visit in the base system. 2004-09-14 22:30:36 +00:00
espie
438553ff5e check lib dependencies on binary packages. 2004-09-14 22:22:17 +00:00
espie
2d48535d1e don't output pkgname if no problem to output.
okay pvalchev@
2004-08-13 07:45:22 +00:00
espie
b2fffcb71e script to check that all common dirs are properly tagged in every package
that should tag them (e.g., any package without a parent `dependency'
should have the dir marked).

okay pvalchev@
2004-08-12 18:58:34 +00:00
espie
9c6f8a3cc2 replace with a new script that works faster. 2004-03-04 17:48:29 +00:00
espie
abe9b75176 slight clean-up. Result tested by pvalchev@ 2004-02-25 00:08:30 +00:00
pvalchev
51eeba8675 new script to generate package index/description pages for a certain release.
written by Michael Coulter <mjc@bitz.ca>
2004-02-20 23:47:54 +00:00
pvalchev
ef5e3966f3 remove old and very inefficient script for generating packages index/description pages 2004-02-20 23:46:08 +00:00