[Forensics-changes] [scalpel] 02/02: Imported Debian patch 1.60-1
Joao Eriberto Mota Filho
eriberto at moszumanska.debian.org
Mon Feb 2 14:38:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
eriberto pushed a commit to branch debian
in repository scalpel.
commit 2b283ed87221af0dfd65db645b6ac31024f93251
Author: Danny van der Meeren <danny at illogic.nl>
Date: Sat Dec 9 18:20:32 2006 +0100
Imported Debian patch 1.60-1
---
debian/changelog | 6 ++++++
debian/compat | 1 +
debian/control | 16 ++++++++++++++++
debian/copyright | 27 +++++++++++++++++++++++++++
debian/docs | 1 +
debian/install | 2 ++
debian/rules | 33 +++++++++++++++++++++++++++++++++
scalpel.c | 4 ++--
scalpel.h | 2 +-
9 files changed, 89 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..097b007
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+scalpel (1.60-1) unstable; urgency=low
+
+ * Changed scalpel.h and scalpel.c to take default config from /etc/scalpel
+ * Initial release (Closes: #402341)
+
+ -- Danny van der Meeren <danny at illogic.nl> Sat, 9 Dec 2006 18:20:32 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ac13e80
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,16 @@
+Source: scalpel
+Section: utils
+Priority: optional
+Maintainer: Danny van der Meeren <danny at illogic.nl>
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.7.2
+
+Package: scalpel
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: A Frugal, High Performance File Carver
+ A fast file carver that reads a database of header and footer definitions
+ and extracts matching files from a set of image files or raw device files.
+ Scalpel is filesystem-independent and will carve files from FATx, NTFS, ext2/3,
+ or raw partitions. It is useful for both digital forensics investigation and
+ file recovery.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3a0fcae
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+This package was debianized by Danny van der Meeren <danny at illogic.nl> on
+Sat, 9 Dec 2006 18:20:32 +0100.
+
+It was downloaded from <http://www.digitalforensicssolutions.com/Scalpel>
+
+Upstream Author: Golden G. Richards III <golden at digitalforensicssolutions.com>
+
+Copyright: (C) 2005-6 by Golden G. Richard III
+<golden at digitalforensicssolutions.com>
+
+License:
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+The Debian packaging is (C) 2006, Danny van der Meeren <danny at illogic.nl> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..8f8045d
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+scalpel /usr/bin
+scalpel.conf /etc/scalpel
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d8611ce
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,33 @@
+#!/usr/bin/make -f
+
+build: build-stamp
+build-stamp:
+ $(MAKE)
+ touch $@
+
+install: build
+ dh_clean -k
+
+clean:
+ rm -f build-stamp
+ dh_clean
+ -$(MAKE) clean
+
+binary-indep:
+
+binary-arch binary: build install
+ dh_install
+ dh_installchangelogs
+ dh_installdocs
+ dh_installman scalpel.1
+ dh_installchangelogs changelog
+ dh_installdeb
+ dh_compress
+ dh_fixperms
+ dh_strip
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+.PHONY: build binary binary-arch binary-indep clean install
diff --git a/scalpel.c b/scalpel.c
index 091532e..56c077a 100644
--- a/scalpel.c
+++ b/scalpel.c
@@ -500,8 +500,8 @@ void convertFileNames(struct scalpelState *state) {
realpath(state->outputdirectory,fn);
strncpy(state->outputdirectory,fn,MAX_STRING_LENGTH);
- realpath(state->conffile,fn);
- strncpy(state->conffile,fn,MAX_STRING_LENGTH);
+// realpath(state->conffile,fn);
+// strncpy(state->conffile,fn,MAX_STRING_LENGTH);
}
diff --git a/scalpel.h b/scalpel.h
index c1c227b..a4cdca8 100644
--- a/scalpel.h
+++ b/scalpel.h
@@ -189,7 +189,7 @@ extern int errno;
#define SCALPEL_NOEXTENSION '\xFF'
#define SCALPEL_DEFAULT_WILDCARD '?'
-#define SCALPEL_DEFAULT_CONFIG_FILE "scalpel.conf"
+#define SCALPEL_DEFAULT_CONFIG_FILE "/etc/scalpel/scalpel.conf"
#define SCALPEL_DEFAULT_OUTPUT_DIR "scalpel-output"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/scalpel.git
More information about the forensics-changes
mailing list