Commit Graph

2628 Commits

Author SHA1 Message Date
espie
ef56915d0c - pass PORTSDIR for libtool, since people seem to want to stuff their
ports tree in weird places.
- show CHECKSUM_FILES if DPB=fetch or better.
2010-12-14 11:37:38 +00:00
espie
c6ed94f022 not sure why it happens, but log nopkgname... 2010-12-12 21:21:03 +00:00
sebastia
22f3e05d61 add userid for misc/srcpd daemon.
OK jasper@
2010-12-11 11:11:29 +00:00
espie
884b53366c dpb does not need EPOCH + REVISION 2010-12-07 11:26:37 +00:00
espie
97286a5a18 better info rebuild: make Vars responsible for creating info "just in time"
by keeping local state.
That way, when we rescan, we don't have to remove any info, and all affected
infos are replaced at the same time.
2010-12-07 10:56:26 +00:00
espie
b87d7dd53f put stuff in separate modules 2010-12-07 08:46:28 +00:00
espie
9c270c05b6 fix fix
$build_info //= 1  indeed... ;(
2010-12-06 19:35:06 +00:00
espie
ab01800701 tag dependencies discovered as pure dependencies with their parents, allow
finding out non-sensical stuff in an easier way
2010-12-06 13:20:45 +00:00
espie
d317d925fe minor warning fix 2010-12-06 13:19:44 +00:00
espie
9ed0d9cd66 move most of libtool code around. 2010-12-05 16:37:50 +00:00
espie
4d8b6b0032 allow 'dpb archivers' without extra artifacts, e.g., recognize and
handle categories without classifying them as pkgpaths with errors.
2010-12-05 10:06:12 +00:00
ajacoutot
336c24d6ba Add a default HOMEPAGE for cpan ports when none is specified.
All work including upcoming huge bump done by Mikolaj Kucharski, thanks!

ok jasper@
2010-12-03 11:43:05 +00:00
espie
abf72e33c3 SHARED_ONLY is Yes or No 2010-11-26 20:24:36 +00:00
espie
3f9f91390c teach register-plist that pkgspec-version is equivalent to pkgspec-=version 2010-11-26 07:17:10 +00:00
espie
2c0a53e285 show the old-style depend.
fix :configure depends for versions.
move PKGSPEC to !dpb dump-vars
2010-11-25 18:06:37 +00:00
sthen
ef3a3401fe reorder MASTER_SITE_PERL_CPAN; the round-robin server has been refusing
connections for a few days, as noticed by jasper@
2010-11-24 20:18:39 +00:00
sebastia
dfb432e42e reserve userid/groupid 659 for _sogo (www/sogo) 2010-11-24 18:04:38 +00:00
espie
21be510d2b fix quoting (spotted by jeremy@), make old style depends an error 2010-11-23 18:34:20 +00:00
jasper
a9b9525ca0 Add a template for pkg-readmes.
Currently one needs protective glasses to read a random README; so new
READMEs should be in line with the simple "rules" layed out here.

OK aja@ naddy@ sthen@
2010-11-23 15:58:54 +00:00
espie
1d73dd9276 also add older LIB_DEPENDS to WANTLIB 2010-11-22 21:16:42 +00:00
espie
1c9acc51a6 tweak where stem-* is computed, to be documented and used later 2010-11-20 19:57:59 +00:00
espie
811d94d9d6 new depends 2010-11-20 19:56:47 +00:00
espie
e4c6484205 small tweaks:
compute _CHECK_DEPENDS earlier
 set extra_msg to have flavor_fragment show something better than empty
directories
2010-11-16 19:26:18 +00:00
espie
6c85f407d1 missed _print-plist-with-extra-depends, noticed by jasper@ 2010-11-16 09:39:45 +00:00
espie
86a41b10d0 most abreviated format for depends. there's a consensus that it's good,
and it works.
2010-11-16 09:16:26 +00:00
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