conf/85096: Does not include empty dirs in ports.tgz
Marcus Grando
marcus at corp.grupos.com.br
Thu Aug 18 19:00:37 GMT 2005
>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 at 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:
More information about the freebsd-bugs
mailing list