summaryrefslogtreecommitdiff
path: root/app-admin/ranpwd
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/ranpwd')
-rw-r--r--app-admin/ranpwd/Manifest5
-rw-r--r--app-admin/ranpwd/metadata.xml8
-rw-r--r--app-admin/ranpwd/ranpwd-1.2.ebuild28
3 files changed, 41 insertions, 0 deletions
diff --git a/app-admin/ranpwd/Manifest b/app-admin/ranpwd/Manifest
new file mode 100644
index 000000000000..935b15c71a69
--- /dev/null
+++ b/app-admin/ranpwd/Manifest
@@ -0,0 +1,5 @@
+DIST ranpwd-1.2.tar.gz 41018 SHA256 b63cc1a621966a3bfabc83803c32617ef8caf5b7687042ac1b0eee04b8b79507 SHA512 7ae8ff593623a2102e50fbb3356889291408263100a358de14bd44b13c1d2931bf0e1e8ec972a620b8328a179a38a0d614099ffea2473079f9ed2425809a922f WHIRLPOOL d2cba9af972ee81d2758ca90c1860e61b05fd4a6c9dd8284eb7ebacfd3f2ed94e072e57092aaf35797b4ce3b9c88ca45012b9bb2606adad84d5099c71827e7e6
+EBUILD ranpwd-1.2.ebuild 587 SHA256 7ed848912c5639278195f5d4cbd257ca6c8f0201581f7dc76a29bda82bdc3df6 SHA512 bf023072d578df154a95dda6907cbe7c2967cc493206e020dac9d555c88877d90aa41f33ea8cd8ae4c9f539094724d82062011130ce9fa2336ee2a68ca5e4f44 WHIRLPOOL 8e952ea581787a630eed902cac4a7ef9d6bd5cd697d3de31925d8488472d714dcb55ee518a865cf744ccfc541bbd7225d00d55bd3d264bdecc325f240bab3bae
+MISC ChangeLog 2973 SHA256 7c3eec549641626760548ffde1a18f2d7f8b11251c91c5cac438f42228778b2a SHA512 b55217bcfc1b2b015ab546b795343f4bcac56c2da69f65beb2d0079715a1b7056c99eb9be49459806c4294a9b254d75dbd4709cc05c28194fe7cec1a0c477828 WHIRLPOOL 706492f6774972d1cc853e7facd4ddf48d2f72c52f6c4dd017dd5dfbbf7f0ca747a2ea0c48dc64cd625f0626e081908cdc941e82846d95a14d95393d20e71008
+MISC ChangeLog-2015 2008 SHA256 d9110225b79fb7e01327cbea0dc2937e2e5e63cb40df9cfc0c6a2110f1ec0ad1 SHA512 a9d0f6ed01f966c3f683507c4cf9b7dcf8f3a66b86c002ea5348da9e30328e99eacb42fdf7ca6ec166b2d8ba12aedc7ca31527e747b365e1e300087a42ebb197 WHIRLPOOL 52a9b36c45bf6e593a9946a6eef42f66e1137002417f4829bfd95867d9141b7cff7b55b2e23d44f186d181e9c03c43b2a7a69c1bb26a9328b318760975cd7a79
+MISC metadata.xml 236 SHA256 dd25b46c95b0c63da84b7ff5778479e31449a385df066e9ee14bf0d7d176f42f SHA512 5f6cd6a85527534d5de7118de5af212ee3044c8c5530a7f7087a28074a2d4ab7be1728325bd985adc063dc795d3cf2b1c4e58a4c4c4ec02d739bd4bbc544ef08 WHIRLPOOL b15a2dfb001c41c8de2895842148b2531b74949e89e93ff8c366519c35792996e344918eaf9144fb081fc240796e47890be356d2339bea60b1e1d41830447d31
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
+}