Abstract: binwalk.spec

Binwalk 0.4.5 on CentOS 6

binwalk.spec

Name:           binwalk
Version:        0.4.5
Release:        2.1
Summary:        Firmware analysis tool
License:        MIT
URL:            https://code.google.com/p/%{name}/
Source0:        https://%{name}.googlecode.com/files/%{name}-%{version}.tar.gz
BuildRequires:  libcurl-devel
BuildRequires:  zlib-devel

%description
Binwalk is a tool for searching a given binary image for embedded files and
executable code. Specifically, it is designed for identifying files and code
embedded inside of firmware images. Binwalk uses the libmagic library, so it is
compatible with magic signatures created for the Unix file utility.

Binwalk also includes a custom magic signature file which contains improved
signatures for files that are commonly found in firmware images such as
compressed/archived files, firmware headers, Linux kernels, bootloaders,
filesystems, etc.

%prep
%setup -q -n %{name}-%{version}

%build
cd src
%configure \
 --disable-updates \
# --enable-libmagic
make %{?_smp_mflags}

%install
cd src
make install DESTDIR=$RPM_BUILD_ROOT

%files
%{_bindir}/%{name}
%{_sysconfdir}/%{name}
%doc docs/README

%clean
rm -rf $RPM_BUILD_ROOT

%changelog
* Mon Oct  8 2012 Hnr Kordewiner <hnr@kordewiner.com> - 0.4.5
- Rebuild for RHEL6/CentOS6, new upstream version

* Tue Jul 10 2012 Huaren Zhong <huaren.zhong@gmail.com> - 0.4.3
- Rebuild for Fedora

* Fri Jun 08 2012 qmp <glang@lavabit.com> - 0.4.3-1
- New upstream version

* Sat Nov 26 2011 qmp <glang@lavabit.com> - 0.4-1
- Initial packaging

More Infos

helpdesk/centos/binwalk (zuletzt geändert am 2012-10-08 09:14:30 durch heiner)