Commit Graph

5785 Commits

Author SHA1 Message Date
espie 9fd4058fbf also tweak the lock names to end in .lock so that they can't get confused
with core dumps ;)
2023-01-30 18:18:41 +00:00
espie b5f1121402 also display chroot and srcroot (if defined) because why not ? 2023-01-30 14:20:27 +00:00
sthen 65e3d0fdb9 bump ports-infrastructure's _SYSTEM_VERSION on the archs where the
linker now uses exec-only by default - amd64, aarch64, riscv64,
powerpc64 - so that when packages are next rebuilt, pkg_add -u will
replace all packages with the new ones.

(additionally, the generated Makefiles to create debug packages changed
from binutils strip+objcopy to the LLVM versions to avoid damage done to
GNU_RELRO, so all packages which have debug-package support in their
build need to be replaced for that reason also; only aarch64 and amd64
have debug-packages so they're covered by the above bump too).
2023-01-30 12:45:34 +00:00
aisha e4c6e135b3 infrastructure/db/user.list: add _erlang user 2023-01-29 22:21:48 +00:00
job 76fc09e171 Remove duplicate stayrtr entry 2023-01-26 13:51:53 +00:00
job 30c481c2b2 +stayrtr 2023-01-26 13:40:54 +00:00
espie d04a59d00e fix typo 2023-01-25 13:53:48 +00:00
sthen 9a855887d9 Adjust build-debug-info (used to create debug packages):
- Use llvm-objcopy instead of (binutils) objcopy when creating detached
debug symbols and adding the gnu-debuglink section.

- For llvm-objcopy and strip, output to a temporary file and copy it
back to the original file. The LLVM tools create a new file, so hard links
are not normally maintained, but this method keeps them.

https://github.com/llvm/llvm-project/issues/59848#issuecomment-1374070557

ok naddy@.

This should allow us to move back to llvm-strip in base on archs where
we use ld.lld, which (alongside the change to llvm-objcopy) avoids problems
that have been seen during mimmutable(2) development with GNU_RELRO with
the version of binutils that we have.
2023-01-22 20:48:00 +00:00
naddy 9f911e70d0 bsd.port.mk: use xz for decompressing .xz and .lz
Make use of new features in xz 5.4.0:
* Use xz, which now has upstream support for pledge(), instead of xzdec.
* Enable threaded decompression for ports that use parallel make.
* Use xz instead of lunzip to decompress .lz files.

ok kn@ sthen@
2023-01-18 15:14:52 +00:00
stsp 487a44fdeb reserve a UID/GID for _gotd
helpful hints from landry, tweak + ok kn
2023-01-17 15:52:13 +00:00
sthen fb8ff56467 With some ports it's difficult to add linker flags, so reuse the ld wrapper
script infrastructure previously used for USE_WXNEEDED to allow adding
--no-execute-only by setting USE_NOEXECONLY=Yes in the port.

This isn't ideal for compilers (in cases where those can't be made to work
with exec-only they need patching to add to the internally constructed linker
command line, though it does at least help with initial testing there),
and is useful for some other ports.

ok tb@
2023-01-09 17:08:50 +00:00
martin 74279f6a60 Add ntfy. Reuse letskencrypt UID.
OK op@ sthen@
2023-01-09 12:22:17 +00:00
sthen c98f24d215 add a comment on the MODGO_VERSION line output by "make modgo-gen-modules"
that it shouldn't go into modules.inc; low-tech approach but hopefully
people will notice it if they read their diff before sending it out ;)
tb@ thinks it would help too.
2022-12-29 23:45:12 +00:00
sthen 51b8ec1b44 +endlessh 2022-12-29 23:41:58 +00:00
sthen e9cbc61d05 add uid for eduVPN ports 2022-12-14 12:09:05 +00:00
visa 9e274d62dd Bump _SYSTEM_VERSION for mips64 again
There has been another ABI break since last snapshot build.
2022-12-10 12:37:27 +00:00
sthen 23e8f8fbbf poison MODPY_BUILD (var is MODPY_PYBUILD) 2022-12-09 16:23:05 +00:00
op 1b2ff04b83 portcheck: fix COMMENT check in the no MULTI_PACKAGE case
if MULTI_PACKAGE isn't set $subpkg is "-" and it breaks the check for
COMMENT.  Trim out the - with ${subpkg%-} as already done in other parts
of portcheck.

