From owner-freebsd-bugs@FreeBSD.ORG Thu Aug 18 19:00:37 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74E2616A41F for ; Thu, 18 Aug 2005 19:00:37 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1F8143D58 for ; Thu, 18 Aug 2005 19:00:35 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7IJ0ZfC050155 for ; Thu, 18 Aug 2005 19:00:35 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7IJ0Z9b050146; Thu, 18 Aug 2005 19:00:35 GMT (envelope-from gnats) Resent-Date: Thu, 18 Aug 2005 19:00:35 GMT Resent-Message-Id: <200508181900.j7IJ0Z9b050146@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marcus Grando Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A01B16A41F for ; Thu, 18 Aug 2005 19:00:16 +0000 (GMT) (envelope-from root@marcus.grupos.com.br) Received: from mail.grupos.com.br (mail.grupos.com.br [200.203.183.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 812D843D48 for ; Thu, 18 Aug 2005 19:00:15 +0000 (GMT) (envelope-from root@marcus.grupos.com.br) Received: from corp.grupos.com.br (unknown [150.162.166.55]) by mail.grupos.com.br (Postfix) with ESMTP id C6EDC11E2F5 for ; Thu, 18 Aug 2005 16:00:13 -0300 (BRT) Received: from marcus.grupos.com.br (unknown [150.162.166.51]) by corp.grupos.com.br (Postfix) with ESMTP id A592D5612 for ; Thu, 18 Aug 2005 16:00:13 -0300 (BRT) Received: from marcus.grupos.com.br (localhost [127.0.0.1]) by marcus.grupos.com.br (8.13.4/8.13.4) with ESMTP id j7IJ0DqG047353 for ; Thu, 18 Aug 2005 16:00:13 -0300 (BRT) (envelope-from root@marcus.grupos.com.br) Received: (from root@localhost) by marcus.grupos.com.br (8.13.4/8.13.4/Submit) id j7IJ0Ci6047352; Thu, 18 Aug 2005 16:00:12 -0300 (BRT) (envelope-from root) Message-Id: <200508181900.j7IJ0Ci6047352@marcus.grupos.com.br> Date: Thu, 18 Aug 2005 16:00:12 -0300 (BRT) From: Marcus Grando To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: conf/85096: Does not include empty dirs in ports.tgz X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcus Grando List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2005 19:00:37 -0000 >Number: 85096 >Category: conf >Synopsis: Does not include empty dirs in ports.tgz >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Aug 18 19:00:35 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Marcus Grando >Release: FreeBSD 6.0-BETA2 i386 >Organization: Grupos Internet S/A >Environment: System: FreeBSD marcus.grupos.com.br 6.0-BETA2 FreeBSD 6.0-BETA2 #11: Wed Aug 17 10:07:10 BRT 2005 root@marcus.grupos.com.br:/usr/obj/usr/src/sys/MARCUS i386 >Description: - Does not include empty dirs in ports.tgz >How-To-Repeat: >Fix: --- release::Makefile.patch begins here --- --- release/Makefile.orig Mon Jul 11 13:06:30 2005 +++ release/Makefile Thu Aug 18 15:47:05 2005 @@ -651,8 +651,10 @@ @rm -rf ${RD}/dists/ports/ports* @mkdir -p ${RD}/dists/ports @echo rolling ports/ports tarball - @tar --exclude CVS --exclude 'ports/distfiles/*' \ + @find ports -type d -empty | grep -v distfiles > empty.dirs + @tar --exclude CVS --exclude 'ports/distfiles/*' -X empty.dirs \ -czf ${RD}/dists/ports/ports.tgz -C /usr ports + @rm empty.dirs @cp ${.CURDIR}/scripts/ports-install.sh ${RD}/dists/ports/install.sh @(cd ${RD}/dists/ports; \ rm -f CHECKSUM.MD5; \ --- release::Makefile.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: