From nobody@FreeBSD.org  Thu Dec 22 19:03:41 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id ACFE8106564A
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <nukama@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: sysutils/scalpel
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         163544
>Category:       ports
>Synopsis:       New port: sysutils/scalpel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    culot
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 22 19:10:15 UTC 2011
>Closed-Date:    Fri Dec 23 09:14:44 UTC 2011
>Last-Modified:  Fri Dec 23 09:30:14 UTC 2011
>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 <sys/ttycom.h>
X+#include <sys/param.h>
X+#include <sys/ioctl.h>
X+#include <libgen.h>
X+#include <tre/regex.h>
X+#define off64_t  off_t
X+#endif /* ifdef __FreeBSD__ */
X+
X #ifdef __linux
X #define __UNIX
X #include <linux/hdreg.h>
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 <nukama@gmail.com>
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 <bsd.port.mk>
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:
Responsible-Changed-From-To: freebsd-ports-bugs->culot 
Responsible-Changed-By: culot 
Responsible-Changed-When: Thu Dec 22 19:19:25 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163544 
State-Changed-From-To: open->closed 
State-Changed-By: culot 
State-Changed-When: Fri Dec 23 09:14:43 UTC 2011 
State-Changed-Why:  
New port added, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163544 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/163544: commit references a PR
Date: Fri, 23 Dec 2011 09:13:30 +0000 (UTC)

 culot       2011-12-23 09:13:21 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils             Makefile 
   Added files:
     sysutils/scalpel     Makefile distinfo pkg-descr 
     sysutils/scalpel/files pkg-message.in 
   Log:
   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/
   
   PR:             ports/163544
   Submitted by:   Hakisho Nukama <nukama@gmail.com>
   
   Revision  Changes    Path
   1.1359    +1 -0      ports/sysutils/Makefile
   1.1       +38 -0     ports/sysutils/scalpel/Makefile (new)
   1.1       +2 -0      ports/sysutils/scalpel/distinfo (new)
   1.1       +11 -0     ports/sysutils/scalpel/files/pkg-message.in (new)
   1.1       +8 -0      ports/sysutils/scalpel/pkg-descr (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/163544: commit references a PR
Date: Fri, 23 Dec 2011 09:26:58 +0000 (UTC)

 culot       2011-12-23 09:26:48 UTC
 
   FreeBSD doc repository (ports committer)
 
   Modified files:
     en_US.ISO8859-1/articles/contributors contrib.additional.sgml 
   Log:
   Add Hakisho Nukama <nukama@gmail.com> for sysutils/scalpel.
   
   PR:     ports/163544
   
   Revision  Changes    Path
   1.1043    +5 -0      doc/en_US.ISO8859-1/articles/contributors/contrib.additional.sgml
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
