diff options
author | pav <pav@FreeBSD.org> | 2006-11-22 18:05:47 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-11-22 18:05:47 +0800 |
commit | c3ae5da554f942274aca3e7b63de56002c56347d (patch) | |
tree | 05cdc25d35f7fe041ca8dcc1c9a3a8d16d6929dc /net/rsync | |
parent | 4013fc440152a30841db5c25ee7ef4484a741dad (diff) | |
download | freebsd-ports-gnome-c3ae5da554f942274aca3e7b63de56002c56347d.tar.gz freebsd-ports-gnome-c3ae5da554f942274aca3e7b63de56002c56347d.tar.zst freebsd-ports-gnome-c3ae5da554f942274aca3e7b63de56002c56347d.zip |
- Update to 2.6.9
- Flip ACLs and flags patches default off, as they conflict each another
PR: ports/105731 (based on)
Submitted by: Antony Mawer <gnats@mawer.org>
Diffstat (limited to 'net/rsync')
-rw-r--r-- | net/rsync/Makefile | 17 | ||||
-rw-r--r-- | net/rsync/distinfo | 6 | ||||
-rw-r--r-- | net/rsync/files/patch-2.6.8-unexpected_tag_3 | 98 |
3 files changed, 13 insertions, 108 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile index 8b76eae278cb..0fc626514447 100644 --- a/net/rsync/Makefile +++ b/net/rsync/Makefile @@ -6,8 +6,7 @@ # PORTNAME= rsync -PORTVERSION= 2.6.8 -PORTREVISION= 2 +PORTVERSION= 2.6.9 CATEGORIES= net ipv6 MASTER_SITES= http://rsync.samba.org/ftp/%SUBDIR%/ \ ftp://ftp.samba.org/pub/%SUBDIR%/ \ @@ -24,7 +23,7 @@ USE_RC_SUBR= rsyncd.sh SUB_LIST= NAME=rsyncd GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-debug --enable-ipv6 \ +CONFIGURE_ARGS= --disable-debug --enable-ipv6 --mandir=${PREFIX}/man \ --with-rsyncd-conf=${PREFIX}/etc/rsyncd.conf CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} PATCH_STRIP= -p1 @@ -38,8 +37,8 @@ MAN5= rsyncd.conf.5 OPTIONS= POPT_PORT "Use popt from devel/popt instead of bundled one" off \ TIMELIMIT "Time limit patch" on \ - FLAGS "File system flags support patch, adds --flags" on \ - ACLS "ACL support patch, adds --acls" on \ + FLAGSP "File system flags support patch, adds --flags" off \ + ACLSP "ACL support patch, adds --acls" off \ SSH "Use SSH instead of RSH" on .include <bsd.port.pre.mk> @@ -56,15 +55,19 @@ CONFIGURE_ARGS+= --with-included-popt EXTRA_PATCHES+= ${WRKSRC}/patches/time-limit.diff .endif -.if !defined(WITHOUT_FLAGS) +.if defined(WITH_FLAGSP) EXTRA_PATCHES+= ${WRKSRC}/patches/flags.diff .endif -.if !defined(WITHOUT_ACLS) +.if defined(WITH_ACLSP) .if ${OSVERSION} >= 500000 EXTRA_PATCHES+= ${WRKSRC}/patches/acls.diff CONFIGURE_ARGS+=--enable-acl-support .endif + +.if defined(WITH_FLAGS) +IGNORE= can't be built: Flags and ACLs patches can't be both enabled at the same time. Please rerun 'make config' and disable one of them +.endif .endif .if defined(WITHOUT_SSH) diff --git a/net/rsync/distinfo b/net/rsync/distinfo index bbdb1298b339..dac126a3068d 100644 --- a/net/rsync/distinfo +++ b/net/rsync/distinfo @@ -1,3 +1,3 @@ -MD5 (rsync-2.6.8.tar.gz) = 082a9dba1f741e6591e5cd748a1233de -SHA256 (rsync-2.6.8.tar.gz) = 784782de0efee0b4624bdd1d75d524ef95d16354cb13cbb5449d990b61e607a6 -SIZE (rsync-2.6.8.tar.gz) = 772314 +MD5 (rsync-2.6.9.tar.gz) = 996d8d8831dbca17910094e56dcb5942 +SHA256 (rsync-2.6.9.tar.gz) = ca437301becd890e73300bc69a39189ff1564baa761948ff149b3dd7bde633f9 +SIZE (rsync-2.6.9.tar.gz) = 811841 diff --git a/net/rsync/files/patch-2.6.8-unexpected_tag_3 b/net/rsync/files/patch-2.6.8-unexpected_tag_3 deleted file mode 100644 index e7073ab3392a..000000000000 --- a/net/rsync/files/patch-2.6.8-unexpected_tag_3 +++ /dev/null @@ -1,98 +0,0 @@ -=================================================================== -RCS file: /cvsroot/rsync/io.c,v -retrieving revision 1.195 -retrieving revision 1.196 -diff -u -r1.195 -r1.196 ---- io.c 2006/05/03 06:32:59 1.195 -+++ io.c 2006/05/03 16:17:46 1.196 -@@ -282,10 +282,7 @@ - exit_cleanup(RERR_STREAMIO); - } - read_loop(fd, buf, len); -- if (defer_forwarding_messages) -- msg_list_add(&msg2sndr, MSG_DELETED, buf, len); -- else -- io_multiplex_write(MSG_DELETED, buf, len); -+ send_msg(MSG_DELETED, buf, len); - break; - case MSG_SUCCESS: - if (len != 4 || !am_generator) { -@@ -295,10 +292,7 @@ - read_loop(fd, buf, len); - if (remove_sent_files) { - decrement_active_files(IVAL(buf,0)); -- if (defer_forwarding_messages) -- msg_list_add(&msg2sndr, MSG_SUCCESS, buf, len); -- else -- io_multiplex_write(MSG_SUCCESS, buf, len); -+ send_msg(MSG_SUCCESS, buf, len); - } - if (preserve_hard_links) - flist_ndx_push(&hlink_list, IVAL(buf,0)); -@@ -318,10 +312,7 @@ - if (n >= sizeof buf) - n = sizeof buf - 1; - read_loop(fd, buf, n); -- if (am_generator && am_server && defer_forwarding_messages) -- msg_list_add(&msg2sndr, tag, buf, n); -- else -- rwrite((enum logcode)tag, buf, n); -+ rwrite(tag, buf, n); - len -= n; - } - break; -@@ -395,14 +386,19 @@ - return 1; - } - --void send_msg(enum msgcode code, char *buf, int len) -+int send_msg(enum msgcode code, char *buf, int len) - { - if (msg_fd_out < 0) { -- io_multiplex_write(code, buf, len); -- return; -+ if (!defer_forwarding_messages) -+ return io_multiplex_write(code, buf, len); -+ if (!io_multiplexing_out) -+ return 0; -+ msg_list_add(&msg2sndr, code, buf, len); -+ return 1; - } - msg_list_add(&msg2genr, code, buf, len); - msg2genr_flush(NORMAL_FLUSH); -+ return 1; - } - - int get_redo_num(int itemizing, enum logcode code) -=================================================================== -RCS file: /cvsroot/rsync/log.c,v -retrieving revision 1.147 -retrieving revision 1.148 -diff -u -r1.147 -r1.148 ---- log.c 2006/05/03 06:11:11 1.147 -+++ log.c 2006/05/03 16:17:49 1.148 -@@ -256,7 +256,7 @@ - - if (am_server) { - /* Pass the message to the non-server side. */ -- if (io_multiplex_write((enum msgcode)code, buf, len)) -+ if (send_msg(code, buf, len)) - return; - if (am_daemon) { - /* TODO: can we send the error to the user somehow? */ -=================================================================== -RCS file: /cvsroot/rsync/proto.h,v -retrieving revision 1.303 -retrieving revision 1.304 -diff -u -r1.303 -r1.304 ---- proto.h 2006/05/03 00:48:17 1.303 -+++ proto.h 2006/05/03 16:17:42 1.304 -@@ -104,7 +104,7 @@ - void set_msg_fd_out(int fd); - void increment_active_files(int ndx, int itemizing, enum logcode code); - void decrement_active_files(int ndx); --void send_msg(enum msgcode code, char *buf, int len); -+int send_msg(enum msgcode code, char *buf, int len); - int get_redo_num(int itemizing, enum logcode code); - int get_hlink_num(void); - void io_set_filesfrom_fds(int f_in, int f_out); |