From 15bac5958efc99f97f92ba8fefdc2923e8067ed8 Mon Sep 17 00:00:00 2001
From: rishwanth <rishwanthsenthilkumar@gmail.com>
Date: Wed, 31 Jan 2018 14:11:43 -0500
Subject: [PATCH] added debian files for deb build

---
 debian/README.source       |  6 ++++++
 debian/changelog           |  5 +++++
 debian/compat              |  1 +
 debian/control             | 36 ++++++++++++++++++++++++++++++++++++
 debian/copyright           | 13 +++++++++++++
 debian/rules               | 25 +++++++++++++++++++++++++
 debian/sleuthkit-docs.docs |  2 ++
 debian/source/format       |  1 +
 8 files changed, 89 insertions(+)
 create mode 100644 debian/README.source
 create mode 100644 debian/changelog
 create mode 100644 debian/compat
 create mode 100644 debian/control
 create mode 100644 debian/copyright
 create mode 100755 debian/rules
 create mode 100644 debian/sleuthkit-docs.docs
 create mode 100644 debian/source/format

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 000000000..78bde1a87
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,6 @@
+sleuthkit for Debian
+-------------------
+
+
+ -- Rishwanth Senthilkumar <rishwanth@basistech.com>  Tue, 30 Jan 2018 15:34:02 -0500
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 000000000..220b055b6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+sleuthkit (4.6.0-1) unstable; urgency=medium
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Rishwanth Senthilkumar <rishwanth@basistech.com>  Tue, 30 Jan 2018 15:34:02 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 000000000..ec635144f
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 000000000..76e48b2bc
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,36 @@
+Source: sleuthkit
+Section: contrib
+Priority: optional
+Maintainer: Rishwanth Senthilkumar <rishwanth@basistech.com>
+Build-Depends: debhelper (>=9),autotools-dev, libewf-dev (>= 20130416), libsqlite3-dev, libafflib-dev (>= 3.6.6)  
+Standards-Version: 4.0.0
+Homepage: http://www.sleuthkit.org/sleuthkit
+
+Package: sleuthkit
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libewf-dev (>= 20130416), libafflib-dev (>= 3.6.6), libsqlite3-dev
+Description: tools for forensics analysis on volume and filesystem data
+ The Sleuth Kit, also known as TSK, is a collection of UNIX-based command
+ line file and volume system forensic analysis tools. The filesystem tools
+ allow you to examine filesystems of a suspect computer in a non-intrusive
+ fashion. Because the tools do not rely on the operating system to process the
+ filesystems, deleted and hidden content is shown.
+ .
+ The volume system (media management) tools allow you to examine the layout of
+ disks and other media. You can also recover deleted files, get information
+ stored in slack spaces, examine filesystems journal, see partitions layout on
+ disks or images etc. But is very important clarify that the TSK acts over the
+ current filesystem only.
+ .
+ The Sleuth Kit supports DOS partitions, BSD partitions (disk labels), Mac
+ partitions, Sun slices (Volume Table of Contents), and GPT disks. With these
+ tools, you can identify where partitions are located and extract them so that
+ they can be analyzed with filesystem analysis tools.
+ .
+ Currently, TSK supports several filesystems, as NTFS, FAT, exFAT, HFS+, Ext3,
+ Ext4, UFS and YAFFS2.
+ .
+ This package contains the set of command line tools in The Sleuth Kit.
+
+
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 000000000..e38494913
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,13 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: The Sleuth Kit (TSK)
+Upstream-Contact: Brian Carrier <carrier@sleuthkit.org>
+Source: https://github.com/sleuthkit/sleuthkit
+
+Files: *
+Copyright: 2001-2016 Brian Carrier <carrier@sleuthkit.org>
+           2002      @stake Inc.
+           2005      Naysawn Naderi <ndn@xiphos.ca>
+           2006-2011 Joachim Metz <jbmetz@users.sourceforge.net>
+           2006-2014 Basis Technology <carrier@sleuthkit.org>
+License: CPL-1.0
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 000000000..8543e7181
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+# package maintainers to append CFLAGS
+#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
+# package maintainers to append LDFLAGS
+export DEB_LDFLAGS_MAINT_APPEND = -lsqlite3 -lsupc++ -Wl,--as-needed
+
+
+%:
+	dh $@  --with autotools_dev
+
+
+# dh_make generated override targets
+# This is example for Cmake (See https://bugs.debian.org/641051 )
+#override_dh_auto_configure:
+#	dh_auto_configure -- #	-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
+
diff --git a/debian/sleuthkit-docs.docs b/debian/sleuthkit-docs.docs
new file mode 100644
index 000000000..efea0a6a2
--- /dev/null
+++ b/debian/sleuthkit-docs.docs
@@ -0,0 +1,2 @@
+README.Debian
+README.source
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
-- 
GitLab