13 Commits

Author SHA1 Message Date
Wenzong Fan
510b7a9d8d krb5: fix CVE-2014-5351
The kadm5_randkey_principal_3 function in lib/kadm5/srv/svr_principal.c
in kadmind in MIT Kerberos 5 (aka krb5) before 1.13 sends old keys in a
response to a -randkey -keepold request, which allows remote authentic-
ated users to forge tickets by leveraging administrative access.

This back-ported patch fixes CVE-2014-5351.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2014-12-01 14:24:53 +01:00
Robert Yang
ecc1d76333 krb5: use BP for the tarball
Otherwise do_unpack failed when multilib:

tar (child): /path/to/lib32-krb5-1.12.2.tar.gz: Cannot open: No such file or directory

And do_patch error:
ERROR: Command Error: exit status: 1  Output:
Applying patch 0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch
can't find file to patch at input line 15

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-10 12:47:35 +02:00
Jackie Huang
5131823c8c krb5: update to version 1.12.2
Changed:
 * Add init scripts and default configs based on debian
 * Add a patch for crosscompile nm
 * Add a patch to suppress /usr/lib in krb5-config
 * Add DESCRIPTION
 * Remove blacklist and inherit autotools-brokensep
 * Add PACKAGECONFIG for ldap and readline

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-04 00:28:31 +02:00
Robert Yang
05de0ca43d meta-oe: use BPN in SRC_URI
Fixed SRC_URI:
* ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV}
* ${P} -> ${BP}

Otherwise we would meet do_fetch errors when we do the multilib, native
or nativesdk build.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 14:56:55 +02:00
Martin Jansa
fbc6b3a738 krb5: Blacklist because of broken with B!=S
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21 12:20:20 +02:00
Matthieu CRAPET
c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Changes:
- rename SUMMARY with length > 80 to DESCRIPTION
- rename DESCRIPTION with length < 80 to (non present tag) SUMMARY
- drop final point character at the end of SUMMARY string
- remove trailing whitespace of SUMMARY line

Note: don't bump PR

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:20:02 +01:00
Martin Jansa
c9a41e656f krb5: Add PACKAGECONFIG and new configure param to disable keyutils detection
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-05 12:36:25 +02:00
Martin Jansa
a5618c6f15 krb5: Upgrade to 1.11.3
* 1.11 is often failing with:
  | common.o: file not recognized: File truncated
  | collect2: ld returned 1 exit status
  | make[2]: *** [t_export_name] Error 1
  when higher parallelism is used
  1.11.2 and newer have fix for that:
  http://krbdev.mit.edu/rt/Ticket/Display.html?id=7587
* LIC_FILES_CHKSUM is only from year update
  < Copyright (C) 1985-2012 by the Massachusetts Institute of Technology.
  ---
  > Copyright (C) 1985-2013 by the Massachusetts Institute of Technology.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-05 12:36:24 +02:00
Martin Jansa
2236f6e080 krb5: add PACKAGECONFIG for openssl and libedit
* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-30 11:17:10 +02:00
Martin Jansa
bae744780d krb5: Fix .debug packaging warning after debug striping was fixed
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-03-13 17:20:56 +01:00
Ian Reinhart Geiser
2afb30fa9d krb5: add e2fsprogs dependency
Krb5 needs libcom_err from e2fsprogs to be built.  It looks like
in some cases if e2fsprogs was built before krb5 this would
silently pass.

* add that e2fsprogs dependency explicitly.
* added back the PR and updated its value to r1.

Signed-off-by: Ian Reinhart Geiser <igeiser@devonit.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-02-01 17:44:22 +01:00
Riku Voipio
4d1db5ccca krb5: reconfigure for aarch64
krb5 needs reconfigure, since the current config.sub included doesn't
include aarch64.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-03 23:25:45 +01:00
Martin Jansa
9f7427199a krb5: fix path to recipe and upgrade to 1.11
* drop PR
* fix FILES_${PN}-doc
* fix QA warnings:
  WARNING: QA Issue: krb5: Files/directories were installed but not
  shipped
    /usr/share/gnats
    /usr/share/gnats/mit
  and RPATH entries

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-18 17:34:29 +01:00