4378 Commits

Author SHA1 Message Date
espie
a892c3669a things that live strictly in the chroot can mostly be run there.
this solves the issue of resolving symlinks within the chroot
and matching them against nfs dirs, at the expense of a few more processes
2016-05-13 13:37:22 +00:00
espie
77cb45ee8f rely on Term::ReadKey here as well 2016-05-13 08:32:17 +00:00
espie
29bd19a65a try to copy mtimes and use that to check 2016-05-13 02:38:03 +00:00
ajacoutot
60c9d675db Reserver the _consul user/group for an upcoming sysutils/consul port. 2016-05-12 15:34:31 +00:00
espie
1752ecd04d surprised this one didn't break more things
thanks ken/stuart
2016-05-12 13:14:13 +00:00
naddy
5d92375dbb remove hppa64 architecture 2016-05-11 22:00:26 +00:00
ajacoutot
80370ea485 Reserve the _vault user/group for the upcoming security/vault port. 2016-05-11 17:28:48 +00:00
espie
685cbeaac4 add the actual option "chown_all" 2016-05-11 12:51:07 +00:00
espie
602498e17e add some smarts to the ports directory checker: whine if WRKOBJDIR or
LOCKDIR are under nfs (often not a good idea), don't chown recursively
by default, and don't even when under nfs
2016-05-11 12:50:02 +00:00
espie
b159ab1537 prevent unpopulate from wiping out ports subdirectories 2016-05-10 16:13:31 +00:00
espie
1efb6822ba document recent feature changes. Remove BUG section, this is becoming
usable
2016-05-10 15:53:02 +00:00
espie
d7b051cbb9 give directory contents to the appropriate users 2016-05-10 15:48:18 +00:00
espie
d3510fd96d If -B parameter is a symlink, resolve it before looking at mountpoints 2016-05-10 15:31:17 +00:00
espie
8b0d7dc017 add support for a signing key 2016-05-10 15:29:53 +00:00
espie
6a3d529e29 be slightly more intelligent with snapshots.
if we download them and install them okay, rm the temp copy.
if they're already downloaded in a dir under the chroot, don't rm
them during unpopulate stages.
2016-05-10 10:44:07 +00:00
espie
0ff9f9f4b2 document tweak 2016-05-10 09:16:31 +00:00
espie
8b585d2b1d tweak unpopulate to ignore known files and dirs.
add an "unpopulate_light" action that runs *after* copy_sync, so that
it only removes stuff it doesn't know about.
2016-05-10 09:13:47 +00:00
espie
5075bf588c also copy /etc/hosts along with resolv.conf
that way we get localhost without network and other local machines
2016-05-10 08:52:52 +00:00
espie
536b18350d make things work better when chrooted, delay some expansions, and acknowledge
that startup is going to run within the chroot.
2016-05-08 12:52:58 +00:00
espie
36a5b5798b reuse the User code in dpb instead of copying it. 2016-05-08 11:51:40 +00:00
espie
af4f89c46f tweak the heuristics to run the engine:
- don't do anything "smart" when the queue is empty. This mostly triggers
at start, and actually hinders dpb from processing more LISTING efficiently
- lower the threshold for "next" engine computation.  Engine cpu usage still
stays within a few percent, but we avoid slumps in the middle, where the
"first" rescan puts the engine out for a while (I should probably look at
a non-linear function).
2016-05-08 09:34:25 +00:00
espie
b5357fd0d9 these days, I've got starved code at end of builds, while there's
still kde3/kde4 contention. So reuse the affinity tactic to find a
Core with the right tainting if it exists.
2016-05-08 09:31:38 +00:00
ajacoutot
063e314dd8 Reserve the _serf user/group for an upcoming sysutils/serf port. 2016-05-06 11:58:09 +00:00
espie
938305b4db document stuff I added, nicer formatting. 2016-05-03 09:20:30 +00:00
espie
dab0051780 assuming we're populating the same partition, test for identical hardlinks 2016-05-03 09:12:51 +00:00
espie
20f1d73f85 tweakable: make it possible to extract more sets or to change all users 2016-05-03 09:08:17 +00:00
espie
c80a247437 fix semantics to match dpb 2016-05-03 05:02:38 +00:00
espie
c96c7bf2a5 simplify user documentation 2016-05-03 05:01:25 +00:00
espie
5984861d06 need to put more stuff in generated mk.conf 2016-05-02 06:56:30 +00:00
ajacoutot
21316481e8 Be consistent whether we're using FAKE_AS_ROOT (the default) or not and
always use the same BINMODE and NONBINMODE; ours are a bit different from the
ones from base (bsd.own.mk) (755 vs 555 and 644 vs 444).
Fix a typo while here: SHAREMORE -> SHAREMODE

tested in a bulk
ok espie@
2016-05-01 09:12:27 +00:00
espie
6187c7a31e no need to use external tar, when we have a serviceable library that can
give us filenames as we go.
2016-05-01 08:39:43 +00:00
espie
8bcbaecabd tweak running-as-root defaults to be _pbuild/_pfetch. It's time. 2016-04-30 09:15:58 +00:00
espie
1f05a3cf8f several parms 2016-04-30 09:14:15 +00:00
espie
7d882ccd3b fix command line repeated options 2016-04-30 09:13:48 +00:00
schwarze
6a30fa4869 Markup fixes from mmcc@:
* use .Pa for paths
* "." must be escaped when it's alone in an argument and not punctuation
2016-04-29 16:01:22 +00:00
espie
2990dc03be draft of a manpage. everything will change 2016-04-29 15:15:47 +00:00
espie
21cda66991 polish command name 2016-04-29 14:49:33 +00:00
espie
4d3aa49a7f tweak options 2016-04-29 14:47:32 +00:00
espie
851746187d new tool: ports chroot builder
options WILL change, documentation soon, more integration with the
rest of the tree soon.

name coined by aja@
2016-04-29 14:27:15 +00:00
sthen
b2e332bc8d switch apache-module.port.mk to apache2, it's currently unused but (at least
some of) www/ap2-* could probably be converted.
2016-04-29 13:59:52 +00:00
giovanni
9471a4c0c4 reserve user for upcoming port mail/p5-Mail-Milter-Authentication
ok sthen@
2016-04-29 13:03:24 +00:00
espie
a47ce11878 well, no reason for STARTUP not to be able to use %p 2016-04-29 11:17:44 +00:00
sthen
64c17d0680 zap old ac_cv_path_path_sudo reference in config.site autoconf cache,
tb@ discovered some strange strings in the lynx binary tracked down to here
ok espie
2016-04-28 22:40:50 +00:00
zhuk
135bd57d83 Stop whining about libiconv port module, and do not talk about
devel/gettext as MODULES item, only as RUN_DEPENDS.

A better solution is in works.

Somewhat prodded by a different patch from tsg@/sthen@
2016-04-28 17:30:28 +00:00
tsg
0da62ca4c5 Make use of FETCH_CMD if possible.
OK zhuk@
2016-04-28 13:29:04 +00:00
espie
9c3a0298fc -Dinstalled -Ddowngrade is useless without -r 2016-04-27 20:41:04 +00:00
espie
f9618c2ac9 zap vax support 2016-04-27 18:13:09 +00:00
jasper
33e7c6352b add FONT_DISTDIR defaulting to WRKSRC 2016-04-27 14:58:17 +00:00
tsg
7805a0f3c1 Add another license string and remove outdated comment while I'm at it.
OK naddy@
2016-04-27 09:58:35 +00:00
naddy
314a319b96 remove DEPBASE, DEPDIR; nothing in the tree uses this; ok espie@ 2016-04-26 17:35:35 +00:00