summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>1998-07-04 09:56:26 +0000
committermycroft <mycroft@pkgsrc.org>1998-07-04 09:56:26 +0000
commit842d8978e537a1d8803cdd7a59972ccf7218cae4 (patch)
tree78d5614aa7744c8dd7edb02db8e8f879a97b4c42 /net
parentc6729dbfdc3cae7996b956c555df5e8471e3bf20 (diff)
downloadpkgsrc-842d8978e537a1d8803cdd7a59972ccf7218cae4.tar.gz
Update to 2.0.18.
Diffstat (limited to 'net')
-rw-r--r--net/rsync/Makefile8
-rw-r--r--net/rsync/files/md52
-rw-r--r--net/rsync/patches/patch-aa45
-rw-r--r--net/rsync/pkg/PLIST3
4 files changed, 28 insertions, 30 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index 72168207348..f137f94c86c 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -1,15 +1,17 @@
-# $NetBSD: Makefile,v 1.7 1998/06/22 12:58:34 agc Exp $
+# $NetBSD: Makefile,v 1.8 1998/07/04 09:56:26 mycroft Exp $
# FreeBSD Id: Makefile,v 1.10 1998/01/03 10:14:21 obrien Exp
#
-DISTNAME= rsync-1.6.9
+DISTNAME= rsync-2.0.18
CATEGORIES= net
MASTER_SITES= ftp://samba.anu.edu.au/pub/rsync/ \
ftp://sunsite.auc.dk/pub/unix/rsync/ \
ftp://ftp.sunet.se/pub/unix/admin/rsync/ \
ftp://ftp.fu-berlin.de/pub/unix/network/rsync/
-MAINTAINER= packages@netbsd.org
+MAINTAINER= mycroft@netbsd.org
+
+CONFLICTS= rsync-1.6.9
GNU_CONFIGURE= yes
diff --git a/net/rsync/files/md5 b/net/rsync/files/md5
index 0e63f6c0f51..3dd657c5b4b 100644
--- a/net/rsync/files/md5
+++ b/net/rsync/files/md5
@@ -1 +1 @@
-MD5 (rsync-1.6.9.tar.gz) = 86b4ce12ef9a0fd9b8e1c76fe489be2c
+MD5 (rsync-2.0.18.tar.gz) = ffdbb121d522521d12e770e9b02bc728
diff --git a/net/rsync/patches/patch-aa b/net/rsync/patches/patch-aa
index adea6c5987b..bf51b25447e 100644
--- a/net/rsync/patches/patch-aa
+++ b/net/rsync/patches/patch-aa
@@ -1,25 +1,20 @@
---- rsync.c 1998/01/22 13:23:54 1.1
-+++ rsync.c 1998/01/22 13:28:29
-@@ -756,17 +756,11 @@
- } else {
- sprintf(fnametmp,"%s.XXXXXX",fname);
- }
-- if (NULL == mktemp(fnametmp)) {
-- fprintf(FERROR,"mktemp %s failed\n",fnametmp);
-- receive_data(f_in,buf,-1,NULL);
-- if (buf) unmap_file(buf);
-- close(fd1);
-- continue;
-- }
-- fd2 = open(fnametmp,O_WRONLY|O_CREAT|O_EXCL,file->mode);
-- if (fd2 == -1 && relative_paths && errno == ENOENT &&
-- create_directory_path(fnametmp) == 0) {
-- fd2 = open(fnametmp,O_WRONLY|O_CREAT|O_EXCL,file->mode);
-+ if ((fd2 = mkstemp(fnametmp)) < 0) {
-+ if (relative_paths && errno == ENOENT &&
-+ create_directory_path(fnametmp) == 0) {
-+ fd2 = open(fnametmp,O_WRONLY|O_CREAT|O_EXCL,file->mode);
-+ }
- }
- if (fd2 == -1) {
- fprintf(FERROR,"open %s : %s\n",fnametmp,strerror(errno));
+--- rsync.c.orig Thu Jun 18 09:27:56 1998
++++ rsync.c Sat Jul 4 05:49:43 1998
+@@ -879,6 +879,9 @@
+ continue;
+ }
+
++#ifdef HAVE_MKSTEMP
++ fd2 = mkstemp(fnametmp);
++#else
+ if (NULL == do_mktemp(fnametmp)) {
+ rprintf(FERROR,"mktemp %s failed\n",fnametmp);
+ receive_data(f_in,buf,-1,NULL);
+@@ -894,6 +897,7 @@
+ this out */
+ fd2 = do_open(fnametmp,O_WRONLY|O_CREAT|O_EXCL,
+ file->mode & ACCESSPERMS);
++#endif
+
+ if (fd2 == -1 && relative_paths && errno == ENOENT &&
+ create_directory_path(fnametmp) == 0) {
diff --git a/net/rsync/pkg/PLIST b/net/rsync/pkg/PLIST
index 25db6903bbf..939154df6fa 100644
--- a/net/rsync/pkg/PLIST
+++ b/net/rsync/pkg/PLIST
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.2 1998/02/28 20:27:13 frueauf Exp $
+@comment $NetBSD: PLIST,v 1.3 1998/07/04 09:56:27 mycroft Exp $
bin/rsync
man/man1/rsync.1.gz
+man/man5/rsyncd.conf.5.gz
share/doc/rsync/tech_report.tex
@dirrm share/doc/rsync