[yocto] [pull-sys940x 2/4] ranpwd: Add ranpwd recipe

Martin Jansa martin.jansa at gmail.com
Wed Feb 1 23:22:16 PST 2012


On Wed, Feb 01, 2012 at 02:40:05PM -0800, Joshua Lock wrote:
> 
> 
> On 01/02/12 14:26, Darren Hart wrote:
> > ranpwd is used to generate random strings of various types, including
> > passwords, UUIDs, and MAC addresses.
> >
> > Signed-off-by: Darren Hart<dvhart at linux.intel.com>
> > ---
> >   meta-sys940x/recipes-extended/ranpwd/ranpwd_git.bb |   23 ++++++++++++++++++++
> >   1 files changed, 23 insertions(+), 0 deletions(-)
> >   create mode 100644 meta-sys940x/recipes-extended/ranpwd/ranpwd_git.bb
> >
> > 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 0000000..66fcc26
> > --- /dev/null
> > +++ b/meta-sys940x/recipes-extended/ranpwd/ranpwd_git.bb
> > @@ -0,0 +1,23 @@
> > +DESCRIPTION = "Random password generator"
> > +#SECTION = "utilities"
> 
> We may as well delete this line, no?
> 
> > +LICENSE = "GPLv2+"
> > +LIC_FILES_CHKSUM = "file://ranpwd.c;beginline=1;endline=11;md5=0e8585e19117526efedfaeb50c345d7a"
> > +PR = "r0"
> > +
> > +inherit autotools
> > +
> > +SRC_URI = "git://git.zytor.com/utils/ranpwd.git"
> > +SRCREV = "b62aab579e288715b82d5575befaa2b8ff210c2b"

What about PV? Do you really want just "git"?

> > +
> > +S=${WORKDIR}/git
> 
> Variable assignments are usually quoted.
> 
> 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
> > +}
> 
> -- 
> Joshua Lock
>          Yocto Project "Johannes factotum"
>          Intel Open Source Technology Centre
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120202/f681aa8a/attachment.pgp>


More information about the yocto mailing list