Commit Graph

171 Commits

Author SHA1 Message Date
espie
92d44aef56 convert to newer interface. MAKE SURE you have -current pkg_add to run register_plist ! 2010-06-30 11:11:19 +00:00
espie
6bcd8a2e0b clean-up by using new State methods.
also cut up the objdump handling into shorter segments
2010-06-26 10:24:34 +00:00
espie
957d837c10 get bin files to participate, as noticed by sthen 2010-06-25 10:37:03 +00:00
espie
2cb670bc2b more compact Extra: 2010-06-23 15:02:45 +00:00
espie
a0b6c058b1 display fullpkgpath if we know it. 2010-06-14 12:29:39 +00:00
espie
3473eccf4e simplify option handling for src/dest.
- if a src file is given, we don't need -B.
- use -B for base directories, select to save libraries based on -O.
2010-06-14 11:36:40 +00:00
espie
aea40feb34 oopsie, as noticed by landry 2010-06-13 22:02:43 +00:00
espie
7f36d90ded Naming classes the same as functions can yield surprising results,
as noticed by Daniel Dickman
2010-06-11 23:49:22 +00:00
espie
bcc28ff989 run diff directly, as discussed with jasper et al 2010-06-11 11:20:48 +00:00
espie
93b11bb381 reuse new code from base 2010-06-11 11:20:27 +00:00
espie
443b24f0da rename for clarity 2010-06-11 10:09:37 +00:00
espie
bdc6afed31 use new infra for progressmeters. Add caches to compute conflicts more
efficiently.
2010-06-10 23:08:14 +00:00
espie
a6da4b131a switch to new interface 2010-06-09 13:59:37 +00:00
pvalchev
d8c5a45109 pkglocatedb is now compressed, deal with that (for p file generation) 2010-03-24 22:41:25 +00:00
espie
6f38966be3 this is outdated by several years, don't use this 2010-03-22 12:58:54 +00:00
espie
44ae75fc67 handle modern dependencies. 2010-03-20 18:04:28 +00:00
espie
a4dad31c19 older code: use new methods code 2010-03-20 17:06:16 +00:00
espie
6a74e2e1de don't look at symlinks. if they point inside fake, then we get the file
anyways. if they point outside of it, they don't make sense until
installed, and we got the file anyways...
2010-03-20 17:05:44 +00:00
jasper
923a684afc - mention mips64el where applicable
ok espie@ ajacoutot@
2010-02-05 13:06:03 +00:00
espie
19d16675e1 fix check-lib-depends since SharedLibs changed slightly (quick fix
adaptation for now).

As noticed by kili@
2010-01-26 21:22:57 +00:00
pvalchev
c93a58fb78 update for 4.6 (account for SHA256 being there too) 2009-10-26 20:17:15 +00:00
matthieu
da8ac4907e Update for new BSD.x11.dist which is rooted at '/'. ok espie@ 2009-10-01 19:38:40 +00:00
pvalchev
7ae647f8ae 4.5 2009-05-07 00:10:44 +00:00
espie
60e8adb5b1 flattening signatures mean they won't be compared, but they still end up
in the recorded plist, consuming space for nothing. So also remove them
from the plist.

while there, $o->method() becomes $o->method
2009-04-26 08:45:09 +00:00
pvalchev
7fa431eebd bring up to speed for 4.4 2008-10-16 23:35:50 +00:00
espie
0965b5a651 make register-plist aware of the new digest infrastructure.
make it not notice a switch from md5 to sha256.
2008-10-06 09:37:02 +00:00
pvalchev
794b1d3215 4.3 updates 2008-05-01 00:54:54 +00:00
espie
67dd5e9ae5 handle fedora + redhat.
based on Mikolaj Kucharski <mikolaj@kucharski.name> patch.
2008-04-22 21:36:06 +00:00
espie
9106e40ed0 ignore details of new @comment VARS:, to be used for better make-plist. 2008-04-12 13:09:58 +00:00
espie
b00d668f47 ... and shellquote is now counterproductive... noticed by the same. 2008-02-20 07:04:25 +00:00
espie
c846346eda use exec(@list), avoid quoting issue.
thanks to  Johan Kiviniemi and Antti Harri
2008-02-19 11:02:53 +00:00
pvalchev
8f6b54a45b update 2007-11-01 16:09:44 +00:00
espie
123ce53c44 Fix ldd command line.
Problem found out by mbalmer@, funnily enough, on the vax, which doesn't
HAVE shared libraries.
2007-10-27 22:15:28 +00:00
espie
2bab7b794b start recording rpaths in .saved_libs, not really used yet. 2007-06-16 20:15:33 +00:00
espie
ce4da48631 I still need to handle `ignore', not all packages have been updated. 2007-06-16 12:14:53 +00:00
espie
d2fbe0a110 ouch, look for the actual location, not the package name, so that
we use built packages as much as possible (this is much faster than
regenerating packing-lists on the fly).
2007-06-03 11:57:36 +00:00
espie
009f44b53a allows saving/retrieving dump of objdump runs. 2007-06-03 11:01:10 +00:00
espie
1cc1790f05 add an option which simply dumps the stuff out. 2007-06-03 10:32:23 +00:00
espie
27af9a55a3 assorted cleaning-up:
- no longer any needed to put haslib and needlib together, since we
create it independently.
- replace the tests for opt_f by a distinct Recorder object, that either
keeps all binary names, or just some (bonus: this should allow us to
store the information the other way around).
- remove extra $db parameter which no longer servers any purpose.

Comment a few data structure.
2007-06-03 09:21:50 +00:00
espie
f10eb23d0b finish killing old stuff, you should have updated by now. 2007-06-02 12:23:28 +00:00
espie
3e81f47fb3 synch with pkg_add src/ changes 2007-05-23 10:34:15 +00:00
espie
9d2f3b66db old `check-lib-depends' has been dead for ages. Prepare for renaming. 2007-05-22 10:39:05 +00:00
espie
8eb23915f4 we don't bother building hardlinks either 2007-05-21 21:43:50 +00:00
espie
170d57a28f oops again: make sure we create the correct files. 2007-05-21 21:38:01 +00:00
espie
3876bf00e9 zap debug line 2007-05-21 21:24:56 +00:00
espie
49aaeb4f95 use the new code to ALSO report libraries recorded in WANTLIB (and used)
that are actually not reachable.

Reword the print-out slightly, I think it looks nicer ;-)
2007-05-21 21:23:45 +00:00
espie
e0e45027b6 oops 2007-05-21 21:02:14 +00:00
espie
3b31079021 unify reporting of lib issues 2007-05-21 20:52:33 +00:00
espie
023cfd6b44 Create error objects based on library stuff. 2007-05-21 20:39:27 +00:00
espie
ed3de34f07 separate usage of variables. 2007-05-21 20:20:50 +00:00