Re: [update] devel/intellij to 2023.2.3
On Fri Oct 13, 2023 at 02:43:03AM +, Lucas Raab wrote: > Hello, > > Here's an update for intellij up to the latest. Works here, other tests? OK rsadowski > > changelog: > https://youtrack.jetbrains.com/articles/IDEA-A-2100661687/IntelliJ-IDEA-2023.2.3-232.10072.27-build-Release-Notes > > Thanks, > Lucas > diff refs/heads/master refs/heads/intellij > commit - 247d310b7b93267a85e91bc72aa1a202d0ee0a5f > commit + 3a04490a53a532dd395eeba6f1cf1c0a8af41f2b > blob - 97b80f825d15062c3f8b6799090509ea78053409 > blob + ad3da51f1b9b21669829f11495f25a897c22ab3a > --- devel/intellij/Makefile > +++ devel/intellij/Makefile > @@ -1,6 +1,6 @@ > COMMENT= IntelliJ IDEA Java IDE > > -V= 2023.2.1 > +V= 2023.2.3 > DISTNAME=ideaIC-${V} > PKGNAME= intellij-${V} > CATEGORIES= devel > @@ -23,7 +23,7 @@ RUN_DEPENDS=devel/desktop-file-utils \ > > NO_TEST= Yes > > -WRKDIST= ${WRKDIR}/idea-IC-232.9559.62 > +WRKDIST= ${WRKDIR}/idea-IC-232.10072.27 > IJ= ${PREFIX}/intellij > > # If NO_BUILD is set, JAVA_HOME doesn't get defined. So do > blob - 54164e99f8c170e71445552bdf430a9db57f524b > blob + bdb2ee2bd996642fad32707ca2303e5647a19650 > --- devel/intellij/distinfo > +++ devel/intellij/distinfo > @@ -1,2 +1,2 @@ > -SHA256 (ideaIC-2023.2.1.tar.gz) = > KhHNbY8kXkr7mShiVeULe4SlXbv6ujvbfA9wJ4A6Do0= > -SIZE (ideaIC-2023.2.1.tar.gz) = 973050563 > +SHA256 (ideaIC-2023.2.3.tar.gz) = > SzT9qrtZB2VqyH1Q34XxOs6ATYaE84htrAf2KpNway4= > +SIZE (ideaIC-2023.2.3.tar.gz) = 974257506 > blob - 9577d4d8b9cc13458fb3e06a5430b6f84de0fde6 > blob + d3d781983fd32b2c77dbfba5d9e8feca73e23b04 > --- devel/intellij/pkg/PLIST > +++ devel/intellij/pkg/PLIST > @@ -70,7 +70,7 @@ intellij/lib/ant/src.zip > intellij/lib/app-client.jar > intellij/lib/app.jar > intellij/lib/bouncy-castle.jar > -intellij/lib/build-marker-IC-232.9559.62 > +intellij/lib/build-marker-IC-232.10072.27 > intellij/lib/byte-buddy-agent.jar > intellij/lib/cds/ > intellij/lib/cds/classesLogAgent.jar
textproc/jq: drop getpw promise
There since 2016 r1.2 "fix pledge to allow loading modules (and a contrived case of unset HOME)" but upstream "Avoid getpwuid for static linking" contained in 1.7 removed the last code requiring "getpw": https://github.com/jqlang/jq/commit/f1c49473a36bd5068031f2dca4f8cdc7c5dddb70 jq(1) still expands the tilder character in module/library search paths, but does so purely via getenv(3). Tests pass as before, scripts and manual tests are happy. Feedback? OK? Index: Makefile === RCS file: /cvs/ports/textproc/jq/Makefile,v retrieving revision 1.15 diff -u -p -r1.15 Makefile --- Makefile7 Sep 2023 10:43:39 - 1.15 +++ Makefile21 Oct 2023 05:58:13 - @@ -2,6 +2,7 @@ COMMENT = lightweight and flexible comm V =1.7 DISTNAME = jq-$V +REVISION = 0 SHARED_LIBS += jq2.0 # 1.4 Index: patches/patch-main_c === RCS file: /cvs/ports/textproc/jq/patches/patch-main_c,v retrieving revision 1.5 diff -u -p -r1.5 patch-main_c --- patches/patch-main_c7 Sep 2023 10:43:39 - 1.5 +++ patches/patch-main_c21 Oct 2023 05:58:14 - @@ -5,7 +5,7 @@ Index: src/main.c _setmode(fileno(stderr), _O_TEXT | _O_U8TEXT); #endif -+ if (pledge("stdio getpw rpath", NULL) == -1) { ++ if (pledge("stdio rpath", NULL) == -1) { +fprintf(stderr, "pledge\n"); +die(); + }
textproc/xpdf: don't build/install too much
Instead of tossing a bunch of utilities, pass the ones we want. Makefile and Makefile.in patch gets simpler, no package change. Feedback? OK? diff --git a/textproc/xpdf/Makefile b/textproc/xpdf/Makefile index b2d76aeb4..0c99b603e 100644 --- a/textproc/xpdf/Makefile +++ b/textproc/xpdf/Makefile @@ -32,18 +32,18 @@ COMPILER = base-clang ports-gcc base-gcc NO_TEST= Yes -post-install: +# others are already in popper-utils +PROGS= xpdf pdfdetach pdftopng +ALL_TARGET=${PROGS} + +do-install: +.for prog in ${PROGS} + ${INSTALL_PROGRAM} ${WRKBUILD}/xpdf/${prog} ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/doc/${prog}.1 ${PREFIX}/man/man1/ +.endfor + ${INSTALL_MAN} ${WRKSRC}/doc/xpdfrc.5 ${PREFIX}/man/man5/ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xpdf ${INSTALL_DATA} ${WRKSRC}/doc/sample-xpdfrc \ ${PREFIX}/share/examples/xpdf/xpdfrc -# already in poppler-utils -.for i in pdffonts pdfimages pdfinfo pdftoppm pdftops pdftotext - rm ${PREFIX}/man/man1/$i.1 - rm ${PREFIX}/bin/$i -.endfor -# forgotten in Makefile.in (there's also a pdfthtml, but it conflicts -# with poppler-utils): - ${INSTALL_PROGRAM} ${WRKBUILD}/xpdf/pdftopng ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/doc/pdftopng.1 ${PREFIX}/man/man1 .include diff --git a/textproc/xpdf/patches/patch-Makefile_in b/textproc/xpdf/patches/patch-Makefile_in index 9116dbe9c..065cec7fe 100644 --- a/textproc/xpdf/patches/patch-Makefile_in +++ b/textproc/xpdf/patches/patch-Makefile_in @@ -1,18 +1,16 @@ Makefile.in.orig Mon Aug 15 23:08:52 2011 -+++ Makefile.inThu Aug 18 21:10:22 2011 -@@ -102,13 +102,8 @@ install: dummy - $(INSTALL_DATA) $(srcdir)/doc/pdfimages.1 $(DESTDIR)@mandir@/man1/pdfimages.1 - -mkdir -p $(DESTDIR)@mandir@/man5 - $(INSTALL_DATA) $(srcdir)/doc/xpdfrc.5 $(DESTDIR)@mandir@/man5/xpdfrc.5 -- -mkdir -p $(DESTDIR)@sysconfdir@ -- @if test ! -f $(DESTDIR)@sysconfdir@/xpdfrc; then \ -- echo "$(INSTALL_DATA) $(srcdir)/doc/sample-xpdfrc $(DESTDIR)@sysconfdir@/xpdfrc"; \ -- $(INSTALL_DATA) $(srcdir)/doc/sample-xpdfrc $(DESTDIR)@sysconfdir@/xpdfrc; \ -- else \ -- echo "# not overwriting the existing $(DESTDIR)@sysconfdir@/xpdfrc"; \ -- fi -+ -mkdir -p $(PREFIX)/share/examples/xpdf -+ $(INSTALL_DATA) $(srcdir)/doc/sample-xpdfrc $(PREFIX)/share/examples/xpdf/xpdfrc +Index: Makefile.in +--- Makefile.in.orig Makefile.in +@@ -67,6 +67,12 @@ pdfdetach: + cd @UP_DIR@splash; $(MAKE) + cd @UP_DIR@xpdf; $(MAKE) pdfdetach$(EXE) - clean: - -cd goo; $(MAKE) clean ++pdftopng: ++ cd goo; $(MAKE) ++ cd @UP_DIR@fofi; $(MAKE) ++ cd @UP_DIR@splash; $(MAKE) ++ cd @UP_DIR@xpdf; $(MAKE) pdftopng$(EXE) ++ + pdftoppm: + cd goo; $(MAKE) + cd @UP_DIR@fofi; $(MAKE)
aarch64 bulk build report
bulk build on arm64.ports.openbsd.org started on Wed Oct 18 04:55:15 MDT 2023 finished at Fri Oct 20 17:53:07 MDT 2023 lasted 2D12h57m done with kern.version=OpenBSD 7.4-current (GENERIC.MP) #2282: Wed Oct 18 01:06:12 MDT 2023 built packages:11801 Oct 18:4304 Oct 19:1053 Oct 20:6443 critical path missing pkgs: http://build-failures.rhaalovely.net/aarch64/2023-10-18/summary.log build failures: 2 http://build-failures.rhaalovely.net/aarch64/2023-10-18/net/neochat.log http://build-failures.rhaalovely.net/aarch64/2023-10-18/x11/qt6/qtwebengine.log recurrent failures failures/net/neochat.log failures/x11/qt6/qtwebengine.log new failures +++ ls-failures Fri Oct 20 17:53:20 2023 resolved failures --- ../old/aarch64/last//ls-failuresWed Oct 18 00:31:04 2023 -failures/graphics/cfdg.log
Re: x11/openbox broken with 7.4 upgrade
On 2023-10-18 at 12:50, dco...@gmail.com wrote : > The fix for this specific problem is ok, but here's a patch incorporating > all the relevant bugfixes from the Debian package: Many thanks to both of you. I just tested David's patch : no more crashes !
Re: [new] cad/opencascade
On Thu, Oct 19 2023, Johannes Thyssen Tishman wrote: Please find attached a port for opencascade (occt) intended for the replacement of the outdated and unmaintained[1] cad/oce in cad/{kicad,prusaslicer} (and for a future FreeCAD port). For context, oce is a community driven fork of the Open CASCADE library (occt) which is also why the ports share a lot in common (many bits were taken from cad/oce). The replacement is very straightforward and almost drop-in (see kicad.diff and prusaslicer.diff). With this change I also suggest the removal of cad/oce as it conflicts with cad/opencascade and it would no longer make sense to keep it. Tested both consumers which seem to work great. However more testing would be appreciated. I've cc's Renato (maintainer of prusaslicer) and ian@ as he worked on the wip port as well. I tested it with the wip cad/prusaslicer 2.6.1 port and it also works. -- Renato Aguiar
sysutils/detox years out of date
This software moved to https://github.com/dharple/detox a while ago and development restarted.The old site (still around) is still listed in the package DESCR, which surely made it easy to miss the new versions. I haven't tried to build it myself.
Re: Support for TLS 1.0 in recent wpa_supplicant builds
> I've added the openssl flavour to wpa_supplicant in -current ports > and included your patches (I tracked down the original commits and > added proper references in the patches). Thank you for updating the port to include the new flavor/patches, I appreciate that. Unfortunately, I am still experiencing the issue with wpa_supplicant where upon loading the necessary certificates, the process seems to stall and authentication never completes. I've been through all of the logs and nothing is standing out when compared to a working 7.3 system. I am at a loss and since my configuration seems be niche, I am likely on my own for troubleshooting. Ultimately, I will probably end up moving to a another platform for my firewalls, as having a old, unreliable wpa_supplicant is a non-starter. Thanks again for your effort.
Re: Disable building tests in all KDE applications
10/20/23 18:46, Rafael Sadowski пишет: > Hi ports, Hi bulk builders, > > I would like to disable building tests in KDE frameworks applications. > In a short test in devel/kf, this saves 25% build time. > > If someone wants to run the tests, they can simply set the flag to Yes. > > I hope that the bulk builds will be significantly faster and we do not > build that many do not need. > > What is your opinion about it? Makes sense to me, but I'm not a bulk builder. > > Rafael > > diff --git a/devel/kf5/kf5.port.mk b/devel/kf5/kf5.port.mk > index 0a0894ba8e9..cba68f81091 100644 > --- a/devel/kf5/kf5.port.mk > +++ b/devel/kf5/kf5.port.mk > @@ -1,5 +1,7 @@ > MODKF5_VERSION = 5.110.0 > > +MODKF5_BUILD_TESTING ?= No Since you default it here... > + > .if empty(GH_ACCOUNT) > EXTRACT_SUFX ?= .tar.xz > .endif > @@ -30,6 +32,11 @@ CONFIGURE_ARGS += \ > # The module needs more fixes. Also, it's not clear how to deal > # with multiple Python dependencies. > CONFIGURE_ARGS +=-DCMAKE_DISABLE_FIND_PACKAGE_PythonModuleGeneration=ON > + > +.if defined(MODKF5_BUILD_TESTING) && ${MODKF5_BUILD_TESTING:L} == "no" it is always defined here, so why the first test at all? > +CONFIGURE_ARGS +=-DBUILD_TESTING=OFF > +.endif > + > .endif > > # make sure cmake module preceeds qt5, unless we really want qmake >
Re: Disable libinput in qt5 and qt6
10/20/23 09:44, Rafael Sadowski пишет: > Yes I'll prevent Qt and other ports to picking up libinput. If someone > wants to use it as a dependency then we should enable and test it > explicitly. OK kn
Re: [new] cad/opencascade
On 2023/10/20 11:53, Ian Darwin wrote: > Thanks for picking this up and finishing it! > I'm OK with your being opencascade maintainer. > > I built the opencascade and prusaslicer 2.5.2p1 and that seems to work as > before. Didn't test kicad but it's a trivial change and you've tested it. So > those three are OK ian@. > > You probably need a 'quirks' entry and/or a conflict marker for anyone who > might have the older oce installed. Probably a conflict entry, and then > remove the old one in a few days? Yes, it needs a quirks entry in $stem_extensions, @conflict oce-* in PLIST, and unhook and remove cad/oce whenever this gets committed. The version number is higher than that of oce so that should be enough. : WANTLIB += ${COMPILER_LIBCXX} GL X11 c execinfo fontconfig freetype : WANTLIB += m tcl86 tk86 should use ${MODTK_WANTLIB} instead of tcl86 tk86 (as already done in cad/oce). : .for LIB in TKBO TKBRep TKBin TKBinL TKBinTObj TKBinXCAF TKBool \ : TKCAF TKCDF TKDCAF TKDraw TKExpress TKFeat TKFillet TKG2d \ : TKG3d TKGeomAlgo TKGeomBase TKHLR TKIGES TKLCAF TKMath \ : TKMesh TKMeshVS TKOffset TKOpenGl TKOpenGlTest TKPrim \ : TKQADraw TKRWMesh TKSTEP TKSTEP209 TKSTEPAttr TKSTEPBase \ : TKSTL TKService TKShHealing TKStd TKStdL TKTObj TKTObjDRAW \ : TKTopAlgo TKTopTest TKV3d TKVCAF TKVRML TKViewerTest TKXCAF \ : TKXDE TKXDECascade TKXDEDRAW TKXDEIGES TKXDESTEP TKXMesh \ : TKXSBase TKXSDRAW TKXml TKXmlL TKXmlTObj TKXmlXCAF TKernel : SHARED_LIBS += ${LIB} 0.0 : .endfor These should use the same (if compatible ABI) or higher (if not or if unknown) library version number than oce, so it probably wants 2.0 Otherwise reads OK to me but I've not tested.
{Maintainer Update] lang/gleam 0.31.0
Update lang/gleam to latest release. Simple diff with the rust-typical dependency churn. Builds and runs fine on amd64, nothing depends on it. ok? Index: Makefile === RCS file: /cvs/ports/lang/gleam/Makefile,v retrieving revision 1.5 diff -u -p -r1.5 Makefile --- Makefile 4 Sep 2023 13:02:38 - 1.5 +++ Makefile 20 Oct 2023 15:53:43 - @@ -2,8 +2,7 @@ COMMENT = statically typed language for GH_ACCOUNT = gleam-lang GH_PROJECT = gleam -GH_TAGNAME = v0.30.5 -REVISION = 0 +GH_TAGNAME = v0.31.0 HOMEPAGE = https://gleam.run Index: crates.inc === RCS file: /cvs/ports/lang/gleam/crates.inc,v retrieving revision 1.3 diff -u -p -r1.3 crates.inc --- crates.inc 7 Aug 2023 15:45:35 - 1.3 +++ crates.inc 20 Oct 2023 15:53:43 - @@ -1,33 +1,33 @@ +MODCARGO_CRATES += addr2line 0.21.0 # Apache-2.0 OR MIT MODCARGO_CRATES += adler 1.0.2 # 0BSD OR MIT OR Apache-2.0 -MODCARGO_CRATES += ahash 0.7.6 # MIT OR Apache-2.0 -MODCARGO_CRATES += aho-corasick 0.7.20 # Unlicense OR MIT -MODCARGO_CRATES += aho-corasick 1.0.2 # Unlicense OR MIT -MODCARGO_CRATES += android-tzdata 0.1.1 # MIT OR Apache-2.0 -MODCARGO_CRATES += arrayvec 0.5.2 # MIT/Apache-2.0 -MODCARGO_CRATES += askama 0.10.5 # MIT OR Apache-2.0 -MODCARGO_CRATES += askama_derive 0.10.5 # MIT/Apache-2.0 +MODCARGO_CRATES += aho-corasick 1.0.4 # Unlicense OR MIT +MODCARGO_CRATES += askama 0.12.0 # MIT OR Apache-2.0 +MODCARGO_CRATES += askama_derive 0.12.1 # MIT/Apache-2.0 MODCARGO_CRATES += askama_escape 0.10.3 # MIT OR Apache-2.0 -MODCARGO_CRATES += askama_shared 0.11.2 # MIT/Apache-2.0 -MODCARGO_CRATES += async-trait 0.1.68 # MIT OR Apache-2.0 +MODCARGO_CRATES += asn1-rs 0.5.2 # MIT/Apache-2.0 +MODCARGO_CRATES += asn1-rs-derive 0.4.0 # MIT/Apache-2.0 +MODCARGO_CRATES += asn1-rs-impl 0.1.0 # MIT/Apache-2.0 +MODCARGO_CRATES += async-trait 0.1.73 # MIT OR Apache-2.0 MODCARGO_CRATES += atty 0.2.14 # MIT MODCARGO_CRATES += autocfg 1.1.0 # Apache-2.0 OR MIT +MODCARGO_CRATES += backtrace 0.3.69 # MIT OR Apache-2.0 MODCARGO_CRATES += base16 0.2.1 # CC0-1.0 MODCARGO_CRATES += base64 0.13.1 # MIT/Apache-2.0 -MODCARGO_CRATES += base64 0.21.2 # MIT OR Apache-2.0 +MODCARGO_CRATES += base64 0.21.3 # MIT OR Apache-2.0 +MODCARGO_CRATES += basic-toml 0.1.4 # MIT OR Apache-2.0 MODCARGO_CRATES += bincode 1.3.3 # MIT MODCARGO_CRATES += bitflags 1.3.2 # MIT/Apache-2.0 +MODCARGO_CRATES += bitflags 2.4.0 # MIT OR Apache-2.0 MODCARGO_CRATES += bitmaps 2.1.0 # MPL-2.0+ -MODCARGO_CRATES += bitvec 0.19.6 # MIT MODCARGO_CRATES += block-buffer 0.9.0 # MIT OR Apache-2.0 -MODCARGO_CRATES += bstr 1.5.0 # MIT OR Apache-2.0 +MODCARGO_CRATES += bstr 1.6.0 # MIT OR Apache-2.0 MODCARGO_CRATES += bumpalo 3.13.0 # MIT/Apache-2.0 MODCARGO_CRATES += bytes 1.4.0 # MIT MODCARGO_CRATES += camino 1.1.6 # MIT OR Apache-2.0 MODCARGO_CRATES += capnp 0.14.11 # MIT MODCARGO_CRATES += capnpc 0.14.9 # MIT -MODCARGO_CRATES += cc 1.0.79 # MIT OR Apache-2.0 +MODCARGO_CRATES += cc 1.0.83 # MIT OR Apache-2.0 MODCARGO_CRATES += cfg-if 1.0.0 # MIT/Apache-2.0 -MODCARGO_CRATES += chrono 0.4.26 # MIT/Apache-2.0 MODCARGO_CRATES += clap 3.2.25 # MIT OR Apache-2.0 MODCARGO_CRATES += clap_derive 3.2.25 # MIT OR Apache-2.0 MODCARGO_CRATES += clap_lex 0.2.4 # MIT OR Apache-2.0 @@ -37,34 +37,34 @@ MODCARGO_CRATES += console 0.15.7 # MIT MODCARGO_CRATES += console_error_panic_hook 0.1.7 # Apache-2.0/MIT MODCARGO_CRATES += core-foundation 0.9.3 # MIT / Apache-2.0 MODCARGO_CRATES += core-foundation-sys 0.8.4 # MIT / Apache-2.0 -MODCARGO_CRATES += cpufeatures 0.2.7 # MIT OR Apache-2.0 +MODCARGO_CRATES += cpufeatures 0.2.9 # MIT OR Apache-2.0 MODCARGO_CRATES += crc32fast 1.3.2 # MIT OR Apache-2.0 MODCARGO_CRATES += crossbeam-channel 0.5.8 # MIT OR Apache-2.0 MODCARGO_CRATES += crossbeam-utils 0.8.16 # MIT OR Apache-2.0 -MODCARGO_CRATES += ctor 0.1.26 # Apache-2.0 OR MIT MODCARGO_CRATES += ctrlc 3.4.0 # MIT/Apache-2.0 MODCARGO_CRATES += data-encoding 2.4.0 # MIT MODCARGO_CRATES += debug-ignore 1.0.5 # MIT OR Apache-2.0 -MODCARGO_CRATES += der-oid-macro 0.4.0 # MIT/Apache-2.0 -MODCARGO_CRATES += der-parser 5.1.2 # MIT/Apache-2.0 +MODCARGO_CRATES += der-parser 8.2.0 # MIT/Apache-2.0 +MODCARGO_CRATES += deranged 0.3.8 # MIT OR Apache-2.0 MODCARGO_CRATES += diff 0.1.13 # MIT OR Apache-2.0 MODCARGO_CRATES += digest 0.9.0 # MIT OR Apache-2.0 MODCARGO_CRATES += dirs-next 2.0.0 # MIT OR Apache-2.0 MODCARGO_CRATES += dirs-sys-next 0.1.2 # MIT OR Apache-2.0 -MODCARGO_CRATES += either 1.8.1 # MIT OR Apache-2.0 +MODCARGO_CRATES += displaydoc 0.2.4 # MIT OR Apache-2.0 +MODCARGO_CRATES += either 1.9.0 # MIT OR Apache-2.0 MODCARGO_CRATES += encode_unicode 0.3.6 # MIT/Apache-2.0 -MODCARGO_CRATES += encoding_rs 0.8.32 # (Apache-2.0 OR MIT) AND BSD-3-Clause -MODCARGO_CRATES += errno 0.3.1 # MIT OR Apache-2.0 +MODCARGO_CRATES += encoding_rs 0.8.33 # (Apache-2.0 OR MIT) AND BSD-3-Cl
Re: [new] cad/opencascade
Thanks for picking this up and finishing it! I'm OK with your being opencascade maintainer. I built the opencascade and prusaslicer 2.5.2p1 and that seems to work as before. Didn't test kicad but it's a trivial change and you've tested it. So those three are OK ian@. You probably need a 'quirks' entry and/or a conflict marker for anyone who might have the older oce installed. Probably a conflict entry, and then remove the old one in a few days? On 10/19/23 03:42, Johannes Thyssen Tishman wrote: Please find attached a port for opencascade (occt) intended for the replacement of the outdated and unmaintained[1] cad/oce in cad/{kicad,prusaslicer} (and for a future FreeCAD port). For context, oce is a community driven fork of the Open CASCADE library (occt) which is also why the ports share a lot in common (many bits were taken from cad/oce). The replacement is very straightforward and almost drop-in (see kicad.diff and prusaslicer.diff). With this change I also suggest the removal of cad/oce as it conflicts with cad/opencascade and it would no longer make sense to keep it. Tested both consumers which seem to work great. However more testing would be appreciated. I've cc's Renato (maintainer of prusaslicer) and ian@ as he worked on the wip port as well. ian@: You were listed as the MAINTAINER of this port in the wip version[2], but since I'm making this submission without your consent, I've taken it over. Please let me know if you want it back or if you'd like to co-maintain it together.
Disable building tests in all KDE applications
Hi ports, Hi bulk builders, I would like to disable building tests in KDE frameworks applications. In a short test in devel/kf, this saves 25% build time. If someone wants to run the tests, they can simply set the flag to Yes. I hope that the bulk builds will be significantly faster and we do not build that many do not need. What is your opinion about it? Rafael diff --git a/devel/kf5/kf5.port.mk b/devel/kf5/kf5.port.mk index 0a0894ba8e9..cba68f81091 100644 --- a/devel/kf5/kf5.port.mk +++ b/devel/kf5/kf5.port.mk @@ -1,5 +1,7 @@ MODKF5_VERSION = 5.110.0 +MODKF5_BUILD_TESTING ?= No + .if empty(GH_ACCOUNT) EXTRACT_SUFX ?=.tar.xz .endif @@ -30,6 +32,11 @@ CONFIGURE_ARGS += \ # The module needs more fixes. Also, it's not clear how to deal # with multiple Python dependencies. CONFIGURE_ARGS += -DCMAKE_DISABLE_FIND_PACKAGE_PythonModuleGeneration=ON + +.if defined(MODKF5_BUILD_TESTING) && ${MODKF5_BUILD_TESTING:L} == "no" +CONFIGURE_ARGS += -DBUILD_TESTING=OFF +.endif + .endif # make sure cmake module preceeds qt5, unless we really want qmake
Re: [update, add pledge/unveil] net/iperf3 3.14 -> 3.15
lteo, are you still interested in maintaining iperf3? On 2023/10/18 22:28, Stuart Henderson wrote: > On 2023/10/18 22:19, Mikhail wrote: > > [cc'ing maintainer] > > > > Inlined patch updates iperf3 to 3.15 (3 bug fixes, details here - > > https://github.com/esnet/iperf/releases/tag/3.15). > > > > I run iperf on public server with unfirewalled ports, so I'd like it to > > be pledged/unveiled, -I and --logfile options are working fine. > > > > Probably we could drop privs more granularly, but for I'd like to keep > > things simple. > > > > Diff below for a few things I noticed. There may be others. > > Since you only unveil /dev/urandom (plus the extra paths allowed > by tmppath and for dns access) you can add a small patch to use > arc4random and drop rpath and /dev/urandom access in most cases. > > You don't handle --file. This needs cpath wpath for server, or > rpath for client. I just added to the existing needwr mechanism > rather than separating the two. This could possibly be more > granular but there are probably complications with --bidir and > --reverse. > > Rather than locking unveil for the needwr case, I called pledge > again with unveil removed, I think this makes it a little more > clear what the final pledges are for the two cases. (We could > also drop the early pledge before parsing options, I don't think > it adds much in this case, and pledges are often done like that, > though I've left it for now). > > Couple of other minor tweaks (error message fixes, don't mix > definitions and code, > > I've tested various options including --tos without problems, > but not exhaustively. > > > Index: Makefile > === > RCS file: /cvs/ports/net/iperf3/Makefile,v > retrieving revision 1.14 > diff -u -p -r1.14 Makefile > --- Makefile 27 Sep 2023 14:18:10 - 1.14 > +++ Makefile 18 Oct 2023 21:03:42 - > @@ -1,6 +1,6 @@ > COMMENT= tool to measure maximum achievable bandwidth on IP networks > > -V= 3.14 > +V= 3.15 > PKGNAME= iperf3-${V} > DISTNAME=iperf-${V} > > @@ -15,6 +15,7 @@ MAINTAINER= Lawrence Teo # BSD 3-clause > PERMIT_PACKAGE= Yes > > +# uses pledge unveil > WANTLIB += c m > > SITES= https://downloads.es.net/pub/iperf/ > Index: distinfo > === > RCS file: /cvs/ports/net/iperf3/distinfo,v > retrieving revision 1.9 > diff -u -p -r1.9 distinfo > --- distinfo 3 Aug 2023 14:32:28 - 1.9 > +++ distinfo 18 Oct 2023 21:03:42 - > @@ -1,2 +1,2 @@ > -SHA256 (iperf-3.14.tar.gz) = cj/MQwoCe8aVJij6KjrHdYSh0L0ygnXlc/ybIGwVUAQ= > -SIZE (iperf-3.14.tar.gz) = 647944 > +SHA256 (iperf-3.15.tar.gz) = vbd8EfcrzpAhSIMVlXf6JEEgE+YrIIPPX1Q5HXmx2P8= > +SIZE (iperf-3.15.tar.gz) = 649330 > Index: patches/patch-src_iperf_api_c > === > RCS file: /cvs/ports/net/iperf3/patches/patch-src_iperf_api_c,v > retrieving revision 1.8 > diff -u -p -r1.8 patch-src_iperf_api_c > --- patches/patch-src_iperf_api_c 3 Aug 2023 14:32:28 - 1.8 > +++ patches/patch-src_iperf_api_c 18 Oct 2023 21:03:42 - > @@ -3,7 +3,7 @@ Default to IPv4. > Index: src/iperf_api.c > --- src/iperf_api.c.orig > +++ src/iperf_api.c > -@@ -2860,7 +2860,7 @@ iperf_defaults(struct iperf_test *testp) > +@@ -2884,7 +2884,7 @@ iperf_defaults(struct iperf_test *testp) > testp->stats_interval = testp->reporter_interval = 1; > testp->num_streams = 1; > > Index: patches/patch-src_iperf_util_c > === > RCS file: patches/patch-src_iperf_util_c > diff -N patches/patch-src_iperf_util_c > --- /dev/null 1 Jan 1970 00:00:00 - > +++ patches/patch-src_iperf_util_c18 Oct 2023 21:03:42 - > @@ -0,0 +1,21 @@ > +Index: src/iperf_util.c > +--- src/iperf_util.c.orig > src/iperf_util.c > +@@ -57,6 +57,9 @@ > + */ > + int readentropy(void *out, size_t outsize) > + { > ++#if defined(__OpenBSD__) > ++arc4random_buf(out, outsize); > ++#else > + static FILE *frandom; > + static const char rndfile[] = "/dev/urandom"; > + > +@@ -75,6 +78,7 @@ int readentropy(void *out, size_t outsize) > + rndfile, > + feof(frandom) ? "EOF" : strerror(errno)); > + } > ++#endif > + return 0; > + } > + > Index: patches/patch-src_main_c > === > RCS file: patches/patch-src_main_c > diff -N patches/patch-src_main_c > --- /dev/null 1 Jan 1970 00:00:00 - > +++ patches/patch-src_main_c 18 Oct 2023 21:03:42 - > @@ -0,0 +1,67 @@ > +Add pledge and unveil > + > +Index: src/main.c > +--- src/main.c.orig > src/main.c > +@@ -59,6 +59,15 @@ main(int argc, char **argv) > + { > + struct iperf_test *test; > + > ++#if defined(__OpenBSD__) > ++int needwr = 0; > ++ > ++if (ple