Date: Sat, 31 Mar 2001 13:10:53 -0500 From: Will Andrews <will@physics.purdue.edu> To: Dan Langille <dan@langille.org> Cc: freebsd-ports@FreeBSD.ORG Subject: Re: Error: your port uses an old layout. Message-ID: <20010331131052.E15392@casimir.physics.purdue.edu> In-Reply-To: <200103310749.f2V7mxf78610@ns1.unixathome.org>; from dan@langille.org on Sat, Mar 31, 2001 at 07:48:58PM %2B1200 References: <200103310749.f2V7mxf78610@ns1.unixathome.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--q/d9vTEvvdeKbPNw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 31, 2001 at 07:48:58PM +1200, Dan Langille wrote: > 2 - Perhaps this will be answered by Q1, but: Lately, the most common=20 > solution I've seen hadned out is rm -rf /usr/ports and cvsup again. Not= =20 > only is that a huge waste of bandwidth, it's also a huge burdon on those= =20 > with dial up connections. Is there a more practical solution? Yes. A script to find and prune all the old stuff is more practical. Only problem is, nobody's written one yet. The suspects in particular are all of the pkg/ and patches/ directories. This is a quick hack script (and untested too, but I doubt it will harm): find . -name pkg -type d -mindepth 3 -maxdepth 3 | xargs rm -rf find . -name patches -type d -mindepth 3 -maxdepth 3 | xargs rm -rf find . -name md5 -type f -mindepth 4 -maxdepth 4 | xargs rm -rf In the toplevel of your ports tree (i.e. you cd /usr/ports before this.. I've made this a bit more flexible in case someone renamed their ports directory to something else). Only problem is this kind of thing can take awhile... --=20 wca --q/d9vTEvvdeKbPNw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6xh2sF47idPgWcsURAlXXAJ9BxiqooSk0YlC5c4xUdZ+q4/pHfgCeI59f jhbWS8vWdZn5mAU8dZVeVA8= =v5sN -----END PGP SIGNATURE----- --q/d9vTEvvdeKbPNw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010331131052.E15392>