Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Feb 2012 13:34:30 +0100
From:      Kurt Jaeger <fbsd-ports@opsec.eu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/164821: new port: security/binwalk 0.4.1
Message-ID:  <E1RuNmA-000KUV-0x@zfs.opsec.eu>
Resent-Message-ID: <201202061240.q16Ce4B0098316@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         164821
>Category:       ports
>Synopsis:       new port: security/binwalk 0.4.1
>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:   Mon Feb 06 12:40:04 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kurt Jaeger
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
-
>Environment:
System: FreeBSD zfs.opsec.eu 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
	new port binwalk 0.4.1
>How-To-Repeat:
	-
>Fix:

#!/bin/sh
# This is a shell archive
echo x binwalk
mkdir -p binwalk > /dev/null 2>&1
echo x binwalk/pkg-plist
sed 's/^X//' > binwalk/pkg-plist << 'SHAR_END'
Xbin/binwalk
Xetc/binwalk/magic.binarch
Xetc/binwalk/magic.bincast
Xetc/binwalk/magic.binwalk
Xetc/binwalk/magic.o
X@dirrm etc/binwalk
SHAR_END
echo x binwalk/distinfo
sed 's/^X//' > binwalk/distinfo << 'SHAR_END'
XSHA256 (binwalk-0.4.1.tar.gz) = fc82c3acbf8d809cfff7896ac69c60e1ebcf1eb30ae7819a89e4ec036cc3b8a9
XSIZE (binwalk-0.4.1.tar.gz) = 695370
SHAR_END
echo x binwalk/pkg-descr
sed 's/^X//' > binwalk/pkg-descr << 'SHAR_END'
XBinwalk is a tool for searching a given binary image for embedded
Xfiles and executable code. Specifically, it is designed for identifying
Xfiles and code embedded inside of firmware images. Binwalk uses the
Xlibmagic library, so it is compatible with magic signatures created
Xfor the Unix file utility.
X
XBinwalk also includes a custom magic signature file which contains
Ximproved signatures for files that are commonly found in firmware
Ximages such as compressed/archived files, firmware headers, Linux
Xkernels, bootloaders, filesystems, etc.
XMore details are available at:
X
XWWW: http://code.google.com/p/binwalk/
SHAR_END
echo x binwalk/Makefile
sed 's/^X//' > binwalk/Makefile << 'SHAR_END'
X# New ports collection makefile for:	binwalk
X# Date created:				Feb  6, 2012
X# Whom:					Kurt Jaeger <fbsd-ports@opsec.eu>
X#
X# $FreeBSD$
X
XPORTNAME=	binwalk
XPORTVERSION=	0.4.1
XCATEGORIES=	security
XMASTER_SITES=	GOOGLE_CODE
X
XMAINTAINER=	fbsd-ports@opsec.eu
XCOMMENT=	Search binary images for embedded files and executable code
X
XLICENSE=	MIT
X
XGNU_CONFIGURE=	yes
XCFLAGS+=	-I${LOCALBASE}/include
XLDFLAGS+=	-L${LOCALBASE}/lib
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
X
X.include <bsd.port.mk>
SHAR_END
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1RuNmA-000KUV-0x>