From owner-freebsd-ports Sat Mar 31 10:16:32 2001 Delivered-To: freebsd-ports@freebsd.org Received: from casimir.physics.purdue.edu (casimir.physics.purdue.edu [128.210.146.111]) by hub.freebsd.org (Postfix) with ESMTP id B859B37B71B for ; Sat, 31 Mar 2001 10:16:29 -0800 (PST) (envelope-from will@physics.purdue.edu) Received: by casimir.physics.purdue.edu (Postfix, from userid 1000) id 3DB7A1BD6F; Sat, 31 Mar 2001 13:10:53 -0500 (EST) Date: Sat, 31 Mar 2001 13:10:53 -0500 From: Will Andrews To: Dan Langille Cc: freebsd-ports@FreeBSD.ORG Subject: Re: Error: your port uses an old layout. Message-ID: <20010331131052.E15392@casimir.physics.purdue.edu> Reply-To: Will Andrews References: <200103310749.f2V7mxf78610@ns1.unixathome.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="q/d9vTEvvdeKbPNw" Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <200103310749.f2V7mxf78610@ns1.unixathome.org>; from dan@langille.org on Sat, Mar 31, 2001 at 07:48:58PM +1200 X-Operating-System: Linux 2.2.18 sparc64 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --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