summaryrefslogtreecommitdiff
path: root/app-admin/passook
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/passook
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/passook')
-rw-r--r--app-admin/passook/Manifest6
-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, 72 insertions, 0 deletions
diff --git a/app-admin/passook/Manifest b/app-admin/passook/Manifest
new file mode 100644
index 000000000000..9975b635570f
--- /dev/null
+++ b/app-admin/passook/Manifest
@@ -0,0 +1,6 @@
+AUX passook.patch 778 SHA256 3bce594e0621e1e21342e9717834cceda3093735db46983566e12361d86f89ac SHA512 cbba3e7b7353acb43056db909ec868eaa741dc81eba3596c4c51e88f7b0922f7637d0a3a862377eba0f20eef52ca43314e3964cb011bd3fc7e3436724d9289d6 WHIRLPOOL a81620a97faa01a5d82ac2fec3abf813d2434de40c564e85d2d3122df1ee1cde3d80638debd06bd1c268e9b71c87e3d482f8c6794625aec9d3036d87fa8416e0
+DIST passook-20121001.tar.gz 13992 SHA256 73937a2f768d4ff8433c5bed48fb436f5bf532626ea9410fe4a04b8e0634214e SHA512 8c3c72f3001fc3c88060f77685b4f238d42dd65d599522604cf3f3fede2c3b94f4a12622e006d10a4f026283b885f90e4f2e2fa9282a48e181480bec4e2d13cb WHIRLPOOL a4a1fdb71aa63e653ace98508548531a3d84f4c49f8804f789fe31257ca944d0f9e22cf4bae92ab49e0750bbf05cef69cfe662b7fefab627639588b23f3de4be
+EBUILD passook-20121001.ebuild 669 SHA256 10a21f6b57a401de331b84675a1e4f0c76b40febaeeb3d92bcae72fdb5627750 SHA512 f1f9b5b48155eef9999e6d5f0fe54f4bb6a178879b5000d3b047763a200f63f1b063778b2be038a21a47ba29d2e84c860a80e25c03c51b985482a375244ebb59 WHIRLPOOL 8201c30b0e410db720de81f1173e9f8dbea96aa7466c6d32eb52d24aaabf4eb8cfc65a0134202b5ee2cdd55d105b88f17051ab98676a00d9d0666fa8a351d971
+MISC ChangeLog 2737 SHA256 901ebd7e0b38486f8072c03661b99aab52366f754a3d0685d4e0e1d3034c0d66 SHA512 40a4c56067c4f7bda889c16b985e4272e197e0ae0881679c80e5ed4b31fa66cfe13405c66e03a32430900e7c61aac01568851b446962b2b9f11b23a374de9818 WHIRLPOOL 8aa65627f32087a9e4690bcf90aaffe10ff4aa17385393fcb0657caa613ae5268fbab816a956f3f56821c4fada2524bf27c4a1c345c02d6b491ac7bb1a8163ec
+MISC ChangeLog-2015 2294 SHA256 08c4c4ec6537078832d160fb87f5fbddf71aa22dff526d598c5e216a36302a7a SHA512 3176a0aa37a3504a6a0694266224dba0c5946cbf006bf4eb487ee7596b9e06fa43c2a12523494b7298f766a1c2dc82b64f907295c2dd7a53bd41774ffc0aa168 WHIRLPOOL 67fa050883eda51444ae1bd7dcc1757832efaeb918419fc75f9e4a5898a9549b794f0d2504aad36233afcf515bda14c8a135c02381fd5ec3828a8276e0b97d76
+MISC metadata.xml 393 SHA256 28a711c9b62a22c656d5ee546688a308ad8f4fbe298d890e9c5960c830c3c14b SHA512 f08f94a5ae03e1b89f218db3b462bd595905ac95336be3cf1eb43b3e018101c5b2dfb5d526f285c1a51388214463d6676d770ae805be21b2bc1463069c93467f WHIRLPOOL 0a68ac49063e6ad0731bd2a3bb16c67751b5d9f2c619936be498d72ed3f7f7a8c6e242fe18a298f7aa6a05a805010240719227c5c1ff03eb0ce004a79f36d190
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
+}