espie
|
422ed0448d
reorg the logic behind permanent_log so that it *is* the permanent log.
|
7 rokov pred |
espie
|
488a60291b
scrape another use of PLIST_DB (I don't even remember why I thought
|
8 rokov pred |
espie
|
955e97ab1b
fix incorrect handling of config info,
|
8 rokov pred |
espie
|
3388fc4cfd
change drastically the way LISTING starts up: let dependencies be a permanent
|
8 rokov pred |
espie
|
536b18350d
make things work better when chrooted, delay some expansions, and acknowledge
|
8 rokov pred |
espie
|
8bcbaecabd
tweak running-as-root defaults to be _pbuild/_pfetch. It's time.
|
8 rokov pred |
espie
|
a47ce11878
well, no reason for STARTUP not to be able to use %p
|
8 rokov pred |
espie
|
ec39eac3cf
thinko
|
8 rokov pred |
espie
|
fc157c6d82
remove UNPRIV_USER configuration entirely, that's the one part where there's
|
9 rokov pred |
espie
|
bce91e106f
a bit of interactive mode. Just hooks into the main loop and can prompt for
|
9 rokov pred |
espie
|
3c022368f4
Config file handling is still somewhat broken...
|
9 rokov pred |
espie
|
7d04694472
it's been long enough, if you don't have user _dpb, you lose.
|
9 rokov pred |
espie
|
d89dbf2f77
interactive mode will have a different startup file, so that you can
|
9 rokov pred |
espie
|
587180b006
grab a few more things off our ports tree introspection. Locally PLIST_DB.
|
9 rokov pred |
espie
|
be98f1e7a5
if _dpb exists, use it as a default unpriv_user
|
9 rokov pred |
espie
|
f6c3f3f239
oopsie found by naddy.
|
9 rokov pred |
espie
|
3eec4383e0
make the default better. If dpb starts as root, use the owner of the ports
|
9 rokov pred |
espie
|
fab15b9291
future interactive option that does nothing whatsoever so far...
|
9 rokov pred |
espie
|
550697f7a6
We never use groups separately, make it a grouplist.
|
9 rokov pred |
espie
|
b712e8531b
complete local users with groups list using id -G.
|
9 rokov pred |
espie
|
a4616aa5b7
get a build_user for whatever host we've set, if everything else fails.
|
9 rokov pred |
espie
|
ed6376b0e3
avoid creating multiple user objects for the same user
|
9 rokov pred |
espie
|
74fbdfb67a
oops, mixed this up.
|
9 rokov pred |
espie
|
19295ce330
make sure we get DIRMODE and DROPPRIV
|
9 rokov pred |
espie
|
43e571d3ca
compat with old config breaks new config, so ditch it.
|
9 rokov pred |
espie
|
191922623a
must re-evaluate users after reading config files.
|
9 rokov pred |
espie
|
194e468c2d
introduce "UNPRIV_USER" so that we don't run as root that often.
|
9 rokov pred |
espie
|
e2f35e7d02
move the user handling code to a separate file.
|
9 rokov pred |
espie
|
d40042f30e
lock_user is not needed, defaults to log_user for all practical cases
|
9 rokov pred |
espie
|
f8d8faa9ef
slight cleanup
|
9 rokov pred |