From owner-freebsd-questions@FreeBSD.ORG Tue Oct 20 20:57:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00BF21065695 for ; Tue, 20 Oct 2009 20:57:12 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.freebsd.org (Postfix) with ESMTP id 71D138FC1F for ; Tue, 20 Oct 2009 20:57:10 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id n9KKv8Ri094106; Tue, 20 Oct 2009 22:57:08 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id E1FF6BA95; Tue, 20 Oct 2009 22:57:07 +0200 (CEST) Date: Tue, 20 Oct 2009 22:57:07 +0200 From: Roland Smith To: Noah Message-ID: <20091020205707.GA59474@slackbox.xs4all.nl> References: <4ADE1F2A.6020601@enabled.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Content-Disposition: inline In-Reply-To: <4ADE1F2A.6020601@enabled.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: User Questions Subject: Re: how to build from ports without downloading ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2009 20:57:12 -0000 --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 20, 2009 at 01:35:54PM -0700, Noah wrote: > Hi there, >=20 > I have a server with minimal disk space. is there a way to build from=20 > ports without downloading ports=20 Not directly. But you can install pre-built packages instead. The only downside in that case is that you cannot choose which options a package is built with. Another option is to build the ports on another machine (with the same Free= BSD version and hardware architecture!) and just copy (using e.g. rsync or tar & nc) /usr/local from the build machine to the server. The latter is especial= ly handy if you have more than one machine to keep up to date. > or only downloading what is needed for=20 > the build and then it is removed? Ports as a rule do not download more than is needed to build and run the port. After installing the port, you should always run 'make clean' in the port directory to reclaim space used for the build. Additionally you can reclaim disk space by e.g. removing everything under /usr/ports/distfiles. But why go to all this trouble? Disk space is cheap these days, why not add= an extra disk? If you don't have space in the chassis, consider using an external USB disk for /usr/ports. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkreJCMACgkQEnfvsMMhpyWNsQCfff/CeHltQnc0mmsffZf78q+p f0QAn0S7UbmaWSHfnDbHRD3Bl/MTlBqL =B7bi -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK--