Commit Graph

2603 Commits

Author SHA1 Message Date
sthen
b700be2512 drop dead savannah mirrors 2010-11-14 12:10:12 +00:00
espie
b1497e737a revamp the way dependencies work
- strip extra : at start of depends (old LIB_DEPENDS are gone, right)
- rely on the fact, :extra is only patch|configure|build for any depends.
- use _parse_pkgspec to do things intelligently.
- _set_stem2default to handle STEM-*.

- switch internal stuff to new style.

This is backwards compatible. But this does require -current dpb, -current
sqlports, and -current pkg_add to work !
2010-11-14 11:17:36 +00:00
espie
1c0a277e2c prepare to deal with new depends 2010-11-14 07:44:53 +00:00
ajacoutot
20e30da573 ftp sucks balls and cubes, so put http mirrors first in MASTER_SITE_GNOME. 2010-11-12 16:30:44 +00:00
espie
199b16a59a all old LIB_DEPENDS=libspec:pkg:path should be gone, so the warning becomes
an error.
2010-11-11 19:03:25 +00:00
espie
e2d1250c4c show everything as WANTLIB for now, this needs more love obviously 2010-11-11 12:43:03 +00:00
espie
e7a2eb26ed "fake" extra @depend lines for LIB_DEPENDS in port-lib-depends-check, so
that they show up even if there's no WANTLIB for them yet
2010-11-11 12:38:51 +00:00
espie
47bc97ea5c fix stupid warnings 2010-11-11 12:17:20 +00:00
espie
c2993506c5 oops. noticed by sthen@/jasper@ 2010-11-09 23:55:28 +00:00
espie
38061a5145 trap does not exit, avoid unlocking twice, even though it's harmless 2010-11-09 11:18:47 +00:00
espie
a4f88880eb - add check-register, that basically does print-plist
- switch motif to WANTLIB
- start warning about old style LIB_DEPENDS. It's time !
2010-11-07 00:03:38 +00:00
espie
c401210b5d allow register-plist to do a quickie on print-plist 2010-11-07 00:01:40 +00:00
sthen
77d56f9516 permit native-ogetdirentries, ok aja 2010-11-03 09:17:57 +00:00
espie
82ae79eeca in case the signature doesn't match, clean ALL packages that will be
rebuilt. Otherwise, you may suffer through 3 or 4 rebuilds of qt3...

ouchie.
2010-11-02 20:32:59 +00:00
espie
ccc087a37a explicit reminder: dpb does NOT do anything intelligent with installed
packages. Beware with -R, start with a clean box, or suffer strange
problems.
2010-11-02 11:34:29 +00:00
steven
8f06d3f7fd make die messages a bit more consistent 2010-11-01 13:40:36 +00:00
steven
63596c6ac2 give Program its own install sub as well 2010-11-01 13:26:41 +00:00
steven
72dd1c9832 zap unused variable 2010-11-01 13:05:57 +00:00
steven
89d04d4736 simplify sequence of events a bit in the install subroutine 2010-11-01 13:05:13 +00:00
steven
c5236210fe factor code to install .la file and associated files into its own sub 2010-11-01 12:48:15 +00:00
espie
a6fdaa4a74 do -d automatically, we don't really need that option 2010-11-01 12:24:47 +00:00
espie
fb3a3c80f7 much better implementation of -R. In case of rebuilds, check does not "see"
pkgfiles, unless they've been registered.
the engine queues everything to build, but normal build is only an
existence/signature check. The actual build tasks only get queued when
the package does not exist, or if its signature does NOT match the ports
tree.

