Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Nov 2022 08:19:08 +0000
From:      Doug Rabson <dfr@rabson.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Evilham <contact@evilham.com>, freebsd-arch@freebsd.org
Subject:   Re: Re-importing WireGuard driver and utilities
Message-ID:  <CACA0VUja2eCV5syZ_sh7ALo08U_U8-xT7sZm=TqTg95X9HuFhw@mail.gmail.com>
In-Reply-To: <81989eb2-75e2-b779-0c4b-99cd07d99218@FreeBSD.org>
References:  <742c4fe8-4c25-d7e5-1df3-b2851d90e630@FreeBSD.org> <c12124a2567275a47d92243c8bc62193effd@yggdrasil.evilham.com> <81989eb2-75e2-b779-0c4b-99cd07d99218@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000006eec2a05ec6461e4
Content-Type: text/plain; charset="UTF-8"

On Mon, 31 Oct 2022 at 18:02, John Baldwin <jhb@freebsd.org> wrote:

> On 10/30/22 1:02 PM, Evilham wrote:
> > Hey,
> >
> > On dj., oct. 13 2022, John Baldwin wrote:
> >
> >> Over the past several months, I have spent some time reviewing
> >> the
> >> WireGuard driver including its interactions with the rest of the
> >> kernel and its use of crypto in the kernel.  This work was
> >> sponsored
> >> by the FreeBSD Foundation and had a few goals:
> >
> > Thanks for all the work, I noticed something that might be related
> > to how these changes interact with pkgbase:
> >
> > On pkg upgrade:
> >
> >    - FreeBSD-runtime-dev-14.snap20221029192512 [evilham-base]
> >    conflicts with FreeBSD-runtime-14.snap20221029192512
> >    [evilham-base] on /usr/include/dev/wg/if_wg.h
> >
> > Aka: the if_wg.h headers are included on both packages, how is
> > this fixed? :-D would love to learn that.
>
> I have no idea.  I can't figure out how it ended up in runtime-dev
> reading include/Makefile which has a default PACKAGES of runtime.
>

Include files for PACKAGE=foo end up in a sibling package foo-dev. Not sure
exactly where this happens - bsd.incs.mk is confusing me.

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

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Mon, 31 Oct 2022 at 18:02, John Ba=
ldwin &lt;<a href=3D"mailto:jhb@freebsd.org">jhb@freebsd.org</a>&gt; wrote:=
<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,=
204,204);padding-left:1ex">On 10/30/22 1:02 PM, Evilham wrote:<br>
&gt; Hey,<br>
&gt; <br>
&gt; On dj., oct. 13 2022, John Baldwin wrote:<br>
&gt; <br>
&gt;&gt; Over the past several months, I have spent some time reviewing<br>
&gt;&gt; the<br>
&gt;&gt; WireGuard driver including its interactions with the rest of the<b=
r>
&gt;&gt; kernel and its use of crypto in the kernel.=C2=A0 This work was<br=
>
&gt;&gt; sponsored<br>
&gt;&gt; by the FreeBSD Foundation and had a few goals:<br>
&gt; <br>
&gt; Thanks for all the work, I noticed something that might be related<br>
&gt; to how these changes interact with pkgbase:<br>
&gt; <br>
&gt; On pkg upgrade:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 - FreeBSD-runtime-dev-14.snap20221029192512 [evilham-base=
]<br>
&gt;=C2=A0 =C2=A0 conflicts with FreeBSD-runtime-14.snap20221029192512<br>
&gt;=C2=A0 =C2=A0 [evilham-base] on /usr/include/dev/wg/if_wg.h<br>
&gt; <br>
&gt; Aka: the if_wg.h headers are included on both packages, how is<br>
&gt; this fixed? :-D would love to learn that.<br>
<br>
I have no idea.=C2=A0 I can&#39;t figure out how it ended up in runtime-dev=
<br>
reading include/Makefile which has a default PACKAGES of runtime.<br></bloc=
kquote><div><br></div><div>Include files for PACKAGE=3Dfoo end up in a sibl=
ing package foo-dev. Not sure exactly where this happens - <a href=3D"http:=
//bsd.incs.mk">bsd.incs.mk</a> is confusing me.</div><div><br></div></div><=
/div>

--0000000000006eec2a05ec6461e4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACA0VUja2eCV5syZ_sh7ALo08U_U8-xT7sZm=TqTg95X9HuFhw>