Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2000 04:55:26 +0900 (JST)
From:      sumikawa@ebina.hitachi.co.jp
To:        asami@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG
Cc:        sumikawa@ebina.hitachi.co.jp
Subject:   IPv6-enable ports
Message-ID:  <200001061955.EAA34652@prince.net.ebina.hitachi.co.jp>

next in thread | raw e-mail | index | archive | help
Asami-san and ports developers:

We, KAME Project, now have 70 IPv6-enabled ports in our source tree.
I would like to merge them into ports-current.

The way of merging I think is the following. If you have any comments,
please notice me.


1. add a new define 'USE_INET6' in /etc/defaults/make.conf. It's
   commented in default.

Index: make.conf
===================================================================
RCS file: /home/ncvs/src/etc/defaults/make.conf,v
retrieving revision 1.87
diff -u -r1.87 make.conf
--- make.conf	1999/12/16 02:22:17	1.87
+++ make.conf	2000/01/06 19:30:09
@@ -111,6 +111,11 @@
 #MOTIFLIB=	-L${X11BASE}/lib -lXm
 #
 #
+# If you use IPv6-ready kernel and want to enbale IPv6 support on certain
+# packages, uncomment this.
+#USE_INET6=	yes
+#
+#
 # If you're resident in the USA, this will help various ports to determine
 # whether or not they should attempt to comply with the various U.S.
 # export regulations on certain types of software which do not apply to


2. Enable IPv6 in each ports if USE_INET6 is defined. For example,
   the patch of ports/net/rsync/Makefile is below.

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/rsync/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile	1999/10/12 04:57:10	1.25
+++ Makefile	2000/01/06 19:33:16
@@ -14,11 +14,21 @@
 		ftp://ftp.sunet.se/pub/unix/admin/rsync/  \
 		ftp://ftp.fu-berlin.de/pub/unix/network/rsync/
 
+PATCH_SITES=	ftp://ftp.kame.net/pub/kame/misc/ \
+		ftp://ftp.pasta.cs.uit.no/pub/IPv6/misc/
+PATCHFILES=	rsync-231-v6-19990723.diff.gz
+PATCH_DIST_STRIP=	-p1
+
 MAINTAINER=     obrien@FreeBSD.org
 
 Y2K=		http://rsync.samba.org/rsync/y2k.html
 
 GNU_CONFIGURE=	yes
+.if defined(USE_INET6)
+CONFIGURE_ARGS=	--enable-ipv6
+.else
+CONFIGURE_ARGS=	--disable-ipv6
+.endif
 MAN1=		rsync.1
 MAN5=		rsyncd.conf.5



Of course, I will ask for the maintainers of each ports to approve to
change it before commiting.

Could I go ahead?

---
Munechika SUMIKAWA @ KAME Project / FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001061955.EAA34652>