Commit Graph

3212 Commits

Author SHA1 Message Date
pascal
efbbb4e0ba Reserve _wesnothd user/group. 2012-11-20 15:05:44 +00:00
sthen
54fe7aeb13 +spiped 2012-11-19 22:14:31 +00:00
espie
40d8555822 fix reverted lock logic. From Vadim Zhukov. 2012-11-19 14:19:35 +00:00
espie
eef2946135 add a new value for BULK and use it as default:
BULK=auto  will invoke bulk behavior on dependencies, but not during
normal build.
(internally, deps have _SOLVING_DEP=yes, so we can distinguish them)

okay ajacoutot@
2012-11-19 12:24:50 +00:00
espie
e009da097e remove some old cruft
checked by naddy@ for no incidence on current builds
2012-11-19 12:19:30 +00:00
espie
ba8f355da8 more descriptive name 2012-11-18 12:37:21 +00:00
espie
440719fdce fix clean + check for packages interaction 2012-11-18 01:59:31 +00:00
espie
7fafb5c793 allow for -DWAIT_TIMEOUT=0 to propagate correctly
lower default for junk
2012-11-18 01:58:36 +00:00
brad
655424c0b1 Sync with git
ok sthen@
2012-11-15 08:31:36 +00:00
dcoppa
46f826992d Add "native-sigpending: permit" to avoid warnings from systrace now
that make(1) uses this function.

ok espie@
2012-11-12 10:55:17 +00:00
espie
c2ac425fce multiplication doesn't work on undefined values... noticed by naddy@
so initialize $job->{waiting} if needed.
2012-11-09 17:49:17 +00:00
espie
d73a931704 don't mix up wait_timeout and waiting_timeout, as noticed by naddy@.
re-enable wait_timeout on localhost temporarily (should be done in another
way, most probably by checking whether repo is on nfs, we can steal code
from VStat.pm)

pass umask through ssh. This took us long enough to figure out, and it's
considerably simpler than tweaking every login class once again.
2012-11-06 08:26:29 +00:00
espie
3d3c336bb7 waive the other xenocara check if we're building it, as noticed by naddy. 2012-11-05 20:29:35 +00:00
espie
35f70aaf08 determine the xenocara makefile name directly, as it is inconvenient
to do if you're not sure you have the right WRKSRC.
2012-11-03 09:40:05 +00:00
sthen
9553728031 sort .poison lines, add a couple more 2012-11-02 01:44:19 +00:00
espie
9ce8be5926 fix base/xenocara location 2012-11-01 09:58:53 +00:00
espie
21af771d16 add a bit of experimental scaffolding to build xenocara from ports
- resurrect USE_X11 in a smart way: auto-determine it correctly from
WANTLIBS (accounts for most ports)
- define a BUILD_XENOCARA knob that builds fake based on mtree for
X11BASE.
- if BUILD_XENOCARA_TOO=Yes, prepare to hook to a xenocara "fake" meta
package.

