Commit Graph

107 Commits

Author SHA1 Message Date
bernd
5183642076 Introduce -p option. This allows us to scan the ports tree for conflicts
without the need to have the packages around.

It's really easy now to check if a new package conflicts with other stuff
in the ports-tree:

$ find-all-conflicts -p /usr/ports newpkg.tgz

help & ok espie@
2007-02-19 19:50:50 +00:00
sturm
1cc933bba1 check build depends (currently duplicates most of check_run_deps())
ok bernd
2007-01-16 18:15:53 +00:00
bernd
64d1a3eb01 It's possible that the package version we get from the ports tree is
different than expected. Teach handle_dependency() how to cope with that.

Debugged with msf@ some time ago. Fix tested by msf@, sturm@ and steven@.

This also fixes the following error some people have seen:

"Can't use an undefined value as a HASH reference at
/usr/ports/infrastructure/package/check-newlib-depends line 234."

"go for it" espie@
2007-01-11 18:45:18 +00:00
espie
1ef1f2940b let check-newlib-depends use the new targets 2006-12-18 12:53:09 +00:00
bernd
12d8350649 Output beautification. One chunk from sturm@, two chunks by myself.
ok sturm@
2006-12-15 11:19:46 +00:00
sturm
e4f1e2c985 don't check build dependencies for now, these have to be compared against
indirect run dependencies which needs a little more code
2006-12-15 09:58:55 +00:00
sturm
0bcaa0f861 reduce the amount of direct dependencies by pointing out those which
are pulled in as indirect dependencies

ok espie@
2006-12-10 17:34:41 +00:00
espie
ea00df0a25 allows grabbing the packing-list from the ports tree.
suggestion from bernd
2006-11-11 13:11:45 +00:00
espie
321aced247 rename function for future change.
avoid re-reading the same plist for getting the same info (which doesn't
work anyways, so this avoids looking up a package for nothing).
let depwalk stash the pkgpath away for future use.
2006-11-11 12:44:26 +00:00
pvalchev
ea93d319d1 4.0 2006-10-26 00:41:45 +00:00
pvalchev
db68c59fd2 update list of architectures 2006-10-26 00:40:46 +00:00
espie
3291960295 oops, fix. 2006-10-23 11:19:35 +00:00
espie
872bae539e -f: display a full listing of which binary uses what library. Useful for
figuring out dependencies in a fine way for creating multi packages.
2006-10-23 10:54:45 +00:00
bernd
5e5fdfe2a4 Add libs which are reachable through dependencies to the cut&paste WANTLIB
output as well.

spotted by alek@, ok espie@
2006-10-20 18:10:25 +00:00
espie
7aa333e1ca output a simple set of WANTLIB lines you can cut&paste, by popular demand... 2006-10-20 15:09:24 +00:00
espie
992a0a28a0 sort information instead of putting it out in an haphazard way. 2006-10-20 14:40:29 +00:00
bernd
1db3e02224 Teach register-plist how to deal with the case where the recorded
plist in PLIST_DB misses the last line.

found & debugged by sturm@
ok sturm@, espie@
2006-10-19 00:15:46 +00:00
espie
55c0fd4b29 moved to ports/databases/sqlports 2006-10-15 09:42:17 +00:00
espie
dff6979a7a oops, forgot to commit FULLPKGNAME.
From Serge Basterot
2006-10-14 09:03:23 +00:00
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