summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/ranpwd/ranpwd-1.2.ebuild')
-rw-r--r--app-admin/ranpwd/ranpwd-1.2.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-admin/ranpwd/ranpwd-1.2.ebuild b/app-admin/ranpwd/ranpwd-1.2.ebuild
new file mode 100644
index 000000000000..8f6ddefcc34d
--- /dev/null
+++ b/app-admin/ranpwd/ranpwd-1.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ranpwd/ranpwd-1.2.ebuild,v 1.1 2008/08/31 21:42:53 dragonheart Exp $
+
+DESCRIPTION="A program to generate random passwords using the in-kernel cryptographically secure random number generator.."
+HOMEPAGE="http://ftp.lug.ro/kernel/software/utils/admin/ranpwd/"
+SRC_URI="http://ftp.lug.ro/kernel/software/utils/admin/ranpwd/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+DEPEND=""
+
+#src_compile() {
+# econf || die "./configure failed"
+# emake || die "emake failed"
+#}
+
+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() {
+ make INSTALLROOT=${D} install || die
+}