From owner-freebsd-ruby@FreeBSD.ORG Sat Oct 30 10:06:46 2010 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A73881065672 for ; Sat, 30 Oct 2010 10:06:46 +0000 (UTC) (envelope-from caligula@primamail.de) Received: from mail.server-king.de (mail.server-king.de [IPv6:2001:6f8:1d0d::10]) by mx1.freebsd.org (Postfix) with ESMTP id 07B318FC12 for ; Sat, 30 Oct 2010 10:06:45 +0000 (UTC) Received: from geile-sau.puff.intern (geile-sau.puff.intern [192.168.75.11]) (authenticated bits=0) by mail.server-king.de (8.14.4/8.14.4) with ESMTP id o9UA6f73012734 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 30 Oct 2010 12:06:42 +0200 (CEST) (envelope-from caligula@primamail.de) DomainKey-Signature: a=rsa-sha1; s=mail.server-king.de; d=primamail.de; c=nofws; q=dns; h=dkim-signature:from:to:subject:date:user-agent: mime-version:content-type:content-transfer-encoding:message-id:x-greylist; b=PCDSs1jA0Xw899qe73YByuBW2JM674ARcaqkoSAagd0pRus8RwnDf/VBW3TLkJOeK nbPy53JllXKGo5a8eWxCqBwZBMMfuV/fTkVEyRCv0aZ07Uu0a5nngTJuk9y1iCDy9u3 aLyDAOV4sqMgpz7v7UYsLMszSJ0yrqmX5QEqR9E= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=primamail.de; s=mail.server-king.de; t=1288433203; bh=Chy8HD3jp/lBkZLBjFhsgIhgm+a9745g2bcCpIQz84M=; h=From:To:Subject:Date:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id; b=ADFYux6x9Hzn/krBG36nTGByjn/EJw1KGZSExMt6Xo8p8fbPgJEfa83h6Q685klDQ 4sV69Ots495Idz+lXx8Pw9Pq1FD8X89J46SM60UMti4Mna4lz4AVzLcDsmf9zMCn+D R0YT0AKxXFPp4bYzKN6ciqwj4wd4YkBhQ2jwiho4= From: =?iso-8859-1?q?J=FCrgen_Galonska?= To: ruby@freebsd.org Date: Sat, 30 Oct 2010 12:06:22 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-RELEASE-p1; KDE/4.5.2; i386; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart10744441.PI9y0DppL9"; protocol="application/pkcs7-signature"; micalg=sha1 Content-Transfer-Encoding: 7bit Message-Id: <201010301206.40679.caligula@primamail.de> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (mail.server-king.de [188.40.65.110]); Sat, 30 Oct 2010 12:06:43 +0200 (CEST) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: portupgrade-2.4.6_4,2 (patch for 'portsclean') X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Oct 2010 10:06:46 -0000 --nextPart10744441.PI9y0DppL9 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, would you mind applying the following patch to 'portsclean' from=20 portupgrade-2.4.6_4,2?=20 It fixes the problem of deleting all distfiles after the MD5/SHA256=20 switch. > diff -u /usr/local/sbin/portsclean.dist /usr/local/sbin/portsclean =2D-- /usr/local/sbin/portsclean.dist 2010-03-12 20:18:28.000000000 +01= 00 +++ /usr/local/sbin/portsclean 2010-10-30 10:15:11.000000000 +0200 @@ -609,7 +609,7 @@ =20 open(file) do |f| f.each do |line| =2D if /^MD5 \((.*)\) =3D / =3D~ line + if /^SHA256 \((.*)\) =3D / =3D~ line distfiles << $1 end end @@ -632,7 +632,7 @@ =20 distfiles else =2D file =3D $portsdb.make_var('MD5_FILE', portdir) + file =3D $portsdb.make_var('DISTINFO_FILE', portdir) =20 parse_distinfo(file) end Thank you very much. Regards, Juergen Galonska =2D-=20 J=FCrgen Galonska --nextPart10744441.PI9y0DppL9--