🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88615

Re: RFC 8315 perl hooks for Inn

#88615
From: Michael Bäuerle
Date: Tue, 09 Feb 2021 21:42
38 lines
3105 bytes
Gérald Niel wrote:
> Michael Bäuerle écrivait sur news.software.nntp:
> > 
> > libcanlock V3 can be configured to emulate the V2 API (with the option
> > "--enable-legacy-api", which is used by default). This is sufficient
> > for slrn, but the V2 API has no support for SHA2.
> > 
> > There are patches for slrn to use the V3 API:
> > <https://micha.freeshell.org/libcanlock/#patches>
> > The hash algorithm can then be configured via "canlock_algo".
> 
> Thanks for the information.
> I would test on MacOS (Big Sur) but I can't compile slrn.
> HEAD from git or latest stable, with or without libcanlock.
> I've succefully compiled libcanclock (not yet in Homebrew).
> Don't know how to fix that! :(
> And I'm not sure if it is an issue from slrn code.
> 
> (Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021;
> root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64)
> 
> slrn/src/misc.c:376:4: error: implicit declaration of function 'VA_COPY' 
>   is invalid in C99 [-Werror,-Wimplicit-function-declaration]
>      VA_COPY(ap1, ap);
>      ^
> 1 error generated.

VA_COPY seems to be a macro that is defined by the configuration process
(intended for systems that don't have va_copy() as defined by C99).

What does the "configure" script prints for this check on your machine?
| 
| checking for an implementation of va_copy()... yes

On my machine the configure script writes this into "src/sysconf.h":
| 
| /* define if you have va_copy() in stdarg.h */
| #define VA_COPY va_copy
Technical Details
Message-ID: <AABgIwHhIAEAAAoy.A1.flnews@WStation7.micha.freeshell.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <i6fq61Fa3dbU1@mid.individual.net> <rueg47$og$2@neodome.net> <ruenj0$dsl$1@dont-email.me> <ruf1ah$1vtp$1@neodome.net> <rufd7o$6ud$1@dont-email.me> <slrns0nh0v.hh9.gerald.niel+spam@news.gegeweb.org> <AABgDBR4nnEAAAQH.A1.flnews@Server4.micha.freeshell.org> <slrns0qcf0.3c0.gerald.niel+spam@news.gegeweb.org> <rujevf$7hs$1@pasdenom.info> <slrns0qgep.47g.gerald.niel+spam@news.gegeweb.org> <ruk3dr$2hf$1@news.trigofacile.com> <slrns0vtnm.nbf.gerald.niel+spam@news.gegeweb.org> <ruov85$a2f$1@news.trigofacile.com> <slrns21rbm.1jhv.gerald.niel+spam@home.niel.me> <AABgIRNoBmwAAAMz.A1.flnews@WStation5.stz-e.de> <slrns24ikp.9uk.gerald.niel+spam@home.niel.me>

Show Full Headers
Complete Article Headers
Message-ID: <AABgIwHhIAEAAAoy.A1.flnews@WStation7.micha.freeshell.org>
Subject: Re: RFC 8315 perl hooks for Inn
Date: Tue, 9 Feb 2021 22:42:57 +0100
From: Michael Bäuerle <michael.baeuerle@gmx.net>
References: <i6fq61Fa3dbU1@mid.individual.net> <rueg47$og$2@neodome.net> <ruenj0$dsl$1@dont-email.me> <ruf1ah$1vtp$1@neodome.net> <rufd7o$6ud$1@dont-email.me> <slrns0nh0v.hh9.gerald.niel+spam@news.gegeweb.org> <AABgDBR4nnEAAAQH.A1.flnews@Server4.micha.freeshell.org> <slrns0qcf0.3c0.gerald.niel+spam@news.gegeweb.org> <rujevf$7hs$1@pasdenom.info> <slrns0qgep.47g.gerald.niel+spam@news.gegeweb.org> <ruk3dr$2hf$1@news.trigofacile.com> <slrns0vtnm.nbf.gerald.niel+spam@news.gegeweb.org> <ruov85$a2f$1@news.trigofacile.com> <slrns21rbm.1jhv.gerald.niel+spam@home.niel.me> <AABgIRNoBmwAAAMz.A1.flnews@WStation5.stz-e.de> <slrns24ikp.9uk.gerald.niel+spam@home.niel.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Lines: 38
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net hvbdp7UEQZ0LAZD4WhaU/whcQveeq9SPkmpqenuUaov7AhBhVF
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:PupapzeoY9LGIui8fLQosbVqlJw= sha256:TQ6LBDioh6l334RDvGxKMHwCYtDqDA8n1oDjs0GYmXU= sha1:j1vgJFZt3j/EOTbBISwUCwTl2eI=
Injection-Date: Tue, 9 Feb 2021 21:42:57 -0000
User-Agent: flnews/1.0pre25 (for GNU/Linux)