From 53ee32f1b6547c0dfe933d11b364116208cc5ea6 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 7 Mar 2016 20:00:52 +0000 Subject: [PATCH] Add libguestfs-forensics subpackage. --- libguestfs.spec | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/libguestfs.spec b/libguestfs.spec index f1da962..2d29f68 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -134,7 +134,7 @@ BuildRequires: gcc >= 5.0.0-0.19.fc23 # for f in `cat appliance/packagelist`; do echo $f; done | sort -u # However you have to edit the list down to packages which exist in # current Fedora, since supermin ignores non-existent packages. -BuildRequires: acl attr augeas-libs bash binutils btrfs-progs bzip2 coreutils cpio cryptsetup dhclient diffutils dosfstools e2fsprogs file findutils gawk gdisk genisoimage gfs2-utils grep gzip hivex iproute iputils jfsutils kernel kmod less libcap libldm libselinux libxml2 lsof lsscsi lvm2 lzop mdadm nilfs-utils openssh-clients parted pcre procps psmisc reiserfs-utils rsync scrub sed strace systemd tar udev util-linux vim-minimal xfsprogs xz yajl zerofree +BuildRequires: acl attr augeas-libs bash binutils btrfs-progs bzip2 coreutils cpio cryptsetup dhclient diffutils dosfstools e2fsprogs file findutils gawk gdisk genisoimage gfs2-utils grep gzip hivex iproute iputils jfsutils kernel kmod less libcap libldm libselinux libxml2 lsof lsscsi lvm2 lzop mdadm nilfs-utils openssh-clients parted pcre procps psmisc reiserfs-utils rsync scrub sed sleuthkit strace systemd tar udev util-linux vim-minimal xfsprogs xz yajl zerofree %ifnarch ppc BuildRequires: hfsplus-tools %endif @@ -228,6 +228,7 @@ subpackages are: For enhanced features, install: + libguestfs-forensics adds filesystem forensics support libguestfs-gfs2 adds Global Filesystem (GFS2) support libguestfs-hfsplus adds HFS+ (Mac filesystem) support libguestfs-inspect-icons adds support for inspecting guest icons @@ -270,6 +271,16 @@ Requires: %{name}-tools-c = %{epoch}:%{version}-%{release} for %{name}. +%package forensics +Summary: Filesystem forensics support for %{name} +License: LGPLv2+ +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description forensics +This adds filesystem forensics support to %{name}. Install it if you +want to forensically analyze disk images using The Sleuth Kit. + + %package gfs2 Summary: GFS2 support for %{name} License: LGPLv2+ @@ -943,6 +954,7 @@ function move_to move_to curl zz-packages-dib move_to debootstrap zz-packages-dib move_to which zz-packages-dib +move_to sleuthkit zz-packages-forensics move_to gfs2-utils zz-packages-gfs2 move_to hfsplus-tools zz-packages-hfsplus move_to jfsutils zz-packages-jfs @@ -1031,6 +1043,9 @@ rm ocaml/html/.gitignore %{_libdir}/pkgconfig/libguestfs.pc +%files forensics +%{_libdir}/guestfs/supermin.d/zz-packages-forensics + %files gfs2 %{_libdir}/guestfs/supermin.d/zz-packages-gfs2