Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2001 01:45:08 +0100
From:      "Andre Goeree" <abgoeree@wish.net>
To:        msmith@freebsd.org
Cc:        ports@freebsd.org
Subject:   sysutils/pib marked as broken [patch]
Message-ID:  <20011122014508.A822@mandark.attica.home>

next in thread | raw e-mail | index | archive | help

--xHFwDpU9dbj6ez1V
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello,

I noticed that sysutils/pib is now marked broken because it doesn't
handle the new ports layout. Although i did not investigate the PR
that lead to this, I have some idea about what causes the breakage.
Attached to this message is the patch that I use since the new ports
layout. I am not sure if my patch will solve the problem in all cases
but at least it works for me.

HTH,
-ago

--xHFwDpU9dbj6ez1V
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pib.tcl.diff"

--- pib.tcl.orig	Sat Oct 28 09:01:12 2000
+++ pib.tcl	Sun Feb 11 10:26:58 2001
@@ -1931,7 +1931,7 @@
 	update_pwin df_getdinfo [format "%d/%d ports, %dK/sec" $pports $Status(nports) $rate];
 
 	# Find the md5 file.
-	if {[catch {set fh [open "$path/files/md5" "r"]}]} {
+	if {[catch {set fh [open "$path/distinfo" "r"]}]} {
 
 	    # Nope.  Perhaps we're dealing with US ITAR braindamage
 	    if {[op_elookup USA_RESIDENT]} {
@@ -1946,7 +1946,7 @@
 		# Can't find an md5 file; give up
 		if {[file isdirectory "$path/files"]} {
 		    if {$Options(warn_no_md5)} {
-			lappend errs "$pname: '$path/files/md5' not found";
+			lappend errs "$pname: '$path/distinfo' not found";
 		    }
 		} else {
 		    if {[file isdirectory $path]} {

--xHFwDpU9dbj6ez1V--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011122014508.A822>