Commit Graph

3268 Commits

Author SHA1 Message Date
naddy
ee869d0426 do not define ac_cv_func_openpty=no since it breaks this idiom:
AC_CHECK_LIB(util, openpty)
AC_CHECK_FUNCS(openpty)
2012-12-08 14:32:29 +00:00
naddy
8ac927d997 we now have the Unix 98 PTY functions; noticed by ajacoutot@ 2012-12-07 15:15:32 +00:00
florian
93a80502d7 +dnsfilter 2012-12-04 16:29:26 +00:00
jasper
6cc72db009 layout of ftp.belnet.be changed; adjust MASTER_SITE_GNOME accordingly 2012-12-02 19:20:46 +00:00
miod
aec30b0bda m88k ports now use gcc 3; ok espie@ 2012-12-01 21:12:28 +00:00
espie
c1c86bf73d be a bit more specific in _SOLVING_DEP, so that ports that regress-depend
on themselves won't clean themselves when BULK=Auto.
problem reported by sthen@, okay sthen@
2012-11-27 11:35:57 +00:00
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
espie
26e4cbeb78 some more data for dpb, special for naddy's killer box. 2012-09-22 19:00:04 +00:00
landry
463ce0efbc Reserver uid/gid 704 for net/gophernicus port. 2012-09-22 07:49:24 +00:00
espie
9ab27ec343 unintentional say + "\n" 2012-09-16 08:15:43 +00:00
fgsch
33f7347fc9 Reserve id for _ngircd and comment out kqemu 2012-09-15 13:52:35 +00:00
espie
0e77f83404 BUILD_ONCE documented 2012-08-31 17:27:50 +00:00
espie
5429993fd7 go back partially on SUBST_CMD: keep the SUBST_CMD-sub stuff, but
have a "default" SUBST_CMD that will substitute the non-subpackage version
of the variables.

SUBST_CMD = ${SUBST_CMD${SUBPACKAGE}}
is a bad idea, because SUBPACKAGE may vary in unexpected ways, like you
get the 'default' value when building manually, and you might get a
different subpackage when building with dpb, leading to weird errors.

So, old users/users during patch/configure/build can use base SUBST_CMD
without much surprise.
2012-08-31 16:48:26 +00:00
sthen
c1dca8885f add sparc to LLVM_ARCHS, from Brad. (sparc64 is still listed, CLang does not
work on sparc64 at present, but other parts of LLVM may still be useful).
2012-08-29 00:41:01 +00:00
jasper
e4cac94d34 zap a bundle-readmes mention 2012-08-27 12:30:20 +00:00
jasper
58df29bb26 remove this script since the old readmes infrastructure has been replaced
by databases/ports-readmes.

ok espie@
2012-08-27 12:30:00 +00:00
jasper
5d931b8d90 - use mktemp -t
from rpe
ok espie@
2012-08-27 11:24:52 +00:00
jmatthew
2071810bf7 reserve uid for databases/riak 2012-08-24 04:18:02 +00:00
espie
0b523b0598 according to Theo, somebody reported this to me (?)
in any case, this should "fix" krw's problem, by allowing PkgPath to
actually display the actual program for further debugging.
2012-08-22 07:49:00 +00:00
sthen
0e9cefc2e8 don't list arm twice in ALL_ARCHS, pointed out by Brad some time ago 2012-08-21 16:32:04 +00:00
ajacoutot
057028b194 RCS id cleanup; also add OpenBSD RCS Id where missing... 2012-08-19 22:30:36 +00:00
espie
3b656100b7 well, another error... 2012-08-19 10:36:35 +00:00
avsm
cb284e6f57 Add ocaml_native and ocaml_native_dynlink properties to the arch defines.
These will be used shortly by the ocaml-4 port update.
2012-08-18 21:45:28 +00:00
espie
a6da6e2d7f slow architectures might clean /tmp too eagerly, move the default
LOCKDIR to a local location that's less susceptible to surreptitious
cleanup, that is under WRKOBJDIR

after discussion with sthen@
2012-08-18 07:58:20 +00:00
espie
083fc635e8 fix subpackage bugs.
- correct syntax for variable (Vadim Zhukov)
- both _DO_LOCK and _cache_fragment want to use traps.
Since that's the only place where the problem occurs, simply put the second
trap in a subshell...
2012-08-17 22:32:29 +00:00
ajacoutot
ae2bb3270f Reserve a _polkitd user/group for upcoming sysutils/polkit update. 2012-08-17 09:00:10 +00:00
espie
649b68855b nits 2012-08-15 09:41:33 +00:00
espie
495759d7a0 bye bye READMES remnants 2012-08-15 09:39:26 +00:00
espie
a2a18547bc have perl module work like it should: define extra TARGET_* variables,
and have do-install/do-build use them.

Replace pre-configure with folded in shell fragment.
Don't hardcode perl location, we don't hardcode those things but rely
on PATH instead.

check that Makefile.PL actually produced a Makefile, since the way it
errors out does not exit 1, thus leading to configure having failed and
ports thinking it succeeded...

