summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-admin/passook
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-admin/passook')
-rw-r--r--app-admin/passook/Manifest1
-rw-r--r--app-admin/passook/files/passook.patch26
-rw-r--r--app-admin/passook/metadata.xml9
-rw-r--r--app-admin/passook/passook-20121001.ebuild31
4 files changed, 67 insertions, 0 deletions
diff --git a/app-admin/passook/Manifest b/app-admin/passook/Manifest
new file mode 100644
index 000000000000..478ef2ee3daa
--- /dev/null
+++ b/app-admin/passook/Manifest
@@ -0,0 +1 @@
+DIST passook-20121001.tar.gz 13992 SHA256 73937a2f768d4ff8433c5bed48fb436f5bf532626ea9410fe4a04b8e0634214e SHA512 8c3c72f3001fc3c88060f77685b4f238d42dd65d599522604cf3f3fede2c3b94f4a12622e006d10a4f026283b885f90e4f2e2fa9282a48e181480bec4e2d13cb WHIRLPOOL a4a1fdb71aa63e653ace98508548531a3d84f4c49f8804f789fe31257ca944d0f9e22cf4bae92ab49e0750bbf05cef69cfe662b7fefab627639588b23f3de4be
diff --git a/app-admin/passook/files/passook.patch b/app-admin/passook/files/passook.patch
new file mode 100644
index 000000000000..db14e6ec817c
--- /dev/null
+++ b/app-admin/passook/files/passook.patch
@@ -0,0 +1,26 @@
+--- passook.orig
++++ passook
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!@GENTOO_PORTAGE_EPREFIX@/usr/bin/perl
+
+ srand;
+ $p = 3; #default pronouce level
+@@ -38,7 +38,7 @@
+ }
+
+ sub fourletterword {
+- my $grepstring = 'egrep "^....$" /usr/dict/words';
++ my $grepstring = 'egrep "^....$" @GENTOO_PORTAGE_EPREFIX@/usr/share/dict/words';
+ my @fourletters = split(/\n/,`$grepstring`);
+ my $word = $fourletters[rand(@fourletters)];
+ $word = &tangle($word) if ($p<5);
+@@ -46,7 +46,7 @@
+ }
+
+ sub threeletterword {
+- my $grepstring = 'egrep "^...$" /usr/dict/words';
++ my $grepstring = 'egrep "^...$" @GENTOO_PORTAGE_EPREFIX@/usr/share/dict/words';
+ my @threeletters = split(/\n/,`$grepstring`);
+ my $word = $threeletters[rand(@threeletters)];
+ $word = &tangle($word) if ($p<5);
diff --git a/app-admin/passook/metadata.xml b/app-admin/passook/metadata.xml
new file mode 100644
index 000000000000..4dbf560c54a9
--- /dev/null
+++ b/app-admin/passook/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+</maintainer>
+<longdescription>Passook is a perl script that generates passwords. You can
+ customize the security of the password generated.</longdescription>
+</pkgmetadata>
diff --git a/app-admin/passook/passook-20121001.ebuild b/app-admin/passook/passook-20121001.ebuild
new file mode 100644
index 000000000000..38849186d1e9
--- /dev/null
+++ b/app-admin/passook/passook-20121001.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils prefix
+
+DESCRIPTION="Password generator capable of generating pronounceable and/or secure passwords"
+HOMEPAGE="http://mackers.com/misc/scripts/passook/"
+# snapshot of git://github.com/mackers/passook.git
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 hppa ppc ppc64 x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
+
+RDEPEND="dev-lang/perl
+ sys-apps/miscfiles"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/passook.patch
+ eprefixify passook
+}
+
+src_install() {
+ dobin passook
+ dodoc README passook.cgi
+}