summaryrefslogtreecommitdiff
path: root/app-admin/ranpwd
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/ranpwd')
-rw-r--r--app-admin/ranpwd/Manifest3
-rw-r--r--app-admin/ranpwd/metadata.xml8
-rw-r--r--app-admin/ranpwd/ranpwd-1.2.ebuild28
3 files changed, 39 insertions, 0 deletions
diff --git a/app-admin/ranpwd/Manifest b/app-admin/ranpwd/Manifest
new file mode 100644
index 000000000000..cd693ac4dcd4
--- /dev/null
+++ b/app-admin/ranpwd/Manifest
@@ -0,0 +1,3 @@
+DIST ranpwd-1.2.tar.gz 41018 BLAKE2B 787907c5ed7541f24846e4574c4e40005b85d33667d4ac2a85633085976d047271de797c2f1de3bb0e34cdd56b8b2b60ea8ae80b478c3f1d1124a413a01e351b SHA512 7ae8ff593623a2102e50fbb3356889291408263100a358de14bd44b13c1d2931bf0e1e8ec972a620b8328a179a38a0d614099ffea2473079f9ed2425809a922f
+EBUILD ranpwd-1.2.ebuild 587 BLAKE2B 878584c6678c6466143bea5081f75ea06ea92669cf319645a03691ca5c34c72385de6aae45ec86b94bc5ce31a5412aae021e56dfb7e6e17cf86bae71e5136164 SHA512 bf023072d578df154a95dda6907cbe7c2967cc493206e020dac9d555c88877d90aa41f33ea8cd8ae4c9f539094724d82062011130ce9fa2336ee2a68ca5e4f44
+MISC metadata.xml 236 BLAKE2B a7bb92e6d53f7252ee56a885bf098930e228a76a75bca119358ca860901ceeecccc43efe5279c54250ebda58f77ae9c97d2ae540d8b399283cb3aa348111fcd2 SHA512 5f6cd6a85527534d5de7118de5af212ee3044c8c5530a7f7087a28074a2d4ab7be1728325bd985adc063dc795d3cf2b1c4e58a4c4c4ec02d739bd4bbc544ef08
diff --git a/app-admin/ranpwd/metadata.xml b/app-admin/ranpwd/metadata.xml
new file mode 100644
index 000000000000..f1c3d59fb213
--- /dev/null
+++ b/app-admin/ranpwd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>crypto@gentoo.org</email>
+ <name>Crypto</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-admin/ranpwd/ranpwd-1.2.ebuild b/app-admin/ranpwd/ranpwd-1.2.ebuild
new file mode 100644
index 000000000000..14866c580ca2
--- /dev/null
+++ b/app-admin/ranpwd/ranpwd-1.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Generate random passwords using the in-kernel cryptographically"
+HOMEPAGE="https://www.kernel.org/pub/software/utils/admin/ranpwd/"
+SRC_URI="mirror://kernel/software/utils/admin/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ia64 ppc ppc64 x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_test() {
+ einfo "generating random passwords"
+ for a in 1 2 3 4 5 6 7 8 9
+ do
+ ./ranpwd $(($a * 10))
+ done
+}
+
+src_install() {
+ emake INSTALLROOT="${D}" install
+}