From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 6 21:44:23 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE69E1065678; Sun, 6 Jul 2008 21:44:23 +0000 (UTC) (envelope-from beech@freebsd.org) Received: from freebsd.alaskaparadise.com (freebsd.alaskaparadise.com [208.79.80.117]) by mx1.freebsd.org (Postfix) with ESMTP id BEEB78FC14; Sun, 6 Jul 2008 21:44:23 +0000 (UTC) (envelope-from beech@freebsd.org) Received: from 194-33-178-69.gci.net (194-33-178-69.gci.net [69.178.33.194]) by freebsd.alaskaparadise.com (Postfix) with ESMTP id A765A23833C5; Sun, 6 Jul 2008 21:26:38 +0000 (UTC) From: Beech Rintoul To: freebsd-hackers@freebsd.org Date: Sun, 6 Jul 2008 13:26:21 -0800 User-Agent: KMail/1.9.7 References: <200805182328.45822.beech@freebsd.org> <200805182355.24787.beech@freebsd.org> In-Reply-To: <200805182355.24787.beech@freebsd.org> X-Face: jC2w\k*Q1\0DA2Q0Eh&BrP/Rt2M,^2O#R07VoT98m*>miQF9%Bi9vy`F6cPjwEe?m,)=?utf-8?q?2=0A=09X=3FM=5C=3AOE9QgZ?="xT3/n3,3MJ7N=Cfkmi%f(w^~X"SUxn>; 27NO; C+)g[7J`$G*SN>{<=?utf-8?q?O=3Bg7=7C=0A=09o=7D=265A=5D4?=@7D`=Eb@Zs1Ln814?]|k@'bG=.Ca"[|8+_.OsNAo8!#?4u MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807061326.30152.beech@freebsd.org> Cc: Stanislav Sedov , Beech Rintoul Subject: Re: Help with copytree code X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Beech Rintoul List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2008 21:44:24 -0000 On Sunday 18 May 2008, Beech Rintoul said: > On Sunday 18 May 2008, Beech Rintoul said: > > This copytree code is from bsd.port.mk, and I've been asked to > > try and find a fix. This is very handy for installing a whole > > tree (like a web app) keeping everything intact. It wasn't > > designed to copy to a populated directory so it affects > > everything in that dir, not just what's being installed. We need > > to keep it's > > functionality, but a fix is more than I can come up with. So I > > thought I'd ask you code gurus to help. If this can be fixed many > > will thank you! > > > > I attached it so it won't get line wrapped. > > > > Thanks, > > > > Beech > > Looks like it got stripped off, so I posted it here: > > http://www.alaskaparadise.com/freebsd/copytree_code I'd just like to thank stas@ and everyone who replied with suggestions, code etc. I believe that I now have something workable and it's been submitted to portmgr for review and possible inclusion in bsd.port.mk along with some new features of my own. Hopefully, this will fix a long standing problem with copytree_*. Once again thanks all :-) Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/7.0R/announce.html ---------------------------------------------------------------------------------------