Hello community, here is the log from the commit of package bulk_extractor for openSUSE:Factory checked in at 2013-09-13 16:14:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bulk_extractor (Old) and /work/SRC/openSUSE:Factory/.bulk_extractor.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bulk_extractor" Changes: -------- --- /work/SRC/openSUSE:Factory/bulk_extractor/bulk_extractor.changes 2013-08-05 20:41:51.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.bulk_extractor.new/bulk_extractor.changes 2013-09-13 16:14:12.000000000 +0200 @@ -1,0 +2,27 @@ +Wed Sep 11 20:01:48 UTC 2013 - [email protected] + +- update to v1.4.0 + * There is a long list of bug fixes and improvements, see ChangeLog and be-1.4.0-announcement.pdf in /usr/share folder + * added support for lightgrep library which greatly improves keyword search speed + * src/scan_accts.flex (dob): DOBs, Fedex#s, and SSNs are now recorded to a feature recorder called 'pii.txt'. + * src/scan_net.cpp (scan_net): the -S variable carve_tcp is now implemented by the scan_net scanner to enable or disable TCP/IP memory structure carving. It is disabled by default. + * src/scan_zip.cpp (scan_zip_component): now prints mtime in ISO8601 format + * src/bulk_extractor.h: removed all global options; replaced with the be config system + * src/bulk_extractor.cpp (main): -S now sets options; -s now sets sampling fraction. + * src/bulk_extractor.cpp (usage): The -B option for specifying the blocksize for bulk data analysis has been removed. Instead specify it with -S block_size=NN. +- commented out be-1.3.1-cpuid.patch. It is unclear how to rebase. +- rebase ppc-cpuid.patch, ppc build still broken possibly because of missing be-1.3.1-cpuid patch +- delete be-1.3.1-remove-date-time.patch +- add be-1.4.0-remove-date-time.patch (it is in a different source file, so this is not just a rebase) +- add BuildRequires lightgrep shared library + * This is not mandatory and could be conditioned out for architectures that don't have it +- add patch to prevent a new test program from being packaged + * PATCH-FIX-OPENSUSE be-1.3.1-remove-debug-program [/usr/bin/plugin_test should not be installed] +- Add BuildRequires java-devel. This allows the BEViewer to build and install +- BEViewer.jar is installing to /usr/bin. Move it to /usr/share/bulk_extractor. +- use sed to update BEViewer to reference the jar in /usr/share/bulk_extractor, not /usr/bin +- Add BEViewer script and jar file to %files section +- Add the announcement email as a standalone PDF as documentation +- Add requires: sleuthkit so that identify_filenames.py works properly + +------------------------------------------------------------------- Old: ---- be-1.3.1-remove-date-time.patch bulk_extractor-1.3.1.tar.gz New: ---- be-1.4.0-announcement.pdf be-1.4.0-remove-date-time.patch be-1.4.0-remove-debug-program.patch bulk_extractor-1.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bulk_extractor.spec ++++++ --- /var/tmp/diff_new_pack.vP1wHy/_old 2013-09-13 16:14:14.000000000 +0200 +++ /var/tmp/diff_new_pack.vP1wHy/_new 2013-09-13 16:14:14.000000000 +0200 @@ -17,26 +17,33 @@ Name: bulk_extractor -Version: 1.3.1 +Version: 1.4.0 Release: 0 Summary: Bulk Email and URL extraction tool License: GPL-3.0+ Group: Productivity/File utilities Url: https://github.com/simsong/bulk_extractor/wiki/Introducing-bulk_extractor -Source: https://github.com/downloads/simsong/bulk_extractor/bulk_extractor-%{version}.tar.gz +Source: http://digitalcorpora.org/downloads/bulk_extractor/bulk_extractor-1.4.0.tar.gz +Source2: be-1.4.0-announcement.pdf # PATCH-FIX-UPSTREAM be-1.3.1-cpuid.patch [allow build on non-x86] Patch1: be-1.3.1-cpuid.patch # PATCH-FIX-UPSTREAM ppc-cpuid.patch [allow build on PPC] Patch2: ppc-cpuid.patch # PATCH-FIX-OPENSUSE be-1.3.1-remove-date-time.patch [remove __DATE__ and __TIME__] -Patch3: be-1.3.1-remove-date-time.patch +Patch3: be-1.4.0-remove-date-time.patch +# PATCH-FIX-OPENSUSE be-1.3.1-remove-debug-program [/usr/bin/plugin_test should not be installed] +Patch4: be-1.4.0-remove-debug-program.patch BuildRequires: afflib-devel BuildRequires: flex BuildRequires: gcc-c++ +BuildRequires: java-devel BuildRequires: libewf-devel BuildRequires: libexiv2-devel +BuildRequires: liblightgrep-devel BuildRequires: openssl-devel BuildRequires: zlib-devel +# We need fiwalk which was added to sleuthkit in v4.1.0 +Requires: sleuthkit >= 4.1 %description bulk_extractor is a C++ program that scans a disk image, a file, or a @@ -48,9 +55,12 @@ %prep %setup -q -%patch1 -p1 +# %%patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 +sed -i 's|-jar `pwd -P`/BEViewer.jar|-jar %{_datadir}/%{name}/BEViewer.jar|' java_gui/BEViewer +cp "%{SOURCE2}" . %build %configure @@ -58,11 +68,18 @@ %install %make_install +# jars +install -dm 0755 "%{buildroot}/%{_datadir}/%{name}" +mv "%{buildroot}/%{_bindir}/BEViewer.jar" "%{buildroot}/%{_datadir}/%{name}/" %files %defattr(-,root,root) %doc ChangeLog README COPYING +%doc be-1.4.0-announcement.pdf %doc %{_mandir}/man1/bulk_extractor.1.gz %{_bindir}/bulk_extractor +%{_bindir}/BEViewer +%dir %{_datadir}/%{name} +%attr(0644,root,root) %{_datadir}/%{name}/BEViewer.jar %changelog ++++++ be-1.3.1-remove-date-time.patch -> be-1.4.0-remove-date-time.patch ++++++ --- /work/SRC/openSUSE:Factory/bulk_extractor/be-1.3.1-remove-date-time.patch 2013-04-06 08:51:37.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.bulk_extractor.new/be-1.4.0-remove-date-time.patch 2013-09-13 16:14:12.000000000 +0200 @@ -1,18 +1,18 @@ -Index: bulk_extractor-1.3.1/src/be13_api/xml.cpp +Index: bulk_extractor-1.4.0/src/dfxml/src/dfxml_writer.cpp =================================================================== ---- bulk_extractor-1.3.1.orig/src/be13_api/xml.cpp -+++ bulk_extractor-1.3.1/src/be13_api/xml.cpp -@@ -739,13 +739,6 @@ void xml::add_DFXML_build_environment() +--- bulk_extractor-1.4.0.orig/src/dfxml/src/dfxml_writer.cpp ++++ bulk_extractor-1.4.0/src/dfxml/src/dfxml_writer.cpp +@@ -687,13 +687,6 @@ void dfxml_writer::add_DFXML_build_envir #ifdef LIBS xmlout("LIBS",LIBS,"",true); #endif -#if defined(__DATE__) && defined(__TIME__) && defined(HAVE_STRPTIME) - if(strptime(__DATE__,"%b %d %Y",&tm)){ -- char buf[64]; -- snprintf(buf,sizeof(buf),"%4d-%02d-%02dT%s",tm.tm_year+1900,tm.tm_mon+1,tm.tm_mday,__TIME__); -- xmlout("compilation_date",buf); +- char buf[64]; +- snprintf(buf,sizeof(buf),"%4d-%02d-%02dT%s",tm.tm_year+1900,tm.tm_mon+1,tm.tm_mday,__TIME__); +- xmlout("compilation_date",buf); - } -#endif - #ifdef HAVE_LIBTSK3 - xmlout("library", "", std::string("name=\"tsk\" version=\"") + tsk_version_get_str() + "\"",false); - #endif + #ifdef BOOST_VERSION + { + char buf[64]; ++++++ be-1.4.0-remove-debug-program.patch ++++++ Index: bulk_extractor-1.4.0/plugins/Makefile.in =================================================================== --- bulk_extractor-1.4.0.orig/plugins/Makefile.in +++ bulk_extractor-1.4.0/plugins/Makefile.in @@ -82,7 +82,8 @@ PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -bin_PROGRAMS = plugin_test$(EXEEXT) +# bin_PROGRAMS = plugin_test$(EXEEXT) +bin_PROGRAMS = subdir = plugins DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(top_srcdir)/depcomp AUTHORS COPYING ChangeLog INSTALL NEWS \ ++++++ bulk_extractor-1.3.1.tar.gz -> bulk_extractor-1.4.0.tar.gz ++++++ ++++ 86749 lines of diff (skipped) ++++++ ppc-cpuid.patch ++++++ --- /var/tmp/diff_new_pack.vP1wHy/_old 2013-09-13 16:14:14.000000000 +0200 +++ /var/tmp/diff_new_pack.vP1wHy/_new 2013-09-13 16:14:14.000000000 +0200 @@ -1,21 +1,8 @@ -Index: bulk_extractor-1.2.0/configure.ac +Index: bulk_extractor-1.4.0/configure =================================================================== ---- bulk_extractor-1.2.0.orig/configure.ac -+++ bulk_extractor-1.2.0/configure.ac -@@ -407,7 +407,7 @@ AC_LANG_POP() - ################################################################ - # - # Do we have the CPUID instruction? --AC_TRY_COMPILE([#define cpuid(id) __asm__( "cpuid" : "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx) : "a"(id), "b"(0), "c"(0), "d"(0))], -+AC_TRY_COMPILE([#define cpuid(id) __asm__ volatile ( "cpuid" : "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx) : "a"(id), "b"(0), "c"(0), "d"(0))], - [unsigned long eax, ebx, ecx, edx;cpuid(0);], - have_cpuid=yes, - have_cpuid=no) -Index: bulk_extractor-1.2.0/configure -=================================================================== ---- bulk_extractor-1.2.0.orig/configure -+++ bulk_extractor-1.2.0/configure -@@ -7799,7 +7799,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu +--- bulk_extractor-1.4.0.orig/configure ++++ bulk_extractor-1.4.0/configure +@@ -5560,7 +5560,7 @@ fi # Do we have the CPUID instruction? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
