* Added origami pdf forensics framework

This commit is contained in:
grimmlin 2010-01-05 16:35:45 +00:00
parent 314510d12c
commit 6116d7a8b6
4 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,4 @@
AUX origami 64 RMD160 63ff10c1c294e37aa9819fa1e8260f6cf77ff3c2 SHA1 febb5a219fa746192e9d40f15e3c6a5151500e63 SHA256 89c8cfc873764c8abf03197dbb07d190757a5a4b4d51ddbdb5830544848ca9ac
AUX origami-gui 53 RMD160 31446d4e4c57fc4fc148a76a3eb53938c2103760 SHA1 953b5c2f6d7d4ceb75c71e2093016878acdd67e8 SHA256 32290a24f8303f2dc7652959d43c8449c5d2224675e10d2f658c99d764aed757
DIST origami-1.0.0-beta1b.tar.gz 2804807 RMD160 cca690ce87e4b611f9d9b4c7bc27d2d0d90c61c3 SHA1 12585cc4f152a3ca171a18038514812989149085 SHA256 2835cf1b6c7ac1c9ca03f1e121ebc468cc1921a1cd4e7dc5c4ed42844c9a799c
EBUILD origami-1.0.0_beta.ebuild 795 RMD160 3b6f40c3c6cbde712e8d89df6159e0e3acc5e0f4 SHA1 e8321427395d06bf7676ec86912b008d1a3bc5ab SHA256 a731d79fa23878f1db87648df6ad81bb42c90bea3646ab9cf62d4f6d533ea556

View file

@ -0,0 +1,5 @@
#!/bin/sh
cd /usr/lib/origami/scripts
cat README.txt
/bin/bash

View file

@ -0,0 +1,4 @@
#!/bin/sh
cd /usr/lib/origami/walker
ruby walker.rb

View file

@ -0,0 +1,29 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: Exp $
MY_P="${P/_/-}1b"
SRC_URI="http://security-labs.org/origami/files/${MY_P}.tar.gz"
DESCRIPTION="A Ruby framework designed to parse, analyze, and forge PDF documents"
HOMEPAGE="http://security-labs.org/origami/"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="gtk"
RDEPEND="dev-lang/ruby
dev-ruby/rubygems
gtk? ( dev-ruby/ruby-gtk2 )"
DEPEND=""
S="${WORKDIR}/${P/_/-}1"
src_install() {
# should be as simple as copying everything into the target...
dodir /usr/lib/${PN}
cp -pR "${S}"/sources/* "${D}"/usr/lib/${PN} || die "Copy files failed"
cd doc && dodoc *
chown -R root:0 "${D}"
dobin "${FILESDIR}/origami"
use gtk && dobin "${FILESDIR}/origami-gui"
}