This commit is contained in:
parent
1467ba6906
commit
0a44d94450
8
lutimes-hack.diff
Normal file
8
lutimes-hack.diff
Normal file
@ -0,0 +1,8 @@
|
||||
--- rsync.h~ 2007-08-17 14:46:24.000000000 +0200
|
||||
+++ rsync.h 2007-08-17 14:46:24.000000000 +0200
|
||||
@@ -927,3 +927,5 @@
|
||||
#ifdef MAINTAINER_MODE
|
||||
const char *get_panic_action(void);
|
||||
#endif
|
||||
+
|
||||
+#undef HAVE_LUTIMES
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ce2982106a95000376eaf4f17c9776415bce10a6f85463590397150c48e6469f
|
||||
size 629028
|
3
rsync-3.0.2.tar.bz2
Normal file
3
rsync-3.0.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:87f24f968a9b3c453fdb42c631c4c9afe862dd5b7a345a97492567e3b6e366f9
|
||||
size 636884
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:54988c2886e40a13b551bd96d76ca795c55c793048cee8dcfbc4f10a10fef831
|
||||
size 94183
|
34
rsync-patches-3.0.2.dif
Normal file
34
rsync-patches-3.0.2.dif
Normal file
@ -0,0 +1,34 @@
|
||||
--- patches/xattrs.diff
|
||||
+++ patches/xattrs.diff 2008/04/14 09:46:45
|
||||
@@ -186,31 +186,3 @@
|
||||
size_t extra_len = MIGHT_NEED_RPRE ? RPRE_LEN : 0;
|
||||
if (dget_len + extra_len < dget_len)
|
||||
out_of_memory("receive_xattr"); /* overflow */
|
||||
-diff -up a/rsyncd.conf.5 b/rsyncd.conf.5
|
||||
---- a/rsyncd.conf.5
|
||||
-+++ b/rsyncd.conf.5
|
||||
-@@ -121,6 +121,16 @@ details on some of the options you may b
|
||||
- special socket options are set. These settings are superseded by the
|
||||
- \fB\-\-sockopts\fP command-line option.
|
||||
- .IP
|
||||
-+.IP "\fBslp refresh\fP"
|
||||
-+This option is used to determine how long service
|
||||
-+advertisements are valid (measured in seconds), and is only applicable if
|
||||
-+you have Service Location Protocol support compiled in. If this option is
|
||||
-+not set or is set to zero, then service advertisements never time out. If
|
||||
-+this is set to less than 120 seconds, then 120 seconds is used. If it is
|
||||
-+set to more than 65535, then 65535 is used (which is a limitation of SLP).
|
||||
-+Using 3600 (one hour) is a good number if you tend to change your
|
||||
-+configuration.
|
||||
-+.IP
|
||||
- .SH "MODULE OPTIONS"
|
||||
-
|
||||
- .PP
|
||||
-@@ -763,6 +773,7 @@ use chroot = yes
|
||||
- max connections = 4
|
||||
- syslog facility = local5
|
||||
- pid file = /var/run/rsyncd.pid
|
||||
-+slp refresh = 3600
|
||||
-
|
||||
- [ftp]
|
||||
- path = /var/ftp/./pub
|
3
rsync-patches-3.0.2.tar.bz2
Normal file
3
rsync-patches-3.0.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3f141bd5dd9faa894b22fe23aa8a6ff11b4c95bb354cda180fe342c31df657a7
|
||||
size 107152
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 14 11:43:03 CEST 2008 - ro@suse.de
|
||||
|
||||
- update to version 3.0.2
|
||||
- Fixed a potential buffer overflow in the xattr code.
|
||||
- update to version 3.0.1
|
||||
- Added the 'c'-flag to the itemizing of non-regular files so that the
|
||||
itemized output doesn't get hidden if there were no attribute changes,
|
||||
and also so that the itemizing of a --copy-links run will distinguish
|
||||
between copying an identical non-regular file and the creation of a
|
||||
revised version with a new value (e.g. a changed symlink referent, a
|
||||
new device number, etc.).
|
||||
- quite a lot of other bugfixes, please see OLDNEWS file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 11 01:23:13 CET 2008 - ro@suse.de
|
||||
|
||||
|
26
rsync.spec
26
rsync.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package rsync (Version 3.0.0)
|
||||
# spec file for package rsync (Version 3.0.2)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@ -23,7 +23,7 @@ License: GPL v3 or later
|
||||
Group: Productivity/Networking/Other
|
||||
PreReq: %fillup_prereq %insserv_prereq sed grep
|
||||
AutoReqProv: on
|
||||
Version: 3.0.0
|
||||
Version: 3.0.2
|
||||
Release: 1
|
||||
Summary: Replacement for RCP/mirror that has Many More Features
|
||||
Source: samba.org/ftp/rsync/rsync-%{version}.tar.bz2
|
||||
@ -34,6 +34,8 @@ Source4: rsyncd.rc
|
||||
Source5: rsyncd.conf
|
||||
Source6: rsyncd.secrets
|
||||
Patch3: system-zlib.diff
|
||||
Patch4: lutimes-hack.diff
|
||||
Patch10: rsync-patches-3.0.2.dif
|
||||
Url: http://rsync.samba.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%define with_system_zlib 0
|
||||
@ -58,6 +60,9 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup -q -b 1
|
||||
# remove erroneous/duplicate hunk in xattr.patch
|
||||
%patch4
|
||||
%patch10
|
||||
%if %with_system_zlib
|
||||
rm -f zlib/*.h
|
||||
%patch3
|
||||
@ -132,6 +137,17 @@ fi
|
||||
%doc COPYING NEWS README tech_report.ps tech_report.tex
|
||||
|
||||
%changelog
|
||||
* Mon Apr 14 2008 ro@suse.de
|
||||
- update to version 3.0.2
|
||||
- Fixed a potential buffer overflow in the xattr code.
|
||||
- update to version 3.0.1
|
||||
- Added the 'c'-flag to the itemizing of non-regular files so that the
|
||||
itemized output doesn't get hidden if there were no attribute changes,
|
||||
and also so that the itemizing of a --copy-links run will distinguish
|
||||
between copying an identical non-regular file and the creation of a
|
||||
revised version with a new value (e.g. a changed symlink referent, a
|
||||
new device number, etc.).
|
||||
- quite a lot of other bugfixes, please see OLDNEWS file
|
||||
* Tue Mar 11 2008 ro@suse.de
|
||||
- update to version 3.0.0 (shortened, more details see NEWS file)
|
||||
- The handling of implied directories when using --relative has changed to
|
||||
@ -187,7 +203,7 @@ fi
|
||||
* new features, see included NEWS file
|
||||
- build against system zlib instead of own zlib copy
|
||||
- build against system popt instead of own popt copy
|
||||
* Wed Apr 18 2007 aj@suse.de
|
||||
* Thu Apr 19 2007 aj@suse.de
|
||||
- Use texlive for building.
|
||||
* Tue Sep 12 2006 ro@suse.de
|
||||
- apply fix for xattr.diff from rsync mailing list
|
||||
@ -330,7 +346,7 @@ fi
|
||||
- added rsyncstats shell script
|
||||
* Thu Dec 17 1998 ro@suse.de
|
||||
- update to 2.2.1
|
||||
* Sat Nov 28 1998 bs@suse.de
|
||||
* Sun Nov 29 1998 bs@suse.de
|
||||
- added symlink /usr/sbin/rsyncd (to let it work with tcpd)
|
||||
- added example configs
|
||||
* Tue Nov 24 1998 ro@suse.de
|
||||
@ -343,5 +359,5 @@ fi
|
||||
* Tue May 12 1998 ro@suse.de
|
||||
- update to 1.7.4
|
||||
generate tech_report.ps from tex-src
|
||||
* Mon Nov 10 1997 kfr@suse.de
|
||||
* Tue Nov 11 1997 kfr@suse.de
|
||||
- first version for S.u.S.E. (1.6.3)
|
||||
|
Loading…
Reference in New Issue
Block a user