All of this off by default, the xenocara shadow tree is not in yet
anyways. Zero impact on regular builds.
2012-10-29 22:27:05 +00:00
espie
b626ac149d thinko 2012-10-28 10:32:23 +00:00
espie
e1f5ebd7f8 be very explicit: running several dpb on the same box is perfectly safe.
so that nitpicky developers are not deluded into thinking this doesn't work
perfectly (hi matthieu@)
2012-10-27 11:17:56 +00:00
rpe
92c015487d lock directory -> locks directory
ok espie@
2012-10-26 14:43:17 +00:00
sthen
41d0a0310e fileutils has been replaced with coreutils, handle this in the autoconf cache
fragment which normally handles gmkdir.  ok jasper@
2012-10-25 12:26:29 +00:00
espie
964fc46d9a document WAITING_TIMEOUT 2012-10-13 09:10:07 +00:00
espie
8553ebea36 disable the waiting period if waiting_timeout is 0.
and don't do it on localhost
2012-10-13 09:06:55 +00:00
espie
04618136d2 fix default property handling 2012-10-13 09:00:02 +00:00
espie
3453d11c35 zap warnings 2012-10-13 08:47:32 +00:00
espie
302ada6ac0 tweaks
- waiting should know when it gets interrupted! so that it doesn't zombify
- add a time limit.
2012-10-13 08:32:58 +00:00
espie
76fe3e54e3 shrink msg 2012-10-12 22:18:10 +00:00
espie
64fa96209b document ALWAYS_CLEAN 2012-10-12 20:27:16 +00:00
espie
0f91b47f42 -DALWAYS_CLEAN: clean ports even if they errored out (that's a prop, so
always_clean=1  in hosts file.

refactor task code a bit. And fix a buglet related to the NFS check
(wrong finalize order)
2012-10-12 20:24:56 +00:00
espie
959b30dd92 oops 2012-10-11 17:35:19 +00:00
jasper
fd16678a62 book a seat for py-carbon. 2012-10-11 17:15:04 +00:00
espie
692f286b94 oh, and explain the why... 2012-10-11 09:03:34 +00:00
espie
1a0fb89393 actually log what's missing that we're waiting upon 2012-10-11 08:38:05 +00:00
espie
36029e80d7 optimize a bit for dpb: remove extra variables we don't ever use
in "pure dpb mode", only write out variables for BUILD_PACKAGES, not
MULTI. This should reduce the number of pkgpaths generated, among other
things.
2012-10-11 08:07:10 +00:00
espie
8db885a530 reorganize and comment portinfo 2012-10-11 08:05:03 +00:00
espie
9b37bcd801 change things again to have command line options override host file.
and provide the possibility of a DEFAULT entry in the host file.
2012-10-11 07:40:30 +00:00
espie
94c55bc7b4 move to using BUILD_PACKAGES, so we have the actual tidy list.
Stupid NFS work-around:
during/after cleanup, wait until the packages show up.
Each wait period of ten seconds will show up as waiting#n.
2012-10-11 07:38:38 +00:00
rpe
8d3efe0bb7 make out-of-date output directly usable for dbp
- ignore empty lines
- remove comments and whitespaces at the end of lines

ok espie@
2012-10-10 11:44:11 +00:00
espie
f9ad29c2e9 tweak things a bit... no need for an extra _fullpath variable.
also, use a broken() function to simplify THAT particular shell fragment.
I've been running with this for ages...
2012-10-10 10:55:33 +00:00
sthen
6d0101c720 uid 705 for minidlna 2012-10-10 10:43:13 +00:00
espie
22005987a3 restore dropped ), noticed by Amit Kulkarni, thx. 2012-10-09 20:35:57 +00:00
espie
7cdbf3d937 zap last bit of state, showing everything as host/4*2 is bad... 2012-10-08 14:16:36 +00:00
espie
cdc017bcb0 small change for people running multiple hosts:
options on the command line now define *defaults* that host files can
override (for instance -j, stuck, -p, -J).

Add -p /n to mean "take number of jobs, if >1, divide by n, round up to 2,
and use that for parallel.

Document -p.

Make junk be 'by host' (and it's a prop, so you can tweak it).

concurrent log that records how many jobs are running each time it changes.
tag parallel builds *n in the time record.
2012-10-08 12:41:03 +00:00
espie
a98e0a8036 our make does ignore further targets with the same name, but it's not
a reason to misuse that feature.

When invoking bsd.port.mk, be more specific, give us a target that's not
defined.
2012-10-06 15:38:14 +00:00
espie
929c759b7e remove old compatibility cruft with old register-plist that used to
say "def" for version number.

check that pkgpath in dependency did not change, in which case the
dependent port should have been bumped.

problem experienced by aja@ on glib2...

patch tested and okay jasper@, sthen@
2012-09-27 14:46:37 +00:00
sthen
43485060c7 use http://ftpmirror.gnu.org/ first in MASTER_SITE_GNU (http redirector),
and trim a few of the separate mirrors.
2012-09-25 20:52:15 +00:00
espie
63d13d7f2d oops, unmark core for swallowing before we free it. Otherwise we may
still lose jobs.
2012-09-24 20:41:57 +00:00
espie
8d2a6ea015 fix typo 2012-09-24 15:49:00 +00:00
espie
f8d9ead7d8 new framework to deal with the new ports cluster, to be documented 2012-09-23 18:13:32 +00:00
matthieu
35e488a93f Switch to imake from ports. ok landry@. 2012-09-23 08:03:55 +00:00