From: "Omar Polo" Subject: Re: Add pledge comments To: David Leadbeater Cc: ports@openbsd.org, akp@hypernote.com, anthony@anjbe.name, benoit@openbsd.org, falsifian@falsifian.org, j.klemkow@wemelug.de, martijn@openbsd.org, naddy@openbsd.org, op@openbsd.org, stu.ports@spacehopper.org Date: Wed, 08 Apr 2026 09:31:18 +0200 David Leadbeater wrote: > Add a pledge comment to ports which don't have one and either are > patched to use pledge or use it upstream. Mostly found by grepping > strings output, then confirmed via grepping patches and/or pobj. > > ok? (all maintainers cc'd but given this is a comment only change I > won't wait). ok op@ > Index: emulators/mgba/Makefile > =================================================================== > RCS file: /cvs/ports/emulators/mgba/Makefile,v > diff -u -p -u -r1.55 Makefile > --- emulators/mgba/Makefile 13 Feb 2026 12:02:15 -0000 1.55 > +++ emulators/mgba/Makefile 8 Apr 2026 06:57:32 -0000 > @@ -24,6 +24,7 @@ MAINTAINER = Anthony J. Bentley # MPL 2.0 > PERMIT_PACKAGE = Yes > > +# uses pledge() > cWANTLIB = EGL GL SDL2 avfilter avcodec avformat avutil c \ > curses edit elf m png pthread sqlite3 swresample \ > swscale z zip > Index: mail/mblaze/Makefile > =================================================================== > RCS file: /cvs/ports/mail/mblaze/Makefile,v > diff -u -p -u -r1.21 Makefile > --- mail/mblaze/Makefile 22 Feb 2026 12:00:56 -0000 1.21 > +++ mail/mblaze/Makefile 8 Apr 2026 06:57:32 -0000 > @@ -13,6 +13,7 @@ PERMIT_PACKAGE = Yes > > SITES = https://leahneukirchen.org/releases/ > > +# uses pledge() > WANTLIB = c iconv pthread > LIB_DEPENDS = converters/libiconv > > Index: mail/opensmtpd-filters/dkimsign/Makefile > =================================================================== > RCS file: /cvs/ports/mail/opensmtpd-filters/dkimsign/Makefile,v > diff -u -p -u -r1.16 Makefile > --- mail/opensmtpd-filters/dkimsign/Makefile 25 Feb 2026 09:16:33 -0000 1.16 > +++ mail/opensmtpd-filters/dkimsign/Makefile 8 Apr 2026 06:57:32 -0000 > @@ -18,6 +18,7 @@ LIB_DEPENDS= mail/opensmtpd-filters/libo > # ISC > PERMIT_PACKAGE= Yes > > +# uses pledge() > WANTLIB= c opensmtpd crypto > NO_TEST= Yes > MAKE_FLAGS= CC="${CC}" > Index: net/arping/Makefile > =================================================================== > RCS file: /cvs/ports/net/arping/Makefile,v > diff -u -p -u -r1.60 Makefile > --- net/arping/Makefile 1 Jan 2026 08:43:04 -0000 1.60 > +++ net/arping/Makefile 8 Apr 2026 06:57:32 -0000 > @@ -10,6 +10,7 @@ MAINTAINER = Benoit Lecocq # GPLv2 > PERMIT_PACKAGE = Yes > > +# uses pledge() > WANTLIB += c m pcap lib/libnet-1.1/net=11 > > SITES = http://www.habets.pp.se/synscan/files/ > Index: net/isc-bind/Makefile > =================================================================== > RCS file: /cvs/ports/net/isc-bind/Makefile,v > diff -u -p -u -r1.217 Makefile > --- net/isc-bind/Makefile 2 Apr 2026 09:22:52 -0000 1.217 > +++ net/isc-bind/Makefile 8 Apr 2026 06:57:32 -0000 > @@ -24,6 +24,7 @@ MAINTAINER= Stuart Henderson # MPL 2.0 > PERMIT_PACKAGE= Yes > > +# uses pledge() > WANTLIB += c crypto execinfo iconv idn2 json-c m nghttp2 > WANTLIB += pthread ssl unistring urcu urcu-cds urcu-common uv > WANTLIB += xml2 z > Index: net/ucspi-tools/Makefile > =================================================================== > RCS file: /cvs/ports/net/ucspi-tools/Makefile,v > diff -u -p -u -r1.12 Makefile > --- net/ucspi-tools/Makefile 11 Mar 2022 19:47:58 -0000 1.12 > +++ net/ucspi-tools/Makefile 8 Apr 2026 06:57:32 -0000 > @@ -13,6 +13,7 @@ MAINTAINER= Jan Klemkow # ISC > PERMIT_PACKAGE= Yes > > +# uses pledge() > WANTLIB += c crypto ssl tls > > MAKE_FLAGS= CC="${CC}" > Index: sysutils/colorls/Makefile > =================================================================== > RCS file: /cvs/ports/sysutils/colorls/Makefile,v > diff -u -p -u -r1.46 Makefile > --- sysutils/colorls/Makefile 3 Oct 2024 21:47:19 -0000 1.46 > +++ sysutils/colorls/Makefile 8 Apr 2026 06:57:32 -0000 > @@ -12,6 +12,7 @@ PERMIT_PACKAGE= Yes > > SITES= https://shell.uugrn.org/~naddy/ > > +# uses pledge() > WANTLIB= c curses util > > NO_TEST= Yes > Index: sysutils/f3/Makefile > =================================================================== > RCS file: /cvs/ports/sysutils/f3/Makefile,v > diff -u -p -u -r1.2 Makefile > --- sysutils/f3/Makefile 29 Apr 2025 14:57:38 -0000 1.2 > +++ sysutils/f3/Makefile 8 Apr 2026 06:57:32 -0000 > @@ -9,6 +9,7 @@ CATEGORIES= sysutils > # GPLv3 > PERMIT_PACKAGE= Yes > > +# uses pledge() > WANTLIB= c m > > USE_GMAKE= Yes > Index: textproc/grepcidr/Makefile > =================================================================== > RCS file: /cvs/ports/textproc/grepcidr/Makefile,v > diff -u -p -u -r1.9 Makefile > --- textproc/grepcidr/Makefile 19 Sep 2023 22:02:34 -0000 1.9 > +++ textproc/grepcidr/Makefile 8 Apr 2026 06:57:32 -0000 > @@ -16,6 +16,7 @@ FIX_EXTRACT_PERMISSIONS=Yes > # GPLv2+ > PERMIT_PACKAGE= Yes > > +# uses pledge() > WANTLIB += c > > SITES= http://www.pc-tools.net/files/unix/ > Index: textproc/vislcg3/Makefile > =================================================================== > RCS file: /cvs/ports/textproc/vislcg3/Makefile,v > diff -u -p -u -r1.23 Makefile > --- textproc/vislcg3/Makefile 13 Nov 2025 13:42:09 -0000 1.23 > +++ textproc/vislcg3/Makefile 8 Apr 2026 06:57:32 -0000 > @@ -17,6 +17,7 @@ HOMEPAGE = https://edu.visl.dk/cg3/chun > # GPLv3+ > PERMIT_PACKAGE = Yes > > +# uses pledge() > WANTLIB += ${COMPILER_LIBCXX} > WANTLIB += c icudata icui18n icuio icuuc m sqlite3 > > Index: www/kcaldav/Makefile > =================================================================== > RCS file: /cvs/ports/www/kcaldav/Makefile,v > diff -u -p -u -r1.23 Makefile > --- www/kcaldav/Makefile 14 Oct 2024 20:40:13 -0000 1.23 > +++ www/kcaldav/Makefile 8 Apr 2026 06:57:32 -0000 > @@ -10,6 +10,7 @@ MAINTAINER = Aaron Poffenberger PERMIT_PACKAGE = Yes > > # "make port-lib-depends-check" can help > +# uses pledge() > WANTLIB += c expat m sqlite3 > > SITES = https://kristaps.bsd.lv/kcaldav/snapshots/