Date: Thu, 18 Aug 2005 16:00:12 -0300 (BRT) From: Marcus Grando <marcus@corp.grupos.com.br> To: FreeBSD-gnats-submit@FreeBSD.org Subject: conf/85096: Does not include empty dirs in ports.tgz Message-ID: <200508181900.j7IJ0Ci6047352@marcus.grupos.com.br> Resent-Message-ID: <200508181900.j7IJ0Z9b050146@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508181900.j7IJ0Ci6047352>