Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2024 14:24:46 +0000
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: base64.h problems with rtorent port
Message-ID:  <CAFDf7U%2ByL8uBKQKW83WDwQVo=HGUWrAg_6h7KD21E18R58gxWg@mail.gmail.com>
In-Reply-To: <boltawtg355cfkad4ko6wl6gli7a3ijqtlzpxqmtov2qgbi6if@pqdpvbb7emd5>
References:  <CAFDf7UJ3uc0jUasWwOUK1cQkWV65Za9uR=z6kcPCaD36QwcX1A@mail.gmail.com> <e794b549374b282f1b5211f703a86a8682215fde@freebsd.org> <CAFDf7U%2BLkfSXDCP0kw8jvd-6Xue0ge1mubrDBOotCq9cuMP3aA@mail.gmail.com> <boltawtg355cfkad4ko6wl6gli7a3ijqtlzpxqmtov2qgbi6if@pqdpvbb7emd5>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000029aca1062a413a64
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Perfect!

I'm thinking using a radio option where we can select one of xml parsers or
none as supported upstream, defaulting to TINYXML.

A quick look in repology shows that at least 3 linux distros use directly
`--with-xmlrpc-tinyxml2` with 0.15.0 pkgs. I'm ok with simplifying port or
keep radio option.

Cheers!

```
OPTIONS_DEFINE=3D         DOCS EXAMPLES IPV6
OPTIONS_DEFAULT=3D        TINYXML
OPTIONS_RADIO=3D          XML
OPTIONS_RADIO_XML=3D      TINYXML XMLRPC
XMLRPC_DESC=3D            Compile with xmlrpc-c support

IPV6_CONFIGURE_ENABLE=3D  ipv6
TINYXML_CONFIGURE_ON=3D   --with-xmlrpc-tinyxml2
XMLRPC_LIB_DEPENDS=3D     libxmlrpc.so:net/xmlrpc-c
XMLRPC_CONFIGURE_ON=3D    --with-xmlrpc-c
```

Baptiste Daroussin <bapt@freebsd.org> escreveu (sexta, 27/12/2024 =C3=A0(s)
13:17):

> On Fri 27 Dec 12:48, Nuno Teixeira wrote:
> > Hello Baptiste,
> >
> > Yes, this proves that my C skills are awesome :)
> >
> > Upstream spotted it too, and in fact, base64.h is missing from tarball.
> > Now I'm waiting on upstream to find the best and fast way to include
> > missing file so I can test build.
> >
> > Thanks very much,
>
> I have sent a PR which should fix the issue they need to reroll their
> distfiles.
>


--=20
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org

--00000000000029aca1062a413a64
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Perfect!<br><br></div><div>I&#39;m thinking using a r=
adio option where we can select one of xml parsers or none as supported ups=
tream, defaulting to TINYXML.</div><div><br></div><div>A quick look in repo=
logy shows that at least 3 linux distros use directly `--with-xmlrpc-tinyxm=
l2` with 0.15.0 pkgs. I&#39;m ok with simplifying port or keep radio option=
.<br><br></div><div>Cheers!<br></div><div><br></div><div>```<br></div><div>=
OPTIONS_DEFINE=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0 DOCS EXAMPLES IPV6<br>OPTIONS=
_DEFAULT=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0TINYXML<br>OPTIONS_RADIO=3D =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0XML<br>OPTIONS_RADIO_XML=3D =C2=A0 =C2=A0 =C2=A0=
TINYXML XMLRPC<br>XMLRPC_DESC=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0C=
ompile with xmlrpc-c support<br><br>IPV6_CONFIGURE_ENABLE=3D =C2=A0ipv6<br>=
TINYXML_CONFIGURE_ON=3D =C2=A0 --with-xmlrpc-tinyxml2<br>XMLRPC_LIB_DEPENDS=
=3D =C2=A0 =C2=A0 libxmlrpc.so:net/xmlrpc-c<br>XMLRPC_CONFIGURE_ON=3D =C2=
=A0 =C2=A0--with-xmlrpc-c<br>```<br></div></div><br><div class=3D"gmail_quo=
te gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">Baptiste Da=
roussin &lt;<a href=3D"mailto:bapt@freebsd.org">bapt@freebsd.org</a>&gt; es=
creveu (sexta, 27/12/2024 =C3=A0(s) 13:17):<br></div><blockquote class=3D"g=
mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204=
,204,204);padding-left:1ex">On Fri 27 Dec 12:48, Nuno Teixeira wrote:<br>
&gt; Hello Baptiste,<br>
&gt; <br>
&gt; Yes, this proves that my C skills are awesome :)<br>
&gt; <br>
&gt; Upstream spotted it too, and in fact, base64.h is missing from tarball=
.<br>
&gt; Now I&#39;m waiting on upstream to find the best and fast way to inclu=
de<br>
&gt; missing file so I can test build.<br>
&gt; <br>
&gt; Thanks very much,<br>
<br>
I have sent a PR which should fix the issue they need to reroll their distf=
iles.<br>
</blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si=
gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d=
iv dir=3D"ltr"><div><font color=3D"#888888">Nuno Teixeira</font></div><div>=
<div><font color=3D"#888888">
FreeBSD UNIX:=C2=A0 &lt;eduardo@FreeBSD.org&gt;=C2=A0 =C2=A0Web:=C2=A0 <a h=
ref=3D"https://FreeBSD.org" rel=3D"noreferrer" target=3D"_blank">https://Fr=
eeBSD.org</a><br></font></div></div></div></div>

--00000000000029aca1062a413a64--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2ByL8uBKQKW83WDwQVo=HGUWrAg_6h7KD21E18R58gxWg>