From owner-freebsd-questions@FreeBSD.ORG Wed Aug 22 05:37:26 2007 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 BC2B816A417 for ; Wed, 22 Aug 2007 05:37:26 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2D6EA13C474 for ; Wed, 22 Aug 2007 05:37:25 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.1/8.14.1) with ESMTP id l7M5b8Am091322; Wed, 22 Aug 2007 06:37:12 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1187761033; bh=664A4WzbWc6syv bETTohJBOYPB/JDmpegbu8LluSKsM=; h=Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To: X-Enigmail-Version:Content-Type:Content-Transfer-Encoding:Cc: Content-Type:Date:From:In-Reply-To:Message-ID:Mime-Version: References:To; b=coUrKOs50hxj/M4AcSXeIiiB3M7DqgTTabcjZ34qYwFTW6OSR UJrX/FqC29Pufrq84VpBAW9y1AI8vVR0ncyFn6keTxbUwJkQyflR+jf3PQREMwCUf08 4yUzCaBuV2JcrKbScSs5imYTPAEp+asB2WrHxEIzZgneTKNmJpDZcM0= Message-ID: <46CBCB84.5050806@infracaninophile.co.uk> Date: Wed, 22 Aug 2007 06:37:08 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.6 (X11/20070803) MIME-Version: 1.0 To: Steve Bertrand References: <46CB812B.3020208@ibctech.ca> <46CB8C7E.1040102@ibctech.ca> In-Reply-To: <46CB8C7E.1040102@ibctech.ca> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Wed, 22 Aug 2007 06:37:13 +0100 (BST) X-Virus-Scanned: ClamAV 0.91.1/4025/Wed Aug 22 00:37:57 2007 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on happy-idiot-talk.infracaninophile.co.uk Cc: mattr@eagle.ca, freebsd-questions@freebsd.org Subject: Re: DJBDNS && IPv6 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: Wed, 22 Aug 2007 05:37:26 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Steve Bertrand wrote: >> - is there a special way that I need to use tinydns-conf to create a new >> 'server' >> >> - what should a proper v6 entry look like in the data file >> >> My research has told me that I should have new 'v6' type binaries in the >> ./bin directory, but I do not see those. > > To answer my own question, and to ensure quality in the archive, thanks > to this: > > http://tomclegg.net/djbdns-ipv6 > > I managed to solve my own question. > > I had to: > > # echo WITH_IPV6=yes >> /etc/make.conf > > ...and now I have: > > -rwxr-xr-x 1 root wheel 78 Aug 21 20:58 add-alias6 > -rwxr-xr-x 1 root wheel 77 Aug 21 20:58 add-host6 > > ...which is what I was looking for. > > I don't know what ramifications leaving this in the /etc/make.conf file > will have on future ports, so if someone can answer that, it would be great! > 'WITH_IPV6' inserted into /etc/make.conf in the way you show will enable IPv6 support in all ports that offer the capability. It's the recognised flag for that purpose and documented as such in /usr/ports/KNOBS. If you want to limit the effect to a single port, then you can use a construction like this in /etc/make.conf: .if ${.CURRDIR:M*/dns/djbdns} WITH_IPV6= YES .fi Also look at ports-mgmt/portsconf which lets you achieve the same end but using a different syntax which you may find easier to deal with. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGy8uE8Mjk52CukIwRCBjiAJ99TyDfVH5H51EfzzRqij+lsMYSKwCdEFKv u4uIqRePKGmdjMB+CNTnqpc= =PN1d -----END PGP SIGNATURE-----