Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2022 20:12:53 +0100
From:      jaap.akkerhuis@xs4all.nl
To:        Stephen Roznowski <sjrbulk@verizon.net>
Cc:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: Staging and /var
Message-ID:  <DD7B4625-9CE9-4639-A6BE-414B1E0CD319@xs4all.nl>
In-Reply-To: <869298973.3430864.1672163660124@mail.yahoo.com>
References:  <869298973.3430864.1672163660124.ref@mail.yahoo.com> <869298973.3430864.1672163660124@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_BFD764D7-C81F-4628-8F91-27773C9FE0D9
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_B527054E-2377-4500-A921-AC125A6429A4"


--Apple-Mail=_B527054E-2377-4500-A921-AC125A6429A4
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii



> On 27 Dec 2022, at 18:54, Stephen Roznowski <sjrbulk@verizon.net> =
wrote:
>=20
> I'm in the process of creating a new port that requires the =
installation of some files in /var.
>=20
> 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 missing? (I could see where a small subset of /var would be useful to =
autocreate in the stage directory.)
>=20
> I realize that I can just do:
>=20
>     pre-install:
>=20
>         @${MKDIR} ${STAGEDIR}/var/xxx
>=20
> for the directories that I need.

You really want to use pkg-plist for this.

	jaap



--Apple-Mail=_B527054E-2377-4500-A921-AC125A6429A4
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br><div><br><blockquote type="cite"><div>On 27 Dec 2022, at 18:54, Stephen Roznowski &lt;sjrbulk@verizon.net&gt; wrote:</div><br class="Apple-interchange-newline"><div><div><div class="yahoo-style-wrap" style="font-family:Arial, Helvetica, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false"><div>I'm in the process of creating a new port that requires the installation 
of some files in /var.
<br>
<br>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 
missing? (I could see where a small subset of /var would be useful to 
autocreate in the stage directory.)
<br>
<br>I realize that I can just do:
<br>
<br>&nbsp;&nbsp;&nbsp; pre-install:
<br>
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; @${MKDIR} ${STAGEDIR}/var/xxx
<br>
<br>for the directories that I need.&nbsp;<br></div></div></div></div></div></blockquote><br></div><div><div>You really want to use pkg-plist for this.</div><div><br></div><div><span class="Apple-tab-span" style="white-space: pre;">	</span>jaap</div><div><br></div></div><br></body></html>
--Apple-Mail=_B527054E-2377-4500-A921-AC125A6429A4--

--Apple-Mail=_BFD764D7-C81F-4628-8F91-27773C9FE0D9
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: no-use-standard-socket

iF0EARECAB0WIQQrCaF5s4l4c+dDH/sjEcdY8Kh9hQUCY6tDtQAKCRAjEcdY8Kh9
hVj0AKCMoe1VXa4Ytu3YpwEl0F0Agl5DywCfQFrV1sNKf3KWNXLxHqirAZsSchQ=
=/MZ3
-----END PGP SIGNATURE-----

--Apple-Mail=_BFD764D7-C81F-4628-8F91-27773C9FE0D9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DD7B4625-9CE9-4639-A6BE-414B1E0CD319>