Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2013 21:33:29 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Warren Block <wblock@wonkity.com>
Cc:        ports@FreeBSD.org
Subject:   Re: Making sample files easier
Message-ID:  <522155F9.9020709@FreeBSD.org>
In-Reply-To: <alpine.BSF.2.00.1308301858460.3091@wonkity.com>
References:  <alpine.BSF.2.00.1308301858460.3091@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--NeCbxcoBGAGlTDWj1veJdo1ia8L2r7tpm
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 8/30/2013 9:10 PM, Warren Block wrote:
> Sample files, like sample configuration files, are supposed to be
> installed if there is no identical file present.  If a user-modified
> version is present, the sample file should not overwrite it, nor should=

> that user-modified file be removed on deinstall.  But unmodified sample=

> files should be removed on deinstall.
>=20
> The logic to do this is confusing, full of double negatives and multipl=
e
> conditionals.  The plist has to be modified.  It ends up being scripted=

> in the Makefile or elsewhere, inconsistently.
>=20
> Is there any reason a standard SAMPLE_FILES=3D can't be used?  Define
> files that are samples there, and let a system Makefile handle it
> consistently and make things easier for the port maintainer and the use=
r.
>=20
> Maybe something like this is planned?

Sure, makes sense to me. Someone just needs to implement it.

--=20
Regards,
Bryan Drewery


--NeCbxcoBGAGlTDWj1veJdo1ia8L2r7tpm
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSIVX5AAoJEG54KsA8mwz53gwQALLC4ek23xCNxmk/QssIsx1t
HWrXOW+EmTGr00BHOBxonJu7tfbTk8N6WqG4wDo7vGo5aT1yd7AG09q+7KM63Gq6
F0DOv9C6xe90x9HrOQqFMB4ccKYPjar7UPpH5Adr9V9X2kr/x8BjJ2VnNWsOSR+t
NYqY0Nvq0y+UQak2Hb36vAc0fj96A4TC6MNbgJVbRzZPEOnLQSadVlqrZsDnKAnY
yekF0VoqE45Nna1usJ5de2FwPew685JJv6aQ8RWVv0/9rkQ/hGuoEYuWgGYhsSFV
viju4JRORwqnOGxxRLfVebkYA09JScVu2aKh9sYZPOuvT7D46DeZQUsmKeUbpxyP
jpKuA+1jfscIWE37uow/5NOA1fO/Pt95vEXdieY/4w18k2eWMUgE7xiRCpI60kB6
Mt50uplsFvonSIyZCLLB3ceq4g98bU+fqn9gexa8b/O1xv6clKO6jJQjudlW8DFK
+Po7ZdmhxJ4oEaDhoucYQM6EIs+Axf35OcwYEu/frajoZok3C+++UU9zuLizbH0S
ffszgQ61W7cK7taExJ02O3AYjVizL84ySIe1at8aa8GuqYqY3PDIgphv0aaXlQJ2
TODDEhHRKCQEtq7FqybqTAt2D9/3ZAR3PMbgX8UGXfEtKpAQHDkQ/dhftvzkWt3e
n9XIZ3gpb2LHtmmlaFKH
=Y5Su
-----END PGP SIGNATURE-----

--NeCbxcoBGAGlTDWj1veJdo1ia8L2r7tpm--



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