From 4320cf9344370569e440bc182aa95ec21082f813 Mon Sep 17 00:00:00 2001 From: Brian Read Date: Fri, 14 Jul 2023 22:37:08 +0100 Subject: [PATCH] initial commit of file from CVS for zsync on Fri 14 Jul 22:37:08 BST 2023 --- .gitattributes | 1 + .gitignore | 3 ++ Makefile | 21 ++++++++++++ README.md | 10 +++++- contriborbase | 1 + zsync-0.6.2.tar.bz2 | 3 ++ zsync.spec | 78 +++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 contriborbase create mode 100644 zsync-0.6.2.tar.bz2 create mode 100644 zsync.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..5eb6edd --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.bz2 filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1534ba5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.rpm +*.log +*spec-20* diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f12d740 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: zsync +# $Id: Makefile,v 1.1 2016/05/30 07:16:04 unnilennium Exp $ +NAME := zsync +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/README.md b/README.md index ae94e26..0c8c206 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ # zsync -3rd Party (Maintained by Koozali) git repo for zsync smeserver \ No newline at end of file +3rd Party (Maintained by Koozali) git repo for zsync smeserver + +## Description + +
*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.* +*Once it has been checked, then this comment will be deleted* +
+ +Zsync is a file transfer software package that enables fast, efficient, and reliable downloading of large files over the internet. It works by breaking up the file into smaller chunks, and only downloading the pieces that have changed. This reduces the amount of data that needs to be transferred, and speeds up the download process. Zsync can be used to download files from a range of sources, including FTP, HTTP, and RSYNC servers. diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..ef36a67 --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +sme10 diff --git a/zsync-0.6.2.tar.bz2 b/zsync-0.6.2.tar.bz2 new file mode 100644 index 0000000..ee6983e --- /dev/null +++ b/zsync-0.6.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b9d53433387aa4f04634a6c63a5efa8203070f2298af72a705f9be3dda65af2 +size 245592 diff --git a/zsync.spec b/zsync.spec new file mode 100644 index 0000000..194a4c9 --- /dev/null +++ b/zsync.spec @@ -0,0 +1,78 @@ +# $Id$ +# Authority: dag +# Upstream: Colin Phipps + +Summary: Partial/differential file transfer client over HTTP +Name: zsync +Version: 0.6.2 +Release: 1%{?dist} +License: Artistic License v2 +Group: Applications/Internet +URL: http://zsync.moria.org.uk/ + +Packager: Dag Wieers +Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ + +Source: http://zsync.moria.org.uk/download/zsync-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root + +%description +zsync is a file transfer program. It allows you to download a file from +a remote server, where you have a copy of an older version of the file +on your computer already. zsync downloads only the new parts of the file. + +zsync uses the same algorithm as rsync. However, where rsync is designed +for synchronising data from one computer to another within an organisation, +zsync is designed for file distribution, with one file on a server to be +distributed to thousands of downloaders. zsync requires no special server +software just a web server to host the files and imposes no extra load on +the server, making it ideal for large scale file distribution. + +%prep +%setup + +%build +%configure +%{__make} %{?_smp_mflags} + +%install +%{__rm} -rf %{buildroot} +%{__make} install DESTDIR="%{buildroot}" + +%clean +%{__rm} -rf %{buildroot} + +%files +%defattr(-, root, root, 0755) +%doc COPYING INSTALL README +%doc %{_mandir}/man1/zsync.1* +%doc %{_mandir}/man1/zsyncmake.1* +%{_bindir}/zsync +%{_bindir}/zsyncmake +%exclude %{_docdir}/zsync/ + +%changelog +* Fri Jul 14 2023 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + +* Tue Sep 21 2010 Dag Wieers - 0.6.2-1 +- Updated to release 0.6.2. + +* Tue Jan 27 2009 Dag Wieers - 0.6-1 +- Updated to release 0.6. + +* Sun Aug 06 2006 Dag Wieers - 0.5-1 +- Updated to release 0.5. + +* Sun Jul 09 2006 Dag Wieers - 0.4.3-1 +- Updated to release 0.4.3. + +* Thu Jul 14 2005 Dag Wieers - 0.4.1-1 +- Updated to release 0.4.1. + +* Sun May 08 2005 Dag Wieers - 0.4.0-1 +- Updated to release 0.4.0. + +* Tue Apr 05 2005 Dag Wieers - 0.3.3-1 +- Initial package. (using DAR)