From owner-cvs-ports@FreeBSD.ORG Tue Oct 2 04:49:50 2007 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1F2B16A418; Tue, 2 Oct 2007 04:49:50 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C54E313C45D; Tue, 2 Oct 2007 04:49:50 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l924noTo095097; Tue, 2 Oct 2007 04:49:50 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l924nocl095096; Tue, 2 Oct 2007 04:49:50 GMT (envelope-from dougb) Message-Id: <200710020449.l924nocl095096@repoman.freebsd.org> From: Doug Barton Date: Tue, 2 Oct 2007 04:49:47 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/ports-mgmt/portmaster/files portmaster.sh.in X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2007 04:49:50 -0000 dougb 2007-10-02 04:49:47 UTC FreeBSD ports repository Modified files: ports-mgmt/portmaster/files portmaster.sh.in Log: New Features ============ 1. Switch to saving distfile info in /var/db/ports/$name/distfiles ala PR http://www.freebsd.org/cgi/query-pr.cgi?pr=106483 2. Keep track of distfiles we've already examined so we won't have to do them again (or print the "keeping" message for -v more than once). This has more benefit the more distfiles a port has. 3. Add all distfiles for the new port to DI_FILES after install. This only makes a difference in a few cases, but it's easy to do. Bug Fixes ========= 1. Make sure that $distdir always has a trailing slash in case it is a symlink. [1] 2. In delete_stale(), test whether or not a file is in the _current_ distfile list to make sure that it is not auto_deleted by mistake. [1] 3. When building DI_FILES, only use lines starting with MD5 to avoid adding every file > 1 time. 4. Only run read_distinfos() when we really need it. [1] Inspired by ... PR: ports/116298 Submitted by: NIIMI Satoshi Revision Changes Path 1.21 +76 -38 ports/ports-mgmt/portmaster/files/portmaster.sh.in