Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2000 05:52:46 +0900 (JST)
From:      sumikawa@ebina.hitachi.co.jp
To:        billf@chc-chimes.com
Cc:        sumikawa@ebina.hitachi.co.jp
Subject:   Re: IPv6-enable ports
Message-ID:  <200001062052.FAA34816@prince.net.ebina.hitachi.co.jp>
In-Reply-To: <Pine.BSF.4.10.10001061459360.7608-100000@jade.chc-chimes.com>
References:  <200001061955.EAA34652@prince.net.ebina.hitachi.co.jp> <Pine.BSF.4.10.10001061459360.7608-100000@jade.chc-chimes.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> +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
> +

billf> Shouldn't this be wrapped in the USE_INET6 as well?

No and Yes.

This patch adds IPv6 function to rsync and it can be disabled by using
--disable-ipv6. So, It has no problem if it is always applied. I also
checked to build the rsync on IPv6/current, non-IPv6/current and
3.4-RELEASE environment. And we can remove the above lines simply when
the patch is merged into original distribution.

But It does not affect 3.x and non-IPv6/current environment if the
lines are wrapped. It is more safety way.


I agree with you. The new patch is attached.

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 20:41:49
@@ -14,11 +14,21 @@
 		ftp://ftp.sunet.se/pub/unix/admin/rsync/  \
 		ftp://ftp.fu-berlin.de/pub/unix/network/rsync/
 
+.if defined(USE_INET6)
+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
+.endif
+
 MAINTAINER=     obrien@FreeBSD.org
 
 Y2K=		http://rsync.samba.org/rsync/y2k.html
 
 GNU_CONFIGURE=	yes
+.if defined(USE_INET6)
+CONFIGURE_ARGS=	--enable-ipv6
+.endif
 MAN1=		rsync.1
 MAN5=		rsyncd.conf.5
 

---
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?200001062052.FAA34816>