From owner-cvs-all Tue Aug 29 0:57:16 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8CFFF37B423; Tue, 29 Aug 2000 00:57:09 -0700 (PDT) Received: (from asami@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id AAA14102; Tue, 29 Aug 2000 00:57:09 -0700 (PDT) (envelope-from asami@FreeBSD.org) Message-Id: <200008290757.AAA14102@freefall.freebsd.org> From: Satoshi Asami Date: Tue, 29 Aug 2000 00:57:09 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/Tools/portbuild/scripts dodistfiles X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG asami 2000/08/29 00:57:09 PDT Added files: Tools/portbuild/scripts dodistfiles Log: A small script to copy distfiles from per-port directory to central location. This is done to avoid write-on-write race conditions, when two package builds try to write the same distfile back into the server. To avoid this, the distfiles are first copied over to distfiles/.pbtmp/${PKGNAME}, and then a .done file is created in that directory. This script runs on the server periodically to copy the files to the central location. Since this script copies one distfile at a time, the race mentioned above doesn't exist. Also, it will only copy files from directories where the .done file exists to avoid read-before-write race conditions. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message