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..153e670 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +NAME := jigdo +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 c437dd7..afc7c7d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ # jigdo -3rd Party (Maintained by Koozali) git repo for jigdo smeserver \ No newline at end of file +3rd Party (Maintained by Koozali) git repo for jigdo 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* +
+ +Jigdo is a software package designed for downloading large files from the Internet. It is a free software that can be used to download ISO images of CDs and DVDs. It works by comparing digital signatures of a local file on your machine to the digital signatures of the files on an FTP server. Once a match is found, it will begin downloading the missing pieces of the file. Jigdo is designed to save time and bandwidth by only downloading the parts of a file that have changed, rather than downloading the entire file each time. diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..ef36a67 --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +sme10 diff --git a/jigdo-0.7.1-debug.patch b/jigdo-0.7.1-debug.patch new file mode 100644 index 0000000..08326f1 --- /dev/null +++ b/jigdo-0.7.1-debug.patch @@ -0,0 +1,12 @@ +diff -up jigdo-0.7.3/configure.debug jigdo-0.7.3/configure +--- jigdo-0.7.3/configure.debug 2006-05-19 17:16:14.000000000 -0400 ++++ jigdo-0.7.3/configure 2008-08-05 11:03:24.000000000 -0400 +@@ -2676,8 +2676,6 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + +-CFLAGS=`echo "$CFLAGS" | sed 's/\(^\| \)-g\( \|$\)/ /'` +-CXXFLAGS=`echo "$CXXFLAGS" | sed 's/\(^\| \)-g\( \|$\)/ /'` + IF_GXX2="#" + IFNOT_GXX2="" + if test "$GXX" = yes; then diff --git a/jigdo-0.7.3-gcc43.patch b/jigdo-0.7.3-gcc43.patch new file mode 100644 index 0000000..07356f0 --- /dev/null +++ b/jigdo-0.7.3-gcc43.patch @@ -0,0 +1,80 @@ +diff -ur jigdo-0.7.3.orig/src/compat.hh jigdo-0.7.3/src/compat.hh +--- jigdo-0.7.3.orig/src/compat.hh 2005-07-02 10:21:35.000000000 -0700 ++++ jigdo-0.7.3/src/compat.hh 2008-03-11 23:01:45.000000000 -0700 +@@ -20,6 +20,7 @@ + + #include + #include ++#include + #include + #include + #include +diff -ur jigdo-0.7.3.orig/src/gtk/gtk-single-url.cc jigdo-0.7.3/src/gtk/gtk-single-url.cc +--- jigdo-0.7.3.orig/src/gtk/gtk-single-url.cc 2005-10-15 14:27:39.000000000 -0700 ++++ jigdo-0.7.3/src/gtk/gtk-single-url.cc 2008-03-11 23:05:48.000000000 -0700 +@@ -15,6 +15,7 @@ + + #include + #include ++#include + + #include + #include +diff -ur jigdo-0.7.3.orig/src/gtk/jigdo.cc jigdo-0.7.3/src/gtk/jigdo.cc +--- jigdo-0.7.3.orig/src/gtk/jigdo.cc 2005-07-09 15:21:04.000000000 -0700 ++++ jigdo-0.7.3/src/gtk/jigdo.cc 2008-03-11 23:06:26.000000000 -0700 +@@ -16,6 +16,8 @@ + # include + #endif + ++#include ++ + #include + #include + #include +diff -ur jigdo-0.7.3.orig/src/recursedir.cc jigdo-0.7.3/src/recursedir.cc +--- jigdo-0.7.3.orig/src/recursedir.cc 2006-05-14 11:23:31.000000000 -0700 ++++ jigdo-0.7.3/src/recursedir.cc 2008-03-11 23:04:21.000000000 -0700 +@@ -32,6 +32,7 @@ + #include + + #include ++#include + #include + #include + #include +diff -ur jigdo-0.7.3.orig/src/util/configfile.cc jigdo-0.7.3/src/util/configfile.cc +--- jigdo-0.7.3.orig/src/util/configfile.cc 2003-09-27 14:31:04.000000000 -0700 ++++ jigdo-0.7.3/src/util/configfile.cc 2008-03-11 23:05:00.000000000 -0700 +@@ -19,6 +19,8 @@ + #include + #include + ++#include ++ + #include + #include + //______________________________________________________________________ +diff -ur jigdo-0.7.3.orig/src/util/md5sum.hh jigdo-0.7.3/src/util/md5sum.hh +--- jigdo-0.7.3.orig/src/util/md5sum.hh 2005-04-09 16:09:52.000000000 -0700 ++++ jigdo-0.7.3/src/util/md5sum.hh 2008-03-11 23:07:04.000000000 -0700 +@@ -28,6 +28,8 @@ + + #include + ++#include ++ + #include + #include + #include +diff -ur jigdo-0.7.3.orig/src/util/string-utf.cc jigdo-0.7.3/src/util/string-utf.cc +--- jigdo-0.7.3.orig/src/util/string-utf.cc 2004-09-11 16:26:30.000000000 -0700 ++++ jigdo-0.7.3/src/util/string-utf.cc 2008-03-11 23:07:43.000000000 -0700 +@@ -15,6 +15,7 @@ + #include + #include + #include ++#include + + #include + #include diff --git a/jigdo-0.7.3.tar.bz2 b/jigdo-0.7.3.tar.bz2 new file mode 100644 index 0000000..cbb2bc1 --- /dev/null +++ b/jigdo-0.7.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:875c069abad67ce67d032a9479228acdb37c8162236c0e768369505f264827f0 +size 644670 diff --git a/jigdo.desktop b/jigdo.desktop new file mode 100644 index 0000000..317a03e --- /dev/null +++ b/jigdo.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Jigsaw Download Manager +GenericName=Download Manager +Comment=Download files prepared for Jigdo +Exec=jigdo +Icon=jigdo-icon.png +Terminal=false +StartupWMClass="jigdo" +Type=Application +Categories=GTK;Application;Network; +Encoding=UTF-8 diff --git a/jigdo.spec b/jigdo.spec new file mode 100644 index 0000000..28a7f8e --- /dev/null +++ b/jigdo.spec @@ -0,0 +1,187 @@ +Name: jigdo +Version: 0.7.3 +Release: 10%{?dist} +Summary: Ease distribution of large files over the Internet + +Group: Applications/Internet +# Exception is permission to link with OpenSSL +License: GPLv2 with exceptions +URL: http://atterer.net/jigdo/ +Source0: http://atterer.net/jigdo/%{name}-%{version}.tar.bz2 +Source1: jigdo.desktop +Patch1: jigdo-0.7.1-debug.patch +Patch2: jigdo-0.7.3-gcc43.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: db4-devel, bzip2-devel, curl-devel, /bin/awk, gettext +BuildRequires: desktop-file-utils, gtk2-devel >= 0:2.0.6 +Requires: wget + +%description +Jigsaw Download, or short jigdo, is a tool designed to ease the +distribution of very large files over the internet, for example CD or +DVD images. Its aim is to make downloading the images as easy for +users as a click on a direct download link in a browser, while +avoiding all the problems that server administrators have with hosting +such large files. It accomplishes this by using the separate pieces +of any big file (such as the files contained within a CD/DVD image) to +create a special "template" file which makes reassembly of the big +file very easy for users who only have the pieces. + +%prep +%setup -q +%patch1 -p1 -b .debug +%patch2 -p1 -b .gcc43 + +%build +%configure --with-uint64=unsigned_long --without-libdb +# --with-libdb=-ldb +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR="$RPM_BUILD_ROOT" INSTALL_EXE="/usr/bin/install -c" install +# remove debian-specific script +rm -f $RPM_BUILD_ROOT%{_bindir}/jigdo-mirror \ + $RPM_BUILD_ROOT%{_mandir}/man?/jigdo-mirror* +%find_lang %{name} + +mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications +desktop-file-install --vendor fedora \ + --dir $RPM_BUILD_ROOT/%{_datadir}/applications \ + --add-category X-Fedora-Extra \ + %{SOURCE1} + +# icon +mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps +install -m 0644 -p gfx/jigdo-icon.png $RPM_BUILD_ROOT%{_datadir}/pixmaps + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc changelog COPYING README THANKS doc/*.html doc/TechDetails.txt doc/README-bindist.txt +%{_bindir}/* +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/* +%{_datadir}/pixmaps/jigdo-icon.png +%{_datadir}/applications/* +%attr(0644,root,root) %{_mandir}/man[^3]/* + +%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. + +* Mon May 30 2016 Jean-Philipe Pialasse 0.7.3-10.sme +- configure --with-uint64=unsigned_long --without-libdb +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + Sat Jan 24 2002 --> Sat Jan 19 2002 or Thu Jan 24 2002 or Sat Jan 26 2002 or .... + Sun Jan 25 2002 --> Sun Jan 20 2002 or Fri Jan 25 2002 or Sun Jan 27 2002 or .... + Mon Jan 26 2002 --> Mon Jan 21 2002 or Sat Jan 26 2002 or Mon Jan 28 2002 or .... + +* Fri Jul 24 2009 Fedora Release Engineering - 0.7.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0.7.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Aug 5 2008 Tom "spot" Callaway - 0.7.3-7 +- fix license tag + +* Tue Mar 11 2008 Ian Burrell - 0.7.3-6 +- Add patch for gcc 4.3 support + +* Tue Feb 19 2008 Fedora Release Engineering - 0.7.3-5 +- Autorebuild for GCC 4.3 + +* Mon Aug 27 2007 Ian M. Burrell - 0.7.3-4 +- Rebuild for db4 upgrade + +* Tue Oct 31 2006 Ian Burrell - 0.7.3-3 +- Rebuild for curl update + +* Mon Sep 11 2006 Ian Burrell - 0.7.3-2 +- Rebuild for FC6 + +* Sun Jun 25 2006 Ian Burrell - 0.7.3-1 +- Update to 0.7.3 +- Remove obsolete patches + +* Wed Mar 8 2006 Ian Burrell - 0.7.2-3 +- Remove dependency on w3c-libwww + +* Sun Jan 29 2006 Ian Burrell - 0.7.2-2 +- Cleanup BuildRequires +- Patch for GCC 4.1 + +* Thu Dec 22 2005 Ian Burrell - 0.7.2-1 +- Update to 0.7.2 +- Patch from CVS for 64-bit + +* Fri Apr 15 2005 Charles R. Anderson 0.7.1-4 +- add gcc4 patch +- remove --enable-debug and patch out configure's removal of -g + +* Fri Apr 15 2005 Charles R. Anderson 0.7.1-3 +- BR gettext instead +- move icon back to /usr/share/pixmaps +- add Category GTK to desktop file + +* Fri Apr 15 2005 Charles R. Anderson 0.7.1-2 +- BR gettext-devel +- desktop category X-Fedora-Extra + +* Mon Apr 11 2005 Charles R. Anderson 0.7.1-1 +- prepare for Fedora Extras +- update to 0.7.1 +- remove unneeded db41 and debug patches + +* Fri Jul 02 2004 Charles R. Anderson 0:0.7.0-0.fdr.5 +- install icon to /usr/share/jigdo/pixmaps and use that path in desktop file +- remove jigdo-mirror, since it is debian-specific + +* Tue Jun 01 2004 Charles R. Anderson 0:0.7.0-0.fdr.4 +- don't strip binaries so debuginfo is created properly +- make jigdo-icon.png non-executable +- fixup buildroot path in jigdo-lite +- use more descriptive summary, description, and desktop file metadata + +* Mon Feb 02 2004 Charles R. Anderson 0:0.7.0-0.fdr.3 +- Revise patch to compile against db-4.1+ + +* Mon Feb 02 2004 Charles R. Anderson 0:0.7.0-0.fdr.2 +- Add patch to compile against db-4.2. +- BuildRequires: zlib-devel, /bin/awk +- Requires: wget +- Integrate jigdo.desktop into .spec file + +* Sat Jan 31 2004 Charles R. Anderson 0:0.7.0-0.fdr.1 +- Initial fedoraized release +- Install i18n files +- Install desktop file and icon +- Add a bunch of BuildRequires + +* Sat Jan 26 2002 Alexander Skwar 0.6.2-4mdk + Mon Jan 26 2002 --> Mon Jan 21 2002 or Sat Jan 26 2002 or Mon Jan 28 2002 or .... +- Icons will be provided in the gfx subdirectory of the tarball + +* Fri Jan 25 2002 Alexander Skwar 0.6.2-3mdk + Sun Jan 25 2002 --> Sun Jan 20 2002 or Fri Jan 25 2002 or Sun Jan 27 2002 or .... +- Jigdo compiles with gcc 2.96 now +- Only re-define the macros if they aren't yet defined + +* Thu Jan 24 2002 Alexander Skwar 0.6.2-2mdk + Sat Jan 24 2002 --> Sat Jan 19 2002 or Thu Jan 24 2002 or Sat Jan 26 2002 or .... +- Make the SPEC be generic, so that it can be built on non-Mandrake + machines + +* Thu Jan 24 2002 Alexander Skwar 0.6.2-1mdk + Sat Jan 24 2002 --> Sat Jan 19 2002 or Thu Jan 24 2002 or Sat Jan 26 2002 or .... +- 0.6.2 +- Remove patch1 - merged upstream + +* Tue Jan 22 2002 Alexander Skwar 0.6.1-1mdk +- First Mandrake release +