Date: Wed, 21 Jul 2010 20:12:52 -0400 From: Greg Larkin <glarkin@FreeBSD.org> To: claudiu vasadi <claudiu.vasadi@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: rmconfig from all ports tree Message-ID: <4C478D04.6020005@FreeBSD.org> In-Reply-To: <AANLkTilrDpZrfZndEXBl0tTOcvWTSH5PNyZk0KML-JTW@mail.gmail.com> References: <AANLkTimgAAZPQ6HBB7gjYd1AdjkFgteTuCDHG1HAc-vJ@mail.gmail.com> <AANLkTilrDpZrfZndEXBl0tTOcvWTSH5PNyZk0KML-JTW@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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.
>
>
> Another thing would be to make rmconfig in all dir's that are required to be
> installed by a particular meta-port, for instance kde/gnome/xfce.
Hi Claudiu,
You can use one of these two targets:
rmconfig - Remove the options config for this port.
rmconfig-recursive - Remove the options config for this port and
all dependencies.
Or, if you want to use a big hammer and remove all configs for all
ports, use:
find /var/db/ports -type f -name options -print | xargs rm
Hope that helps,
Greg
- --
Greg Larkin
http://www.FreeBSD.org/ - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFMR40E0sRouByUApARAiAxAJ4tTVUwd1HdU1ZqZsTZdpmmHfK5swCdG4CL
OG68m0jqHWogajdG0rn/ZSU=
=ns+l
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C478D04.6020005>
