From root@marcus.grupos.com.br Thu Aug 18 19:00:16 2005 Return-Path: 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 Reply-To: Marcus Grando To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: Does not include empty dirs in ports.tgz X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 85096 >Category: conf >Synopsis: Does not include empty dirs in ports.tgz >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Aug 18 19:00:35 GMT 2005 >Closed-Date: Thu Aug 18 20:41:45 GMT 2005 >Last-Modified: Thu Aug 18 20:41:45 GMT 2005 >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: State-Changed-From-To: open->closed State-Changed-By: cperciva State-Changed-When: Thu Aug 18 20:41:23 GMT 2005 State-Changed-Why: Submitter agrees that this PR can be closed. http://www.freebsd.org/cgi/query-pr.cgi?pr=85096 >Unformatted: