Re: rmconfig from all ports tree

2010-07-22 Thread Paul Schmehl
--On Thursday, July 22, 2010 02:21:59 +0200 claudiu vasadi claudiu.vas...@gmail.com wrote: Hi Greg, Thanks for the rmconfig-recursive. I did not know about it. Nor did I. And it begs the question - is there a way to find out what all the make targets are in /usr/ports? Is this documented

Re: rmconfig from all ports tree

2010-07-22 Thread Polytropon
On Thu, 22 Jul 2010 12:15:10 -0500, Paul Schmehl pschmehl_li...@tx.rr.com wrote: And it begs the question - is there a way to find out what all the make targets are in /usr/ports? Is this documented anywhere? Yes, man 7 ports, section TARGETS. -- Polytropon Magdeburg, Germany Happy FreeBSD

Re: rmconfig from all ports tree

2010-07-22 Thread Glen Barber
On 7/22/10 1:15 PM, Paul Schmehl wrote: --On Thursday, July 22, 2010 02:21:59 +0200 claudiu vasadi claudiu.vas...@gmail.com wrote: Hi Greg, Thanks for the rmconfig-recursive. I did not know about it. Nor did I. And it begs the question - is there a way to find out what all the make targets

rmconfig from all ports tree

2010-07-21 Thread claudiu vasadi
hello guys, is there a way to do make rmconfig for all ports at once ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: rmconfig from all ports tree

2010-07-21 Thread claudiu vasadi
one solution I just created would be: for i in `find /usr/ports/ -type directory -print`; do `cd $i make rmconfig`;done but I am wondering if there is a official way. man portsclean did not give me any options to do it. Another thing would be to make rmconfig in all dir's that are required to

Re: rmconfig from all ports tree

2010-07-21 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 claudiu vasadi wrote: one solution I just created would be: for i in `find /usr/ports/ -type directory -print`; do `cd $i make rmconfig`;done but I am wondering if there is a official way. man portsclean did not give me any options to do it.

Re: rmconfig from all ports tree

2010-07-21 Thread Benjamin Lee
On 07/21/2010 04:38 PM, claudiu vasadi wrote: hello guys, is there a way to do make rmconfig for all ports at once ? The fastest way is: rm -rf /var/db/ports/* but this breaks the abstraction. The right thing to do would be to make rmconfig in each port directory. -- Benjamin Lee

Re: rmconfig from all ports tree

2010-07-21 Thread claudiu vasadi
Hi Greg, Thanks for the rmconfig-recursive. I did not know about it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: rmconfig from all ports tree

2010-07-21 Thread claudiu vasadi
in the meantime I wrote the following quick script: #!/bin/sh # Create a list of all dir's find /usr/ports/ -depth 2 -type directory -print ports_structure # for each discovered dir, cd into it and do rmconfig file=ports_structure while read dr1 do cd $dr1;make rmconfig done$file very

Re: rmconfig from all ports tree

2010-07-21 Thread Chip Camden
Quoth claudiu vasadi on Thursday, 22 July 2010: in the meantime I wrote the following quick script: #!/bin/sh # Create a list of all dir's find /usr/ports/ -depth 2 -type directory -print ports_structure # for each discovered dir, cd into it and do rmconfig file=ports_structure