Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  9 Jul 2008 12:37:39 +0200 (CEST)
From:      Bapt <baptiste.daroussin@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/125428: make portmaster ignore bsdpan packages instead of failing
Message-ID:  <20080709103739.6489DF2E60@wicklow.lan>
Resent-Message-ID: <200807091040.m69Ae2Ud018386@freefall.freebsd.org>

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

>Number:         125428
>Category:       ports
>Synopsis:       make portmaster ignore bsdpan packages instead of failing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 09 10:40:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Bapt
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD wicklow.lan 7.0-STABLE FreeBSD 7.0-STABLE #5: Sat Jun 21 19:11:53 CEST 2008 root@wicklow.lan:/usr/obj/usr/src/sys/WICKLOW i386


	
>Description:
	Currently when upgrading the while ports with portmaster -a for exemple, it fails becuase of bsdpan if you have some.
Here is a patch to just ignore bsdpan packages 
>How-To-Repeat:
	
>Fix:

	

--- portmaster-ignorebsdpan.patch begins here ---
--- portmaster.orig	2008-06-22 20:43:45.000000000 +0200
+++ /usr/local/sbin/portmaster	2008-07-09 12:33:46.000000000 +0200
@@ -1803,6 +1803,14 @@
 	fi
 fi
 
+case $upg_port in 
+	bsdpan*) 
+		echo ''
+		echo "====>>> ignoring $upg_port"
+		echo ''
+		safe_exit
+		;;
+esac
 if [ -n "$upg_port" -a -z "$REPLACE_ORIGIN" ]; then
 	portdir=`origin_from_pdb $upg_port`
 	[ -n "$portdir" ] || fail "No ORIGIN in $pdb/$upg_port/+CONTENTS"
--- portmaster-ignorebsdpan.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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