-Update to 3.3.5
This commit is contained in:
parent
0ae0daeefe
commit
0020a10d39
4 changed files with 11 additions and 30 deletions
|
|
@ -1 +1 @@
|
|||
afflib-3.3.4.tar.gz
|
||||
afflib-3.3.5.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,22 +0,0 @@
|
|||
diff -up afflib-3.3.4/tools/afverify.cpp.gcc44 afflib-3.3.4/tools/afverify.cpp
|
||||
--- afflib-3.3.4/tools/afverify.cpp.gcc44 2008-07-21 06:25:29.000000000 +0200
|
||||
+++ afflib-3.3.4/tools/afverify.cpp 2009-03-02 12:48:59.000000000 +0100
|
||||
@@ -240,12 +240,16 @@ string get_xml_field(const char *buf,con
|
||||
int verify_bom_signature(AFFILE *af,const char *buf)
|
||||
{
|
||||
const char *cce = "</" AF_XML_AFFBOM ">\n";
|
||||
- char *chain_end = strstr(buf,cce);
|
||||
+ char *buf_tmp;
|
||||
+ char *cce_tmp;
|
||||
+ strcpy(buf_tmp, buf);
|
||||
+ strcpy(cce_tmp, cce);
|
||||
+ char *chain_end = strstr(buf_tmp,cce_tmp);
|
||||
if(!chain_end){
|
||||
warn("end of chain XML can't be found\n");
|
||||
return -1; // can't find it
|
||||
}
|
||||
- char *sig_start = chain_end + strlen(cce);
|
||||
+ char *sig_start = chain_end + strlen(cce_tmp);
|
||||
|
||||
BIO *seg = BIO_new_mem_buf((void *)buf,strlen(buf));
|
||||
BIO_seek(seg,0);
|
||||
15
afflib.spec
15
afflib.spec
|
|
@ -1,6 +1,6 @@
|
|||
Name: afflib
|
||||
Version: 3.3.4
|
||||
Release: 7%{?dist}
|
||||
Version: 3.3.5
|
||||
Release: 1%{?dist}
|
||||
Summary: Library to support the Advanced Forensic Format
|
||||
|
||||
Group: System Environment/Libraries
|
||||
|
|
@ -8,7 +8,6 @@ License: BSD with advertising
|
|||
URL: http://www.afflib.org
|
||||
Source0: http://www.afflib.org/downloads/afflib-%{version}.tar.gz
|
||||
Patch0: afflib-3.3.4-WCtype.patch
|
||||
Patch1: afflib-3.3.4-gcc44.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: libtool
|
||||
|
|
@ -58,16 +57,16 @@ developing applications that use %{name}.
|
|||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .WCtype
|
||||
%patch1 -p1 -b .gcc44
|
||||
# prevent internal lzma to be built - testing
|
||||
#rm -rf lzma443
|
||||
|
||||
#fix spurious permissions with lzma443
|
||||
find lzma443 -type f -exec chmod 0644 {} ';'
|
||||
chmod 0644 lib/base64.cpp
|
||||
chmod 0644 lib/base64.{h,cpp}
|
||||
|
||||
# Autoreconf
|
||||
autoreconf
|
||||
mkdir -p m4
|
||||
autoreconf -vif
|
||||
libtoolize --force
|
||||
|
||||
|
||||
|
|
@ -113,6 +112,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%files -n afftools
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/af*
|
||||
%{_mandir}/man1/afcat.1.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
|
|
@ -123,6 +123,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue May 12 2009 kwizart < kwizart at gmail.com > - 3.3.5-1
|
||||
- Update to 3.3.5
|
||||
|
||||
* Mon Mar 2 2009 kwizart < kwizart at gmail.com > - 3.3.4-7
|
||||
- Fix for gcc44
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
588dd75051d03f666a17ed49d08c1552 afflib-3.3.4.tar.gz
|
||||
917909c5de9cc941752ef086d6093de7 afflib-3.3.5.tar.gz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue