.gear/rules | 3 + .../tags/bb5b030c87f6a8e33734a14baaddce1fca872691 | 18 +++ .gear/tags/list | 1 + .gear/zziplib.spec | 136 +++++++++++++++++++++ configure.ac | 8 +- 5 files changed, 159 insertions(+), 7 deletions(-) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..6a3fac2 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,3 @@ +tar: v@version@:. +spec: .gear/zziplib.spec +diff: v@version@:. . name=@name@-@version@-alt.patch diff --git a/.gear/tags/bb5b030c87f6a8e33734a14baaddce1fca872691 b/.gear/tags/bb5b030c87f6a8e33734a14baaddce1fca872691 new file mode 100644 index 0000000..aa31a93 --- /dev/null +++ b/.gear/tags/bb5b030c87f6a8e33734a14baaddce1fca872691 @@ -0,0 +1,18 @@ +object 9d82e19c7f654722f9e37deaa9eb91c25ad544ec +type commit +tag v0.13.69 +tagger Guido Draheim 1521290844 +0100 + +* fix a number of CVEs reported with special *.zip PoC files +* man-pages are generated with new dbk2man.py - docbook xmlto is optional now +* completing some doc strings while checking the new man-pages to look good +* allow the zziptests.py testsuite to run with an installed /bin path +* try to fix some issues on testing with non-installed binaries on non-linux platfors +* update autotools to allow compiling on some newer Mac / Win machines +* a zip-program is still required for testing, but some errors are gone when not there +* complete the approximation of fnmatch for the test binaries (on platforms without) +* allow windows __mmap.h to be simpler, helping with some problems on MingW +* integrate 'fopen("wb")' from TexLive to be more portable across +* more portability as well for helpers like strnlen being used in the sources +* update doc refs to point to github instead of sf.net +* update the sf.net pages to have a prominent hint on newer github.com location diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..ca81887 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +bb5b030c87f6a8e33734a14baaddce1fca872691 v0.13.69 diff --git a/.gear/zziplib.spec b/.gear/zziplib.spec new file mode 100644 index 0000000..c7eae95 --- /dev/null +++ b/.gear/zziplib.spec @@ -0,0 +1,136 @@ +%def_with largefile +%def_with manpages + +Name: zziplib +Version: 0.13.69 +Release: alt1 + +Summary: Lightweight library to easily extract data from zip files +License: LGPL/MPL +Group: System/Libraries + +URL: http://zziplib.sourceforge.net/ +Source: http://downloads.sourceforge.net/zziplib/zziplib-%version.tar +Patch0: %name-%version-alt.patch + +# Automatically added by buildreq on Fri Nov 26 2010 +BuildRequires: libSDL-devel python-modules xmlto zip zlib-devel + +%description +The zziplib provides read access to zipped files in a zip-archive, using +compression based solely on free algorithms provided by zlib. It also provides +a functionality to overlay the archive filesystem with the filesystem of the +operating system environment. + +%package devel +Summary: Files needed to develop programs using zziplib +Group: Development/C +Requires: %name = %version-%release + +%description devel +The zziplib provides read access to zipped files in a zip-archive, using +compression based solely on free algorithms provided by zlib. It also provides +a functionality to overlay the archive filesystem with the filesystem of the +operating system environment. + +This package contains files needed to develop programs using zziplib. + +%package utils +Summary: ZZipLib utilites +Group: Archiving/Compression +Requires: %name = %version-%release + +%description utils +The zziplib provides read access to zipped files in a zip-archive, using +compression based solely on free algorithms provided by zlib. It also provides +a functionality to overlay the archive filesystem with the filesystem of the +operating system environment. + +This package contains some useful ZZipLib utilites. + +%prep +%setup +%patch0 -p1 +sed -i 's|^\(CFLAGS.*\)|\1 -g|' $(find ./ -name Makefile.in) + +%build +autoconf +%configure --enable-sdl --disable-static %{subst_with largefile} +# strip rpath +subst 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' */libtool +subst 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' */libtool +%make_build + +%install +%makeinstall_std %{?_with_manpages: install-man3} + +%files +%_libdir/lib*.so.* + +%files devel +%doc docs/README.SDL +%_libdir/lib*.so +%_pkgconfigdir/*.pc +%_datadir/aclocal/*.m4 +%_includedir/* +%if_with manpages +%_man3dir/* +%endif + +%files utils +%_bindir/* + +%changelog +* Tue Apr 03 2018 Anton Farygin 0.13.69-alt1 +- 0.13.69 + +* Sun Jul 23 2017 Anton Farygin 0.13.66-alt1 +- 0.13.66 + +* Fri Mar 16 2012 Victor Forsiuk 0.13.62-alt1 +- 0.13.62 + +* Tue Dec 27 2011 Victor Forsiuk 0.13.60-alt2 +- Fix RPATH issue. + +* Sat Mar 12 2011 Eugeny A. Rostovtsev (REAL) 0.13.60-alt1.1 +- Rebuilt for debuginfo + +* Thu Dec 30 2010 Victor Forsiuk 0.13.60-alt1 +- 0.13.60 + +* Fri Nov 26 2010 Victor Forsiuk 0.13.59-alt2 +- Rebuilt for soname set-versions. + +* Tue Apr 06 2010 Victor Forsiuk 0.13.59-alt1 +- 0.13.59 + +* Thu Jul 09 2009 Victor Forsyuk 0.13.56-alt1 +- 0.13.56 + +* Thu Jun 18 2009 Victor Forsyuk 0.13.54-alt1 +- 0.13.54 + +* Mon Dec 29 2008 Victor Forsyuk 0.13.50-alt1 +- 0.13.50 + +* Wed Dec 17 2008 Victor Forsyuk 0.13.49-alt2 +- Remove obsolete ldconfig calls. + +* Tue Mar 20 2007 Victor Forsyuk 0.13.49-alt1 +- 0.13.49 with security fix, see http://www.securitylab.ru/forum/read.php?FID=21&TID=40858&MID=326187 +- More accurate License tag (dual LGPL/MPL). +- Build (conditionally) with man pages. + +* Thu Feb 02 2006 ALT QA Team Robot 0.13.38-alt1.1 +- Rebuilt for new pkg-config dependencies. + +* Mon May 16 2005 Victor Forsyuk 0.13.38-alt1 +- Author suggests not to use unmaintained and deep frozen 0.10.x anymore. + So we switch to developer branch - 0.13. +- Add URL. +- Enable build with SDL. +- Update buildreqs. + +* Thu May 06 2004 Sir Raorn 0.10.82-alt1 +- Built for Sisyphus diff --git a/configure.ac b/configure.ac index 9d45f34..24cc16d 100644 --- a/configure.ac +++ b/configure.ac @@ -166,13 +166,7 @@ if test "_$ac_cv_header_zlib_h" != "_yes" ; then AC_MSG_ERROR(zlib.h not found: "zlib" is required to build "$PACKAGE") exit 1 fi -cat >conftest.c < -const char* zlib_VeRsIoN = ZLIB_VERSION "dEtEcT"; -EOF -ZLIB_VERSION=`(eval "$ac_cpp conftest.c") 2>/dev/null \ -| grep zlib_VeRsIoN | sed -e 's,.*= *.,,' -e 's,. *.dEtEcT.*,,'` -rm conftest.c +ZLIB_VERSION=`pkg-config --modversion zlib` AC_SUBST(ZLIB_VERSION) AC_MSG_RESULT(yes - $ZLIB_VERSION) # ----------------------------------------------------------------