aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2012-01-26 10:36:30 -0800
committerDarren Hart <dvhart@linux.intel.com>2012-02-03 09:25:17 -0800
commit7b1d216a133d3df4597c336e3a6c3c941e69989a (patch)
treefca5713d8cbc2802cd9b1e27732495c17b293a1c
parent6aad7407464ec9cc807916b71068fdae323bfcd1 (diff)
downloadmeta-intel-7b1d216a133d3df4597c336e3a6c3c941e69989a.tar.gz
meta-intel-7b1d216a133d3df4597c336e3a6c3c941e69989a.tar.bz2
meta-intel-7b1d216a133d3df4597c336e3a6c3c941e69989a.zip
ranpwd: Add ranpwd recipe
ranpwd is used to generate random strings of various types, including passwords, UUIDs, and MAC addresses. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
-rw-r--r--meta-sys940x/recipes-extended/ranpwd/ranpwd_git.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-sys940x/recipes-extended/ranpwd/ranpwd_git.bb b/meta-sys940x/recipes-extended/ranpwd/ranpwd_git.bb
new file mode 100644
index 00000000..b4e0f549
--- /dev/null
+++ b/meta-sys940x/recipes-extended/ranpwd/ranpwd_git.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Random password generator"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://ranpwd.c;beginline=1;endline=11;md5=0e8585e19117526efedfaeb50c345d7a"
+SECTION = "console/utils"
+PV = "1.2+git${SRCPV}"
+PR = "r0"
+
+inherit autotools
+
+SRC_URI = "git://git.zytor.com/utils/ranpwd.git"
+SRCREV = "b62aab579e288715b82d5575befaa2b8ff210c2b"
+
+S="${WORKDIR}/git"
+
+do_configure_prepend () {
+ if [ ! -e acinclude.m4 -a -e aclocal.m4 ]; then
+ cp aclocal.m4 acinclude.m4
+ fi
+}
+
+do_install() {
+ install -d ${D}/${bindir}
+ install -m 0755 ${S}/ranpwd ${D}/${bindir}/ranpwd
+}