Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Sep 2008 18:41:22 +0900
From:      "Akinori MUSHA" <knu@iDaemons.org>
To:        Beech Rintoul <beech@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: COPYTREE_AUTO
Message-ID:  <863akhy3b1.knu@iDaemons.org>
In-Reply-To: <200809030121.46325.beech@freebsd.org>
References:  <864p4xy5kh.knu@iDaemons.org> <200809030121.46325.beech@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--pgp-sign-Multipart_Wed_Sep__3_18:41:22_2008-1
Content-Type: text/plain; charset=US-ASCII

Hi,

At Wed, 3 Sep 2008 01:21:41 -0800,
Beech Rintoul wrote:
> On Wednesday 03 September 2008, Akinori MUSHA said:
> > Hi,
> >
> > What about adding COPYTREE_AUTO defined as below?
> >
> > You often need some scripts in an example directory to have
> > executable bits so that the examples actually work, and it is waste
> > of time to sort files out into COPYTREE_BIN and COPYTREE_SHARE when
> > they already have proper bits out of the tarball.
(snip)
> I'm working on this with portmgr. The first step is to fix copytree.
> If you try and use copytree_bin you will end up hosing
> your /usr/local/bin dir. I have already submitted some fixed code and

Indeed.  The find $target -exec chmod .. part is extremely dangerous
and that's why I was only using copytree macros for installing
examples and documents.

> was planning on adding copytree_www, so adding copytree_auto won't be
> a big problem. This is all strictly portmgr territory, so it's up to
> whatever they decide.

I can wait until the copytree stuff are properly reimplemented.  No
problem.  I just put COPYTREE_AUTO in databases/mysql-q4m for my own
purpose and am still looking around to see how other people do to
install many files.

Regards,

--
Akinori MUSHA / http://akinori.org/

--pgp-sign-Multipart_Wed_Sep__3_18:41:22_2008-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

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

iEYEABECAAYFAki+W8IACgkQkgvvx5/Z4e7YIwCfZu+Z3O2GCZWC2Pt7q2cTEFQB
+XkAoNlbi1nFVBOnwmBKMjMz0exQvxhf
=ZemJ
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Wed_Sep__3_18:41:22_2008-1--



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