aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-06-27 16:44:06 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-06-27 16:44:06 +0800
commit5ac6f5f23b266939fd58f489f7700b0dcfc1fa23 (patch)
tree2bdb12ac6bdadd7685805108bcbbccd57bc7d57e /net
parent32a053066934eb363b8af2cb8051b25b0ae2ac01 (diff)
downloadfreebsd-ports-gnome-5ac6f5f23b266939fd58f489f7700b0dcfc1fa23.tar.gz
freebsd-ports-gnome-5ac6f5f23b266939fd58f489f7700b0dcfc1fa23.tar.zst
freebsd-ports-gnome-5ac6f5f23b266939fd58f489f7700b0dcfc1fa23.zip
- Update to 3.1.1
- Remove the "Renamed and flags options combined" option as the 4th party patch does not apply anymore. The author of this patch has been notified about this circumstance. I happily re-add this option once a working patch exists.
Diffstat (limited to 'net')
-rw-r--r--net/rsync/Makefile20
-rw-r--r--net/rsync/distinfo8
-rw-r--r--net/rsync/files/extrapatch-renamed-flags.diff105
3 files changed, 7 insertions, 126 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index dde22b4d4701..1f65127c4d06 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= rsync
-PORTVERSION= 3.1.0
-PORTREVISION= 3
+PORTVERSION= 3.1.1
CATEGORIES= net ipv6
MASTER_SITES= http://rsync.samba.org/ftp/%SUBDIR%/ \
ftp://ftp.samba.org/pub/%SUBDIR%/ \
@@ -31,7 +30,7 @@ PORTDOCS= NEWS README csprotocol.txt tech_report.tex
# define options
OPTIONS_DEFINE= DOCS POPT_PORT ZLIB_BASE SSH ICONV
OPTIONS_RADIO= PTS
-OPTIONS_RADIO_PTS= TIMELIMIT RENAMED FLAGS RENFL ATIMES ACL
+OPTIONS_RADIO_PTS= TIMELIMIT RENAMED FLAGS ATIMES ACL
# options provided upstream
POPT_PORT_DESC= Use popt from devel/popt instead of bundled one
@@ -46,10 +45,6 @@ FLAGS_DESC= File system flags support patch, adds --fileflags
ATIMES_DESC= Preserve access times, adds --atimes
ACL_DESC= Add backward-compatibility for the --acls option
-# The following unsupported patch has been provided by:
-# Dmitry Morozovsky <marck@rinet.ru>
-RENFL_DESC= Renamed and flags options combined
-
# define default options
OPTIONS_DEFAULT=SSH ZLIB_BASE FLAGS
@@ -69,7 +64,7 @@ PATCH_STRIP= -p1
EXTRA_PATCHES+= ${WRKSRC}/patches/atimes.diff
.endif
-.if ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MFLAGS} || ${PORT_OPTIONS:MACL} || make(makesum) || ${PORT_OPTIONS:MTIMELIMIT} || ${PORT_OPTIONS:MATIMES} || ${PORT_OPTIONS:MRENAMED} || ${PORT_OPTIONS:MRENFL}
+.if ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MFLAGS} || ${PORT_OPTIONS:MACL} || make(makesum) || ${PORT_OPTIONS:MTIMELIMIT} || ${PORT_OPTIONS:MATIMES} || ${PORT_OPTIONS:MRENAMED}
DISTFILES+= ${PORTNAME}-patches-${PORTVERSION}${EXTRACT_SUFX}
.endif
@@ -92,15 +87,6 @@ PATCH_STRIP= -p1
EXTRA_PATCHES+= ${WRKSRC}/patches/detect-renamed.diff
.endif
-.if ${PORT_OPTIONS:MRENFL}
-PATCH_STRIP= -p1
-EXTRA_PATCHES+= \
- ${FILESDIR}/extrapatch-renamed-flags.diff \
- ${WRKSRC}/patches/fileflags.diff \
- ${FILESDIR}/extrapatch-main.c \
- ${WRKSRC}/patches/detect-renamed.diff
-.endif
-
.if ${PORT_OPTIONS:MACL}
PATCH_STRIP= -p1
EXTRA_PATCHES+= ${WRKSRC}/patches/acls.diff
diff --git a/net/rsync/distinfo b/net/rsync/distinfo
index 26155044a2ec..c480bc423e64 100644
--- a/net/rsync/distinfo
+++ b/net/rsync/distinfo
@@ -1,4 +1,4 @@
-SHA256 (rsync-3.1.0.tar.gz) = 81ca23f77fc9b957eb9845a6024f41af0ff0c619b7f38576887c63fa38e2394e
-SIZE (rsync-3.1.0.tar.gz) = 883901
-SHA256 (rsync-patches-3.1.0.tar.gz) = b79c489f2864c726a767e0f39c4086df83f401d151bd5dc05a9b2e799b52886a
-SIZE (rsync-patches-3.1.0.tar.gz) = 174111
+SHA256 (rsync-3.1.1.tar.gz) = 7de4364fcf5fe42f3bdb514417f1c40d10bbca896abe7e7f2c581c6ea08a2621
+SIZE (rsync-3.1.1.tar.gz) = 890124
+SHA256 (rsync-patches-3.1.1.tar.gz) = 547ea4a37eb497050b37bda029dee4927436781e7b0e4eb207c2fad54d4a3246
+SIZE (rsync-patches-3.1.1.tar.gz) = 167954
diff --git a/net/rsync/files/extrapatch-renamed-flags.diff b/net/rsync/files/extrapatch-renamed-flags.diff
deleted file mode 100644
index 2fe58875daa5..000000000000
--- a/net/rsync/files/extrapatch-renamed-flags.diff
+++ /dev/null
@@ -1,105 +0,0 @@
-# $FreeBSD$
-
---- a/patches/detect-renamed.diff 2013-09-29 07:02:08.000000000 +0400
-+++ b/patches/detect-renamed.diff 2013-10-23 14:56:21.073464928 +0400
-@@ -42,15 +42,15 @@
- diff --git a/compat.c b/compat.c
- --- a/compat.c
- +++ b/compat.c
--@@ -43,6 +43,7 @@ extern int checksum_seed;
-+@@ -39,6 +39,7 @@
-+ extern int fuzzy_basis;
-+ extern int read_batch;
-+ extern int delay_updates;
-++extern int detect_renamed;
-+ extern int checksum_seed;
- extern int basis_dir_cnt;
- extern int prune_empty_dirs;
-- extern int protocol_version;
--+extern int detect_renamed;
-- extern int protect_args;
-- extern int preserve_uid;
-- extern int preserve_gid;
--@@ -123,6 +124,7 @@ void set_allow_inc_recurse(void)
-+@@ -125,6 +126,7 @@
- allow_inc_recurse = 0;
- else if (!am_sender
- && (delete_before || delete_after
-@@ -61,15 +61,15 @@
- diff --git a/delete.c b/delete.c
- --- a/delete.c
- +++ b/delete.c
--@@ -25,6 +25,7 @@
-+@@ -23,6 +23,7 @@
-+ #include "rsync.h"
-+
- extern int am_root;
-++extern int detect_renamed;
- extern int make_backups;
- extern int max_delete;
--+extern int detect_renamed;
-- extern char *backup_dir;
-- extern char *backup_suffix;
-- extern int backup_suffix_len;
--@@ -44,6 +45,8 @@ static inline int is_backup_file(char *fn)
-+ extern int force_change;
-+@@ -45,6 +46,8 @@
- * its contents, otherwise just checks for content. Returns DR_SUCCESS or
- * DR_NOT_EMPTY. Note that fname must point to a MAXPATHLEN buffer! (The
- * buffer is used for recursion, but returned unchanged.)
-@@ -78,7 +78,7 @@
- */
- static enum delret delete_dir_contents(char *fname, uint16 flags)
- {
--@@ -63,7 +66,9 @@ static enum delret delete_dir_contents(char *fname, uint16 flags)
-+@@ -64,7 +67,9 @@
- save_filters = push_local_filters(fname, dlen);
-
- non_perishable_cnt = 0;
-@@ -88,7 +88,7 @@
- ret = non_perishable_cnt ? DR_NOT_EMPTY : DR_SUCCESS;
-
- if (!dirlist->used)
--@@ -103,7 +108,8 @@ static enum delret delete_dir_contents(char *fname, uint16 flags)
-+@@ -108,7 +113,8 @@
- if (S_ISDIR(fp->mode)) {
- if (delete_dir_contents(fname, flags | DEL_RECURSE) != DR_SUCCESS)
- ret = DR_NOT_EMPTY;
-@@ -98,7 +98,7 @@
- if (delete_item(fname, fp->mode, flags) != DR_SUCCESS)
- ret = DR_NOT_EMPTY;
- }
--@@ -126,6 +132,8 @@ static enum delret delete_dir_contents(char *fname, uint16 flags)
-+@@ -131,6 +137,8 @@
- *
- * Note that fbuf must point to a MAXPATHLEN buffer if the mode indicates it's
- * a directory! (The buffer is used for recursion, but returned unchanged.)
-@@ -775,7 +775,7 @@
- diff -up a/proto.h b/proto.h
- --- a/proto.h
- +++ b/proto.h
--@@ -101,6 +101,7 @@ int f_name_has_prefix(const struct file_
-+@@ -101,6 +101,7 @@
- char *f_name_buf(void);
- char *f_name(const struct file_struct *f, char *fbuf);
- struct file_list *get_dirlist(char *dirname, int dlen, int flags);
-@@ -783,16 +783,16 @@
- int unchanged_attrs(const char *fname, struct file_struct *file, stat_x *sxp);
- void itemize(const char *fnamecmp, struct file_struct *file, int ndx, int statret,
- stat_x *sxp, int32 iflags, uchar fnamecmp_type,
--@@ -353,7 +354,7 @@ void set_blocking(int fd);
-+@@ -356,7 +357,7 @@
- int fd_pair(int fd[2]);
- void print_child_argv(const char *prefix, char **cmd);
-- int set_modtime(const char *fname, time_t modtime, uint32 mod_nsec, mode_t mode);
-+ int set_modtime(const char *fname, time_t modtime, uint32 mod_nsec, mode_t mode, uint32 fileflags);
- -int make_path(char *fname, int flags);
- +int make_path(char *fname, mode_t mode, int flags);
- int full_write(int desc, const char *ptr, size_t len);
- int copy_file(const char *source, const char *dest, int ofd, mode_t mode);
- int robust_unlink(const char *fname);
--@@ -373,6 +374,8 @@ char *sanitize_path(char *dest, const ch
-+@@ -376,6 +377,8 @@
- int flags);
- int change_dir(const char *dir, int set_path_only);
- char *normalize_path(char *path, BOOL force_newbuf, unsigned int *len_ptr);