summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>1999-07-08 17:29:24 +0000
committeritojun <itojun@pkgsrc.org>1999-07-08 17:29:24 +0000
commit7edafe4d5c6b41c8d5cd5c92897ff2f0abe28153 (patch)
tree5b3bf9eceb52e56bb0022bbb147607e98301a61e
parent83d40f242fa72cf29855ac6bfeb1f39b66e7e6f4 (diff)
downloadpkgsrc-7edafe4d5c6b41c8d5cd5c92897ff2f0abe28153.tar.gz
enable IPv6 build (USE_INET6)
-rw-r--r--net/rsync/Makefile17
-rw-r--r--net/rsync/files/md53
-rw-r--r--net/rsync/patches.v6/patch-ba13
-rw-r--r--net/rsync/patches.v6/patch-bb13
4 files changed, 44 insertions, 2 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index fc33b463774..bc9a059d013 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 1999/05/12 23:31:04 tv Exp $
+# $NetBSD: Makefile,v 1.21 1999/07/08 17:29:24 itojun Exp $
#
DISTNAME= rsync-2.3.1
@@ -8,6 +8,21 @@ MASTER_SITES= ftp://rsync.samba.org/pub/rsync/ \
ftp://ftp0.sunet.se/pub/unix/admin/rsync/ \
ftp://ftp.fu-berlin.de/pub/unix/network/rsync/
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(USE_INET6)
+PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
+PATCHFILES= rsync-231-v6-19990520.diff.gz
+PATCH_DIST_STRIP= -p1
+PATCHDIR= ${.CURDIR}/patches.v6
+.else
+# always fetch IPv6 patch, for files/md5
+MASTER_SITES+= ftp://ftp.kame.net/pub/kame/misc/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ rsync-231-v6-19990520.diff.gz
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+.endif
+
MAINTAINER= mycroft@netbsd.org
HOMEPAGE= http://samba.anu.edu.au/rsync/
diff --git a/net/rsync/files/md5 b/net/rsync/files/md5
index ebbca5af7a5..5f828eb82e2 100644
--- a/net/rsync/files/md5
+++ b/net/rsync/files/md5
@@ -1,3 +1,4 @@
-$NetBSD: md5,v 1.8 1999/04/08 10:27:31 hubertf Exp $
+$NetBSD: md5,v 1.9 1999/07/08 17:29:25 itojun Exp $
MD5 (rsync-2.3.1.tar.gz) = 907a0ae01417d54e53cb84b069ba1620
+MD5 (rsync-231-v6-19990520.diff.gz) = 406b61c600677de35bef0e47ddc1df8f
diff --git a/net/rsync/patches.v6/patch-ba b/net/rsync/patches.v6/patch-ba
new file mode 100644
index 00000000000..ee0c72dbf8a
--- /dev/null
+++ b/net/rsync/patches.v6/patch-ba
@@ -0,0 +1,13 @@
+$NetBSD: patch-ba,v 1.1 1999/07/08 17:29:25 itojun Exp $
+
+--- configure.in- Thu Jul 8 00:40:53 1999
++++ configure.in Thu Jul 8 00:41:28 1999
+@@ -76,8 +76,6 @@
+ yes
+ #endif],
+ [ipv6type=$i;
+- ipv6lib=inet6;
+- ipv6libdir=/usr/local/v6/lib;
+ CFLAGS="-DINET6 $CFLAGS"])
+ ;;
+ linux)
diff --git a/net/rsync/patches.v6/patch-bb b/net/rsync/patches.v6/patch-bb
new file mode 100644
index 00000000000..a378b6fc6f2
--- /dev/null
+++ b/net/rsync/patches.v6/patch-bb
@@ -0,0 +1,13 @@
+$NetBSD: patch-bb,v 1.1 1999/07/08 17:29:25 itojun Exp $
+
+--- configure- Thu Jul 8 00:40:55 1999
++++ configure Thu Jul 8 00:41:49 1999
+@@ -1128,8 +1128,6 @@
+ egrep "yes" >/dev/null 2>&1; then
+ rm -rf conftest*
+ ipv6type=$i;
+- ipv6lib=inet6;
+- ipv6libdir=/usr/local/v6/lib;
+ CFLAGS="-DINET6 $CFLAGS"
+ fi
+ rm -f conftest*