From owner-cvs-all@FreeBSD.ORG Wed Apr 4 21:33:12 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29C7216A403; Wed, 4 Apr 2007 21:33:12 +0000 (UTC) (envelope-from jason@wilma.widomaker.com) Received: from wilma.widomaker.com (ip204-238-183-243.east.widomaker.com [204.238.183.243]) by mx1.freebsd.org (Postfix) with ESMTP id 5416313C43E; Wed, 4 Apr 2007 21:33:11 +0000 (UTC) (envelope-from jason@wilma.widomaker.com) Received: from wilma.widomaker.com (localhost [127.0.0.1]) by wilma.widomaker.com (8.13.8/8.13.6) with ESMTP id l34LX9qO018126; Wed, 4 Apr 2007 17:33:10 -0400 (EDT) (envelope-from jason@wilma.widomaker.com) Received: (from jason@localhost) by wilma.widomaker.com (8.13.8/8.13.6/Submit) id l34LX9Ob018125; Wed, 4 Apr 2007 17:33:09 -0400 (EDT) (envelope-from jason) Date: Wed, 4 Apr 2007 17:33:09 -0400 From: Jason Harris To: Rong-En Fan , Gabor Kovesdan Message-ID: <20070404213309.GA18092@wilma.widomaker.com> References: <200704041702.l34H222T004152__31953.9864351556$1175706304$gmane$org@repoman.freebsd.org> <20070404191038.GA15948@wilma.widomaker.com> <4613FB27.9030107@FreeBSD.org> <200704041702.l34H222T004152__31953.9864351556$1175706304$gmane$org@repoman.freebsd.org> <20070404191038.GA15948@wilma.widomaker.com> <20070404192011.GJ55471@svm.csie.ntu.edu.tw> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: <4613FB27.9030107@FreeBSD.org> <20070404192011.GJ55471@svm.csie.ntu.edu.tw> User-Agent: Mutt/1.4.2.1i Cc: cvs-ports@FreeBSD.org, Jason Harris , cvs-all@FreeBSD.org, Mark Linimon , ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/ports-mgmt/portmk/Mk bsd.port.mk X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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, 04 Apr 2007 21:33:12 -0000 --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 05, 2007 at 03:20:11AM +0800, Rong-En Fan wrote: > On Wed, Apr 04, 2007 at 03:10:38PM -0400, Jason Harris wrote: > > Rather than invoke dozens of needless processes, I simply pass > > MD5_FILE=3D/dev/null to the "make fetch" in the makesum target. > > (Note that this also removes the need to set NO_CHECKSUM=3Dyes and > > DISABLE_SIZE=3Dyes in the same target, further simplfying things.) >=20 > Note that it does not solve 'make fetch' when there is no MD5_FILE > (this is another regression with latest bsd.port.mk). DISTINFO_DATA > still needs to check existence of MD5_FILE. Remember, this is the "make makesum" step we're all (supposed to be) talking about. That is, MD5_FILE is truncated to 0 bytes and is added to in several steps. The regression, AFAICT, is that awk is run when MD5_FILE doesn't exist (rather than empty/truncated), returns non-zero, and kills the make. On Wed, Apr 04, 2007 at 09:23:19PM +0200, Gabor Kovesdan wrote: > >Rather than invoke dozens of needless processes, I simply pass > >MD5_FILE=3D/dev/null to the "make fetch" in the makesum target. > even officially supported. You claimed that I don't respect the users'=20 > need for higher security. Saying that, how can you go such an insecure=20 > way now, then? > (I don't want to throw another flamebait, I just don't see the whole=20 > situation.) Indeed. To reiterate, this is the "make makesum" step, where MD5_FILE is [re]created, not consulted. --=20 Jason Harris | NIC: JH329, PGP: This _is_ PGP-signed, isn't it? jharris@widomaker.com _|_ web: http://keyserver.kjsl.com/~jharris/ Got photons? (TM), (C) 2004 --9amGYk9869ThD9tj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iJ0EARECAF0FAkYUGZRWGGh0dHA6Ly9rZXlzZXJ2ZXIua2pzbC5jb206MTEzNzEv cGtzL2xvb2t1cD9vcD1nZXQmc2VhcmNoPTB4RDM5REEwRTMmd2VoYXZleW91bm93 PXRydWUACgkQSypIl9OdoOMaBQCgxZimemOYklHF1vEqCKsujBsmWCsAn1bCn2Ix Z5BBJThwJz7WIMG1Cz8j =YldZ -----END PGP SIGNATURE----- --9amGYk9869ThD9tj--