Re: cvsweb, running doc/pkg-readmes/cvsweb some files not found
On Tue, Apr 20, 2021 at 08:00:52PM +0900, rgc wrote: > ports@ > > was setting up a local cvsweb > > running .../doc/pkg-readmes/cvsweb results in some files not found > > $ doas sh /usr/local/share/doc/pkg-readmes/cvsweb > cp: /usr/libdata/perl5/utf8_heavy.pl: No such file or directory > cp: /usr/libdata/perl5/unicore/Heavy.pl: No such file or directory > slowcgi(ok) I didn't even know ^ was a thing, I've only ever done a full copy of /usr/libdata/perl when chrooting perl things. > i think perl got some updates, which might have caused this > cvsweb seems to run properly though even with these errors That makes sense, although I don't really know what cvsweb needs, but since the above files have been removed from core in perl 5.32 I expect that they aren't needed.
Re: Writing a port for a Go program
On Tue, Apr 20, 2021 at 11:09:39PM +0300, Yevhenii Kurtov wrote: > Hi, > > I would love to run the LND node https://github.com/lightningnetwork/lnd, and > since things are moving very fast in that field, it makes sense to have a > stable solution for managing it, including version bumps. > I didn’t ever write a port before, I only looked through Porter’s Handbook, > and the template suggested. > Probably my scenario is somewhat simpler than porting a C program. The only > quirk that I can see is that the Go compiler and Git client have to be > installed. Then I can clone the repo, checkout specific tag, and issue `make > install` > https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md#installing-lnd-from-source > > https://github.com/lightningnetwork/lnd/blob/v0.12.0-beta/Makefile > > Does this sound about right? > > If yes - maybe someone can point me in the direction of the existing port for > a Go program? > > > Thanks! Try: portgen go module-name I think the portgen for go is pretty finalized. If not, abieber@ will let me have it! -- Tracey Emery
Writing a port for a Go program
Hi, I would love to run the LND node https://github.com/lightningnetwork/lnd, and since things are moving very fast in that field, it makes sense to have a stable solution for managing it, including version bumps. I didn’t ever write a port before, I only looked through Porter’s Handbook, and the template suggested. Probably my scenario is somewhat simpler than porting a C program. The only quirk that I can see is that the Go compiler and Git client have to be installed. Then I can clone the repo, checkout specific tag, and issue `make install` https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md#installing-lnd-from-source https://github.com/lightningnetwork/lnd/blob/v0.12.0-beta/Makefile Does this sound about right? If yes - maybe someone can point me in the direction of the existing port for a Go program? Thanks!
openal: enable NEON on OpenBSD
Hi, both our arm64 and armv7 require at least NEON support. audio/openal checks for NEON support by opening /proc/cpuinfo and parsing it, which we obviously don't have. I'd propose just patching it and enabling it for OpenBSD. At the very least, it gets rid of this obnoxious message: Failed to open /proc/cpuinfo, cannot check for NEON support Tested by running games/openal. Opinions? Patrick diff --git a/audio/openal/Makefile b/audio/openal/Makefile index 871aa7bbf6c..a1de0e0467b 100644 --- a/audio/openal/Makefile +++ b/audio/openal/Makefile @@ -7,6 +7,7 @@ EPOCH = 0 DISTNAME = openal-soft-$V PKGNAME = openal-$V CATEGORIES = audio +REVISION = 0 SHARED_LIBS = openal 4.0 diff --git a/audio/openal/patches/patch-alc_helpers_cpp b/audio/openal/patches/patch-alc_helpers_cpp new file mode 100644 index 000..f3f781d5afc --- /dev/null +++ b/audio/openal/patches/patch-alc_helpers_cpp @@ -0,0 +1,23 @@ +$OpenBSD$ + +Index: alc/helpers.cpp +--- alc/helpers.cpp.orig alc/helpers.cpp +@@ -161,6 +161,9 @@ void FillCPUCaps(int capfilter) + #endif + #endif + #ifdef HAVE_NEON ++#if defined(__OpenBSD__) ++caps |= CPU_CAP_NEON; ++#else + al::ifstream file{"/proc/cpuinfo"}; + if(!file.is_open()) + ERR("Failed to open /proc/cpuinfo, cannot check for NEON support\n"); +@@ -193,6 +196,7 @@ void FillCPUCaps(int capfilter) + } + } + } ++#endif + #endif + + TRACE("Extensions:%s%s%s%s%s%s\n",
cvsweb, running doc/pkg-readmes/cvsweb some files not found
ports@ was setting up a local cvsweb running .../doc/pkg-readmes/cvsweb results in some files not found $ doas sh /usr/local/share/doc/pkg-readmes/cvsweb cp: /usr/libdata/perl5/utf8_heavy.pl: No such file or directory cp: /usr/libdata/perl5/unicore/Heavy.pl: No such file or directory slowcgi(ok) i think perl got some updates, which might have caused this cvsweb seems to run properly though even with these errors ~ rgc