summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-02-28 20:50:22 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-02-28 20:50:22 +0000
commit595caf933fffad07602f5ef8ed2723eb9e3a735d (patch)
tree1f7d3de3c427be5f34f04f3e9d3ba3efbef6d010 /app-crypt/gorilla
parentIntegrated some improvements from My Th <rei4dan@gmail.com> in bug 212212. (diff)
downloadgentoo-2-595caf933fffad07602f5ef8ed2723eb9e3a735d.tar.gz
gentoo-2-595caf933fffad07602f5ef8ed2723eb9e3a735d.tar.bz2
gentoo-2-595caf933fffad07602f5ef8ed2723eb9e3a735d.zip
Initial import. Fixes #140393. Ebuild contributed by Ben Timby
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt/gorilla')
-rw-r--r--app-crypt/gorilla/ChangeLog10
-rw-r--r--app-crypt/gorilla/files/gorilla-script-destdir.patch17
-rw-r--r--app-crypt/gorilla/gorilla-1.4.ebuild63
-rw-r--r--app-crypt/gorilla/metadata.xml9
4 files changed, 99 insertions, 0 deletions
diff --git a/app-crypt/gorilla/ChangeLog b/app-crypt/gorilla/ChangeLog
new file mode 100644
index 000000000000..2fe38d1a6407
--- /dev/null
+++ b/app-crypt/gorilla/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-crypt/gorilla
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gorilla/ChangeLog,v 1.1 2009/02/28 20:50:22 patrick Exp $
+
+*gorilla-1.4 (28 Feb 2009)
+
+ 28 Feb 2009; Patrick Lauer <patrick@gentoo.org>
+ +files/gorilla-script-destdir.patch, +metadata.xml, +gorilla-1.4.ebuild:
+ Initial import. Fixes #140393. Ebuild contributed by Ben Timby
+
diff --git a/app-crypt/gorilla/files/gorilla-script-destdir.patch b/app-crypt/gorilla/files/gorilla-script-destdir.patch
new file mode 100644
index 000000000000..e18fcd80e3ec
--- /dev/null
+++ b/app-crypt/gorilla/files/gorilla-script-destdir.patch
@@ -0,0 +1,17 @@
+--- gorilla-1.4/gorilla.in 2006-07-14 13:29:33.000000000 -0400
++++ gorilla-1.4/gorilla.in.new 2006-07-14 13:33:01.000000000 -0400
+@@ -1,10 +1,13 @@
+ #! /bin/sh
+ # the next line restarts using wish \
+ exec @wish@ "$0" ${1+"$@"}
++
+ set myName [info script]
++set myGorilla /opt/gorilla-1.4/gorilla.tcl
++
+ if {![catch {
+ set linkName [file readlink $myName]
+ }]} {
+ set myName $linkName
+ }
+-source [file join [file dirname $myName] gorilla.tcl]
++source [file join [file dirname $myName] $myGorilla]
diff --git a/app-crypt/gorilla/gorilla-1.4.ebuild b/app-crypt/gorilla/gorilla-1.4.ebuild
new file mode 100644
index 000000000000..6d6a73be2cba
--- /dev/null
+++ b/app-crypt/gorilla/gorilla-1.4.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gorilla/gorilla-1.4.ebuild,v 1.1 2009/02/28 20:50:22 patrick Exp $
+
+inherit eutils
+
+DESCRIPTION="Password Safe clone for Linux. Stores passwords in secure way with
+GUI interface."
+HOMEPAGE="http://www.fpx.de/fp/Software/Gorilla/"
+SRC_URI="http://www.fpx.de/fp/Software/Gorilla/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="dev-lang/tcl
+ dev-lang/tk
+ dev-tcltk/iwidgets
+ dev-tcltk/bwidget"
+RDEPEND=${DEPEND}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-script-destdir.patch
+}
+
+src_compile() {
+ ./configure || die "econf failed"
+}
+
+src_install() {
+ PREFIX="/opt/${P}"
+
+ dodir ${PREFIX}
+ insinto ${PREFIX}
+ doins gorilla.tcl isaac.tcl
+
+ dodir ${PREFIX}/twofish
+ insinto ${PREFIX}/twofish
+ doins twofish/*
+
+ dodir ${PREFIX}/sha1
+ insinto ${PREFIX}/sha1
+ doins sha1/*
+
+ dodir ${PREFIX}/blowfish
+ insinto ${PREFIX}/blowfish
+ doins blowfish/*
+
+ dodir ${PREFIX}/pwsafe
+ insinto ${PREFIX}/pwsafe
+ doins pwsafe/*
+
+ dodir ${PREFIX}/pics
+ insinto ${PREFIX}/pics
+ doins pics/*
+
+ exeinto /usr/bin
+ doexe gorilla
+}
diff --git a/app-crypt/gorilla/metadata.xml b/app-crypt/gorilla/metadata.xml
new file mode 100644
index 000000000000..e433c08d449a
--- /dev/null
+++ b/app-crypt/gorilla/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+</pkgmetadata>