5730 Commits

Author SHA1 Message Date
espie
73399756de the check for forbidden chars in CATEGORIES is cool
it's even better when it doesn't give a weird error message
when you've forgotten CATEGORIES entirely
2022-07-06 08:54:59 +00:00
op
313e2b92e6 set CCACHE_DIR and CCACHE_ENV in the COMPILER_WRAPPER for ccache to work
around scons.

scons cleans the environment when calling the compiler so it can't see
MAKE_ENV...

improvements and ok sthen@
2022-06-29 08:46:28 +00:00
op
7d195fa714 +opensearch, _opensearch (user) 2022-06-19 08:12:24 +00:00
kirby
4b25157323 Stop adding RCS ID tag on the top of Makefile.
looks right to afresh@
2022-06-18 19:32:19 +00:00
ajacoutot
a0483a6317 Update rc.template after recent rc.subr changes.
prodded by Raf Czlonka
2022-06-08 16:19:53 +00:00
espie
5f4d472f4e tweak special behavior for quirks: instead of putting it aside on normal
build, use a new DPB_PROPERTIES "later" that informs the Grabber to build
it during a second stage (with the exact same rules as before).

And thus, reconnect quirks into the "normal" build.

Main difference: other databases like sqlports or pkglocatedb will index
quirks again
2022-06-07 16:13:16 +00:00
espie
8c5ddca555 bump the polling to a lot more (120s) to give realistic time to enter
a passphrase, get it wrong, and try it again
2022-06-03 07:45:37 +00:00
espie
504904a5fe allow the ssh master to start interactively, so that it's even possible
to run without ssh keys or with a passphrase.

allow up to 10 seconds for startup so that the prompts do not
overlap each other (after that, the host will be dead as usual).

paraphrased from naddy@ "it's unusual to allow root ssh with a password,
but that means that problems with the configuration will show up straight
away" which is a good thing.
2022-06-03 07:44:33 +00:00
espie
7bac54f790 force the creation of the ssh master from the distant host creation.
as notice by naddy@, "just in time" master creation means the ssh master
was created from deep within Core/Init.pm (for the whoami task basically),
and actually *after* forking, so the parent wouldn't know about it, and
create a new master from the main process.
2022-06-02 08:52:50 +00:00
espie
46a4f9f2dc forgot one constant
also, forget a possible hash value after @option always-update
since that will change most times the package is regenerated
2022-05-26 06:55:06 +00:00
espie
a4b649eb73 remove old scaffolding that's no longer relevant 2022-05-19 13:12:40 +00:00
op
d6c72e539b +_gotosocial 2022-05-17 08:36:18 +00:00
denis
4b69e2dc44 + www/vaultwarden-web
+ security/vaultwarden

Also add user _vaultwarden
2022-05-11 12:13:09 +00:00
op
4913e31a02 +_gmid 2022-05-04 19:27:23 +00:00
op
5c37e54afe + _znc 2022-04-28 22:10:28 +00:00
abieber
a60fb65d9c + _shairport 2022-04-27 02:20:03 +00:00
sthen
3e79cfa026 add _guacd for net/guacamole, reminded by aja@ 2022-04-25 07:32:01 +00:00
espie
fc88d2f458 buglet: copy @option is-branch
they're named exactly like their regular counterpart, so they need the
same disambiguation for pkg_info -z to function properly
2022-04-22 15:51:48 +00:00
espie
484e1a7b00 as noticed by sthen: pkg version ordering is a partial ordering relation.
do a second pass on the "sorted" list to catch non-comparable version.
document what's going on because that's actually tricky, mathematically.
2022-04-19 14:10:31 +00:00
espie
4c9bfe12fb tweak the logic of building quirks last slightly: if we built any package
during the current run, we rm any quirks packages that could be left over
from a previous build first.

This ensures quirks gets rebuilt if some packages did change, so that
the updateinfo cache is as fresh as possible.
2022-04-14 19:39:37 +00:00
ajacoutot
e7bbabc9cd Remove manual do-gen example now that we have autoreconf.
ok sthen@
2022-04-02 10:13:29 +00:00
sthen
0a15c5bc11 split up the one big shell command produced for "make clean=dist" into
separate commands for files, files with .part suffix, and directories.
fixes "make clean=dist" in sysutils/telegraf and probably some other
ports using go.port.mk. (one big 622K command split into 228+246+147K).

use ${MAKESUMFILES:=.part} instead of regex for files with .part suffix,
it is reliably faste^H^H^H^H^Hnot quite as slow

discussed with landry, phessler
2022-03-29 10:00:40 +00:00
bluhm
27e838a54a The ppport.h file contained in p5-Data-Dump-Streamer is read-only.
Move instead of copy the file to orig.  Then MODPERL_REGEN_PPPORT
can write the regenerated ppport.h into its place.
OK sthen@
2022-03-16 10:11:14 +00:00
espie
9b2a2be4f9 let recheck_errors return the value it's supposed to. This was broken
5 years ago, also: add a sleep to avoid dpb busy-polling on locks in
case there is nothing else to do.
2022-03-15 14:33:29 +00:00
espie
8a5e9e6b60 use a different technique to clean up distfiles.
as sdk@ noticed, there are a lot of subdirectories in gorust land.
removing every subdirectory with rmdir -p  is easy to do (thx semarie@)
and since we start in a subdirectory, rmdir -p cannot recurse up to /,
so sthen@ gave his approval.
2022-03-15 13:57:35 +00:00
sthen
c9c73b5ead Change MODPERL_REGEN_PPPORT to accept a filename. Useful when the port
uses a different name or a subdirectory for the file.

Adjust some ports to use it: p5-DBI (different name), p5-Template (xs
subdirectory). There are others that could use this.

OK bluhm@
2022-03-14 08:23:29 +00:00
espie
d721505f9f change the timing for building quirks, so that it can include update
information from built packages
(not used yet)
thanks for naddy@ and sthen@ for test-driving this
2022-03-14 07:55:35 +00:00
sthen
a295ee47c9 For MODPERL_REGEN_PPPORT, don't cd ${WRKDIST} unless ${WRKDIST}/ppport.h
exists. Fixes ports using perl.port.mk which copy a .pl directly from
the distfile like security/kpcli.
2022-03-12 19:41:34 +00:00
sthen
e48f6547a4 In Perl ports, regenerate ppport.h if present with Devel::PPPort::WriteFile
from base Perl. The newer version of the header fixes compiler warnings
(-Wcompound-token-split-by-macro) which are noisy in build logs.

Tweaked from diff from espie@ via bluhm@, earlier version ok afresh1@
2022-03-12 12:15:38 +00:00
espie
b091283ada fix refactoring botch introduced in rev 1.60: check_path does the right
sanity check for the build_path_list.
The extra is_stub check is non-sensical, since check_path does a full
(correct) check.

Sorry for breaking www/squid

Note that missing info for pkgpaths end up at the end of equiv.log
2022-03-11 18:38:52 +00:00
espie
ee08de4c0c this actually broke only @option no-default-conflict
somewhat obviously.

sorry, didn't test on a port with this active.
2022-03-09 23:17:31 +00:00
naddy
3afb6890bb build-debug-info: revert "no need to special-case copy CVSTags"
This broke building debug packages, which in effect breaks the whole
ports tree.
2022-03-09 20:19:23 +00:00
sthen
562068e192 Similar to what's done for asciidoc, write a "poison" script in
${WRKDIR}/bin/asciidoctor unless textproc/asciidoctor is present as a
build dependency (hidden build dependencies are a pain for bulk builds).
OK aja@
2022-03-09 14:00:43 +00:00
espie
7e5527440b no need to special-case copy CVSTags, since they're no longer here 2022-03-09 12:52:38 +00:00
espie
45f0a735ce slightly cleaner: attach stuff to the CVSTag, BUT don't copy it since we
won't do anything with it.
2022-03-07 16:34:26 +00:00
espie
e4b3169766 Final fix (hopefully) for newuser and newgroup not copying over as reported
by aja@ and landry@

My error was that I did think I needed a placeholder in the new list to
tack new stuff to, whereas I actually need the placeholder in the old list,
so that it gets copied along with the stuff that's attached to it...
2022-03-07 08:57:10 +00:00
naddy
9a92f9572f drop $OpenBSD$ keyword from template files
ok espie@
2022-03-06 20:10:00 +00:00
naddy
114bc7dece portcheck: make shell syntax more consistent
Move remaining uses of [ ... ] to  [[ ... ]].
Do not quote the word after "case".
2022-03-04 20:27:05 +00:00
naddy
04e3b9f1fa portcheck: warn about $OpenBSD$ keywords
* Complain where $OpenBSD$ was previously mandatory.
* Still complain where it continues to be forbidden.
* Also check the content of the "files" directory.

ok sthen@
2022-03-04 18:29:31 +00:00
espie
2648e62bfe fully revert with explanation why 2022-03-01 13:52:03 +00:00
espie
ec54852943 explicitly zap the part that adds missing cvs tags 2022-03-01 13:14:27 +00:00
espie
5845f6e5c1 revert happy go lucky clean-up as noticed by sthen@ 2022-03-01 13:12:31 +00:00
espie
fff2181b00 zap $OpenBSD$ from generated patches
okay sthen@
2022-03-01 11:15:31 +00:00
espie
45e5be99fd kill the remaining scaffolding wrt cvstags 2022-03-01 11:01:17 +00:00
espie
0d435662c6 forgo outputting CVSTags, okay sthen@ 2022-02-28 22:38:30 +00:00
sthen
c8c9a0f901 +net/snowflake_proxy 2022-02-28 16:54:55 +00:00
espie
1e35cb7fb2 allow @comment $OpenBSD$ lines to vanish without a trace.
okay sthen@
2022-02-28 14:07:45 +00:00
sthen
eaae4a01b6 add .poison COMPILERS to mk.conf.template (should be COMPILER) 2022-02-17 17:21:50 +00:00
espie
a20dd924fb move summary.log generation into the subengine, because it's absurd
to create it in dpb modes that don't build anything (such as -F and
HISTORY_ONLY). No functional change.
2022-02-17 12:42:37 +00:00
denis
839205820e Add alertmanager user 2022-02-16 18:25:00 +00:00