--- scalpel-1.60.orig/scalpel.c +++ scalpel-1.60/scalpel.c @@ -500,8 +500,8 @@ 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); } --- scalpel-1.60.orig/scalpel.h +++ scalpel-1.60/scalpel.h @@ -189,7 +189,7 @@ #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" --- scalpel-1.60.orig/debian/copyright +++ scalpel-1.60/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Danny van der Meeren on +Sat, 9 Dec 2006 18:20:32 +0100. + +It was downloaded from + +Upstream Author: Golden G. Richards III + +Copyright: (C) 2005-6 by Golden G. Richard III + + +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 and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- scalpel-1.60.orig/debian/compat +++ scalpel-1.60/debian/compat @@ -0,0 +1 @@ +5 --- scalpel-1.60.orig/debian/install +++ scalpel-1.60/debian/install @@ -0,0 +1,2 @@ +scalpel /usr/bin +scalpel.conf /etc/scalpel --- scalpel-1.60.orig/debian/control +++ scalpel-1.60/debian/control @@ -0,0 +1,16 @@ +Source: scalpel +Section: utils +Priority: optional +Maintainer: Danny van der Meeren +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. --- scalpel-1.60.orig/debian/changelog +++ scalpel-1.60/debian/changelog @@ -0,0 +1,12 @@ +scalpel (1.60-1build1) precise; urgency=low + + * No-change rebuild to drop spurious libsfgcc1 dependency on armhf. + + -- Adam Conrad Fri, 02 Dec 2011 21:19:37 -0700 + +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 Sat, 9 Dec 2006 18:20:32 +0100 --- scalpel-1.60.orig/debian/rules +++ scalpel-1.60/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 --- scalpel-1.60.orig/debian/docs +++ scalpel-1.60/debian/docs @@ -0,0 +1 @@ +README