From owner-freebsd-ports Fri Jan 7 18:33:48 2000 Delivered-To: freebsd-ports@freebsd.org Received: from coconut.itojun.org (coconut.itojun.org [210.160.95.97]) by hub.freebsd.org (Postfix) with ESMTP id 4A48414F1E; Fri, 7 Jan 2000 18:33:44 -0800 (PST) (envelope-from itojun@itojun.org) Received: from kiwi.itojun.org (localhost.itojun.org [127.0.0.1]) by coconut.itojun.org (8.9.3+3.2W/3.7W) with ESMTP id LAA17131; Sat, 8 Jan 2000 11:33:42 +0900 (JST) To: asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami) Cc: sumikawa@ebina.hitachi.co.jp, freebsd-ports@FreeBSD.ORG, committers@FreeBSD.ORG In-reply-to: asami's message of 07 Jan 2000 17:57:58 PST. X-Template-Reply-To: itojun@itojun.org X-Template-Return-Receipt-To: itojun@itojun.org X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2 Subject: Re: IPv6-enable ports From: itojun@iijlab.net Date: Sat, 08 Jan 2000 11:33:42 +0900 Message-ID: <17129.947298822@coconut.itojun.org> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > * Almost of applications work fine, but downwards compatibility is > * depends on each implementations in general. >For those that work for both v4 and v6, I think you should just go >ahead and enable IPv6 by default. (I'm assuming the patches are not >*that* big.) I don't want your jobs to be any harder than it already >is. >For those that only work for one, I suggest you make v4 the default >and add a "slave" port that sets the v6 option on. Something like >this: >ports/ftp/wu-ftpd: normal port, with USE_INET6 check you suggested >ports/ftp/wu-ftpd+ipv6: slave port with only the Makefile >=== >USE_INET6= yes >MASTERDIR= ${.CURDIR}/../wu-ftpd >.include "${MASTERDIR}/Makefile" >=== Yes, the plan looks fine. In most cases ports falls into the former category. I know of very few examples for the latter. I give you one example: apache. Though apache6 works for both IPv4/v6, we may need to have apache and apache6 separately, because: - apache IPv6 patch needs to change internal C structure definition, which *may* break 3rd party modules (I've never seen breakage though) - there are many ports that depends on (normal) apache - and apache is very famous and breakage is not allowed :-) itojun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message