From owner-freebsd-questions Tue Mar 11 2: 2:12 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4987B37B404 for ; Tue, 11 Mar 2003 02:02:10 -0800 (PST) Received: from shrike.submonkey.net (pc1-cdif2-5-cust38.cdif.cable.ntl.com [81.101.150.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28A9643F3F for ; Tue, 11 Mar 2003 02:02:09 -0800 (PST) (envelope-from setantae@submonkey.net) Received: from setantae by shrike.submonkey.net with local (Exim 4.12) id 18sgaF-000IhA-00; Tue, 11 Mar 2003 10:02:07 +0000 Date: Tue, 11 Mar 2003 10:02:07 +0000 From: Ceri Davies To: Drew Tomlinson Cc: FreeBSD Questions Subject: Re: How Do I Build IPFW2 Only (Was Re: How Do I Specify -DIPFW2 In make.conf?) Message-ID: <20030311100207.GA71832@submonkey.net> References: <014001c2e73a$23f84db0$6e2a6ba5@tagalong> <20030310205547.GA39622@submonkey.net> <016501c2e764$b1ca82a0$6e2a6ba5@tagalong> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <016501c2e764$b1ca82a0$6e2a6ba5@tagalong> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 10, 2003 at 04:25:14PM -0800, Drew Tomlinson wrote: > ----- Original Message ----- > From: "Ceri Davies" > To: "Drew Tomlinson" > Cc: "FreeBSD Questions" > Sent: Monday, March 10, 2003 12:55 PM > > > On Mon, Mar 10, 2003 at 11:20:40AM -0800, Drew Tomlinson wrote: > > > I would like to enable IPFW2 support in 4.7-STABLE. The Handbook > > > (http://www.freebsd.org/releases/4.7R/relnotes-i386.html#AEN78) tells me > to > > > add 'options IPFW2' to the kernel config file and I understand that. > > > > > > Then it tells me to compile libalias and ipfw with the -DIPFW2 make > option. > > > If I understand the purpose of /etc/make.conf correctly, I should be > able to > > > specify -DIPFW2 there? How do I accomplish this? > > > > > > I'm sure this has been covered previously but my searches on Google are > not > > > turning it up. Thanks for a nudge to the appropriate docs! > > > > IPFW2= true > > Thank you for your response. I have added this to make.conf. > > Prior to adding it, I ran 'make buildworld'. How can I just rebuild IPFW so > it is IPFW2 instead without rebuilding my whole world? I saw in the > Handbook > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#Q21 > .4.15.1 an example for building pieces. Based on this example, I went to > /usr/src/sys/netinet and tried issuing make but without success. I don't > really understand the make process very well but I'm sure it didn't work > because there was no Makefile. Can I just build IPFW2 instead of rebuilding > the whole world? You could try "cd /usr/src; make -DNOCLEAN buildworld". That should just rebuild the bits that are different, but may not work. If a buildworld doesn't take you a long time, then I'd just do another one if I were you. > Thanks for helping me through this. No problem. Ceri -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message