commit a5a1c292b308df726d2353a239bdd99f282d9c1e220a5329917c41ded3b69d1f Author: Greg Freemyer Date: Tue Sep 20 03:41:16 2016 +0000 Accepting request 428874 from home:gregfreemyer:Tools-for-forensic-boot-cd A new dependency of python-plaso OBS-URL: https://build.opensuse.org/request/show/428874 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfvde?expand=0&rev=1 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/libfvde-experimental-20160918.tar.gz b/libfvde-experimental-20160918.tar.gz new file mode 100644 index 0000000..658ee35 --- /dev/null +++ b/libfvde-experimental-20160918.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6863ae991163ac068994201dc45028627a8e60076dd574b7cf594b5f330242af +size 1643264 diff --git a/libfvde.changes b/libfvde.changes new file mode 100644 index 0000000..ebb85ed --- /dev/null +++ b/libfvde.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Sep 1 02:25:08 UTC 2016 - Greg.Freemyer@gmail.com + +- initial package 0~20160918 + diff --git a/libfvde.spec b/libfvde.spec new file mode 100644 index 0000000..ee4e500 --- /dev/null +++ b/libfvde.spec @@ -0,0 +1,164 @@ +# +# spec file for package libfvde +# +# Copyright (c) 2016 SUSE LINUX 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/ +# + + +%define lname libfvde1 +%define timestamp 20160918 +Name: libfvde +Version: 0~%{timestamp} +Release: 0 +Summary: Library to access the File Vault Drive Encryption format +License: LGPL-3.0+ and GFDL-1.3+ +Group: Productivity/File utilities +Url: https://github.com/libyal/libfvde/ +Source: https://github.com/libyal/libfvde/releases/download/%{timestamp}/libfvde-experimental-%{timestamp}.tar.gz +BuildRequires: pkg-config +BuildRequires: pkgconfig(fuse) +BuildRequires: pkgconfig(zlib) +BuildRequires: pkgconfig(openssl) + +BuildRequires: pkgconfig(libbfio) >= 20130721 +BuildRequires: pkgconfig(libcdata) >= 20140105 +BuildRequires: pkgconfig(libcfile) >= 20130609 +BuildRequires: pkgconfig(libclocale) >= 20130609 +BuildRequires: pkgconfig(libcnotify) >= 20120425 +BuildRequires: pkgconfig(libcpath) >= 20130609 +BuildRequires: pkgconfig(libcsplit) >= 20130609 +BuildRequires: pkgconfig(libcsystem) >= 20120425 +BuildRequires: pkgconfig(libcthreads) >= 20150101 +BuildRequires: pkgconfig(libfcache) >= 20120405 +BuildRequires: pkgconfig(libfdata) >= 20120405 +BuildRequires: pkgconfig(libfvalue) >= 20150101 +BuildRequires: pkgconfig(libuna) >= 20150101 +BuildRequires: pkgconfig(libcaes) +BuildRequires: pkgconfig(libfguid) +BuildRequires: pkgconfig(libhmac) +#BuildRequires: pkgconfig(libtool) +#BuildRequires: pkgconfig(libcerror) >= 20140105 +#BuildRequires: pkgconfig(libcstring) >= 20120425 + +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +libfvde is a library to access the File Vault Drive Encryption format. + +%package -n %{lname} +Summary: Library to access the File Vault Drive Encryption format +License: LGPL-3.0+ +Group: System/Libraries + +%description -n %{lname} +The libfvde library is a library to access the File Vault Drive Encryption format + +%package tools +Summary: Several tools for reading the File Vault Drive Encryption format +License: LGPL-3.0+ +Group: Productivity/File utilities +Requires: %{lname} = %{version} + +%description tools +Several tools for reading the File Vault Drive Encryption format + +See libfvde for additional details. + +%package devel +Summary: Header files and libraries for developing applications for libfvde +License: LGPL-3.0+ and GFDL-1.3+ +Group: Development/Libraries/C and C++ +Requires: %{lname} = %{version} + +%description devel +Header files and libraries for developing applications for libfvde + +See libfvde for additional details. + +This package contains libraries and header files for developing +applications that want to make use of libfvde. + +%package -n python-%{name} +Summary: Python 2 bindings for libfvde +License: LGPL-3.0+ +Group: Development/Libraries/Python +Requires: %{lname} = %{version} +Requires: python +BuildRequires: pkgconfig(python2) +Provides: pyfvde + +%description -n python-%{name} +This packinge provides Python 2 bindings for libfvde + +%package -n python3-%{name} +Summary: Python 3 bindings for libfvde +License: LGPL-3.0+ +Group: Development/Libraries/Python +Requires: %{lname} = %{version} +Requires: python3 +BuildRequires: pkgconfig(python3) +Provides: pyfvde + +%description -n python3-%{name} +This packinge provides Python 3 bindings for libfvde + +%prep +%setup -q -n libfvde-%{timestamp} + +%build +%configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3 +make %{?_smp_mflags} + +%install +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot} -type f -name "*.la" -delete -print + +%check +# make check + +%post -n %{lname} -p /sbin/ldconfig + +%postun -n %{lname} -p /sbin/ldconfig + +%files -n %{lname} +%defattr(-,root,root) +%doc AUTHORS COPYING NEWS README ChangeLog +%{_libdir}/libfvde.so.* + +%files tools +%defattr(-,root,root) +%doc AUTHORS COPYING +%{_bindir}/fvde* +%{_mandir}/man1/fvde*.1* + +%files devel +%defattr(-,root,root) +%doc AUTHORS COPYING +%{_includedir}/libfvde.h +%{_includedir}/libfvde/ +%{_libdir}/libfvde.so +%{_libdir}/pkgconfig/libfvde.pc +%{_mandir}/man3/libfvde.3* + +%files -n python-%{name} +%defattr(-,root,root) +%doc AUTHORS COPYING +%{python_sitearch}/pyfvde.so + +%files -n python3-%{name} +%defattr(-,root,root) +%doc AUTHORS COPYING +%{python3_sitearch}/pyfvde.so + +%changelog