From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-admin/passook/Manifest | 4 ++++ app-admin/passook/files/passook.patch | 26 ++++++++++++++++++++++++++ app-admin/passook/metadata.xml | 10 ++++++++++ app-admin/passook/passook-20121001.ebuild | 30 ++++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 app-admin/passook/Manifest create mode 100644 app-admin/passook/files/passook.patch create mode 100644 app-admin/passook/metadata.xml create mode 100644 app-admin/passook/passook-20121001.ebuild (limited to 'app-admin/passook') 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 @@ + + + + + Passook is a perl script that generates passwords. You can + customize the security of the password generated. + + mackers/passook + + 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 +} -- cgit v1.2.3