summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYauhen Kharuzhy <yauhen.kharuzhy@promwad.com>2012-01-26 20:50:41 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2012-12-16 21:11:44 +0100
commitdb3a65d8dece68520d7bd3f8a89c1901d7a41fdc (patch)
tree43a776e23a442f552631783ba09c5216e832602d
parent042685eb06b107db8b792b57504f175c1c052db5 (diff)
downloadmeta-openembedded-db3a65d8dece68520d7bd3f8a89c1901d7a41fdc.tar.gz
krb5: import from OE-Classic
Add building of MIT Kerberos implementation. The recipe was picked from OE-Classic & updated to new version Signed-off-by: Yauhen Kharuzhy <yauhen.kharuzhy@promwad.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta/recipes-connectivity/krb5/krb5_1.8.5.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/krb5/krb5_1.8.5.bb b/meta/recipes-connectivity/krb5/krb5_1.8.5.bb
new file mode 100644
index 0000000000..2f497a3ced
--- /dev/null
+++ b/meta/recipes-connectivity/krb5/krb5_1.8.5.bb
@@ -0,0 +1,39 @@
1DESCRIPTION = "A network authentication protocol"
2HOMEPAGE = "http://web.mit.edu/Kerberos/"
3SECTION = "console/network"
4PR = "r0"
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://${S}/../README;md5=5595a75ae6fab5f825f579a817baa618"
7DEPENDS = "ncurses util-linux e2fsprogs-native"
8
9inherit autotools binconfig perlnative
10
11SRC_URI = "http://web.mit.edu/kerberos/dist/krb5/1.8/krb5-1.8.5-signed.tar"
12
13S = "${WORKDIR}/${PN}-${PV}/src/"
14
15EXTRA_OECONF += " --without-tcl --with-system-et"
16CACHED_CONFIGUREVARS += "krb5_cv_attr_constructor_destructor=yes ac_cv_func_regcomp=yes \
17 ac_cv_printf_positional=yes ac_cv_file__etc_environment=yes \
18 ac_cv_file__etc_TIMEZONE=no"
19
20CFLAGS_append += "-DDESTRUCTOR_ATTR_WORKS=1 -I${STAGING_INCDIR}/et"
21LDFLAGS_append += "-lpthread"
22
23FILES_${PN}-doc += ${datadir}/examples
24
25krb5_do_unpack() {
26 tar xzf ${WORKDIR}/krb5-1.8.5.tar.gz -C ${WORKDIR}/
27}
28
29python do_unpack() {
30 bb.build.exec_func('base_do_unpack', d)
31 bb.build.exec_func('krb5_do_unpack', d)
32}
33
34do_configure() {
35 oe_runconf
36}
37
38SRC_URI[md5sum] = "48b17caedf19d07d714a8d7a25422c95"
39SRC_URI[sha256sum] = "7d6989efaaf0b3330ce5b329edb1d0bf33250ca78b789fdd117e02c49c238812"