Commit Graph

5721 Commits

Author SHA1 Message Date
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
espie
024ce525d7 oops missed one 2022-02-13 17:42:28 +00:00
espie
d7d3228526 automatically add @sample for login class files. 2022-02-13 12:42:46 +00:00
sthen
25b9c85b40 after feedback from aja@ and discussion with espie@, change the filename
format to ${PKGDIR}/(class).login, this also allows getting rid of the
LOGIN_CONF variable so that no Makefile changes are needed, only adding
the @sample.
2022-02-11 17:17:27 +00:00
sthen
8d9906460b add a LOGIN_CONF variable to bsd.port.mk, used to copy template files
into the fake-install directory ready for @sample'ing into /etc/login.conf.d
discussed with robert and espie, ok espie
2022-02-11 12:42:10 +00:00
denis
963c05cf67 Add _vmetrics user and link victoriametrics to the build 2022-01-27 09:25:37 +00:00
yasuoka
5824a4ab8d Override "build_user" with a command argument if any.
ok espie
2022-01-26 14:28:13 +00:00
espie
47deda211a officially restrict characters in CATEGORIES and FULLPKGPATH* so that
ports-readmes-dancer and the likes can have predictable characters in urls

ok sthen@
2022-01-25 14:02:38 +00:00
remi
f2ccb3ea4f removal of sysutils/netshot
Since version 0.16.0 released in February 2021, Netshot requires the
GraalVM JRE in order to run JavaScript and Python. GraalVM is not
available in ports. It is better to delete Netshot from ports than to
ship an outdated version with old Java libraries.

OK sthen
2022-01-23 17:10:07 +00:00
espie
30fe5eaa7f glue for recognizing ocaml files...
(misses the fragment dispatch)

generalize "tweak_other_paths"  to run *after* the normal recognition, since
ocaml paths are linked in more generic ways that just "parent directory for
fonts", so they don't necessarily occur in the right order, and we shouldn't
care.
2022-01-21 10:55:18 +00:00