ok tb@, sthen@
2022-11-23 17:51:47 +00:00
kn 9c46c49ecc comment out removed security/nbaudit 2022-11-18 16:32:15 +00:00
espie 611e38e1cb switch to using "=" for debug pkgspecs
(shorthand for "same as default" in current pkg_add
2022-11-16 17:42:18 +00:00
visa a38996aac5 Bump _SYSTEM_VERSION for mips64
The ongoing work on mimmutable(2) causes an ABI break on the platform
and old binaries will not work.

OK sthen@
2022-11-09 15:17:31 +00:00
espie 56e460b091 be more thorough in flagging bad stat lines.
doesn't happen to me, but I don't break my file systems very often
as noticed by tb@
2022-11-06 09:29:12 +00:00
landry 4b81386a36 user.list: reuse uid/gid 564/565 for upcoming stalwart JMAP/IMAP ports 2022-11-03 14:15:03 +00:00
naddy eba3795c63 pkg_outdated: unbreak: use "print-update-signature" instead of old alias 2022-11-01 20:44:49 +00:00
espie eab8549545 remove the badly named, undocumented alias for "print-update-signature" 2022-11-01 10:55:54 +00:00
kmos 9f019273c2 Remove false indication we have ctermid_r (miod removed ctermid_r from
stdio.h in r1.35 - info from tb)

ok tb@
2022-10-31 21:32:43 +00:00
espie 69422ca56f document what I would love register-plist to do, but can't so far. 2022-10-31 13:31:58 +00:00
espie 027fa5ac02 a bit more internals I need to write 2022-10-28 09:35:03 +00:00
espie 848578837f temporary fix, there is something bad with compare, it doesn't return undef,
and it's not even clear it actually can without breaking something else.
2022-10-26 12:45:52 +00:00
naddy 83c889fbf6 bsd.port.mk: g/c the mips64 pkg_args handling
Historically, bsd.lib.mk used to build lib*_pic.a libraries, except
on mips64.  Ten years ago, bsd.lib.mk stopped creating lib*_pic.a
files and the corresponding PFRAG.no_mips64 bits were removed from
the ports tree.  Remove the _PKG_ARGS handling that was forgotten
at the time.

From Brad, ok sthen@
2022-10-25 15:10:34 +00:00
kmos 45837f04bf Tweak license handling to handle more common licenses or variations
of the same licenses.

ok giovanni@
2022-10-15 00:11:56 +00:00
jca d791fb7b9a Enable lang/go on riscv64
Let the fireworks begin!

ok jsing@ (lang/go maintainer)
2022-10-11 11:54:14 +00:00
jca c349155641 Add riscv64 to GCC49_ARCHS 2022-09-13 20:33:09 +00:00
landry d94af08865 user.list: recyle uid/gid 533/534 for jitsi's _jicofo & _jvb
from sthen@
2022-09-13 14:24:20 +00:00
sthen fdb4e3a399 # out some removed ports 2022-09-12 20:35:31 +00:00
lraab c675b08567 infrastructure/db/user.list: revive 552 for www/libreddit
replaces _xavante, www/xavante
2022-09-12 13:53:19 +00:00
espie 2ca8bcbc63 refactor by adding an extra "factory" class in order not to overload
things horribly. No actual functional change
2022-09-11 08:40:40 +00:00
espie 17d7eeb3df get rid of XXX here as well 2022-09-11 08:28:21 +00:00
espie ee19561663 do something slightly horrible to match base through plistreader subclasses 2022-09-11 08:27:21 +00:00
espie d80da21425 remove XXX: even though they're all the same, build-debug-info
processes base separately for each subpackage
2022-09-11 08:03:08 +00:00
espie 2ba447246c replace horrible shortcuts with half-decent code (specifically: no longer
hardcode destdir in the first cwd, but instead add it systematically where
required)

fixes stsp@ issue with got
thx aja@ for a bulk check "just in case"
2022-09-11 08:00:37 +00:00
op 030c93349d +_mycorrhiza 2022-09-08 13:36:00 +00:00
op 3a616b91f9 +_iblock 2022-09-08 10:37:12 +00:00
sthen ec581c1c5d rc.template should use 'undefined or "YES' not NO for rc_bg. ok aja@ 2022-09-05 08:24:17 +00:00
ajacoutot c3e29f3e4e Adapt template after recent rc_configtest changes. 2022-09-02 22:35:15 +00:00
jca 802832ee11 Poison LIB_DEPEDNS 2022-08-31 08:55:54 +00:00
ajacoutot aef1568c5d Add rc_configtest. 2022-08-29 19:19:34 +00:00
abieber 2fe242d268 +_step-ca 2022-08-27 21:18:26 +00:00
semarie d93fe444ca lang/rust: add support for powerpc64 and riscv64
with help gkoehler@ (powerpc64) and jca@ (riscv64)
2022-08-25 12:22:26 +00:00
op 53d15d2e73 +_opensearch-dashboards 2022-08-16 18:53:43 +00:00