From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 05:58:36 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D991B16A419 for ; Fri, 2 Nov 2007 05:58:36 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by mx1.freebsd.org (Postfix) with ESMTP id 4C6C013C48E for ; Fri, 2 Nov 2007 05:58:36 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so632078wxd for ; Thu, 01 Nov 2007 22:58:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=0+nHhlNsXMHjSTYFwo7il/dUOaJhASAmLgIjrcsUVLc=; b=PcnUQaIx70Q/7DZ+9aKZtxZcUaVh88Dd7ffNGqEkj42bjJgz7Kai6/Yz005mCi+mNB00fTBFDIsnN5h1pTIxWyg+Vc6JWORRWif1oJllnCPAEyS1oY5rvkNwd1RUyix3yTGncbcwpdj2oebLjZG5PsA4SPvfaT3BLYQU4wDSl1w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=ICKT2qy0sVsRyHyfk6bRst5iKuBnVGSD9AMVFkmg+GD1pg/TJ8tyih9xLC9G8MP/vlmVUzXvbTijfUtarGXyddAF+9+VWsPEkyTZc8fFxsqhKyYJAxFyPdRYgG9KGFSmccGM6ggkda+FSxHtngtN3TAQ913TgYIR4yIIvLlMHZw= Received: by 10.70.34.13 with SMTP id h13mr2043049wxh.1193983095193; Thu, 01 Nov 2007 22:58:15 -0700 (PDT) Received: from ?192.168.2.2? ( [67.85.89.184]) by mx.google.com with ESMTPS id e27sm4252047elf.2007.11.01.22.58.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 01 Nov 2007 22:58:14 -0700 (PDT) Message-ID: <472A83F2.4060301@gmail.com> Date: Thu, 01 Nov 2007 21:57:06 -0400 From: "Aryeh M. Friedman" User-Agent: Thunderbird 2.0.0.6 (X11/20071031) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <472A66EE.6060407@gmail.com> <20071102043043.GI3109@dan.emsphone.com> In-Reply-To: <20071102043043.GI3109@dan.emsphone.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] prevent install(1) from overwritting symlinks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 05:58:36 -0000 Dan Nelson wrote: > In the last episode (Nov 01), Aryeh M. Friedman said: > >> The below patch is designed to keep install(1) from overwriting symbolic >> links. The motivation is if cups is installed some programs still >> expect lpr to be in /usr/bin thus when I install cups I backlink the >> /usr/local/bin versions of lp* to /usr/bin. When a build/installworld >> is done these links are overwritten and the sym links have to be >> performed again. This patch prevents the overwrite. >> I just tested the patch against installworld/kernel and got: % make installworld|grep symbolic /usr/share/locale/sr_YU.UTF-8/LC_MONETARY is a symbolic link not modified /usr/bin/lp is a symbolic link not modified /usr/bin/lpq is a symbolic link not modified /usr/bin/lpr is a symbolic link not modified /usr/bin/lprm is a symbolic link not modified % make installkernel|grep symbolic [no output] Except for the 4 /bin/lp* enteries (which the patch is meant to preserve) the only issue seems to be /usr/share/locale/sr_YU.UTF-8/LC_MONETARY. Thus conclusion so far is the patch will not harm 8-Current.