Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37433627
en ru br
Репозитории ALT
S:2.0.267.git0efa7ab-alt1
www.altlinux.org/Changes

Группа :: Сети/Передача файлов
Пакет: casync

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: casync-2.0.267.git0efa7ab-alt1.patch
Скачать


 .gear/rules                                        |   2 +
 .../tags/64957f1d0aa93705bc1d0108442214e714d5b81a  |  22 ++++
 .gear/tags/list                                    |   1 +
 .gear/upstream/remotes                             |   3 +
 casync.spec                                        | 137 +++++++++++++++++++++
 5 files changed, 165 insertions(+)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..1830d7c
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,2 @@
+tar: v@version@:.
+diff: v@version@:. . name=@name@-@version@-@release@.patch
diff --git a/.gear/tags/64957f1d0aa93705bc1d0108442214e714d5b81a b/.gear/tags/64957f1d0aa93705bc1d0108442214e714d5b81a
new file mode 100644
index 0000000..341df51
--- /dev/null
+++ b/.gear/tags/64957f1d0aa93705bc1d0108442214e714d5b81a
@@ -0,0 +1,22 @@
+object 0efa7abffe5fffbde8c457d3c8fafbdde0bb6e4f
+type commit
+tag v2.0.267.git0efa7ab
+tagger Arseny Maslennikov <arseny@altlinux.org> 1695330035 +0300
+
+casync v2.0.267.git0efa7ab
+-----BEGIN PGP SIGNATURE-----
+
+iQIcBAABCAAGBQJlDK70AAoJEPXUI8gGC9NQkwQP/1fZse7kjxlAqW6XsnUnaRGM
+/h2ovMtfJh5hbVlwxNGNzHDuuxNT5qw8jTgg12qJq3tI65Gr5vNa2x3YoyA6OvFI
+VXNBSBl9bTrIFNhPtmtYaaqyxuv6hpV7oUbrH898opITDM5s2QWHUAk2V2uFl0Pi
+X5RETGW+H8VwJe2W3ZRtJhSAus5L7Cccws23wCDGEwWJkNO7YZNZNSqcZUcx4Wdt
+SfOLdoYSlGMi7KcD/kYlbx60ZzsBPSQCpHxA/1A91fwjsLHWabNDWPApjSJmbP02
+PPZWY0fUKg8sDNoEzx/aD6fFMMXOWGQAcAn9V34t9QPU+9WElOR9bF8c2zUQevK3
+/5IskWDCwNsH0afv5yh9GKORLgbQnz/cFTIGSXmxePm7FTqHeNRl/W3XCev+a9mn
+CqWabYL467Tz03/pGG3IxRsHwvnLK02hwD1OwF4zDLWoxcTxuHtZzhNihx2qG7qw
+xhxs65pcNsMnz2VHU6cCMzx4IQzT3487AcTXoynmlUIMoX0m8sWX+IaReuN25O1E
+Tdh/5B6MP0OdxVAXe1ktfXPpfrJaJ/ur8I6h/TVU6AWXP5HmgHRBF4a12OPWfULQ
+uDOOI4ZPE5p8L+T7U022QIZMcxlgezjgKfvyK0gKVpmF7AEYpcheeFigDcKMMXKP
+g6tfdyC9AsgGSCFo2B2q
+=d0lD
+-----END PGP SIGNATURE-----
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..5a3bdc6
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+64957f1d0aa93705bc1d0108442214e714d5b81a v2.0.267.git0efa7ab
diff --git a/.gear/upstream/remotes b/.gear/upstream/remotes
new file mode 100644
index 0000000..74aa0bc
--- /dev/null
+++ b/.gear/upstream/remotes
@@ -0,0 +1,3 @@
+[remote "upstream"]
+	url = https://github.com/systemd/casync.git
+	fetch = +refs/heads/*:refs/remotes/upstream/*
diff --git a/casync.spec b/casync.spec
new file mode 100644
index 0000000..13f8550
--- /dev/null
+++ b/casync.spec
@@ -0,0 +1,137 @@
+Name: casync
+Version: 2.0.267.git0efa7ab
+Release: alt1
+
+Summary: Content Addressable Data Synchronizer
+
+Group: Networking/File transfer
+License: LGPLv2+
+URL: https://github.com/systemd/casync
+
+Source: %name-%version.tar
+# git://git.altlinux.org/gears/c/casync.git
+Patch: %name-%version-%release.patch
+
+%def_enable fuse
+%def_enable selinux
+%def_enable udev
+%def_enable man
+
+%define meson_subst_bool() %{expand:%%{?_enable_%{1}:-D%{1}=true}%%{?_disable_%{1}:-D%{1}=false}}
+
+BuildRequires: meson >= 0.42.0
+BuildRequires: gcc
+BuildRequires: pkgconfig(liblzma) >= 5.1.0
+BuildRequires: pkgconfig(libzstd)
+BuildRequires: pkgconfig(zlib)
+BuildRequires: pkgconfig(libcurl) >= 7.32.0
+BuildRequires: pkgconfig(libssl)
+BuildRequires: libacl-devel
+%{?_enable_fuse:BuildRequires: pkgconfig(fuse) >= 2.6}
+%{?_enable_selinux:BuildRequires: pkgconfig(libselinux)}
+%{?_enable_udev:BuildRequires: pkgconfig(libudev)}
+%{?_enable_man:BuildRequires: python3-module-sphinx}
+%{?_enable_man:BuildRequires: python3-module-sphinx-sphinx-build-symlink}
+# for tests
+%{?_enable_fuse:BuildRequires: fuse}
+BuildRequires: rsync
+
+%description
+casync provides a way to efficiently transfer files which change over
+time over the internet. It will split a given set into a git-inspired
+content-addressable set of smaller compressed chunks, which can then
+be conveniently transferred using HTTP. On the receiving side those
+chunks will be uncompressed and merged together to recreate the
+original data. When the original data is modified, only the new chunks
+have to be transferred during an update.
+
+%prep
+%setup
+%patch -p1
+%ifarch %e2k
+# fixes for EDG frontend based compiler
+sed -i "s/(void)0/(void*)0/" src/util.h
+sed -i "/-Werror=return-type/d" meson.build
+%endif
+
+%build
+%meson \
+    --wrap-mode=nodownload \
+    %{meson_subst_bool fuse} \
+    %{meson_subst_bool selinux} \
+    %{meson_subst_bool udev} \
+    %{meson_subst_bool man} \
+    #
+%meson_build
+
+%check
+#export LC_ALL=en_US.UTF-8
+export LC_CTYPE=en_US.UTF-8
+
+# Meson-related macros in ALT are broken!
+# (ok, they just make little sense for the purpose of packaging)
+
+# Some of them are actually ninja-build macros and should belong to that package.
+# Really. They already do.
+
+# XXX: test 05 (nbd) fails in hasher (same reason?)
+#meson_test \
+meson test -C %_target_platform \
+%ifndef __BTE
+    test-script.sh \
+    test-script-sha256.sh \
+    test-script-gzip.sh \
+    test-script-xz.sh \
+    test-nbd.sh \
+    test-fuse.sh \
+%endif
+    test-cachunk \
+    test-cachunker \
+    test-cachunker-histogram \
+    test-cadigest \
+    test-caencoder \
+    test-camakebst \
+    test-caorigin \
+    test-casync \
+    test-cautil \
+    test-util \
+#
+
+%install
+%meson_install
+
+%files
+%doc README.md TODO NEWS
+%_bindir/casync
+%dir %_libexecdir/casync
+%dir %_libexecdir/casync/protocols
+%_libexecdir/casync/protocols/casync-ftp
+%_libexecdir/casync/protocols/casync-http
+%_libexecdir/casync/protocols/casync-https
+%_libexecdir/casync/protocols/casync-sftp
+%_man1dir/casync.1*
+%_udevrulesdir/75-casync.rules
+%_datadir/bash-completion/completions/*
+
+%changelog
+* Fri Sep 22 2023 Arseny Maslennikov <arseny@altlinux.org> 2.0.267.git0efa7ab-alt1
+- 2-219-gita8f6c84 -> 2-267-git0efa7ab.
+
+* Sat Jan 08 2022 Ilya Kurdyukov <ilyakurdyukov@altlinux.org> 2.0.219.gita8f6c84-alt1.1
+- Fixed build for Elbrus.
+
+* Tue Nov 12 2019 Arseny Maslennikov <arseny@altlinux.org> 2.0.219.gita8f6c84-alt1
+- 2-101-git8595b4d -> 2-219-gita8f6c84.
+- Included upstream-provided bash completion.
+
+* Wed Aug 29 2018 Grigory Ustinov <grenka@altlinux.org> 2.0.101.git8595b4d-alt1.1
+- NMU: Rebuild with new openssl 1.1.0.
+
+* Tue Feb 20 2018 Arseny Maslennikov <arseny@altlinux.org> 2.0.101.git8595b4d-alt1
+- 2-25-git6daefa8 -> 2-101-git8595b4d.
+- Built with libudev to leverage new functionality.
+- Included upstream NEWS in the package.
+
+* Sat Oct 07 2017 Arseny Maslennikov <arseny@altlinux.org> 2.0.25.git6daefa8-alt1
+- Initial build for ALT Sisyphus.
+
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin