Author: qboosh Date: Mon Jan 8 21:15:18 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - updated to 0.60
---- Files affected: SPECS: unalz.spec (1.6 -> 1.7) ---- Diffs: ================================================================ Index: SPECS/unalz.spec diff -u SPECS/unalz.spec:1.6 SPECS/unalz.spec:1.7 --- SPECS/unalz.spec:1.6 Mon Mar 13 19:04:53 2006 +++ SPECS/unalz.spec Mon Jan 8 22:15:12 2007 @@ -2,15 +2,14 @@ Summary: Utility for decompressing alzip format files Summary(pl): Narzędzie do dekompresji plików w formacie alzip Name: unalz -Version: 0.55 +Version: 0.60 Release: 1 License: BSD Group: Applications/Archiving Source0: http://www.kipple.pe.kr/win/unalz/%{name}-%{version}.tgz -# Source0-md5: 493e3258ac58be20ed8e179f9e0f01d1 +# Source0-md5: ccab4fa5686522b1d519724eef6f66cd URL: http://www.kipple.pe.kr/win/unalz/ BuildRequires: libstdc++-devel -BuildRequires: sed >= 4.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -22,15 +21,31 @@ %prep %setup -q -n %{name} -sed -i -e 's/ -liconv//' Makefile +# lacking functions +cat >> UnAlz.h <<EOF +extern "C" char *strlcpy(char *dst, const char *src, size_t dst_size); +extern "C" char *strlcat(char *dst, const char *src, size_t dst_size); +EOF +cat >> UnAlz.cpp <<EOF +char *strlcpy(char *dst, const char *src, size_t dst_size) +{ + strncpy(dst, src, dst_size - 1); + dst[dst_size - 1] = 0; +} +char *strlcat(char *dst, const char *src, size_t dst_size) +{ + strncat(dst, src, dst_size - 1); + dst[dst_size - 1] = 0; +} +EOF %build -%{__make} posix \ +%{__make} linux-utf8 \ CC="%{__cc}" \ CPP="%{__cxx}" \ CXX="%{__cxx}" \ CFLAGS="%{rpmcflags} -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" \ - CXXFLAGS="%{rpmcflags} -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" + CXXFLAGS="%{rpmcxxflags} -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" %install rm -rf $RPM_BUILD_ROOT @@ -51,6 +66,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.7 2007/01/08 21:15:12 qboosh +- updated to 0.60 + Revision 1.6 2006/03/13 18:04:53 qboosh - added CVE note to rev. 1.4 changelog ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/unalz.spec?r1=1.6&r2=1.7&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
