Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 2007 01:54:14 +0300
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        ports@freebsd.org
Subject:   Re: proper way to do a recursive install ?
Message-ID:  <20070202015414.1cd70d3d.stas@FreeBSD.org>
In-Reply-To: <20070201110345.A83474@xorpc.icir.org>
References:  <20070201110345.A83474@xorpc.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Fri__2_Feb_2007_01_54_14_+0300_Jq.9.sukuG=Sx7PY
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Thu, 1 Feb 2007 11:03:45 -0800
Luigi Rizzo <rizzo@icir.org> mentioned:
>
>     #--- this is pkg-plist 000
>     @exec mkdir -p %D/share/linux-bsd-kmod
>     @exec echo "installing into %D/share/linux-bsd-kmod"
>     @unexec echo "uninstalling into %D/share/linux-bsd-kmod"
>     @unexec rm -rf %D/share/linux-bsd-kmod
>

That seems to me to be not particulary good. That way you'll delete
files installed by user into ${PREFIX}/share/linux-bsd-kmod/ by hand.
It's not good to deinstall files not installed but port, as the one of
the major properties of ports system to not touch the target file
system at all.

There're also several reasons we prefer static pkg-plists over
dynamics. For the first, we has a lot of tools that deals with
pkg-plists so we can gather some information based on ports pkg-plists
automatically. The second reason - you can't be certainly sure that the
port will behave on the user's systems the same way as on your own.
Having static plists this behaviour can be checked and ensured that
all files was installed.

--
Stanislav Sedov
ST4096-RIPE

--Signature=_Fri__2_Feb_2007_01_54_14_+0300_Jq.9.sukuG=Sx7PY
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFFwm+WK/VZk+smlYERAhihAJ44075XtsoWtSzPgF0mG6kkwwEJigCghXpU
6KINxQ9b+KXdD0JiwnrALKM=
=l7iz
-----END PGP SIGNATURE-----

--Signature=_Fri__2_Feb_2007_01_54_14_+0300_Jq.9.sukuG=Sx7PY--



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