atom feed9 messages in org.freebsd.freebsd-questionsRe: portupgrade, batch mode?
FromSent OnAttachments
n dhertFeb 7, 2010 3:59 am 
Dánielisz LászlóFeb 7, 2010 4:13 am 
Manolis KiagiasFeb 7, 2010 4:30 am 
Frank ShuteFeb 7, 2010 11:31 am 
Randal L. SchwartzFeb 7, 2010 12:26 pm 
Frank ShuteFeb 7, 2010 1:23 pm 
Randal L. SchwartzFeb 7, 2010 1:37 pm 
Matthew SeamanFeb 7, 2010 11:55 pm 
Neil ShortFeb 8, 2010 7:33 am 
Subject:Re: portupgrade, batch mode?
From:Randal L. Schwartz (mer@stonehenge.com)
Date:Feb 7, 2010 1:37:55 pm
List:org.freebsd.freebsd-questions

"Frank" == Frank Shute <fra@shute.org.uk> writes:

Frank> All the Perl ports I've installed (e.g p5-*) have just installed for Frank> me without any curses options menu.

Lucky. :)

Frank> Although I'd describe you as a "Perl power user" and undoubtedly have Frank> more Perl ports installed than I have.

red.stonehenge.com:~ +# pkg_info | grep -c 'p5-' 3314 red.stonehenge.com:~ +# cat MAKE_ALL_PERL_PORTS #!/bin/sh

cd /usr/ports || exit 1

pkg_info -q -o -a >/tmp/$$

for i in `ls -d */p5* | fgrep -vxf /tmp/$$` do if pkg_info -q -O $i | grep -q . then echo "SKIPPING $i - INSTALLED"; else ( cd $i && echo "<== $i ==>" && if make missing | grep -v '/p5-' then echo "SKIPPING $i - DEPENDENCIES" else ( trap ':' 2 make BATCH=yes install clean </dev/null ) fi ) fi done

Yes, I have actually installed all Perl ports that depend only on other CPAN modules, and not anything else that I didn't already have installed.

Frank> Are you talking about ports that depend on Perl? Can you give an Frank> example of a Perl port that asks you questions? Don't mean to be Frank> obstructive in any way; genuinely curious as AFAICR I haven't come Frank> across one.

I wish I could remember. Just that something comes up every once in a while and I curse that the upgrade has stopped. :)