From 59d772d9463f8cf6a145a677bedbf377a0625aff Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Dec 2024 02:02:08 +0000 Subject: gentoo auto-resync : 14:12:2024 - 02:02:07 --- app-admin/passook/Manifest | 4 +++ .../passook/files/passook-20121001-prefix.patch | 26 ++++++++++++++++++ app-admin/passook/metadata.xml | 19 +++++++++++++ app-admin/passook/passook-20121001.ebuild | 32 ++++++++++++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 app-admin/passook/Manifest create mode 100644 app-admin/passook/files/passook-20121001-prefix.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..586b459beff7 --- /dev/null +++ b/app-admin/passook/Manifest @@ -0,0 +1,4 @@ +AUX passook-20121001-prefix.patch 777 BLAKE2B ae11e03b907df7e29b3caaf59fcedfd9d3a023a5e369b81051093c226ad0977ba59f1031d95a2ec2e5648ddf95538aeea9c42d9dfba90ad6fc9e5e30823c1cc7 SHA512 2ef7032b79429af8053c6efc687000bf1016eb2d482a51ae2d9f6d4a9c67db9c2acf716e51c9eca7a18e88711fe463d7e90908f54c752a444ea22e208d582d04 +DIST passook-20121001.tgz 14045 BLAKE2B b4852f32f624ddc02b047c06f95e0623e6c40fce4230276d4f97c87ffea22ddae7f77981beea58b073e6e597d9a736937d3cfdd48cbe0a4ab2eae22267b69b96 SHA512 e96faa99cd9164e59884a86c4736314831f29713cbeed19388f752488edf64c465f8cac10462f193d2fc55dee55cee1584de2fda2955516ab6111c6831f20a9c +EBUILD passook-20121001.ebuild 767 BLAKE2B 6cf5269a9a16c5bab4010a2548407e90176d42798df40a3e10f9a4e6c5b1ac658ed82a18c60a5f9da626ee3f55877db2dccd56788fa838b643e45e102dc5a822 SHA512 796ad07f15aee85b8c9e1f7e49b44993755c35bb9b26119c4268a1322e120d5b856cc8124f6cdf4d275a671d735af2948f203802222f63bdc89f1bef551ac6f8 +MISC metadata.xml 643 BLAKE2B d0ed20496388c762422017301efa1145cbef9b5150f00219253373cd8e0068c03a6c33b27c20e14d8798c5fed36d19bbc455cd5dad6ac6fef2da7d3989547f20 SHA512 6e4f6bb2fa0b3d97e5fe0dc43528b780ee1bb4f39a44efdf10e648d7f7f5a7b73561fe060305fb020ad97059bca54cbb4b67d9889eb643ce985b8046f4c57e28 diff --git a/app-admin/passook/files/passook-20121001-prefix.patch b/app-admin/passook/files/passook-20121001-prefix.patch new file mode 100644 index 000000000000..0b74845ce375 --- /dev/null +++ b/app-admin/passook/files/passook-20121001-prefix.patch @@ -0,0 +1,26 @@ +--- a/passook ++++ b/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..87affbd25f95 --- /dev/null +++ b/app-admin/passook/metadata.xml @@ -0,0 +1,19 @@ + + + + + zhixu.liu@gmail.com + Z. Liu + + + proxy-maint@gentoo.org + Proxy Maintainers + + + 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..f9b81eace384 --- /dev/null +++ b/app-admin/passook/passook-20121001.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit prefix + +DESCRIPTION="Password generator capable of generating pronounceable and/or secure passwords" +HOMEPAGE="https://github.com/mackers/passook" +PASSOOK_COMMIT="b3905189c082b156db807842e065e3f3dd752ca8" +SRC_URI="https://github.com/mackers/passook/archive/${PASSOOK_COMMIT}.tar.gz -> ${P}.tgz" + +S="${WORKDIR}/${PN}-${PASSOOK_COMMIT}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +RDEPEND="dev-lang/perl + sys-apps/miscfiles" + +PATCHES=( "${FILESDIR}/${PN}-20121001-prefix.patch" ) + +src_prepare() { + default + eprefixify passook +} + +src_install() { + dobin passook + dodoc README passook.cgi +} -- cgit v1.2.3