From 7d376fb5f6c0e84b65569437936aec282dc6b94bf8beb2b4d2ee01b969ad6a31 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 25 Oct 2008 02:54:35 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zziplib?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + ready | 0 zziplib-0.13.49.patch | 10 ++++ zziplib-0.13.49.tar.bz2 | 3 + zziplib.changes | 37 +++++++++++++ zziplib.spec | 119 ++++++++++++++++++++++++++++++++++++++++ 7 files changed, 193 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 ready create mode 100644 zziplib-0.13.49.patch create mode 100644 zziplib-0.13.49.tar.bz2 create mode 100644 zziplib.changes create mode 100644 zziplib.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4 diff --git a/zziplib-0.13.49.patch b/zziplib-0.13.49.patch new file mode 100644 index 0000000..a685c75 --- /dev/null +++ b/zziplib-0.13.49.patch @@ -0,0 +1,10 @@ +--- m4/ax_cflags_no_writable_strings.m4 ++++ m4/ax_cflags_no_writable_strings.m4 +@@ -40,6 +40,7 @@ + for ac_arg dnl + in "-pedantic % -fno-writable-strings -Wwrite-strings" dnl GCC + "-pedantic % -fconst-strings -Wwrite-strings" dnl newer GCC ++ "-Wall % -Wwrite-strings" dnl GCC4.1+ + "-v -Xc % -xstrconst" dnl Solaris C - strings go into readonly segment + "+w1 -Aa % +ESlit" dnl HP-UX C - strings go into readonly segment + "-w0 -std1 % -readonly_strings" dnl Digital Unix - again readonly segment diff --git a/zziplib-0.13.49.tar.bz2 b/zziplib-0.13.49.tar.bz2 new file mode 100644 index 0000000..8a47e56 --- /dev/null +++ b/zziplib-0.13.49.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b3cabf8a39aa56df8e7fa98f303511846a7f17daf6a4b8e006e885814de56d09 +size 545656 diff --git a/zziplib.changes b/zziplib.changes new file mode 100644 index 0000000..623b8a2 --- /dev/null +++ b/zziplib.changes @@ -0,0 +1,37 @@ +------------------------------------------------------------------- +Fri Oct 24 12:32:13 CEST 2008 - wgottwalt@suse.de + +- removed ./msvc7/pkzip.exe and ./msvc8/zip.exe to avoid license + problems + +------------------------------------------------------------------- +Wed Aug 15 05:35:45 CEST 2007 - crrodriguez@suse.de + +- update to version 0.13.49 fixes #260734 buffer overflow + due to wrong usage of strcpy() + +------------------------------------------------------------------- +Thu Mar 29 20:59:38 CEST 2007 - dmueller@suse.de + +- adjust buildrequires + +------------------------------------------------------------------- +Mon Dec 4 15:10:35 CET 2006 - dmueller@suse.de + +- don't build as root + +------------------------------------------------------------------- +Tue Oct 3 11:24:24 CEST 2006 - aj@suse.de + +- Fix build. + +------------------------------------------------------------------- +Fri Aug 18 08:15:46 CEST 2006 - aj@suse.de + +- Fix build. + +------------------------------------------------------------------- +Mon May 22 13:53:45 CEST 2006 - wgottwalt@suse.de + +- initial release +- still problems with the "make check" build option diff --git a/zziplib.spec b/zziplib.spec new file mode 100644 index 0000000..3c15910 --- /dev/null +++ b/zziplib.spec @@ -0,0 +1,119 @@ +# +# spec file for package zziplib (Version 0.13.49) +# +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + + +Name: zziplib +Summary: ZZipLib: Free Zip Compression Library with an Easy-to-Use API +Version: 0.13.49 +Release: 104 +License: LGPL v2.1 or later +Group: System/Libraries +AutoReqProv: on +Url: http://zziplib.sourceforge.net +Source0: http://prdownloads.sourceforge.net/zziplib/%{name}-%{version}.tar.bz2 +Patch: zziplib-0.13.49.patch +BuildRequires: pkgconfig python zlib-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +ZZipLib is a library for dealing with zip and zip-like archives by +using free algorithms of zlib. + + + +Authors: +-------- + Guido Draheim + +%package devel +License: LGPL v2.1 or later +Summary: ZZipLib: free zip compression library with easy to use API +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} glibc-devel zlib-devel + +%description devel +That are the header files needed for developing applications using +ZZipLib. + + + +Authors: +-------- + Guido Draheim + +%prep +%setup -q +%patch + +%build +autoreconf -fi +%configure --enable-largefile --disable-static --with-pic +%{__make} %{?jobs:-j%jobs} +make doc + +%install +%{__make} DESTDIR=%{buildroot} install +%{__rm} -f docs/Make* docs/zziplib-manpages.ar +grep -r include %{buildroot}%{_includedir} + +%check +%{__make} check || exit 0 + +%clean +%{__rm} -rf %{buildroot} + +%post -n %{name} -p /sbin/ldconfig + +%postun -n %{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libzzip*-*.so.* + +%files devel +%defattr(-,root,root) +%doc docs/README* docs/* ChangeLog README TODO +%{_bindir}/unzzip* +%{_bindir}/zz* +%{_bindir}/unzip-mem +%{_libdir}/libzzip*.la +%{_libdir}/libzzip*.so +%{_includedir}/* +%{_libdir}/pkgconfig/*.pc +%{_mandir}/man3/* +%{_datadir}/aclocal/*.m4 + +%changelog +* Fri Oct 24 2008 wgottwalt@suse.de +- removed ./msvc7/pkzip.exe and ./msvc8/zip.exe to avoid license + problems +* Wed Aug 15 2007 crrodriguez@suse.de +- update to version 0.13.49 fixes #260734 buffer overflow + due to wrong usage of strcpy() +* Thu Mar 29 2007 dmueller@suse.de +- adjust buildrequires +* Mon Dec 04 2006 dmueller@suse.de +- don't build as root +* Tue Oct 03 2006 aj@suse.de +- Fix build. +* Fri Aug 18 2006 aj@suse.de +- Fix build. +* Mon May 22 2006 wgottwalt@suse.de +- initial release +- still problems with the "make check" build option