summaryrefslogtreecommitdiff
path: root/app-admin/passook
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-admin/passook
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/passook')
-rw-r--r--app-admin/passook/Manifest4
-rw-r--r--app-admin/passook/files/passook.patch26
-rw-r--r--app-admin/passook/metadata.xml10
-rw-r--r--app-admin/passook/passook-20121001.ebuild30
4 files changed, 70 insertions, 0 deletions
diff --git a/app-admin/passook/Manifest b/app-admin/passook/Manifest
new file mode 100644
index 000000000000..2ea8de9df8bc
--- /dev/null
+++ b/app-admin/passook/Manifest
@@ -0,0 +1,4 @@
+AUX passook.patch 778 BLAKE2B cf0e4af5987f70e3bee262d3a11f3bdd8c96686b0f28de3eeff7b248c0b8ade17efe5b1da8f165113d4231e1ebc67abd8b1053916b95022f4e7b24e49b449171 SHA512 cbba3e7b7353acb43056db909ec868eaa741dc81eba3596c4c51e88f7b0922f7637d0a3a862377eba0f20eef52ca43314e3964cb011bd3fc7e3436724d9289d6
+DIST passook-20121001.tar.gz 13992 BLAKE2B c253fafa45c1f3ff30c91bc697ffece20fd6a58f36075909043041b281d558ab0a9e4352d867e00404bed81bdf44a5bf236bfeb72b9f41fd5ffe78a3b33a9900 SHA512 8c3c72f3001fc3c88060f77685b4f238d42dd65d599522604cf3f3fede2c3b94f4a12622e006d10a4f026283b885f90e4f2e2fa9282a48e181480bec4e2d13cb
+EBUILD passook-20121001.ebuild 669 BLAKE2B f6af186354f31c7d6e5d272f29ef05fd108ce2fadc24b0be9ccfa77400268d702b7412e6cff8bdaa92a273883fc1851a8deff60dc911bb264af0cae6ed11b53d SHA512 f1f9b5b48155eef9999e6d5f0fe54f4bb6a178879b5000d3b047763a200f63f1b063778b2be038a21a47ba29d2e84c860a80e25c03c51b985482a375244ebb59
+MISC metadata.xml 393 BLAKE2B 024b68ca2ae37df6718088689b79d3d70546681a051deeedd6012f7cc2d987208437831ad8423f8bddd40fa894cb2f27b96ed2be65ac3776a5be4a8aa86e60d0 SHA512 f08f94a5ae03e1b89f218db3b462bd595905ac95336be3cf1eb43b3e018101c5b2dfb5d526f285c1a51388214463d6676d770ae805be21b2bc1463069c93467f
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..f7a29ccaa787
--- /dev/null
+++ b/app-admin/passook/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>Passook is a perl script that generates passwords. You can
+ customize the security of the password generated.</longdescription>
+ <upstream>
+ <remote-id type="github">mackers/passook</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-admin/passook/passook-20121001.ebuild b/app-admin/passook/passook-20121001.ebuild
new file mode 100644
index 000000000000..4cbd2bae4926
--- /dev/null
+++ b/app-admin/passook/passook-20121001.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils prefix
+
+DESCRIPTION="Password generator capable of generating pronounceable and/or secure passwords"
+HOMEPAGE="https://github.com/mackers/passook"
+# snapshot of https://github.com/mackers/passook.git
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 hppa ppc ppc64 x86 ~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
+}