From owner-cvs-all@FreeBSD.ORG Wed Jul 14 10:19:13 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15BB916A4CE; Wed, 14 Jul 2004 10:19:13 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E7D343D46; Wed, 14 Jul 2004 10:19:13 +0000 (GMT) (envelope-from kris@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i6EAJCDw000602; Wed, 14 Jul 2004 10:19:12 GMT (envelope-from kris@repoman.freebsd.org) Received: (from kris@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6EAJCjS000601; Wed, 14 Jul 2004 10:19:12 GMT (envelope-from kris) Message-Id: <200407141019.i6EAJCjS000601@repoman.freebsd.org> From: Kris Kennaway Date: Wed, 14 Jul 2004 10:19:12 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/Tools/portbuild/scripts buildscript X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 10:19:13 -0000 kris 2004-07-14 10:19:12 UTC FreeBSD ports repository Modified files: Tools/portbuild/scripts buildscript Log: * Add a cleanup() function and use it so that we archive the ${WRKDIR} if requested (".keep" file in the port directory), no matter where we fail. * Add package dependencies before the corresponding build stage (e.g. FETCH_DEPENDS before 'make fetch'), and remove them again afterwards. This allows us to catch ports that list their dependencies too early/late. * No need to check for set[ug]id files here, the security-check target in bsd.port.mk does it for us. * Exclude some more directories and files from showing up in the mtree before/after comparison, to trim down the false-positive in the pkg-plist check. * Other minor changes Revision Changes Path 1.16 +122 -68 ports/Tools/portbuild/scripts/buildscript