Commit 1e91efd1 authored by Pierre Chifflier's avatar Pierre Chifflier

Imported Upstream version 20130416

parent 0c88c8b5

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

Acknowledgements: libewf
Copyright (c) 2006-2012, Joachim Metz <jbmetz@users.sourceforge.net>
Copyright (c) 2006-2013, Joachim Metz <joachim.metz@gmail.com>
This code is derived from information and software contributed by:
- Expert Witness Compression Format specification by Andrew Rosen
......@@ -33,5 +33,5 @@ Additional credits go to:
e.g. for autoconf/automake optimization.
- Several others for pointing out flaws within the product and its related
documentation. Refer to the project website for more information:
http://libewf.sourceforge.net/
http://code.google.com/p/libewf/
This diff is collapsed.
......@@ -4,19 +4,25 @@ SUBDIRS = \
include \
common \
libcstring \
liberror \
libnotify \
libcerror \
libcdata \
libclocale \
libcnotify \
libcsplit \
libuna \
libcfile \
libcpath \
libbfio \
libfcache \
libfvalue \
libmfcache \
libmfdata \
libewf \
libhmac \
libcaes \
libewf \
libodraw \
libsmdev \
libsmraw \
libsystem \
libcsystem \
ewftools \
ewf.net \
pyewf \
......@@ -55,8 +61,6 @@ SPEC_FILES = \
EXTRA_DIST = \
README.dll \
README.macosx \
README.mingw \
README.static \
$(DPKG_FILES) \
$(GETTEXT_FILES) \
$(PKGCONFIG_FILES) \
......@@ -78,13 +82,20 @@ lib: library
library:
(cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libcstring && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/liberror && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libnotify && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libcdata && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libclocale && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libcnotify && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libcsplit && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libuna && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libcfile && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libcpath && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libbfio && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libfcache && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libfvalue && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libmfcache && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libmfdata && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libhmac && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libcaes && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libewf && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
......@@ -104,19 +115,25 @@ distclean: clean
splint:
(cd $(srcdir)/libcstring && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/liberror && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libnotify && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libcerror && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libcdata && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libclocale && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libcnotify && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libcsplit && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libuna && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libcfile && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libcpath && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libbfio && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libfcache && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libfvalue && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libmfcache && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libmfdata && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libewf && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libhmac && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libcaes && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libewf && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libodraw && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libsmdev && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libsmraw && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libsystem && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libcsystem && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/ewftools && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/tests && $(MAKE) splint $(AM_MAKEFLAGS))
......
This diff is collapsed.
Dependencies
libewf requires:
* zlib
* bzip2
(optional for EWF2 support)
* libcrypto (OpenSSL) or Windows Crypto API (from the Windows Platform SDK)
(optional but recommended)
ewftools require:
* libcrypto (OpenSSL) or Windows Crypto API from the Windows Platform SDK
* libcrypto (OpenSSL) or Windows Crypto API (from the Windows Platform SDK)
(optional but recommended)
* libuuid or Windows RPC API
(optional but recommended)
......@@ -13,28 +17,8 @@ ewfmount requires:
(optional but recommended)
Building .deb files
To build .deb files make sure you've have installed debhelper, dpkg-buildpackage and fakeroot
* copy the dpkg directory to debian
* run "dpkg-buildpackage -rfakeroot"
this will create the .deb files in the parent directory
Building .rpm files
To build .rpm files make sure you've have installed rpmbuild
* rename the distrubted tar.gz file if necessary; applies to experimental, alpha and beta versions
"mv libewf-alpha-<version>.tar.gz libewf-<version>.tar.gz"
* run "rpmbuild -ta libewf-<version>.tar.gz"
this will create the .rpm files in the rpmbuild tree, commonly ~/rpmbuild/RPMS/...
Solaris
To build libewf on Solaris make sure that /usr/ccs/bin and /usr/sfw/bin are defined in the PATH environment variable
Also see:
See:
* http://code.google.com/p/libewf/wiki/Building
* README.dll
* README.macosx
* README.mingw
* README.static
......@@ -5,31 +5,12 @@ Creating and using a DLL
Creating a DLL
There are multiple methods of creating a DLL:
* using Borland C++
* using CodeGear
* using Cygwin
* using Microsoft Visual Studio C++
* using MingW
Creating a DLL using Borland C++
To create a DLL using Borland C++ you'll need:
* Borland C++ Builder
The provided Borland C++ project files were created using the 5.0 SP1
version.
* The zlib 1.2.7 source package including from the zlib project site:
http://www.gzip.org/zlib/
Extract the contents of the zlib DLL package to:
libewf-<version>/borlandc/zlib-1.2.7
Make sure to check if your build environment defines the correct WINVER for your build.
The code uses WINAPI version specific functions based on WINVER.
You can define a custom WINVER in the Borland C++ project files or in libewf-<version>/common/config_borlandc.h
You should be able to build the DLL using the provided project files.
Creating a DLL using CodeGear
To create a DLL using CodeGear you'll need:
* Embarcadero CodeGear C++ Builder
......@@ -37,11 +18,18 @@ To create a DLL using CodeGear you'll need:
version. Note that some version of CodeGear have a broken
compiler/linker and you'll need to turn off code optimization
to be able to build libewf.
* The zlib 1.2.7 source package including from the zlib project site:
* The latest zlib source package including from the zlib project site:
http://www.gzip.org/zlib/
* The latest bzip2 source package including from the bzip2 project site:
http://www.bzip.org/
Extract the contents of the zlib DLL package to:
libewf-<version>/borlandc/zlib-1.2.7
Extract the contents of the zlib source package to the directory containing the extracted libewf source.
Normally the extracted zlib source directory will have a version number e.g. zlib-1.2.7, to remain
version independent rename the directory to zlib.
Extract the contents of the bzip2 source package to the directory containing the extracted libewf source.
Normally the extracted bzip2 source directory will have a version number e.g. bzip2-1.0.6, to remain
version independent rename the directory to bzip2.
Make sure to check if your build environment defines the correct WINVER for your build.
The code uses WINAPI version specific functions based on WINVER.
......@@ -64,6 +52,7 @@ Cygwin with the following packages:
* gettext
* libiconv
* zlib-devel
* bzip2-devel (optional but recommended)
* openssl-devel (optional but recommended)
* libuuid-devel (optional but recommended)
......@@ -88,11 +77,18 @@ To create a DLL using Microsoft Visual Studio C++ you'll need:
Microsoft website
* Microsoft Windows SDK (if not already included) for the Windows Crypto API
The Windows SDK is available on the Microsoft website
* The zlib 1.2.7 source package including from the zlib project site:
* The latest zlib source package including from the zlib project site:
http://www.gzip.org/zlib/
* The latest bzip2 source package including from the bzip2 project site:
http://www.bzip.org/
Extract the contents of the zlib source package to the directory containing the extracted libewf source.
Normally the extracted zlib source directory will have a version number e.g. zlib-1.2.7, to remain
version independent rename the directory to zlib.
Extract the contents of the zlib DLL package to:
libewf-<version>/msvscpp/zlib-1.2.7
Extract the contents of the bzip2 source package to the directory containing the extracted libewf source.
Normally the extracted bzip2 source directory will have a version number e.g. bzip2-1.0.6, to remain
version independent rename the directory to bzip2.
Make sure to check if your build environment defines the correct WINVER for your build.
The code uses WINAPI version specific functions based on WINVER.
......
Mac OS X
* missing libtoolize
* building multiple architure binaries
* building ewfmount with MacFuse
* building ewfmount with OSXFuse
* building ewfmount
Missing libtoolize
......@@ -10,43 +9,9 @@ Use glibtoolize instead
Building multiple architecture binaries
E.g. on Mac OS X 10.4 to build an PPC and Intel 32-bit multi binary, run the following commands:
CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386" \
LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386" \
./configure --disable-dependency-tracking --prefix=$PWD/macosx/tmp/
make
make install
See: http://code.google.com/p/libewf/wiki/Building
E.g. on Mac OS X 10.6 to build an Intel 32-bit and 64-bit multi binary, run the following commands:
CFLAGS="-isysroot /Developer/SDKs/MacOSX10.6.sdk -arch x86_64 -arch i386" \
LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk -arch x86_64 -arch i386" \
./configure --disable-dependency-tracking --prefix=$PWD/macosx/tmp/
make
make install
The binaries are installed in $PWD/macosx/tmp/
Building ewfmount with MacFuse
Note that MacFuse is no longer maintained and OSXFuse is an alternative
Install MacFuse
http://code.google.com/p/macfuse/
MacFuse is known to include the non-existing file sys/statfs.h, therefore create it:
sudo touch /usr/include/sys/statfs.h
./configure
make
sudo make install
Building ewfmount with OSXFuse
Install OSXFuse
http://osxfuse.github.com/
./configure --with-libfuse=/usr/local/
make
sudo make install
Building ewfmount
See: http://code.google.com/p/libewf/wiki/Mounting