From owner-freebsd-ports@FreeBSD.ORG Sun Apr 19 18:03:08 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5AB31065675 for ; Sun, 19 Apr 2009 18:03:08 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f0f:20:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id 80C348FC12 for ; Sun, 19 Apr 2009 18:03:08 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f0f:20:1::5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id n3JI37mL079296 for ; Sun, 19 Apr 2009 13:03:07 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Sun, 19 Apr 2009 13:03:07 -0500 (CDT) From: "Sean C. Farley" To: freebsd-ports@FreeBSD.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Spam-Status: No, score=-2.6 required=4.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: Subject: COPYTREE_SHARE behavior (7.x and earlier vs. 8.x) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Apr 2009 18:03:08 -0000 As noted in ports/131535[1] concerning the install of Skype, I noticed that COPYTREE_SHARE behaves differently on FreeBSD 7.x and earlier than it does on 8.x. Here is my note on the PR: ---------------- I think I see the issue. It is with the cpio call in COPYTREE_SHARE. GNU cpio 2.6 on FreeBSD 7 creates directories with umask set to 077. bsdcpio as found in FreeBSD 8 uses the user's umask. Setup: cd /usr/ports/net/skype make cd work/skype_static-2.0.0.72-oss Tests (make sure to delete to destination directory first) on a RELENG_7 system: /usr/bin/find -d avatars icons sounds lang | /usr/FreeBSD/HEAD/src/usr.bin/cpio/bsdcpio -dumpl /tmp/usr/local/share/skype/ /usr/bin/find -d avatars icons sounds lang | /usr/bin/cpio -dumpl /tmp/usr/local/share/skype/ I think creating the directory first should solve the problem. ---------------- There is probably a better solution than creating the directory first, but I just wanted to make sure people saw this. Sean P.S. I tried to tell beech about this, but E-mail to him is being rejected. Anyone else have any luck? 1. http://www.freebsd.org/cgi/query-pr.cgi?pr=131535 -- scf@FreeBSD.org