ports/125428: make portmaster ignore bsdpan packages instead of failing

Bapt baptiste.daroussin at gmail.com
Wed Jul 9 10:40:02 UTC 2008


>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 at 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:



More information about the freebsd-ports-bugs mailing list