Commit Graph

88 Commits

Author SHA1 Message Date
espie
ccb088f096 let register-plist show stuff in a format ready for copy-paste.
Suggestion from alek@, took it one step further...
2006-10-02 18:48:01 +00:00
espie
6372292fc7 split things exactly like make does, avoid a few spurious error messages
from sqlite.
2006-09-19 09:57:58 +00:00
espie
b160c64929 tweak for PKGPATH, name it correctly as FULLPKGPATH, and add a subsidiary
table to map FULLPKGPATH to PKGPATH, e.g.,

SELECT DISTINCT PKGPATH, VALUE FROM Wantlib,Paths WHERE Wantlib.FULLPKGPATH=Paths.FULLPKGPATH ORDER BY PKGPATH
2006-08-01 16:22:22 +00:00
espie
fe3a0bfbff handle new lib specs 2006-08-01 11:01:15 +00:00
espie
46c41e9259 guards preventing out-of-bound access 2006-07-17 16:51:53 +00:00
espie
7d211a2885 tweak it a bit to ignore changes in number of generated info files. 2006-07-12 08:11:28 +00:00
espie
893cc09231 CONFIGURE_ARGS holds values that look like --with-cxxflags="-O2 -pipe"
deal with split/quotes correctly.
2006-07-10 15:19:52 +00:00
espie
80448819a5 Handle CONFIGURE_ARGS as a list, e.g.,
SELECT DISTINCT VALUE FROM ConfigureArgs
makes sense.
2006-07-10 14:34:01 +00:00
espie
64feab316c Really process SHARED_LIBS 2006-07-10 11:44:30 +00:00
espie
15cecfd126 +CONFIGURE_ARGS 2006-07-10 10:52:08 +00:00
espie
413a0547de add AUTOCONF/AUTOMAKE_VERSION 2006-07-10 10:35:50 +00:00
bernd
34a129ce4f Fix typos and do some cleanup.
'go ahead' espie@
2006-07-10 08:01:08 +00:00
espie
92759b023b avoid committing empty entries in space separated lists. 2006-07-09 20:59:57 +00:00
espie
3b1cddbff9 do not commit empty libspecs.
keep rowid around, since the key does not change for every iteration.
2006-07-09 20:56:48 +00:00
ckuethe
857210df82 Fix comment describing usage.
ok espie
2006-07-09 17:39:34 +00:00
espie
8dd6a28c5f also dump SUPDISTFILES
do not store empty values which are always defined, but can be empty.
2006-07-09 11:23:50 +00:00
espie
1aecbb09e3 Example script to convert values from the ports tree into an sqlite database.
Discussed with robi/bernd/steven.
2006-07-09 11:00:53 +00:00
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