okay sthen@
2012-08-15 09:38:11 +00:00
espie
64777f79b0 keep state during variable scanning (we see pkgpath in order).
Reset info for a new path systematically, instead of only creating
new infos.

Part of handling erroring paths better: if a pkgpath errors out, when
we remove the lock, the whole port will be rescanned at once, instead of
doing one subpkgpath only.
2012-08-15 09:05:05 +00:00
espie
a673636d3f better messages about caching problems, don't abort if sha info is missing
from distinfo. comment stuff.
(I had this since after the lock, plain forgot to commit it)
2012-08-15 09:02:52 +00:00
jasper
112dc86963 add config.no-fileutils, tested in a full bulk
ok sthen@ espie@
2012-08-12 17:19:00 +00:00
ajacoutot
9fbcc70f18 The _cups group will not be used in ghostscript anymore. 2012-08-04 15:15:00 +00:00
espie
3831fd5d30 - make SUBST_CMD be subpackage dependent, fixes substitution problems in
README-sub (as noticed by aja@)
- stronger checks for X correctly installed: don't ignore ports if X11
is not there, error out right away. Make sure /usr/local/lib/X11/app-defaults
is a link, and that whatis.db is there (as should be fixed  by release in
xenocara)
2012-08-04 14:23:30 +00:00
espie
5752c45e75 fix caching issues.
- during the scanning stage, we can rely on more than sizes. Specifically,
for files with cached sha values: detect problems early, zap the files, so
the new ones do fetch.

- do not allow "negative" caching: if the cached file doesn't match, just
run the checksum again to make sure (manual download would tamper with that).
This should allow builders to forget about the existence of
/usr/ports/distfiles/distinfo again.

- remove bad files so that fetch has a chance to work (todo: log some more
info, yeah landry...)

- zap code from (checksum) proper  that's no longer in-use.

okay jasper@

(gets in because fixing the mirrors for the release is important, and dpb -F
would not do the right thing without manual intervention).
2012-07-20 11:45:33 +00:00
sthen
a5cfa1000f add _yubiserve to user.list 2012-07-19 08:47:01 +00:00
espie
2da54d1547 delete DIST once we know 2012-07-18 10:31:18 +00:00
espie
f16903c2cc don't delete DIST, prevents checksum from doing its job 2012-07-18 10:30:56 +00:00
landry
48155f33a4 Reserve uid 699 for user _mozsync. 2012-07-17 20:19:27 +00:00
espie
f32dd01cdd fix distant listings with SUBDIRLIST 2012-07-12 20:27:19 +00:00
espie
07aff032b9 avoid barfing if run into a directory whose parent contains a Makefile.inc 2012-07-10 22:59:06 +00:00
espie
7591a8ffa0 missed using "clear-to-eol" actually 2012-07-10 14:28:30 +00:00
naddy
0d7d591395 Remove message digest algorithms other than SHA-256 for checksumming
distfiles.  MD5 is known to be insecure and RIPEMD-160 and SHA-1
are considered inferior to SHA-256.

Also, the concatenation of different hashes is not more secure than
its strongest component; see Antoine Joux, "Multicollisions in
iterated hash functions. Application to cascased constructions"
http://www.iacr.org/cryptodb/archive/2004/CRYPTO/1472/1472.pdf

Discussed with many, ok sthen@
2012-07-10 12:04:25 +00:00
espie
171b8a9eee fuck me harder. Separate cases where fullpkgname is allowed not to
be defined, so that instead of bad stringizations, we get full time errors.

Maybe then I can debug this.
2012-07-10 09:38:37 +00:00
sthen
1cdff98732 add LLVM_ARCHS, handled like MONO_ARCHS for easier detection of which
arch can use LLVM.  ok espie@
2012-07-08 18:35:48 +00:00
jasper
d207555654 - fix obivous typo, resulting in always using only one job per host. 2012-07-08 09:59:31 +00:00
espie
40c06ff3d7 prepare for new pkg_add -i/-I: we want to make sure that's NOT interactive! 2012-07-06 12:01:29 +00:00
espie
a352e9cafe prepare for new pkg_add switch 2012-07-06 12:00:52 +00:00
jsing
3b9b08fe9d The rfork syscall is now obsolete.
ok sthen@
2012-07-04 16:02:13 +00:00
sthen
2c88c52787 remove all the individual sourceforge mirrors, just rely on the redirector
at downloads.sourceforge.net; all the FRS mirrors just redirect us back there
to lookup the file as ports don't have logical folder names in the file paths.

add an XXX comment because we don't _really_ want to be relying on this:
to be revisited.

noticed after no-longer-existent mirrors pointed out by fgs@
2012-07-04 09:18:42 +00:00
espie
f7ea023751 remove distinction between local and distant running, always create
a shell object that can chdir, setenv, and exec commands.
(note that this executes stuff after fork, so permanent changes are cheap
and okay)

Also create it from "host" objects, which simplifies parameter passing.
2012-07-04 08:59:10 +00:00