Identify obsolete ports

This commit is contained in:
Brian Somers 2001-03-25 11:35:22 +00:00
parent 4161cdbce1
commit a1f792ba64
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74776

View File

@ -19,7 +19,8 @@ case "$weekly_status_pkg_enable" in
rc=$(pkg_version -v |
sed -n -e 's/^\([^ ]*\) *< */ \1 /p' \
-e '/^[^ ]*-\([^ ]*\) *\* *multiple versions.*[ ,]\1[,)].*/d' \
-e 's/^\([^ ]*\) *\* *multiple versions.*\((.*\)/ \1 needs updating \2/p' |
-e 's/^\([^ ]*\) *\* *multiple versions.*\((.*\)/ \1 needs updating \2/p' \
-e 's/^\([^ ]*-[^ ]*\) *? *unknown in index/ \1 is obsolete/p' |
tee /dev/stderr |
wc -l)
[ $rc -gt 1 ] && rc=1;;