Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2022 21:12:58 +0000 (UTC)
From:      Stephen Roznowski <sjrbulk@verizon.net>
To:        "jaap.akkerhuis@xs4all.nl" <jaap.akkerhuis@xs4all.nl>
Cc:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: Staging and /var
Message-ID:  <449672358.3501582.1672175578521@mail.yahoo.com>
References:  <449672358.3501582.1672175578521.ref@mail.yahoo.com>

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

=20
On 12/27/22 14:12, jaap.akkerhuis@xs4all.nl wrote:
>
>
>> On 27 Dec 2022, at 18:54, Stephen Roznowski <sjrbulk@verizon.net> wrote:
>>
>> I'm in the process of creating a new port that requires the installation=
 of some files in /var.
>>
>> I notice that the file /usr/ports/Templates/BSD.local.dist doesn't have =
any of the /var tree in it, is there a particular reason why that is missin=
g? (I could see where a small subset of /var would be useful to autocreate =
in the stage directory.)
>>
>> I realize that I can just do:
>>
>>=C2=A0=C2=A0=C2=A0=C2=A0 pre-install:
>>
>>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 @${MKDIR} ${STAGEDIR}/va=
r/xxx
>>
>> for the directories that I need.=20
>
> You really want to use pkg-plist for this.
>
> =C2=A0=C2=A0 =C2=A0jaap
>
>

pkg-plist (or PLIST_FILES) doesn't work for staging (without the pre-instal=
l line).
For additional details, I'm porting a game, so my plist has "var/games/xxx.=
score" in it.
Thanks,Steve

------=_Part_3501581_362156694.1672175578519
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"yahoo-style-wrap" style=3D"font-fami=
ly:Arial, Helvetica, sans-serif;font-size:16px;"><div dir=3D"ltr" data-setd=
ir=3D"false"> <div dir=3D"ltr" data-setdir=3D"false"><br>On 12/27/22 14:12,=
 jaap.akkerhuis@xs4all.nl wrote:<br>&gt;<br>&gt;<br>&gt;&gt; On 27 Dec 2022=
, at 18:54, Stephen Roznowski &lt;sjrbulk@verizon.net&gt; wrote:<br>&gt;&gt=
;<br>&gt;&gt; I'm in the process of creating a new port that requires the i=
nstallation of some files in /var.<br>&gt;&gt;<br>&gt;&gt; I notice that th=
e file /usr/ports/Templates/BSD.local.dist doesn't have any of the /var tre=
e in it, is there a particular reason why that is missing? (I could see whe=
re a small subset of /var would be useful to autocreate in the stage direct=
ory.)<br>&gt;&gt;<br>&gt;&gt; I realize that I can just do:<br>&gt;&gt;<br>=
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; pre-install:<br>&gt;&gt;<br>&gt;&gt;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; @${MKDIR} ${STAGEDIR}/var/xxx<br=
>&gt;&gt;<br>&gt;&gt; for the directories that I need. <br>&gt;<br>&gt; You=
 really want to use pkg-plist for this.<br>&gt;<br>&gt; &nbsp;&nbsp; &nbsp;=
jaap<br>&gt;<br>&gt;<br><div><span><br></span></div></div><div dir=3D"ltr" =
data-setdir=3D"false">pkg-plist (or <span>PLIST_FILES) doesn't work for sta=
ging (without the pre-install line).</span></div><div dir=3D"ltr" data-setd=
ir=3D"false"><span><br></span></div><div dir=3D"ltr" data-setdir=3D"false">=
<span>For additional details, I'm porting a game, so my plist has "var/game=
s/xxx.score" in it.</span></div><div dir=3D"ltr" data-setdir=3D"false"><spa=
n><br></span></div><div dir=3D"ltr" data-setdir=3D"false"><span>Thanks,</sp=
an></div><div dir=3D"ltr" data-setdir=3D"false"><span>Steve<br></span></div=
></div></div></body></html>
------=_Part_3501581_362156694.1672175578519--



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