diff options
author | TizenOpenSource <tizenopensrc@samsung.com> | 2024-01-22 15:24:10 +0900 |
---|---|---|
committer | TizenOpenSource <tizenopensrc@samsung.com> | 2024-01-22 15:24:10 +0900 |
commit | 8fce79b7b4f28beebe7f12e8179dfd4eb3ef178e (patch) | |
tree | b9c8a6ee701b9975dabc24f711eb26df870c8136 | |
parent | 59527f05008633a5909a30a57aa2014cff553cc7 (diff) | |
download | rsync-accepted/tizen_9.0_unified.tar.gz rsync-accepted/tizen_9.0_unified.tar.bz2 rsync-accepted/tizen_9.0_unified.zip |
Bump to 3.2.7HEADtizen_9.0_m2_releaseaccepted/tizen/unified/x/20240205.064126accepted/tizen/unified/toolchain/20240311.070100accepted/tizen/unified/dev/20240620.011102accepted/tizen/unified/20240131.064236accepted/tizen/unified/20240131.064144accepted/tizen/unified/20240131.064038accepted/tizen/9.0/unified/20241030.231725tizen_9.0tizensandbox/rsync_3.2.7accepted/tizen_unified_xaccepted/tizen_unified_toolchainaccepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unified
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
-rw-r--r-- | .gitignore | 60 | ||||
-rw-r--r-- | packaging/Chnage_nanosleep_to_gettimeofday.patch | 13 | ||||
-rw-r--r-- | packaging/rsync.manifest | 5 | ||||
-rw-r--r-- | packaging/rsync.spec | 60 |
4 files changed, 78 insertions, 60 deletions
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 9e59c9c4..00000000 --- a/.gitignore +++ /dev/null @@ -1,60 +0,0 @@ -*.[oa] -*~ -dummy -ID -Makefile -Makefile.old -configure.sh -configure.sh.old -config.cache -config.h -config.h.in -config.h.in.old -config.log -config.status -aclocal.m4 -/proto.h -/proto.h-tstamp -/rsync*.[15] -/rrsync -/rrsync*.1 -/rsync*.html -/rrsync*.html -/help-rsync*.h -/default-cvsignore.h -/default-dont-compress.h -/daemon-parm.h -/.md2man-works -/autom4te*.cache -/confdefs.h -/conftest* -/dox -/getgroups -/gists -/gmon.out -/rsync -/stunnel-rsyncd.conf -/shconfig -/git-version.h -/testdir -/tests-dont-exist -/testtmp -/tls -/testrun -/trimslash -/t_unsafe -/wildtest -/getfsdev -/rounding.h -/doc/rsync.pdf -/doc/rsync.ps -/support/savetransfer -/testsuite/chown-fake.test -/testsuite/devices-fake.test -/testsuite/xattrs-hlink.test -/patches -/patches.gen -/build -/auto-build-save -.deps -/*.exe diff --git a/packaging/Chnage_nanosleep_to_gettimeofday.patch b/packaging/Chnage_nanosleep_to_gettimeofday.patch new file mode 100644 index 00000000..4a9bf524 --- /dev/null +++ b/packaging/Chnage_nanosleep_to_gettimeofday.patch @@ -0,0 +1,13 @@ +diff --git a/configure.ac b/configure.ac +index a2c9955..e91c850 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -874,7 +874,7 @@ AC_CHECK_FUNCS(waitpid wait4 getcwd chown chmod lchmod mknod mkfifo \ + setlocale setmode open64 lseek64 mkstemp64 mtrace va_copy __va_copy \ + seteuid strerror putenv iconv_open locale_charset nl_langinfo getxattr \ + extattr_get_link sigaction sigprocmask setattrlist getgrouplist \ +- initgroups utimensat posix_fallocate attropen setvbuf nanosleep usleep \ ++ initgroups utimensat posix_fallocate attropen setvbuf \ + setenv unsetenv) + + dnl cygwin iconv.h defines iconv_open as libiconv_open diff --git a/packaging/rsync.manifest b/packaging/rsync.manifest new file mode 100644 index 00000000..017d22d3 --- /dev/null +++ b/packaging/rsync.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/rsync.spec b/packaging/rsync.spec new file mode 100644 index 00000000..a7833ebd --- /dev/null +++ b/packaging/rsync.spec @@ -0,0 +1,60 @@ +Name: rsync +Version: 3.2.7 +Release: 0 +License: GPL-3.0+ +Summary: A program for synchronizing files over a network +Url: http://rsync.samba.org/ +#X-Vcs-Url: git://git.samba.org/rsync +Group: Base/Utilities +Source0: http://rsync.samba.org/ftp/rsync/src/rsync-%{version}.tar.gz +Source10: Chnage_nanosleep_to_gettimeofday.patch +Source1001: rsync.manifest +BuildRequires: libacl-devel +BuildRequires: libattr-devel +BuildRequires: pkgconfig(popt) +BuildRequires: pkgconfig(openssl1.1) +BuildRequires: libzstd-devel + +%description +Rsync uses a reliable algorithm to bring remote and host files into +sync very quickly. Rsync is fast because it just sends the differences +in the files over the network instead of sending the complete +files. Rsync is often used as a very powerful mirroring process or +just as a more capable replacement for the rcp command. A technical +report which describes the rsync algorithm is included in this +package. + +%package support +Summary: Support files for rsync +Group: Base/Utilities +Requires: %{name} = %{version}-%{release} + +%description support +Support filrs for rsync + +%prep +%setup -q +cp %{SOURCE1001} . +%{__patch} -p1 < %{SOURCE10} + +%build +export CFLAGS+=" -fPIC" +export LDFLAGS+=" -pie" + +%reconfigure --disable-xxhash --disable-lz4 +%__make reconfigure +%__make %{?_smp_mflags} + +%install +%make_install + + +%docs_package + +%files +%manifest %{name}.manifest +%defattr(-,root,root,-) +%license COPYING +%{_bindir}/rsync +%{_bindir}/rsync-ssl + |