Should make matthieu@ happy.
2010-11-01 10:55:26 +00:00
espie
8a26786deb new file/option: save dependencies and be able to reuse them.
makes for a "quick listing" of the most important ports first (e.g., groff).
document -R, even though it's not perfect yet.
flesh out all the recent parts and update the BUGS AND LIMITATIONS section.
2010-10-31 11:07:20 +00:00
espie
f7f23f3bdd don't cheat, we have to make clean=package to avoid side-effects with
arch-independent packages.
2010-10-30 11:36:07 +00:00
espie
f072ab3a17 proof-of-concept implementation of -R (rebuild when signature changes).
Somewhat inefficient (deep check of package vs port signature).
More proper approach would be to tell the engine to always build, have first
step be a check for signature if the package exist, and abort if it matches:
- here we double check everything
- propagating rebuilds means non-uptodate packages give rise to non uptodate.
2010-10-30 11:19:38 +00:00
espie
86be07b384 simplify parameter passing slightly 2010-10-30 10:35:09 +00:00
espie
03b44c7dac refactor to make most of it reusable to e.g., make print-package-signature 2010-10-29 12:35:00 +00:00
sthen
3ebf10c2f7 Add the http://ftp.cpan.org/ redirector to the top of MASTER_SITE_PERL_CPAN
and drop some 16 of the mirrors, saving a lot of time when a distfile has
been removed. ok espie@ dcoppa@
2010-10-29 12:00:14 +00:00
espie
10e6cc104f engine improvements:
- if several cores are available, recheck errors, so that we're not stuck
waiting for a core to finish to start new shit.
- $logdir/stop-<machine_name> allows you to stop a given machine while
you clean it up and (possibly) restart it (e.g., won't start new jobs)
2010-10-29 11:51:42 +00:00
espie
2f5fa40549 big fucking hack to the FULLPKGNAME\- problem, until I clean it up for real... 2010-10-29 10:22:14 +00:00
steven
f7e4458115 move mkdir out of if block so we avoid an error when it tries to write an
objectlist in there
2010-10-28 23:50:15 +00:00
steven
2e37db56d1 check that we really have pic objects to pass, otherwise fall back to nonpic.
this is a quick fix, to be done a bit cleaner later.
2010-10-28 23:48:40 +00:00
steven
e1202b625d undo revert 2010-10-28 23:45:59 +00:00
sthen
89545fa5be Let pkg/README-subpackage work, before this we looked for README--subpackage.
ok espie@
2010-10-28 22:39:44 +00:00
jasper
df430ae277 - revert libtool to -r1.16, as -r1.17 breaks at least dynamips, lftp and
silc-server.

found by landry@ and myself the hardway

ok sthen@ espie@
2010-10-28 22:19:03 +00:00
landry
66327fcf42 Readd missing space before "on $hostname" 2010-10-28 22:14:54 +00:00
jasper
974d938556 - remove "suspicious empty line" emacs whines about 2010-10-28 21:09:52 +00:00
espie
1f255bf2b5 not needed any longer 2010-10-28 16:40:48 +00:00
espie
7b789c29d3 byebye, you served us well 2010-10-28 16:38:50 +00:00
espie
1c010712c9 keep the output from dump-vars around, and save it in the logfile is
something bad happens.

get rid of special reporter for Vars, E= is enough, people should look
in the paths/logfile now.
2010-10-28 14:54:38 +00:00
espie
feefd4a81a give readmes to SHAREOWN/SHAREGRP 2010-10-28 14:26:36 +00:00
espie
39fe683365 of course, confusing prepare and depends is bad 2010-10-28 14:21:18 +00:00
espie
e283301fe2 zap localhost from those lines too.
will make display snappier on one core machine, and still be readable
otherwise...
2010-10-28 12:51:37 +00:00
espie
7cf1b65950 do the next step even if prepare fails, since prepare is fairly rigid
and depends will allow more flavors.
2010-10-28 11:56:48 +00:00
espie
ff7b318b8c turns out dpb doesn't need this in the end... 2010-10-28 11:14:23 +00:00
espie
4a572ee2bd make it possible (simple) to rescan broken directories
(we should possibly log the error messages).
Forgot to reset broken, so rescanning didn't help...
2010-10-28 10:33:20 +00:00
espie
e6ab9941a7 imperfect testing from landry/aja@: killing USE_X11 broke e17/ecore, since the
extensions/Print X11 header is gone...
2010-10-28 09:29:27 +00:00
steven
233c853561 strip static libraries with --strip-debug
seems to fix databased/db library
2010-10-28 09:08:27 +00:00
espie
634fb00640 oops, give back that core. 2010-10-28 08:54:22 +00:00
steven
d067b2c283 some cleanup 2010-10-27 23:42:49 +00:00