From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Dec 22 19:10:15 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAA8D1065711 for ; Thu, 22 Dec 2011 19:10:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A73988FC22 for ; Thu, 22 Dec 2011 19:10:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBMJAFnZ074882 for ; Thu, 22 Dec 2011 19:10:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBMJAFQX074879; Thu, 22 Dec 2011 19:10:15 GMT (envelope-from gnats) Resent-Date: Thu, 22 Dec 2011 19:10:15 GMT Resent-Message-Id: <201112221910.pBMJAFQX074879@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hakisho Nukama Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACFE8106564A for ; Thu, 22 Dec 2011 19:03:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 90A628FC0A for ; Thu, 22 Dec 2011 19:03:41 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pBMJ3fSH044412 for ; Thu, 22 Dec 2011 19:03:41 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id pBMJ3f4k044409; Thu, 22 Dec 2011 19:03:41 GMT (envelope-from nobody) Message-Id: <201112221903.pBMJ3f4k044409@red.freebsd.org> Date: Thu, 22 Dec 2011 19:03:41 GMT From: Hakisho Nukama To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/163544: New port: sysutils/scalpel X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 19:10:15 -0000 >Number: 163544 >Category: ports >Synopsis: New port: sysutils/scalpel >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Dec 22 19:10:15 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Hakisho Nukama >Release: FreeBSD 9.0-RC3 >Organization: n/a >Environment: FreeBSD ports 9.0-RC3 FreeBSD 9.0-RC3 #0: Sun Dec 4 08:56:36 UTC 2011 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Scalpel is a fast file carver that reads a database of header and footer definitions and extracts matching files or data fragments from a set of image files or raw device files. Scalpel is filesystem-independent and will carve files from FATx, NTFS, ext2/3, HFS+, or raw partitions. It is useful for both digital forensics investigation and file recovery. WWW: http://www.digitalforensicssolutions.com/Scalpel/ >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # scalpel # scalpel/distinfo # scalpel/files # scalpel/files/pkg-message.in # scalpel/files/patch-src__scalpel.h # scalpel/Makefile # scalpel/pkg-descr # echo c - scalpel mkdir -p scalpel > /dev/null 2>&1 echo x - scalpel/distinfo sed 's/^X//' >scalpel/distinfo << '86c842a8aecd1ee5ee17aacd139f5ae1' XSHA256 (scalpel-2.0.tar.gz) = 164a8a58ad8473c545794e981ca6349f2b4b76107c9553baab10a8a0204267e7 XSIZE (scalpel-2.0.tar.gz) = 1436379 86c842a8aecd1ee5ee17aacd139f5ae1 echo c - scalpel/files mkdir -p scalpel/files > /dev/null 2>&1 echo x - scalpel/files/pkg-message.in sed 's/^X//' >scalpel/files/pkg-message.in << '9c978be59b373f047a046cbef44add66' X************************************************************ XScalpel has been successfully installed on your system. X XNow it is time to configure this package. XCopy %%PREFIX%%/etc/scalpel.conf.sample into your working Xdirectory as scalpel.conf and edit it. X XScalpel will always use scalpel.conf in your current working Xdirectory, if not specified with "-c /path/to/scalpel.conf". X X************************************************************ 9c978be59b373f047a046cbef44add66 echo x - scalpel/files/patch-src__scalpel.h sed 's/^X//' >scalpel/files/patch-src__scalpel.h << 'c07dc15d0f5c110d09a16c497fbe59c8' X--- ./src/scalpel.h.orig 2011-12-22 15:40:58.272748267 +0000 X+++ ./src/scalpel.h 2011-12-22 15:45:40.661981326 +0000 X@@ -73,6 +73,16 @@ X #define off64_t off_t X #endif /* ifdef __APPLE__ */ X X+#ifdef __FreeBSD__ X+#define __UNIX X+#include X+#include X+#include X+#include X+#include X+#define off64_t off_t X+#endif /* ifdef __FreeBSD__ */ X+ X #ifdef __linux X #define __UNIX X #include c07dc15d0f5c110d09a16c497fbe59c8 echo x - scalpel/Makefile sed 's/^X//' >scalpel/Makefile << '80e7398b2f000904683eade7dea225e9' X# New ports collection makefile for: Scalpel X# Date created: 2011-12-22 X# Whom: Hakisho Nukama X# X# $FreeBSD$ X# X XPORTNAME= scalpel XPORTVERSION= 2.0 XCATEGORIES= sysutils XMASTER_SITES= http://www.digitalforensicssolutions.com/Scalpel/ X XMAINTAINER= nukama@gmail.com XCOMMENT= A frugal, high performance file carver X XLICENSE= GPLv2 X XLIB_DEPENDS= tre.5:${PORTSDIR}/textproc/libtre X XGNU_CONFIGURE= yes XSUB_FILES= pkg-message X XMAN1= scalpel.1 XPLIST_FILES+= etc/scalpel.conf.sample bin/scalpel X XCFLAGS+= -I${LOCALBASE}/include -Wall XLDFLAGS+= -L${LOCALBASE}/lib X Xpost-install: X @${CP} -p ${WRKSRC}/scalpel.conf ${PREFIX}/etc/scalpel.conf.sample X @${CAT} ${PKGMESSAGE} X X.include 80e7398b2f000904683eade7dea225e9 echo x - scalpel/pkg-descr sed 's/^X//' >scalpel/pkg-descr << '6ea5ee02d0aca86105562ade434d4e59' XScalpel is a fast file carver that reads a database of header and footer Xdefinitions and extracts matching files or data fragments from a set of Ximage files or raw device files. XScalpel is filesystem-independent and will carve files from XFATx, NTFS, ext2/3, HFS+, or raw partitions. XIt is useful for both digital forensics investigation and file recovery. X XWWW: http://www.digitalforensicssolutions.com/Scalpel/ 6ea5ee02d0aca86105562ade434d4e59 exit >Release-Note: >Audit-Trail: >Unformatted: